/* Locked View */
.locked-container {
    max-width: 600px;
    margin: 4rem auto;
    padding: 2rem;
    background-color: white;
    border-radius: 1rem;
    border: 1px solid var(--border-color);
}

.locked-icon {
    width: 80px;
    height: 80px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}

.locked-cta-btn {
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Filter Sidebar */
.filter-sidebar {
    background-color: white;
    padding: 1.5rem;
    border-radius: 1rem;
    border: 1px solid var(--border-color);
}

.filter-list a {
    display: block;
    padding: 0.75rem 1rem;
    text-decoration: none;
    color: #475569;
    font-weight: 500;
    border-radius: 0.5rem;
    transition: background-color 0.2s;
}

.filter-list a:hover {
    background-color: #f1f5f9;
}

.filter-list a.active {
    background-color: var(--primary-color);
    color: white;
}

/* Search Bar */
.search-bar {
    position: relative;
}
.search-bar .bi-search {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
}
.search-bar .form-control {
    padding-left: 2.5rem;
    border-radius: 0.75rem;
}

/* Exam Card */
.exam-card {
    border: 1px solid var(--border-color);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}
.exam-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px -5px rgba(0,0,0,0.1);
}

/* Subject Card */
.subject-card {
    display: block;
    background-color: white;
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
    text-decoration: none;
    color: #1e293b;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.subject-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px -5px rgba(0,0,0,0.1);
    color: var(--primary-color);
}

.subject-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem auto;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.subject-icon i {
    font-size: 1.75rem;
}

.subject-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.subject-count {
    font-size: 0.9rem;
    color: #64748b;
}

/* Soft Color Backgrounds */
.bg-primary-soft { background-color: #e0e7ff; }
.bg-success-soft { background-color: #dcfce7; }
.bg-danger-soft { background-color: #fee2e2; }
.bg-warning-soft { background-color: #fef9c3; }
.bg-info-soft { background-color: #cffafe; }



/* --- Gold Icon & Premium Badge Styles --- */
.text-gold {
    color: #FFD700 !important; /* Golden Yellow */
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.4); /* हल्का सा ग्लो */
}

.badge-premium {
    font-size: 0.6rem !important;
    background: linear-gradient(45deg, #FFD700, #FFA500); /* गोल्ड ग्रेडिएंट */
    color: #000 !important;
    font-weight: 700;
    margin-left: auto; /* राइट साइड में धक्का देने के लिए */
    border: 1px solid #e0c200;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    animation: pulseBadge 2s infinite; /* एनिमेटेड इफेक्ट के लिए */
}

@keyframes pulseBadge {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}



/* --- Sticky Menu Item & Live Badge --- */
.sticky-nav-item {
    position: sticky;
    top: 0; /* टॉप पर चिपक जाएगा */
    z-index: 100; /* बाकी आइटम के ऊपर रहे */
    background-color: var(--sidebar-bg) !important; /* साइडबार का बैकग्राउंड */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* अलग दिखाने के लिए बॉर्डर */
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 6px rgba(0,0,0,0.3); /* परछाई ताकि उभरा हुआ दिखे */
}

.badge-live {
    font-size: 0.6rem !important;
    background-color: #ef4444; /* लाल रंग */
    color: white !important;
    font-weight: 700;
    margin-left: auto;
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.6);
    animation: blinkLive 1.5s infinite; /* ब्लिंक एनीमेशन */
}

@keyframes blinkLive {
    0% { opacity: 1; }
    50% { opacity: 0.6; }
    100% { opacity: 1; }
}

/* अगर यूजर इस पेज पर एक्टिव है तो स्टाइल */
.sticky-nav-item a.active {
    background: linear-gradient(90deg, rgba(239, 68, 68, 0.2), transparent) !important;
    border-left-color: #ef4444 !important;
}

/* Logo hover effect */
.sidebar-header a:hover .brand-name {
    color: var(--secondary-color);
    transition: 0.3s;
}

.target-badge {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 0.75rem;
    color: #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.target-badge:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--secondary-color);
}

#sidebar-goal-text {
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 150px;
}

.sidebar-header {
    padding: 1.25rem 1rem;
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.brand-name {
    color: #ffffff;
    font-weight: 800;
    letter-spacing: 1px;
    font-size: 1.4rem;
    text-transform: lowercase; /* Professional look ke liye sab small */
}

.brand-tagline {
    font-size: 0.65rem;
    color: var(--sidebar-link-color);
    display: block;
    margin-top: -2px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
