@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;700&family=Inter:wght@300;400;500&display=swap');

:root {
    /* Premium Palette */
    --bg-deep: #050a14;
    --primary: #4361ee;
    --secondary: #f72585;
    --accent: #4cc9f0;
    --text-main: #ffffff;
    --text-muted: #94a3b8;

    /* Glass Vars */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-highlight: rgba(255, 255, 255, 0.15);
    --blur: 24px;

    /* Animation */
    --ease-elastic: cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-deep);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden !important;
    /* Force hide overflow */
    overflow-y: auto;
    position: relative;
    /* Contain absolute elements */
    /* Custom Scrollbar */
    scrollbar-width: thin;
    scrollbar-color: var(--glass-highlight) var(--bg-deep);
    padding-top: 80px;
    /* Default */
}

@media (max-width: 1024px) {
    body {
        padding-top: 60px !important;
        /* Fixed header compensation for tablet/mobile */
    }
}

html {
    overflow-x: hidden !important;
    max-width: 100%;
}

/* Background Magic */
.bg-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    animation: float 20s infinite alternate ease-in-out;
    opacity: 0.6;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    top: -10%;
    left: -10%;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--secondary) 0%, transparent 70%);
    bottom: -10%;
    right: -5%;
    animation-delay: -5s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
    top: 40%;
    left: 30%;
    opacity: 0.3;
    animation-delay: -10s;
}

@keyframes float {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(50px, 50px);
    }
}

/* Typography */
h1,
h2,
h3,
.brand {
    font-family: 'Outfit', sans-serif;
}

.brand {
    font-weight: 700;
    font-size: 1.5rem;
    /* Increased size for visibility */
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, white 0%, var(--accent) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    filter: drop-shadow(0 0 15px rgba(67, 97, 238, 0.3));
}

a.brand {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}
a.brand:hover {
    opacity: 0.9;
}

/* Structure */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 10;
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

/* Tablet and Mobile: Full Width Container */
@media (max-width: 1024px) {
    .container {
        max-width: 100% !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}

header {
    background: rgba(5, 10, 20, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    width: 100%;
    margin: 0;
    padding: 0;
    animation: slideDown 0.8s ease-out;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    align-items: center;
}



.nav-btn {
    padding: 10px 28px;
    border-radius: 50px;
    /* Pill shape */
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-muted);
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    font-size: 0.8rem;
    position: relative;
    overflow: hidden;
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.nav-btn.active {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border: none;
    color: white;
    box-shadow: 0 4px 15px rgba(67, 97, 238, 0.4);
}

.nav-btn.active:hover {
    box-shadow: 0 6px 20px rgba(67, 97, 238, 0.6);
    transform: translateY(-2px) scale(1.02);
}

.badge {
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    background: rgba(247, 37, 133, 0.15);
    color: #ff8abf;
    border: 1px solid rgba(247, 37, 133, 0.3);
    box-shadow: 0 0 20px rgba(247, 37, 133, 0.2);
    backdrop-filter: blur(5px);
}

/* Glass Cards */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--blur));
    -webkit-backdrop-filter: blur(var(--blur));
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 30px;
    transition: transform 0.4s var(--ease-elastic), box-shadow 0.4s ease, border-color 0.4s ease;
    position: relative;
    overflow: hidden;
    overflow-x: hidden !important;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.glass-card * {
    max-width: 100%;
    box-sizing: border-box;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.glass-card:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.2);
}

.glass-card:hover::before {
    opacity: 1;
}

/* Layout Grid */
.grid-hero {
    display: grid;
    grid-template-columns: 1.8fr 1.2fr;
    gap: 30px;
    margin-bottom: 40px;
}

.grid-content {
    display: grid;
    grid-template-columns: 1.8fr 1.2fr;
    gap: 30px;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

.grid-content>* {
    min-width: 0;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

.content-col {
    min-width: 0;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

.sidebar-col {
    margin-top: 50px;
    min-width: 0;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
    /* Align with cards, not title */
}

@media (max-width: 1024px) {

    .grid-hero,
    .grid-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .sidebar-col {
        margin-top: 10px;
    }

    .hero-text h1 {
        font-size: 2.8rem;
    }
}

/* Hero Section */
.hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 15px;
    background: linear-gradient(135deg, white 0%, #b4b4b4 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text p {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 30px;
}

/* Steps Pipeline */
.pipeline {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.pipe-step {
    background: rgba(255, 255, 255, 0.03);
    padding: 12px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.9rem;
    color: var(--text-muted);
    border-left: 2px solid transparent;
    transition: all 0.3s ease;
}

.pipe-step:hover {
    background: rgba(255, 255, 255, 0.06);
    padding-left: 25px;
    color: white;
}

.pipe-step.active {
    border-left-color: var(--primary);
    background: linear-gradient(90deg, rgba(67, 97, 238, 0.1), transparent);
    color: white;
}

/* Allowed Courses List */
.course-list-ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0;
    max-height: 320px;
    overflow-y: auto;
    padding-right: 12px;
}

/* Custom scrollbar for just this list */
.course-list-ul::-webkit-scrollbar {
    width: 3px;
}

.course-list-ul::-webkit-scrollbar-track {
    background: transparent;
}

.course-list-ul::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
}

.course-list-ul::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.4);
    /* High visibility */
    border-radius: 10px;
}

.course-list-ul::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

.course-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 12px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.2s ease;
}

.course-item:hover {
    background: rgba(255, 255, 255, 0.03);
}

.course-item:last-child {
    border-bottom: none;
}

.check-icon {
    color: var(--accent);
    background: rgba(76, 201, 240, 0.1);
    min-width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 12px;
    margin-top: 2px;
    /* Align with top line of text */
}

.course-info {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    width: 100%;
    gap: 8px;
}

.sub-course-list {
    grid-column: 1 / -1;
    width: 100%;
    margin-top: 5px;
}

.course-name {
    font-weight: 500;
    color: var(--text-main);
    font-size: 0.95rem;
    display: block;
}

.course-name-hindi {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 2px;
    font-weight: 400;
}

.course-name-wrap {
    flex: 1;
    min-width: 0;
}

/* Official Website button - department list */
.dept-official-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    color: rgba(255, 255, 255, 0.95);
    background: rgba(67, 97, 238, 0.25);
    border: 1px solid rgba(67, 97, 238, 0.5);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.25s ease;
    flex-shrink: 0;
    font-family: 'Outfit', sans-serif;
    box-shadow: 0 2px 8px rgba(67, 97, 238, 0.15);
}

.dept-official-btn:hover {
    background: rgba(67, 97, 238, 0.4);
    border-color: var(--accent);
    color: white;
    box-shadow: 0 4px 12px rgba(67, 97, 238, 0.3);
    transform: translateY(-1px);
}

.dept-official-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(67, 97, 238, 0.2);
}

.dept-official-btn-icon {
    font-size: 0.75rem;
    opacity: 0.9;
}

/* RPSC / RSMSSB - 100% विश्वास वाली सरकारी साइटें */
.dept-fallback-btn {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2px;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(34, 197, 94, 0.2);
    border: 1px solid rgba(34, 197, 94, 0.45);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.25s ease;
    flex-shrink: 0;
    font-family: 'Outfit', sans-serif;
}

.dept-fallback-btn:hover {
    background: rgba(34, 197, 94, 0.35);
    border-color: rgba(34, 197, 94, 0.7);
    color: white;
}

.dept-fallback-btn:active {
    transform: scale(0.98);
}

@media (max-width: 480px) {
    .dept-official-btn {
        padding: 4px 8px;
        font-size: 0.65rem;
    }
    .dept-official-btn-icon {
        font-size: 0.7rem;
    }
    .dept-fallback-btn {
        padding: 3px 6px;
        font-size: 0.6rem;
    }
}

.course-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-family: 'Inter', sans-serif;
    /* Ensure clear font for Hindi if needed */
}

/* Section Headers */
.section-title {
    font-size: 1.25rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
    box-sizing: border-box;
    overflow-x: hidden;
}

.section-title::after {
    flex-shrink: 1;
    min-width: 0;
}

.section-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.1), transparent);
}

/* Course Cards Grid */
.sub-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.mini-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.mini-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary);
    transform: translateY(-3px);
}

/* Syllabus Scroll Wrapper */
.syllabus-scroll-container {
    max-height: 500px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 10px;
    margin-right: -10px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    /* Offset padding */
}

/* Custom Scrollbar for Syllabus */
.syllabus-scroll-container::-webkit-scrollbar {
    width: 4px;
}

.syllabus-scroll-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
}

.syllabus-scroll-container::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.syllabus-scroll-container::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Syllabus Tree */
.syllabus-tree {
    position: relative;
    padding-left: 20px;
    padding-bottom: 10px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
    /* Ensure line reaches bottom item */
}

.syllabus-tree::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    bottom: 10px;
    width: 2px;
    background: linear-gradient(to bottom, var(--secondary), var(--primary));
    border-radius: 2px;
}

.tree-item {
    position: relative;
    margin-bottom: 15px;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    word-wrap: break-word;
    overflow-wrap: break-word;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

.tree-item:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(5px);
    border-color: rgba(255, 255, 255, 0.1);
    color: white;
}

.tree-item::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 50%;
    width: 15px;
    height: 2px;
    background: var(--secondary);
    opacity: 0.5;
    transition: all 0.2s ease;
}

.tree-item:hover::before {
    background: var(--primary);
    opacity: 1;
}

/* Animations */
.animate-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.2s;
}

.delay-3 {
    animation-delay: 0.3s;
}

.delay-4 {
    animation-delay: 0.4s;
}

@keyframes slideDown {
    from {
        transform: translateY(-30px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 900px) {

    .grid-hero,
    .grid-content {
        grid-template-columns: 1fr;
    }

    .orb-1 {
        left: -30%;
    }

    .orb-2 {
        right: -30%;
    }
}

.nav-container {
    display: flex;
    gap: 10px;
    align-items: center;
}

#header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

#mobile-menu-btn {
    display: none;
    /* Hidden on desktop */
}

/* Visibility Classes - Stronger Enforcement */
.mobile-course-btn {
    display: none !important;
}

.desktop-only {
    display: block !important;
}

/* Mobile Header Fixes - Increased Breakpoint to 1024px for tablets */
@media (max-width: 1024px) {

    /* FIX: Target the HEADER tag itself for robustness */
    header {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        z-index: 10000 !important;
    }

    /* Compensate for Fixed Header GLOBALLY on Mobile */
    body {
        padding-top: 54px !important;
        /* Reduced from 65px to remove gap */
    }

    .header-content {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto auto !important;
        align-items: center !important;
        padding: 8px 10px !important;
        gap: 8px !important;
        background: rgba(5, 10, 20, 0.98) !important;
        width: 100% !important;
        max-width: 100vw !important;
        box-sizing: border-box !important;

        /* Reset child positioning */
        position: relative !important;
        backdrop-filter: blur(12px);
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        height: auto !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    }

    /* FIX: Scroll Offset for "Your Course" anchor */
    #courses {
        scroll-margin-top: 120px !important;
        /* Height of header + buffer */
    }

    /* Remove specific margin hack */
    .notification-slider {
        margin-top: 0 !important;
    }

    .desktop-only {
        display: none !important;
        visibility: hidden !important;
        width: 0 !important;
        height: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        border: none !important;
    }

    .brand {
        width: auto !important;
        /* Fix: Don't force full width */
        flex-grow: 1;
        /* Allow growing to fill space */
        min-width: 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        font-size: 0.8rem !important;
        text-align: left !important;
        margin: 0 !important;
    }

    /* Mobile Course Button */
    .mobile-course-btn {
        display: block !important;
        padding: 6px 12px !important;
        font-size: 0.65rem !important;
        white-space: nowrap;
        position: relative;
        z-index: 2002 !important;
        /* Force on top */
        cursor: pointer !important;
        pointer-events: auto !important;

        /* Premium Gradient with Animation */
        background: linear-gradient(110deg, #4361ee 0%, #f72585 45%, #ff8abf 50%, #f72585 55%, #4361ee 100%) !important;
        background-size: 200% auto !important;
        animation: gradientShimmer 3s linear infinite;

        border: none !important;
        color: white !important;
        border-radius: 50px !important;
        font-weight: 700 !important;
        letter-spacing: 0.5px;
        box-shadow: 0 0 10px rgba(247, 37, 133, 0.4) !important;
        text-transform: uppercase;
        margin: 0 !important;
    }

    @keyframes gradientShimmer {
        0% {
            background-position: 0% 50%;
        }

        100% {
            background-position: 200% 50%;
        }
    }

    /* Mobile Menu Button - Matching Premium Style */
    #mobile-menu-btn {
        display: block;
        padding: 6px 12px !important;
        font-size: 0.65rem !important;
        white-space: nowrap;

        /* EXACT Duplicate of Your Course Gradient */
        background: linear-gradient(110deg, #4361ee 0%, #f72585 45%, #ff8abf 50%, #f72585 55%, #4361ee 100%) !important;
        background-size: 200% auto !important;
        animation: gradientShimmer 3s linear infinite;

        border: none !important;
        color: white !important;
        border-radius: 50px !important;
        font-weight: 700 !important;
        letter-spacing: 0.5px;
        box-shadow: 0 0 10px rgba(247, 37, 133, 0.4) !important;
        /* Pink/Purple glow */
        text-transform: uppercase;
        margin: 0 !important;
    }

    #mobile-menu-btn:hover,
    #mobile-menu-btn:active {
        background-position: 100% 50%;
    }

    /* Actions container hidden by default on mobile */
    #header-actions {
        position: absolute;
        /* Take out of flow to not break flex row */
        top: 100%;
        left: auto;
        /* Changed from 0 */
        right: 0;
        /* Changed from 0 */

        display: none;
        width: 55%;
        /* Narrower width as per user request */
        max-width: 240px;
        /* Tighter constraint */
        flex-direction: column;
        gap: 15px;
        margin-top: 0;
        padding: 20px;
        /* Glassmorphism for the menu */
        background: rgba(10, 15, 30, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        border-left: 1px solid rgba(255, 255, 255, 0.1);
        /* Added border for side */
        border-bottom-left-radius: 24px;
        /* Added radius */
        box-shadow: -10px 10px 40px rgba(0, 0, 0, 0.5);
        /* Adjusted shadow */
        opacity: 0;
        transform: translateY(-10px);
        transition: opacity 0.3s ease, transform 0.3s ease;
        z-index: 999;
    }

    #header-actions.show {
        display: flex;
        opacity: 1;
        transform: translateY(0);
        animation: menuSlideDown 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .nav-container {
        width: 100%;
        justify-content: center;
        flex-direction: column;
        gap: 12px;
    }

    .nav-btn {
        padding: 6px 12px;
        /* Exact match to .mobile-course-btn */
        font-size: 0.65rem;
        /* Exact match to .mobile-course-btn */
        text-align: center;
        width: 100%;

        /* Premium Gradient Style */
        background: linear-gradient(110deg, #4361ee 0%, #f72585 45%, #ff8abf 50%, #f72585 55%, #4361ee 100%);
        background-size: 200% auto;
        animation: gradientShimmer 3s linear infinite;

        border: none;
        color: white;
        border-radius: 50px;
        /* Fully rounded */
        max-width: 100%;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        box-shadow: 0 0 15px rgba(247, 37, 133, 0.5);
        /* Changed to glow effect */
        margin-bottom: 5px;
    }

    .nav-btn.active {
        /* Keep same style as base nav-btn now */
        background: linear-gradient(110deg, #4361ee 0%, #f72585 45%, #ff8abf 50%, #f72585 55%, #4361ee 100%);
        background-size: 200% auto;
        border: none;
        box-shadow: 0 6px 20px rgba(67, 97, 238, 0.5);
    }

    .badge {
        font-size: 0.8rem;
        padding: 10px 14px;
        margin-top: 10px;
        width: 100%;
        text-align: center;
        background: rgba(247, 37, 133, 0.1);
        border: 1px solid rgba(247, 37, 133, 0.3);
    }
}

@keyframes menuSlideDown {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Chat View Styles */
.hidden {
    display: none !important;
}

.fade-in {
    animation: fadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.chat-container {
    max-width: 100%;
    width: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: calc(100vh - 140px);
    padding: 0;
    position: relative;
    z-index: 10;
    box-sizing: border-box;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    background-color: #efeae2;
}

/* Tablet and Mobile: Full Width */
@media (max-width: 1024px) {
    .chat-container {
        max-width: 100% !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        border-radius: 0 !important;
    }
}

/* Avatar Container Enhancements */
.avatar-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
}

#avatar-canvas-wrapper {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#avatar-canvas-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.9), inset 0 2px 0 rgba(255, 255, 255, 0.15);
}

/* Avatar Video Enhancements */
#avatar-video {
    transition: all 0.3s ease;
    will-change: transform, filter;
}

/* Audio Visualizer */
#audio-visualizer {
    display: flex;
    gap: 4px;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

@keyframes audioWave {

    0%,
    100% {
        height: 12px;
        opacity: 0.4;
    }

    50% {
        height: 32px;
        opacity: 1;
    }
}

.audio-bar {
    width: 4px;
    height: 20px;
    background: linear-gradient(180deg, #4cc9f0, #4361ee);
    border-radius: 3px;
    animation: audioWave 0.6s infinite ease-in-out;
}

/* Status Badge Animation */
@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
        box-shadow: 0 0 0 0 currentColor;
    }

    50% {
        opacity: 0.7;
        transform: scale(1.1);
        box-shadow: 0 0 15px 5px currentColor;
    }
}

.status-dot {
    animation: pulse 2s infinite;
}

/* Teacher Info Card Animation */
#teacher-info {
    animation: slideInLeft 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Floating Animation for Background Orbs */
@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -30px) scale(1.1);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

.avatar-bg-orb {
    pointer-events: none;
}

/* Start Button Hover Effect */
#start-avatar-btn {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

#start-avatar-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

#start-avatar-btn:hover::before {
    width: 300px;
    height: 300px;
}

#start-avatar-btn:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 0 40px rgba(67, 97, 238, 0.8), 0 10px 30px rgba(0, 0, 0, 0.5);
}

#start-avatar-btn:active {
    transform: scale(0.98) translateY(0);
}

/* Responsive Avatar Adjustments */
@media (max-width: 768px) {
    #avatar-canvas-wrapper {
        max-width: 100%;
        height: 400px;
    }

    #teacher-info {
        bottom: 10px;
        left: 10px;
        padding: 8px 12px;
        font-size: 0.85rem;
    }

    #status-badge {
        top: 10px;
        right: 10px;
        padding: 6px 12px;
        font-size: 0.65rem;
    }
}

.gradient-text {
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #ffffff 0%, #b4b4b4 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
    filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.1));
}

.suggestions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin: 40px 0;
    width: 100%;
}

.chip {
    padding: 20px;
    background: rgba(30, 32, 45, 0.6);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    font-size: 1rem;
    color: var(--text-muted);
    text-align: left;
    display: flex;
    align-items: center;
    gap: 10px;
}

.chip:hover {
    background: rgba(40, 42, 60, 0.8);
    border-color: var(--accent);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.chat-input-area {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1200px;
    padding: 0 20px 0 20px;
    z-index: 1000;
    box-sizing: border-box;
}

/* Tablet and Mobile: Full Width */
@media (max-width: 1024px) {
    .chat-input-area {
        max-width: 100% !important;
        width: 100% !important;
        left: 0 !important;
        right: 0 !important;
        transform: none !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
}

.input-wrapper {
    position: relative;
    background: rgba(15, 17, 26, 0.8);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 8px 8px 8px 25px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.input-wrapper:focus-within {
    border-color: var(--secondary);
    box-shadow: 0 0 40px rgba(247, 37, 133, 0.15);
    transform: scale(1.01);
}

.input-wrapper input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 10px 0;
    color: white;
    font-size: 1.1rem;
    font-family: 'Inter', sans-serif;
    outline: none;
}

.input-wrapper input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

/* Mic Button */
.mic-btn {
    background: rgba(76, 201, 240, 0.15);
    border: 1px solid rgba(76, 201, 240, 0.3);
    width: 50px;
    height: 50px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-right: 10px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    color: #4cc9f0;
    box-shadow: 0 4px 15px rgba(76, 201, 240, 0.2);
}

.mic-btn:hover {
    background: rgba(76, 201, 240, 0.25);
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(76, 201, 240, 0.4);
}

.mic-btn.recording {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    border-color: #ef4444;
    animation: recordingPulse 1.5s infinite;
}

.mic-btn.recording svg {
    color: white;
}

@keyframes recordingPulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
    }

    50% {
        box-shadow: 0 0 0 10px rgba(239, 68, 68, 0);
    }
}

.mic-btn svg {
    width: 22px;
    height: 22px;
}

/* Send Button */
.send-btn {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-left: 10px;
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    color: white;
    box-shadow: 0 4px 15px rgba(247, 37, 133, 0.3);
}

.send-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(247, 37, 133, 0.5);
}

.send-btn:active {
    transform: scale(0.95);
}

.send-btn svg {
    width: 24px;
    height: 24px;
}

.input-info {
    margin-top: 15px;
    opacity: 0.7;
}

/* Sub-course List Styles */
.sub-course-list {
    border-left: 2px solid rgba(255, 255, 255, 0.1);
    margin-left: 5px;
    padding-top: 5px;
    animation: fadeUp 0.3s ease-out;
}

.sub-course-item {
    padding: 8px 15px;
    font-size: 0.85rem;
    color: var(--text-muted);
    transition: all 0.2s ease;
    border-radius: 6px;
    cursor: default;
}

.sub-course-item:hover {
    color: white;
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(5px);
}

/* Notification Slider */
/* Notification Slider */
.notification-slider {
    background: rgba(5, 10, 20, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    height: auto;
    min-height: 90px;
    position: relative;
    width: 100%;
    z-index: 900;
    display: flex;
    align-items: center;
    backdrop-filter: blur(15px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    padding: 10px 0;
}

.slider-container {
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    /* Create fade effect on sides */
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    width: 100%;
}

.slider-track {
    display: flex;
    align-items: center;
    gap: 30px;
    white-space: nowrap;
    width: max-content;
    /* Ensure width fits all content so percentage transform works correctly */
    animation: scroll 150s linear infinite;
    /* Speed might need adjustment since distance is now different */
}

.notification-slider:hover .slider-track {
    animation-play-state: paused;
}

/* Premium Notification Card V3 */
.notify-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    min-width: 280px;
}

.notify-card:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 2px;
}

.card-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* Colored Borders & Glows */
.notify-card.border-blue {
    border-left: 3px solid #4361ee;
    background: linear-gradient(90deg, rgba(67, 97, 238, 0.05), transparent);
}

.notify-card.border-pink {
    border-left: 3px solid #f72585;
    background: linear-gradient(90deg, rgba(247, 37, 133, 0.05), transparent);
}

.notify-card.border-red {
    border-left: 3px solid #ef4444;
    background: linear-gradient(90deg, rgba(239, 68, 68, 0.05), transparent);
}

.notify-card.border-green {
    border-left: 3px solid #10b981;
    background: linear-gradient(90deg, rgba(16, 185, 129, 0.05), transparent);
}

.notify-card.border-purple {
    border-left: 3px solid #8b5cf6;
    background: linear-gradient(90deg, rgba(139, 92, 246, 0.05), transparent);
}

.notify-card.border-orange {
    border-left: 3px solid #f59e0b;
    background: linear-gradient(90deg, rgba(245, 158, 11, 0.05), transparent);
}

.notify-badge {
    font-size: 0.65rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 6px;
    letter-spacing: 0.5px;
    background: white;
    color: black;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

.badge-blue {
    background: #4361ee33;
    color: #a5b4fc;
    border: 1px solid rgba(67, 97, 238, 0.5);
    box-shadow: none;
}

.badge-pink {
    background: #f7258533;
    color: #fbcfe8;
    border: 1px solid rgba(247, 37, 133, 0.5);
    box-shadow: none;
}

.badge-red {
    background: #ef444433;
    color: #fca5a5;
    border: 1px solid rgba(239, 68, 68, 0.5);
    box-shadow: none;
}

.badge-green {
    background: #10b98133;
    color: #6ee7b7;
    border: 1px solid rgba(16, 185, 129, 0.5);
    box-shadow: none;
}

.badge-purple {
    background: #8b5cf633;
    color: #d8b4fe;
    border: 1px solid rgba(139, 92, 246, 0.5);
    box-shadow: none;
}

.badge-orange {
    background: #f59e0b33;
    color: #fcd34d;
    border: 1px solid rgba(245, 158, 11, 0.5);
    box-shadow: none;
}

.notify-dept {
    font-size: 0.65rem;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 600;
    letter-spacing: 1px;
}

.notify-title {
    font-size: 0.95rem;
    color: white;
    font-weight: 600;
    white-space: normal;
    /* Allow slight wrap if container huge, but usually single line in slider */
    line-height: 1.2;
}

.job-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.meta-label {
    color: rgba(255, 255, 255, 0.4);
    font-weight: 400;
}

.meta-item {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.meta-separator {
    color: rgba(255, 255, 255, 0.2);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
        /* Move half the length (2 repeats) then jump back seamlessly */
    }
}

.brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.brand-logo {
    height: 80px;
    width: auto;
    object-fit: contain;
    /* mix-blend-mode removed to preserve colors */
    filter: drop-shadow(0 0 10px rgba(247, 37, 133, 0.5));
    transition: transform 0.3s ease;
}

.brand-logo:hover {
    transform: rotate(360deg);
}

/* Syllabus Lock View Styles */
#syllabus-lock-view {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
    text-align: center;
}

.lock-hero {
    margin-bottom: 40px;
}

.lock-icon-container {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    color: #00ffcc;
    /* Mint Green for Trust */
}

.lock-shield-icon {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 10px rgba(0, 255, 204, 0.5));
}

.lock-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: rgba(0, 255, 204, 0.2);
    border-radius: 50%;
    animation: pulse-ring 2s infinite;
    z-index: -1;
}

@keyframes pulse-ring {
    0% {
        width: 80%;
        height: 80%;
        opacity: 0.8;
    }

    100% {
        width: 150%;
        height: 150%;
        opacity: 0;
    }
}

.gradient-text-lock {
    font-size: 3.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff 0%, #00ffcc 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
}

.lock-subtext {
    color: var(--text-muted);
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
}

.verification-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    width: 100%;
    max-width: 1200px;
    margin-bottom: 40px;
}

.verify-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(0, 255, 204, 0.2);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}

.verify-card:hover {
    transform: translateY(-5px);
    background: rgba(0, 255, 204, 0.05);
}

.verify-icon {
    font-size: 2rem;
}

.verify-info h3 {
    font-size: 1rem;
    margin: 0 0 5px;
    color: #fff;
}

.status-badge {
    font-size: 0.8rem;
    color: #00ffcc;
    background: rgba(0, 255, 204, 0.1);
    padding: 4px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.official-stamp {
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

/* Detailed Syllabus Tree Styles */
.syllabus-content-tree {
    width: 100%;
    max-width: 1200px;
    margin-top: 40px;
    text-align: left;
}

.tree-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 10px;
}

.subject-item {
    margin-bottom: 15px;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.subject-item.active {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(0, 255, 204, 0.3);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.subject-header {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: transparent;
}

/* Classroom Blackboard Effects */
.blackboard-bubble {
    background: #1c2b1c !important;
    /* Chalkboard Green */
    border: 3px solid #634731 !important;
    /* Wooden Frame */
    border-radius: 8px !important;
    box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.5), 0 10px 20px rgba(0, 0, 0, 0.3) !important;
    color: #f0f0f0 !important;
    /* Soft Chalk White */
    font-family: 'Handlee', 'Comic Sans MS', cursive, sans-serif !important;
    /* Chalk-like font if available, fallback to casual */
    padding: 25px !important;
    position: relative;
    overflow: hidden;
}

.blackboard-bubble::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle, transparent 20%, rgba(255, 255, 255, 0.02) 100%);
    pointer-events: none;
}

@keyframes chalkWrite {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.blackboard-text-anim {
    animation: chalkWrite 0.5s ease-out forwards;
}

.subject-name {
    font-weight: 600;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.accordion-icon {
    font-size: 1.2rem;
    opacity: 0.7;
    transition: transform 0.3s ease;
}

.subject-item.active .accordion-icon {
    transform: rotate(180deg);
    color: #00ffcc;
    opacity: 1;
}

.subject-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.topic-group {
    padding: 20px 20px 20px 50px;
    /* Indent for hierarchy */
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    position: relative;
}

.topic-group::before {
    content: '';
    position: absolute;
    left: 28px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(255, 255, 255, 0.1);
}

.topic-title {
    font-size: 1rem;
    color: var(--accent);
    margin-bottom: 10px;
    font-weight: 500;
}

.sub-topic-list {
    list-style: none;
    padding-left: 15px;
}

.sub-topic-item {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 8px;
    position: relative;
    padding-left: 15px;
}

.sub-topic-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
}

.sub-topic-item:hover {
    color: white;
}

.sub-topic-item:hover::before {
    background: #00ffcc;
    box-shadow: 0 0 5px #00ffcc;
}

/* Syllabus Table Styles */
.syllabus-table-container {
    width: 100%;
    max-width: 1200px;
    margin-top: 40px;
    overflow-x: auto;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.01);
}

.syllabus-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    min-width: 600px;
    /* Ensure table doesn't squish */
}

.syllabus-table th {
    background: rgba(255, 255, 255, 0.05);
    padding: 16px 20px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.syllabus-table td {
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    vertical-align: top;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.syllabus-table tr:last-child td {
    border-bottom: none;
}

.syllabus-table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-main);
}

.col-chapter {
    width: 20%;
    font-weight: 500;
    color: var(--text-main);
}

.col-topic {
    width: 25%;
    font-weight: 500;
}

.col-details {
    width: 40%;
}

.col-status {
    width: 15%;
    text-align: center;
}

.table-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(0, 255, 204, 0.1);
    color: #00ffcc;
    border: 1px solid rgba(0, 255, 204, 0.2);
}

.detail-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.detail-item {
    font-size: 0.85rem;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.detail-item::before {
    content: '•';
    color: var(--secondary);
}

/* Profile Page Styles */
.profile-container {
    max-width: 480px;
    /* Mobile focused width like a drawer/modal */
    margin: 0 auto;
    min-height: 100vh;
    background: var(--bg-deep);
    padding: 20px;
    position: relative;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: none;
    color: var(--text-muted);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transform: rotate(90deg);
}

.profile-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 40px;
    margin-bottom: 30px;
    text-align: center;
}

.avatar-ring {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    padding: 3px;
    background: linear-gradient(135deg, #4361ee, #f72585);
    margin-bottom: 15px;
    position: relative;
}

.avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #1a1f35;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    border: 3px solid var(--bg-deep);
    /* Cutout effect */
    overflow: hidden;
}

.camera-badge {
    position: absolute;
    bottom: 0;
    right: 0;
    background: var(--bg-deep);
    border-radius: 50%;
    padding: 4px;
}

.camera-icon {
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
}

.user-email {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 5px;
    font-weight: 500;
}

.user-name {
    font-size: 1.4rem;
    font-weight: 400;
    /* Regular weight like "Namaste..." */
    margin-bottom: 20px;
    color: var(--text-main);
}

.manage-btn {
    padding: 8px 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    background: transparent;
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.manage-btn:hover {
    background: rgba(67, 97, 238, 0.1);
    border-color: var(--primary);
}

/* Menu Lists */
.menu-group {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 24px;
    /* Large radius like Gemini */
    overflow: hidden;
    margin-bottom: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Special Gradient Border for first item */
.menu-group.premium {
    position: relative;
    background: rgba(20, 20, 40, 0.6);
    border: 1px solid rgba(247, 37, 133, 0.3);
}

.menu-item {
    padding: 18px 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    color: var(--text-main);
    text-decoration: none;
    transition: background 0.2s ease;
    cursor: pointer;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.menu-item:last-child {
    border-bottom: none;
}

.menu-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.menu-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

.menu-text {
    font-size: 1rem;
    flex: 1;
}

.menu-badge {
    font-size: 0.7rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    font-size: 0.8rem;
    color: var(--text-muted);
    padding-bottom: 40px;
}

.footer-links a {
    text-decoration: none;
    color: var(--text-muted);
}

/* ADMIN PANEL UTILITIES */
.admin-table-container {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    padding: 18px 24px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    color: var(--text-muted);
}

.admin-table th {
    background: rgba(255, 255, 255, 0.03);
    font-weight: 600;
    color: var(--text-main);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.admin-table tr {
    transition: background 0.2s ease;
}

.admin-table tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

.status-badge {
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.status-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

.status-active {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.status-pending {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.status-inactive {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

/* --- RECOVERED DESIGN STYLES (Clean List) --- */

/* Refined Course Item */
.course-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 14px 10px;
}

.course-item:last-child {
    border-bottom: none;
}

/* Sub-course List Styling */
.sub-course-list {
    margin-top: 5px !important;
    padding-left: 14px !important;
    position: relative;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    margin-left: 21px;
    /* Align with check icon center */
    padding-bottom: 10px;
}

.sub-course-item {
    padding: 8px 12px;
    font-size: 0.85rem;
    color: var(--text-muted);
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.2s ease;
    margin-bottom: 2px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sub-course-item:hover {
    background: rgba(67, 97, 238, 0.1);
    color: white;
    transform: translateX(3px);
}

.sub-course-item::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--text-muted);
    border-radius: 50%;
    opacity: 0.5;
}

.sub-course-item:hover::before {
    background: var(--primary);
    opacity: 1;
}

/* Active State for Accordion */
.course-info.active .chevron-icon {
    transform: rotate(180deg);
}

.check-icon.active {
    background: var(--primary);
    color: white;
    box-shadow: 0 0 10px rgba(67, 97, 238, 0.4);
}

/* --- FORCED DESIGN OVERRIDES (100% Match) --- */

/* Selected Item Highlight */
.sub-course-item.selected {
    background: rgba(67, 97, 238, 0.25) !important;
    border-left: 2px solid var(--accent);
    color: white !important;
    font-weight: 500;
}

/* Class 11th–12 subject checkboxes */
.sub-course-list-checkboxes .sub-course-checkbox-item {
    list-style: none;
    margin-bottom: 6px;
}
.sub-course-list-checkboxes .sub-course-checkbox-item::before {
    display: none;
}
.subject-checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: background 0.2s;
}
.subject-checkbox-label:hover {
    background: rgba(255, 255, 255, 0.05);
    color: white;
}
.subject-checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--accent);
    cursor: pointer;
}

.sub-course-item.compulsory-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 4px;
    list-style: none;
}
.sub-course-item.compulsory-label::before {
    display: none;
}
.sub-course-item.compulsory-item {
    color: rgba(255, 255, 255, 0.9);
    padding-left: 12px;
    list-style: none;
}
.sub-course-item.compulsory-item::before {
    display: none;
}

.optional-subject-with-topics {
    margin-top: 8px;
    padding-left: 0;
    list-style: none;
}
.optional-subject-with-topics::before {
    display: none;
}
.optional-subject-name {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.9rem;
    margin-bottom: 4px;
}
.optional-subject-label {
    font-size: 0.78rem;
    color: var(--accent);
    margin-bottom: 8px;
}
.optional-subject-topic-list {
    list-style: none;
    padding-left: 0;
    margin: 0 0 8px 0;
}

/* Ensure list is visible */
.course-list-ul {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Accordion Open State */
.course-info.active {
    background: rgba(255, 255, 255, 0.05);
    /* Slight highlight for open dept */
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

/* --- FINAL DESIGN CLEANUP (Screenshot Match) --- */

/* Wrapper handles the border, item is cleaner */

/* Remove internal borders from header */
.course-dept-wrapper .course-item {
    border-bottom: none !important;
    padding-bottom: 8px;
    /* Reduce padding */
}

/* List Item Styling - Mobile Screenshot Match */
.sub-course-item {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    /* Slightly larger like screenshot */
    padding: 10px 14px;
    /* More padding */
    margin: 2px 8px;
    /* Floating look */
    border-radius: 8px;
    /* Rounded corners */
    color: var(--text-muted);
}

.sub-course-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: white;
}

/* SELECTED STATE - Strong Blue/Purple */
.sub-course-item.selected {
    background: #2a2a4a !important;
    /* Screenshot dark blue match */
    background: linear-gradient(90deg, rgba(67, 97, 238, 0.3), rgba(67, 97, 238, 0.1)) !important;
    color: white !important;
    font-weight: 500;
    border-left: none;
    /* Screenshot has no left border */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Ensure no bullet points or weird markers */

/* Chat Message Styles - Added to fix visibility */
.chat-message {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 15px 0;
    padding: 12px 18px;
    border-radius: 16px;
    max-width: 75%;
    font-size: 0.95rem;
    line-height: 1.5;
    animation: fadeUp 0.4s ease-out;
    position: relative;
    z-index: 20;
    /* Ensure above background */
}

.chat-message.user {
    background: linear-gradient(135deg, rgba(67, 97, 238, 0.25), rgba(67, 97, 238, 0.15));
    border: 1px solid rgba(67, 97, 238, 0.4);
    align-self: flex-end;
    margin-left: auto;
    color: white;
    flex-direction: row-reverse;
    text-align: right;
}

.chat-message.ai {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
    border: 1px solid rgba(255, 255, 255, 0.12);
    align-self: flex-start;
    color: rgba(255, 255, 255, 0.9);
}

.chat-avatar-icon {
    min-width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-top: 2px;
}

.chat-message.user .chat-avatar-icon {
    background: linear-gradient(135deg, #4361ee, #7c3aed);
}

.chat-message.ai .chat-avatar-icon {
    background: linear-gradient(135deg, #f72585, #ff8abf);
}

.thinking-indicator {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    margin: 15px 0;
    border-radius: 16px;
    max-width: 75%;
    background: linear-gradient(135deg, rgba(76, 201, 240, 0.15), rgba(76, 201, 240, 0.05));
    border: 1px solid rgba(76, 201, 240, 0.3);
    color: #4cc9f0;
    font-size: 0.9rem;
    animation: fadeUp 0.4s ease-out;
    position: relative;
    z-index: 20;
}

/* Current Affairs Page */
.current-affairs-header {
 margin: 40px 0 20px;
 text-align: left;
}

.current-affairs-header h1 {
 font-size: 2.6rem;
 margin-bottom: 10px;
 color: var(--accent);
}

.current-affairs-header p,
.current-affairs-header .ca-update-note {
 color: var(--text-muted);
 max-width: 600px;
 line-height: 1.6;
}
.ca-update-note { font-size: 0.9rem; margin-top: 4px; }

.current-affairs-meta {
 display: flex;
 align-items: center;
 justify-content: space-between;
 gap: 20px;
 padding: 18px 22px;
 margin: 20px 0 30px;
}

.meta-left {
 display: flex;
 flex-direction: column;
 gap: 6px;
}

.meta-label {
 font-size: 0.75rem;
 text-transform: uppercase;
 letter-spacing: 1px;
 color: var(--text-muted);
}

.meta-date {
 font-size: 1.1rem;
 font-weight: 600;
 color: var(--text-main);
}

.meta-tag {
 background: rgba(76, 201, 240, 0.15);
 color: var(--accent);
 border: 1px solid rgba(76, 201, 240, 0.3);
 padding: 6px 14px;
 border-radius: 999px;
 font-weight: 600;
 font-size: 0.8rem;
}

.ca-content {
 max-width: 100%;
 box-sizing: border-box;
}
.affairs-list {
 display: grid;
 gap: 24px;
}

.affair-card {
 padding: 24px;
}

.affair-card-header {
 display: flex;
 align-items: center;
 justify-content: space-between;
 margin-bottom: 18px;
 font-size: 0.9rem;
 color: var(--text-muted);
}

.affair-date {
 font-weight: 600;
 color: var(--accent);
}

.affair-category {
 padding: 4px 10px;
 border-radius: 999px;
 border: 1px solid rgba(247, 37, 133, 0.3);
 color: #ff8abf;
 background: rgba(247, 37, 133, 0.1);
 font-size: 0.75rem;
 text-transform: uppercase;
 letter-spacing: 0.5px;
}

.affair-qa {
 display: grid;
 gap: 14px;
}

.qa-block {
 display: flex;
 gap: 12px;
 align-items: flex-start;
}

.qa-label {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 width: 32px;
 height: 32px;
 border-radius: 50%;
 background: rgba(67, 97, 238, 0.2);
 color: #c7d2fe;
 font-weight: 700;
}

.qa-text {
 margin: 0;
 color: var(--text-main);
 line-height: 1.6;
}

.empty-state {
 text-align: center;
 padding: 40px 20px;
 color: var(--text-muted);
}

@media (max-width: 900px) {
 .current-affairs-header h1 {
  font-size: 2rem;
 }

 .current-affairs-meta {
  flex-direction: column;
  align-items: flex-start;
 }

 .affair-card-header {
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
 }
}

/* Current Affairs: Mode tabs & filters */
.ca-modes {
 display: flex;
 flex-wrap: wrap;
 gap: 10px;
 margin-bottom: 20px;
}
.ca-mode-btn {
 padding: 10px 20px;
 border-radius: 50px;
 border: 1px solid rgba(255,255,255,0.15);
 background: rgba(255,255,255,0.04);
 color: var(--text-muted);
 font-weight: 600;
 font-size: 0.85rem;
 cursor: pointer;
 transition: all 0.25s ease;
}
.ca-mode-btn:hover {
 background: rgba(255,255,255,0.08);
 color: white;
}
.ca-mode-btn.active {
 background: linear-gradient(135deg, var(--primary), var(--secondary));
 border: none;
 color: white;
}
.ca-filters {
 display: flex;
 flex-wrap: wrap;
 align-items: center;
 gap: 12px;
 margin-bottom: 24px;
 overflow: visible;
}
.ca-filters label {
 font-size: 0.8rem;
 color: var(--text-muted);
 text-transform: uppercase;
 letter-spacing: 0.5px;
}
.ca-filters select {
 background: rgba(255,255,255,0.06);
 border: 1px solid rgba(255,255,255,0.12);
 color: white;
 padding: 8px 14px;
 border-radius: 10px;
 font-size: 0.9rem;
 cursor: pointer;
}
.ca-filters select option {
 background: var(--bg-deep);
 color: white;
}
.ca-date-select {
 min-width: 160px;
}

/* Date dropdown: list hamesha trigger ke neeche, fixed position se clip nahi hogi */
.ca-date-dropdown {
 position: relative;
 display: inline-block;
 overflow: visible;
}
.ca-date-trigger {
 display: inline-flex;
 align-items: center;
 justify-content: space-between;
 gap: 8px;
 min-width: 140px;
 padding: 8px 14px;
 border-radius: 10px;
 border: 1px solid rgba(255,255,255,0.12);
 background: rgba(255,255,255,0.06);
 color: white;
 font-size: 0.9rem;
 cursor: pointer;
 text-align: left;
}
.ca-date-trigger::after {
 content: '\25BC';
 font-size: 0.65rem;
 opacity: 0.8;
}
.ca-date-list {
 position: absolute;
 top: 100%;
 left: 0;
 margin-top: 4px;
 min-width: 100%;
 max-height: 260px;
 overflow-y: auto;
 overflow-x: hidden;
 border-radius: 10px;
 border: 1px solid rgba(255,255,255,0.15);
 background: var(--bg-deep);
 box-shadow: 0 8px 24px rgba(0,0,0,0.4);
 z-index: 9999;
 display: none;
}
/* JS sets position:fixed + top/left when open so list viewport ke andar hi dikhe */
.ca-date-list.open {
 display: block;
}
.ca-date-list .ca-date-opt {
 display: block;
 width: 100%;
 padding: 10px 14px;
 border: none;
 background: transparent;
 color: white;
 font-size: 0.9rem;
 text-align: left;
 cursor: pointer;
 white-space: nowrap;
}
.ca-date-list .ca-date-opt:hover {
 background: rgba(255,255,255,0.08);
}
.ca-date-list .ca-date-opt.selected {
 background: rgba(76,201,240,0.2);
 color: var(--accent);
}
.ca-date-empty-msg {
 padding: 12px 14px;
 font-size: 0.85rem;
 color: var(--text-muted);
 text-align: center;
}
.ca-tag-chip {
 display: inline-flex;
 padding: 4px 12px;
 border-radius: 999px;
 font-size: 0.75rem;
 font-weight: 600;
 text-transform: uppercase;
 letter-spacing: 0.5px;
 margin-top: 8px;
}
.ca-tag-chip[data-tag="SCHEMES"], .ca-tag-chip.tag-schemes { background: rgba(247,37,133,0.15); color: #ff8abf; border: 1px solid rgba(247,37,133,0.3); }
.ca-tag-chip[data-tag="RPSC EXAMS"], .ca-tag-chip.tag-rpsc { background: rgba(67,97,238,0.2); color: #a5b4fc; border: 1px solid rgba(67,97,238,0.4); }
.ca-tag-chip[data-tag="ECONOMY"], .ca-tag-chip.tag-economy { background: rgba(16,185,129,0.15); color: #6ee7b7; border: 1px solid rgba(16,185,129,0.3); }
.ca-tag-chip[data-tag="SPORTS"], .ca-tag-chip.tag-sports { background: rgba(245,158,11,0.15); color: #fcd34d; border: 1px solid rgba(245,158,11,0.3); }
.ca-tag-chip[data-tag="AWARDS"], .ca-tag-chip.tag-awards { background: rgba(139,92,246,0.15); color: #d8b4fe; border: 1px solid rgba(139,92,246,0.3); }
.ca-tag-chip[data-tag="SCIENCE"], .ca-tag-chip.tag-science { background: rgba(76,201,240,0.15); color: #4cc9f0; border: 1px solid rgba(76,201,240,0.3); }

/* Current Affairs — mobile: header jaisa button size (nav-btn = 6px 12px, 0.65rem) */
@media (max-width: 1024px) {
 .ca-modes {
  gap: 8px !important;
  margin-bottom: 16px !important;
 }
 .ca-mode-btn {
  padding: 6px 12px !important;
  font-size: 0.65rem !important;
  border-radius: 50px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  min-height: auto !important;
 }
 .ca-mode-btn.active {
  background: linear-gradient(110deg, #4361ee 0%, #f72585 45%, #ff8abf 50%, #f72585 55%, #4361ee 100%) !important;
  background-size: 200% auto !important;
  border: none !important;
  color: white !important;
 }
 .ca-filters {
  gap: 10px !important;
  margin-bottom: 18px !important;
 }
 .ca-filters label {
  font-size: 0.65rem !important;
 }
 .ca-filters select {
  padding: 6px 12px !important;
  font-size: 0.65rem !important;
  border-radius: 50px !important;
  min-height: auto !important;
  height: auto !important;
 }
 .ca-date-trigger {
  padding: 6px 12px !important;
  font-size: 0.65rem !important;
  min-width: 120px !important;
  border-radius: 50px !important;
 }
 .ca-tag-chip {
  padding: 4px 10px !important;
  font-size: 0.65rem !important;
  margin-top: 6px !important;
 }
 .ca-date-list .ca-date-opt {
  padding: 8px 12px !important;
  font-size: 0.75rem !important;
 }
}

/* Q&A only block (no headings) */
.ca-day-block {
 margin-bottom: 36px;
 padding: 0 4px;
}
.ca-day-date {
 font-size: 1.05rem;
 font-weight: 600;
 color: var(--accent);
 margin-bottom: 16px;
 letter-spacing: 0.02em;
}
.ca-qa-item {
 margin-bottom: 20px;
 padding: 16px 0;
 padding-left: 4px;
 border-bottom: 1px solid rgba(255,255,255,0.06);
}
.ca-qa-item:last-child { border-bottom: none; }
.ca-qa-item .qa-label { margin-right: 10px; flex-shrink: 0; }
.ca-qa-item .qa-text { margin: 0; line-height: 1.65; }

/* Gahrai samajh — Samjhein block */
.ca-qa-explain {
  margin-top: 12px;
  padding: 12px 14px;
  background: rgba(76, 201, 240, 0.06);
  border-left: 3px solid var(--accent);
  border-radius: 0 10px 10px 0;
}
.ca-samjhein-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  display: block;
  margin-bottom: 6px;
}
.ca-samjhein-text {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Revision / Practice mode */
#ca-practice.ca-practice {
 max-width: 100%;
 box-sizing: border-box;
}
.ca-practice-card {
 max-width: 640px;
 margin: 0 auto;
 padding: 24px 20px;
 border-radius: 14px;
}
@media (min-width: 480px) {
 .ca-practice-card { padding: 28px; }
}
.ca-practice-question {
 font-size: 1.1rem;
 line-height: 1.6;
 margin-bottom: 20px;
 color: var(--text-main);
}
.ca-practice-actions {
 display: flex;
 gap: 12px;
 align-items: center;
 flex-wrap: wrap;
 margin-top: 20px;
}
.ca-practice-actions input[type="text"] {
 flex: 1;
 min-width: 0;
 width: 100%;
 padding: 12px 18px;
 border-radius: 12px;
 border: 1px solid rgba(255,255,255,0.15);
 background: rgba(255,255,255,0.05);
 color: white;
 font-size: 1rem;
}
@media (min-width: 480px) {
 .ca-practice-actions input[type="text"] { width: auto; min-width: 200px; }
}
.ca-practice-actions button {
 padding: 12px 24px;
 border-radius: 12px;
 border: none;
 font-weight: 600;
 cursor: pointer;
 transition: all 0.2s ease;
}
.ca-btn-show {
 background: linear-gradient(135deg, var(--primary), var(--secondary));
 color: white;
}
.ca-btn-next {
 background: rgba(76,201,240,0.2);
 color: var(--accent);
 border: 1px solid rgba(76,201,240,0.4);
}
.ca-practice-answer {
 margin-top: 20px;
 padding: 16px;
 border-radius: 12px;
 background: rgba(16,185,129,0.1);
 border: 1px solid rgba(16,185,129,0.3);
 color: #6ee7b7;
 display: none;
}
.ca-practice-answer.show { display: block; }
.ca-practice-score {
 font-size: 0.9rem;
 color: var(--text-muted);
 margin-top: 16px;
}
.ca-practice-score strong { color: var(--accent); }

/* Scheme-based block */
.ca-scheme-block {
 margin-bottom: 36px;
 padding: 20px 22px;
 border-radius: 14px;
 background: rgba(255,255,255,0.03);
 border: 1px solid rgba(255,255,255,0.08);
}
.ca-scheme-name {
 font-size: 1.2rem;
 font-weight: 700;
 color: var(--accent);
 margin-bottom: 12px;
 line-height: 1.35;
 letter-spacing: 0.02em;
}
.ca-scheme-meta {
 font-size: 0.85rem;
 color: var(--text-muted);
 margin-bottom: 10px;
 line-height: 1.5;
}
.ca-scheme-meta:last-of-type { margin-bottom: 16px; }
.ca-scheme-qa {
 margin-top: 16px;
 padding-top: 16px;
 border-top: 1px solid rgba(255,255,255,0.06);
}
