/* Namespace everything: rn-spotlight-* */

.rn-spotlight-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rn-spotlight-card {
    background: #ffffff;
    color: #111827;
    max-width: 720px;
    width: calc(100% - 40px);
    padding: 28px 32px;
    border-radius: 14px;
    border: 2px solid #f59e0b;
    box-shadow: 0 25px 60px rgba(0,0,0,0.4);
    position: relative;
}

.rn-spotlight-title {
    margin-top: 0;
}

.rn-spotlight-close {
    position: absolute;
    top: 10px;
    right: 14px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #6b7280;
}

.rn-spotlight-close:hover {
    color: #111827;
}

.rn-spotlight-prompts li {
    margin-bottom: 12px;
}

.rn-spotlight-complexity {
    font-size: 0.85em;
    margin-top: 4px;
}

.rn-high { color: #b91c1c; }
.rn-medium { color: #92400e; }
.rn-low { color: #065f46; }

.rn-spotlight-cta {
    display: inline-block;
    margin-top: 16px;
    padding: 10px 18px;
    background: #f59e0b;
    color: #000;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
}

/* ================================
   LANDSCAPE SPOTLIGHT CARD
   ================================ */

.rn-spotlight-landscape {
    width: min(96vw, 960px);
    max-height: min(90vh, 620px);
    display: flex;
    flex-direction: column;
}

/* Scroll container */
.rn-spotlight-body {
    overflow-y: auto;
    padding-right: 8px; /* space for scrollbar */
}

/* Prevent scrollbar overlap on WebKit */
.rn-spotlight-body::-webkit-scrollbar {
    width: 8px;
}

.rn-spotlight-body::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,0.25);
    border-radius: 6px;
}

/* Keep header elements fixed visually */
.rn-spotlight-title,
.rn-spotlight-deadline,
.rn-spotlight-instruction {
    flex-shrink: 0;
}

/* Mobile fallback */
@media (max-width: 640px) {
    .rn-spotlight-landscape {
        width: calc(100% - 24px);
        max-height: 92vh;
    }
}

