/* ========================================
   ROOT VARIABLES & RESET
   ======================================= */
:root {
    /* Primary Palette */
    --primary: #1a73e8;
    --primary-light: #4a9af5;
    --primary-dark: #0d47a1;
    --primary-50: #e8f0fe;
    --primary-100: #d2e3fc;
    --primary-200: #aecbfa;

    /* Accent */
    --accent: #00c9a7;
    --accent-light: #33d4b8;
    --accent-dark: #00a88a;

    /* Neutral */
    --gray-50: #f8f9fa;
    --gray-100: #f1f3f4;
    --gray-200: #e8eaed;
    --gray-300: #dadce0;
    --gray-400: #bdc1c6;
    --gray-500: #9aa0a6;
    --gray-600: #80868b;
    --gray-700: #5f6368;
    --gray-800: #3c4043;
    --gray-900: #202124;

    /* Semantic */
    --success: #34a853;
    --warning: #fbbc04;
    --danger: #ea4335;
    --info: #4285f4;

    /* Surfaces */
    --surface: #ffffff;
    --surface-dim: #f8f9fa;
    --surface-container: #f1f3f4;
    --surface-elevated: #ffffff;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #1a73e8 0%, #0d47a1 50%, #1565c0 100%);
    --gradient-accent: linear-gradient(135deg, #00c9a7 0%, #00a88a 100%);
    --gradient-hero: linear-gradient(135deg, #0d47a1 0%, #1a73e8 40%, #4a9af5 100%);
    --gradient-warm: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-sunset: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    --gradient-ocean: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-mesh: 
        radial-gradient(at 40% 20%, rgba(26, 115, 232, 0.15) 0px, transparent 50%),
        radial-gradient(at 80% 0%, rgba(0, 201, 167, 0.1) 0px, transparent 50%),
        radial-gradient(at 0% 50%, rgba(102, 126, 234, 0.1) 0px, transparent 50%),
        radial-gradient(at 80% 50%, rgba(240, 147, 251, 0.08) 0px, transparent 50%),
        radial-gradient(at 0% 100%, rgba(26, 115, 232, 0.1) 0px, transparent 50%);

    /* Shadows */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 10px 25px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 20px 50px -5px rgba(0, 0, 0, 0.12), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 60px -8px rgba(0, 0, 0, 0.15), 0 10px 15px -5px rgba(0, 0, 0, 0.05);
    --shadow-colored: 0 10px 30px -5px rgba(26, 115, 232, 0.3);
    --shadow-glow: 0 0 30px rgba(26, 115, 232, 0.15);

    /* Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Transition */
    --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-spring: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);

    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
}

/* ========================================
   BASE STYLES
   ======================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    color: var(--gray-900);
    background-color: var(--surface-dim);
    line-height: 1.6;
    overflow-x: hidden;
}

::selection {
    background: var(--primary-200);
    color: var(--primary-dark);
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
    background: var(--gray-400);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gray-500);
}

/* ========================================
   NAVBAR
   ======================================= */
.navbar {
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding: 0.6rem 0;
    transition: var(--transition-base);
    z-index: 1050;
}

.navbar.scrolled {
    box-shadow: var(--shadow-lg);
}

/* Brand Wrapper - Logo + Title in single line */
.brand-wrapper {
    display: flex !important;
    align-items: center;
    gap: 12px;
    text-decoration: none !important;
    padding: 4px 0;
    flex-shrink: 0;
}

.brand-logo {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-colored);
    flex-shrink: 0;
    transition: var(--transition-spring);
}

.brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 4px;
}

.brand-wrapper:hover .brand-logo {
    transform: scale(1.08) rotate(-2deg);
    box-shadow: 0 12px 35px -5px rgba(26, 115, 232, 0.4);
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.brand-name {
    font-family: var(--font-sans);
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--gray-900) !important;
    letter-spacing: -0.3px;
    white-space: nowrap;
}

.brand-tagline {
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--primary) !important;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    white-space: nowrap;
}

/* Nav Links */
.navbar-nav .nav-link {
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--gray-700) !important;
    padding: 0.5rem 1rem !important;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
    position: relative;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 20px;
    height: 2.5px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    transition: var(--transition-base);
}

.navbar-nav .nav-link:hover {
    color: var(--primary) !important;
    background: var(--primary-50);
}

.navbar-nav .nav-link:hover::after {
    transform: translateX(-50%) scaleX(1);
}

/* Glass Login Button */
.btn-glass {
    background: var(--gradient-primary);
    color: white !important;
    border: none;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.88rem;
    padding: 8px 24px !important;
    box-shadow: var(--shadow-colored);
    transition: var(--transition-spring);
    letter-spacing: 0.2px;
}

.btn-glass:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 35px -5px rgba(26, 115, 232, 0.45);
    background: var(--gradient-primary);
    color: white !important;
}

/* Welcome text */
.nav-welcome-text {
    color: var(--gray-500) !important;
    font-size: 0.82rem;
    font-weight: 400;
}

/* User Dropdown */
.user-dropdown-trigger {
    display: flex !important;
    align-items: center;
    gap: 10px;
    padding: 6px 12px 6px 6px !important;
    border-radius: var(--radius-full) !important;
    background: var(--gray-50) !important;
    border: 1px solid var(--gray-200);
    transition: var(--transition-fast) !important;
}

.user-dropdown-trigger:hover {
    background: var(--primary-50) !important;
    border-color: var(--primary-200);
}

.user-dropdown-trigger::after {
    margin-left: 4px;
}

.user-avatar-sm {
    width: 34px;
    height: 34px;
    border-radius: var(--radius-full);
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 0.75rem;
    flex-shrink: 0;
}

.user-name-text {
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--gray-800) !important;
}

.user-dropdown-trigger .badge {
    font-size: 0.68rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: var(--radius-full);
}

/* Dropdown Menu Styling */
.user-menu .dropdown-menu {
    min-width: 280px;
    background: var(--surface-elevated);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    padding: 8px;
    margin-top: 8px;
    animation: dropdownSlide 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes dropdownSlide {
    from {
        opacity: 0;
        transform: translateY(-8px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.dropdown-user-header {
    padding: 12px 14px;
    background: var(--primary-50);
    border-radius: var(--radius-md);
    margin-bottom: 4px;
}

.user-avatar-lg {
    width: 46px;
    height: 46px;
    border-radius: var(--radius-full);
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
    margin-right: 12px;
}

.user-menu .dropdown-item {
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-700);
    transition: var(--transition-fast);
}

.user-menu .dropdown-item:hover {
    background: var(--primary-50);
    color: var(--primary);
}

.user-menu .dropdown-item i {
    width: 22px;
    margin-right: 12px;
    text-align: center;
    font-size: 0.95rem;
    opacity: 0.7;
}

.user-menu .dropdown-item:hover i {
    opacity: 1;
}

.logout-item:hover {
    background: #fef2f2 !important;
    color: var(--danger) !important;
}

.user-menu .dropdown-divider {
    border-color: var(--gray-100);
    margin: 4px 8px;
}

.user-menu .dropdown-item-text {
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--gray-400) !important;
}

/* ========================================
   HERO SECTION
   ======================================= */
.hero-section {
    background: var(--gradient-hero);
    padding: 120px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(255,255,255,0.06) 0%, transparent 70%);
    pointer-events: none;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: linear-gradient(to top, rgba(13, 71, 161, 0.3), transparent);
    pointer-events: none;
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    font-family: var(--font-display);
    font-size: 3.2rem;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

.hero-section .lead {
    font-size: 1.2rem;
    font-weight: 300;
    opacity: 0.92;
    margin-bottom: 2rem;
    max-width: 520px;
}

.hero-section .btn-light {
    border-radius: var(--radius-full);
    padding: 14px 32px;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-spring);
    border: none;
}

.hero-section .btn-light:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.hero-section .btn-outline-light {
    border-radius: var(--radius-full);
    padding: 14px 32px;
    font-weight: 600;
    font-size: 1rem;
    border-width: 2px;
    transition: var(--transition-spring);
}

.hero-section .btn-outline-light:hover {
    background: white;
    color: var(--primary-dark);
    transform: translateY(-3px);
}

.hero-section img {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-2xl);
    transition: var(--transition-slow);
}

.hero-section img:hover {
    transform: scale(1.03) rotate(1deg);
}

/* Floating shapes decoration */
.hero-decoration {
    position: absolute;
    pointer-events: none;
    z-index: 0;
}

.hero-decoration .shape {
    position: absolute;
    border-radius: var(--radius-full);
    opacity: 0.1;
    background: white;
}

.hero-decoration .shape-1 {
    width: 300px;
    height: 300px;
    top: -80px;
    right: 10%;
    animation: float 8s ease-in-out infinite;
}

.hero-decoration .shape-2 {
    width: 150px;
    height: 150px;
    bottom: 20%;
    left: 5%;
    animation: float 6s ease-in-out infinite reverse;
}

.hero-decoration .shape-3 {
    width: 80px;
    height: 80px;
    top: 30%;
    right: 25%;
    animation: float 10s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(5deg); }
    66% { transform: translateY(10px) rotate(-3deg); }
}

/* ========================================
   SECTION STYLES
   ======================================= */
section {
    position: relative;
}

section .text-center h2 {
    font-family: var(--font-display);
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.section-subtitle {
    color: var(--gray-500);
    font-size: 1.05rem;
    margin-bottom: 3rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-50);
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 8px 20px;
    border-radius: var(--radius-full);
    margin-bottom: 1rem;
}

/* ========================================
   FEATURE CARDS
   ======================================= */
.feature-card {
    background: var(--surface-elevated);
    border-radius: var(--radius-xl);
    padding: 36px 28px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition-base);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon-wrapper {
    width: 72px;
    height: 72px;
    border-radius: var(--radius-lg);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.8rem;
    transition: var(--transition-spring);
}

.feature-icon-wrapper.icon-blue {
    background: var(--primary-50);
    color: var(--primary);
}

.feature-icon-wrapper.icon-green {
    background: #e6f4ea;
    color: var(--success);
}

.feature-icon-wrapper.icon-purple {
    background: #f3e8fd;
    color: #9334e6;
}

.feature-icon-wrapper.icon-orange {
    background: #fef7e0;
    color: #e37400;
}

.feature-card:hover .feature-icon-wrapper {
    transform: scale(1.1) rotate(-5deg);
}

.feature-card h5 {
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--gray-900);
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--gray-600);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* ========================================
   COURSE CARDS
   ======================================= */
.course-card {
    background: var(--surface-elevated);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    overflow: hidden;
    transition: var(--transition-base);
    height: 100%;
}

.course-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.course-card-header {
    padding: 28px 28px 20px;
    position: relative;
}

.course-card-header.curriculum-cbse {
    background: linear-gradient(135deg, #1a73e8 0%, #4a9af5 100%);
    color: white;
}

.course-card-header.curriculum-state {
    background: linear-gradient(135deg, #00c9a7 0%, #00a88a 100%);
    color: white;
}

.course-card-header h5 {
    font-weight: 800;
    font-size: 1.3rem;
    margin-bottom: 4px;
}

.course-card-header small {
    opacity: 0.85;
    font-weight: 400;
}

.course-card-body {
    padding: 24px 28px 28px;
}

.course-card-body p {
    color: var(--gray-600);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.course-feature-list {
    list-style: none;
    padding: 0;
    margin-bottom: 24px;
}

.course-feature-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    color: var(--gray-700);
    font-size: 0.93rem;
    font-weight: 500;
}

.course-feature-list li i {
    width: 24px;
    height: 24px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    flex-shrink: 0;
}

.curriculum-cbse ~ .course-card-body .course-feature-list li i {
    background: var(--primary-50);
    color: var(--primary);
}

.curriculum-state ~ .course-card-body .course-feature-list li i {
    background: #e6f4ea;
    color: var(--accent-dark);
}

.btn-course {
    border-radius: var(--radius-full);
    padding: 12px 28px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition-spring);
    border: none;
}

.btn-course-cbse {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(26, 115, 232, 0.3);
}

.btn-course-state {
    background: var(--gradient-accent);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 201, 167, 0.3);
}

.btn-course:hover {
    transform: translateY(-2px);
}

.btn-course-cbse:hover {
    box-shadow: 0 8px 25px rgba(26, 115, 232, 0.4);
}

.btn-course-state:hover {
    box-shadow: 0 8px 25px rgba(0, 201, 167, 0.4);
}

/* ========================================
   TESTIMONIAL CARDS
   ======================================= */
.testimonial-card {
    background: var(--surface-elevated);
    border-radius: var(--radius-xl);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    transition: var(--transition-base);
    height: 100%;
    position: relative;
}

.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 16px;
    right: 24px;
    font-size: 4rem;
    font-family: var(--font-display);
    color: var(--primary-100);
    line-height: 1;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.testimonial-stars {
    display: flex;
    gap: 3px;
    margin-bottom: 16px;
}

.testimonial-stars i {
    color: #fbbc04;
    font-size: 0.9rem;
}

.testimonial-card .card-text {
    color: var(--gray-700);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.testimonial-author img {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    object-fit: cover;
    border: 2px solid var(--primary-50);
}

.testimonial-author h6 {
    font-weight: 700;
    margin-bottom: 2px;
    color: var(--gray-900);
    font-size: 0.95rem;
}

.testimonial-author small {
    color: var(--gray-500);
    font-size: 0.82rem;
    font-weight: 500;
}

/* ========================================
   CTA SECTION
   ======================================= */
.cta-section {
    position: relative;
    overflow: hidden;
}

.cta-section .container {
    position: relative;
    z-index: 2;
}

.cta-section h2 {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.cta-section .lead {
    color: var(--gray-600);
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
}

.cta-list {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.cta-list li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 0;
    color: var(--gray-700);
    font-weight: 500;
    font-size: 0.98rem;
}

.cta-list li .check-icon {
    width: 28px;
    height: 28px;
    border-radius: var(--radius-full);
    background: #e6f4ea;
    color: var(--success);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    flex-shrink: 0;
}

.btn-cta-primary {
    background: var(--gradient-primary);
    color: white;
    border-radius: var(--radius-full);
    padding: 14px 32px;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    box-shadow: var(--shadow-colored);
    transition: var(--transition-spring);
}

.btn-cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 35px -5px rgba(26, 115, 232, 0.45);
    color: white;
}

.btn-cta-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary-200);
    border-radius: var(--radius-full);
    padding: 12px 30px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition-spring);
}

.btn-cta-outline:hover {
    background: var(--primary-50);
    border-color: var(--primary);
    color: var(--primary-dark);
    transform: translateY(-3px);
}

.cta-image-wrapper {
    position: relative;
}

.cta-image-wrapper img {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

.cta-image-wrapper::before {
    content: '';
    position: absolute;
    top: -15px;
    right: -15px;
    width: 100%;
    height: 100%;
    border-radius: var(--radius-xl);
    border: 3px solid var(--primary-100);
    z-index: -1;
}

/* ========================================
   FOOTER
   ======================================= */
.footer {
    background: var(--gray-900);
    color: var(--gray-300);
    padding: 60px 0 24px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--gray-700), transparent);
}

.footer h5 {
    color: white;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 1.2rem;
}

.footer a {
    color: var(--gray-400);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.footer a:hover {
    color: white;
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid var(--gray-800);
    padding-top: 24px;
    margin-top: 40px;
}

/* ========================================
   DASHBOARD STYLES
   ======================================= */
.sidebar {
    background: var(--surface-elevated);
    min-height: calc(100vh - 76px);
    padding: 24px 16px;
    border-right: 1px solid var(--gray-200);
    box-shadow: var(--shadow-xs);
}

.sidebar .nav-link {
    color: var(--gray-700);
    margin-bottom: 4px;
    border-radius: var(--radius-md);
    padding: 12px 16px;
    font-weight: 500;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition-fast);
}

.sidebar .nav-link i {
    width: 20px;
    text-align: center;
    font-size: 1rem;
    opacity: 0.6;
}

.sidebar .nav-link:hover {
    background: var(--primary-50);
    color: var(--primary);
}

.sidebar .nav-link:hover i {
    opacity: 1;
}

.sidebar .nav-link.active {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-colored);
}

.sidebar .nav-link.active i {
    opacity: 1;
}

.sidebar .nav-section-title {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--gray-400);
    padding: 16px 16px 8px;
    margin-top: 8px;
}

.content-area {
    padding: 28px;
    background: var(--surface-dim);
    min-height: calc(100vh - 76px);
}

/* Dashboard Stats Cards */
.stat-card {
    background: var(--surface-elevated);
    border-radius: var(--radius-xl);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.stat-card::after {
    content: '';
    position: absolute;
    top: -30px;
    right: -30px;
    width: 100px;
    height: 100px;
    border-radius: var(--radius-full);
    opacity: 0.08;
}

.stat-card.stat-blue::after { background: var(--primary); }
.stat-card.stat-green::after { background: var(--success); }
.stat-card.stat-orange::after { background: #e37400; }
.stat-card.stat-purple::after { background: #9334e6; }

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 16px;
}

.stat-icon.icon-blue { background: var(--primary-50); color: var(--primary); }
.stat-icon.icon-green { background: #e6f4ea; color: var(--success); }
.stat-icon.icon-orange { background: #fef7e0; color: #e37400; }
.stat-icon.icon-purple { background: #f3e8fd; color: #9334e6; }

.stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--gray-900);
    line-height: 1;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--gray-500);
    font-weight: 500;
}

/* Table Container */
.table-container {
    background: var(--surface-elevated);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    padding: 24px;
    margin-bottom: 24px;
    overflow: hidden;
}

.table-container .table-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 12px;
}

.table-container .table-title {
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--gray-900);
}

.table {
    margin-bottom: 0;
}

.table thead th {
    background: var(--gray-50);
    border-bottom: 2px solid var(--gray-200);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--gray-600);
    padding: 14px 16px;
}

.table tbody td {
    padding: 14px 16px;
    vertical-align: middle;
    border-bottom: 1px solid var(--gray-100);
    font-size: 0.9rem;
    color: var(--gray-700);
}

.table tbody tr:hover {
    background: var(--primary-50);
}

.table tbody tr:last-child td {
    border-bottom: none;
}

/* ========================================
   LOGIN CONTAINER
   ======================================= */
.login-container {
    max-width: 440px;
    margin: 80px auto;
    background: var(--surface-elevated);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    padding: 40px 36px;
    border: 1px solid var(--gray-100);
    position: relative;
    overflow: hidden;
}

.login-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.login-container .login-logo {
    text-align: center;
    margin-bottom: 28px;
}

.login-container .login-logo img {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-lg);
    margin-bottom: 12px;
}

.login-container h4 {
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 4px;
}

.login-container .login-subtitle {
    color: var(--gray-500);
    font-size: 0.9rem;
}

.form-control {
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    font-size: 0.95rem;
    transition: var(--transition-fast);
    background: var(--surface);
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-100);
    background: var(--surface);
}

.form-label {
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--gray-700);
    margin-bottom: 6px;
}

.btn-login {
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    padding: 13px;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: var(--shadow-colored);
    transition: var(--transition-spring);
    width: 100%;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px -5px rgba(26, 115, 232, 0.45);
}

/* ========================================
   STATUS BADGES
   ======================================= */
.status-badge {
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.status-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: var(--radius-full);
}

.status-pending {
    background: #fef7e0;
    color: #b06000;
}
.status-pending::before { background: #fbbc04; }

.status-approved, .status-active {
    background: #e6f4ea;
    color: #137333;
}
.status-approved::before, .status-active::before { background: #34a853; }

.status-rejected, .status-inactive {
    background: #fef2f2;
    color: #c5221f;
}
.status-rejected::before, .status-inactive::before { background: #ea4335; }

/* ========================================
   MOBILE CARD DESIGN
   ======================================= */
.mobile-card {
    background: var(--surface-elevated);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    margin-bottom: 20px;
    overflow: hidden;
    border: 1px solid var(--gray-100);
    transition: var(--transition-base);
}

.mobile-card:hover {
    box-shadow: var(--shadow-xl);
}

.mobile-card .card-header {
    background: var(--gradient-primary);
    color: white;
    padding: 18px 20px;
    position: relative;
    overflow: hidden;
}

.mobile-card .card-header::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.mobile-card .card-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
}

.mobile-card .card-body {
    padding: 20px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}

.info-item {
    background: var(--gray-50);
    padding: 14px;
    border-radius: var(--radius-md);
    border-left: 3px solid var(--primary);
    transition: var(--transition-fast);
}

.info-item:hover {
    background: var(--primary-50);
}

.info-label {
    font-size: 0.75rem;
    color: var(--gray-500);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.info-value {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--gray-900);
}

/* Attendance circles */
.attendance-circles {
    display: flex;
    justify-content: space-around;
    margin: 20px 0;
    flex-wrap: wrap;
    gap: 15px;
}

.attendance-circle {
    text-align: center;
}

.circle-progress {
    width: 76px;
    height: 76px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: conic-gradient(
        from 0deg,
        var(--success) 0deg,
        var(--success) var(--progress),
        var(--gray-200) var(--progress),
        var(--gray-200) 100%
    );
    box-shadow: var(--shadow-sm);
}

.circle-progress::before {
    content: '';
    position: absolute;
    width: 64px;
    height: 64px;
    border-radius: var(--radius-full);
    background: var(--surface);
}

.circle-progress span {
    position: relative;
    z-index: 1;
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--gray-900);
}

.circle-label {
    font-size: 0.78rem;
    margin-top: 6px;
    color: var(--gray-500);
    font-weight: 600;
}

/* Mobile buttons */
.mobile-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 16px;
}

.mobile-btn {
    width: 100%;
    padding: 13px 20px;
    border-radius: var(--radius-md);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition-spring);
    border: none;
    color: white;
    font-size: 0.93rem;
}

.mobile-btn-primary { background: var(--gradient-primary); }
.mobile-btn-success { background: var(--gradient-accent); }
.mobile-btn-info { background: var(--gradient-ocean); }
.mobile-btn-warning { background: linear-gradient(135deg, #f9d423 0%, #ff6b6b 100%); }

.mobile-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Student list */
.student-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 12px;
    padding: 12px;
}

.student-item {
    background: var(--surface);
    border-radius: var(--radius-md);
    padding: 14px;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: var(--transition-fast);
    border: 1px solid var(--gray-100);
}

.student-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.student-avatar {
    width: 46px;
    height: 46px;
    border-radius: var(--radius-full);
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.student-name {
    font-weight: 600;
    margin-bottom: 3px;
    font-size: 0.95rem;
    color: var(--gray-900);
}

.student-status {
    display: inline-block;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
}

.status-present { background: #e6f4ea; color: #137333; }
.status-absent { background: #fef2f2; color: #c5221f; }
.status-late { background: #fef7e0; color: #b06000; }
.status-not-marked { background: var(--gray-100); color: var(--gray-500); }

/* ========================================
   NOTIFICATION BADGE
   ======================================= */
.notification-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--danger);
    color: white;
    border-radius: var(--radius-full);
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.68rem;
    font-weight: 700;
    border: 2px solid white;
    animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {
    0%, 100% { box-shadow: 0 0 0 0 rgba(234, 67, 53, 0.4); }
    50% { box-shadow: 0 0 0 6px rgba(234, 67, 53, 0); }
}

/* ========================================
   TIMETABLE
   ======================================= */
.timetable-slot {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: 16px;
    margin-bottom: 12px;
    background: var(--surface);
    transition: var(--transition-fast);
}

.timetable-slot:hover {
    border-color: var(--primary-200);
    background: var(--primary-50);
}

/* ========================================
   RESPONSIVE
   ======================================= */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: var(--surface-elevated);
        border-radius: var(--radius-lg);
        padding: 16px;
        margin-top: 12px;
        box-shadow: var(--shadow-xl);
        border: 1px solid var(--gray-100);
    }

    .brand-name {
        font-size: 1.05rem;
    }

    .brand-tagline {
        font-size: 0.65rem;
    }

    .user-dropdown-trigger .user-name-text {
        display: none;
    }

    .hero-section {
        padding: 80px 0 60px;
    }

    .hero-section h1 {
        font-size: 2.2rem;
    }

    .hero-section .lead {
        font-size: 1rem;
    }

    section .text-center h2 {
        font-size: 1.8rem;
    }

    .cta-section h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 767.98px) {
    .brand-logo {
        width: 38px;
        height: 38px;
    }

    .brand-name {
        font-size: 1rem;
    }

    .brand-tagline {
        font-size: 0.6rem;
        letter-spacing: 1px;
    }

    .hero-section {
        padding: 60px 0 40px;
    }

    .hero-section h1 {
        font-size: 1.8rem;
    }

    .hero-section .lead {
        font-size: 0.95rem;
    }

    .hero-section .btn-light,
    .hero-section .btn-outline-light {
        padding: 11px 22px;
        font-size: 0.9rem;
    }

    .hero-section img {
        margin-top: 30px;
    }

    section .text-center h2 {
        font-size: 1.5rem;
    }

    .feature-card {
        padding: 24px 20px;
    }

    .course-card-header {
        padding: 20px 20px 16px;
    }

    .course-card-body {
        padding: 20px;
    }

    .cta-section h2 {
        font-size: 1.5rem;
    }

    .cta-image-wrapper::before {
        display: none;
    }

    .cta-image-wrapper img {
        margin-top: 30px;
    }

    .btn-cta-primary,
    .btn-cta-outline {
        padding: 12px 24px;
        font-size: 0.9rem;
        width: 100%;
        text-align: center;
    }

    /* Hide desktop tables on mobile */
    .desktop-table {
        display: none;
    }

    .mobile-cards {
        display: block !important;
    }

    .modal-dialog {
        margin: 0;
        max-width: 100%;
        height: 100vh;
        display: flex;
        align-items: center;
    }

    .modal-content {
        width: 100%;
        height: 90vh;
        overflow-y: auto;
        border-radius: 0;
    }

    .content-area {
        padding: 16px;
    }

    .login-container {
        margin: 40px 16px;
        padding: 30px 24px;
    }

    .table-container {
        padding: 16px;
        border-radius: var(--radius-lg);
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .student-list {
        grid-template-columns: 1fr;
    }

    .sidebar {
        min-height: auto;
        margin-bottom: 20px;
        padding: 16px 12px;
        border-right: none;
        border-bottom: 1px solid var(--gray-200);
    }
}

@media (min-width: 768px) {
    .mobile-cards {
        display: none;
    }

    .desktop-table {
        display: table;
    }
}

@media (min-width: 1400px) {
    .hero-section h1 {
        font-size: 3.6rem;
    }

    .hero-section .lead {
        font-size: 1.3rem;
    }
}

/* ========================================
   UTILITY CLASSES
   ======================================= */
.rounded-xl { border-radius: var(--radius-xl) !important; }
.rounded-2xl { border-radius: var(--radius-xl) !important; }
.rounded-full { border-radius: var(--radius-full) !important; }
.shadow-soft { box-shadow: var(--shadow-md); }
.shadow-elevated { box-shadow: var(--shadow-xl); }
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.bg-mesh { background: var(--gradient-mesh); }
.gap-3 { gap: 1rem; }


/* ========================================
   NOTIFICATION BOX - Public Page
   ======================================= */
.notification-box-section {
    padding: 0 0 8px;
    margin-top: -40px;
    position: relative;
    z-index: 10;
}

.notification-box {
    background: var(--surface-elevated);
    border-radius: var(--radius-xl);
    box-shadow: 0 20px 60px -10px rgba(0, 0, 0, 0.15), 0 4px 20px rgba(0,0,0,0.06);
    border: 1px solid rgba(0, 0, 0, 0.08);
    overflow: hidden;
    position: relative;
}

/* Box Header */
.notif-box-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px 14px;
    border-bottom: 1px solid var(--gray-100);
    flex-wrap: wrap;
    gap: 10px;
    background: var(--surface-elevated);
}

.notif-box-header-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.notif-box-bell {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-lg);
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.15rem;
    position: relative;
    box-shadow: var(--shadow-colored);
    flex-shrink: 0;
}

.notif-box-bell i {
    animation: bellRing 2.5s ease-in-out infinite;
}

@keyframes bellRing {
    0%, 100% { transform: rotate(0deg); }
    8% { transform: rotate(14deg); }
    16% { transform: rotate(-12deg); }
    24% { transform: rotate(10deg); }
    32% { transform: rotate(-6deg); }
    40% { transform: rotate(0deg); }
}

.notif-box-count {
    position: absolute;
    top: -6px;
    right: -6px;
    background: var(--danger);
    color: white;
    width: 22px;
    height: 22px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 800;
    border: 2.5px solid var(--surface-elevated);
}

.notif-box-title {
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--gray-900);
    margin: 0;
    line-height: 1.3;
}

.notif-box-subtitle {
    font-size: 0.8rem;
    color: var(--gray-500);
    margin: 0;
}

.notif-box-header-right {
    display: flex;
    align-items: center;
}

.notif-box-scroll-hint {
    font-size: 0.78rem;
    color: var(--gray-400);
    font-weight: 500;
    display: flex;
    align-items: center;
}

.notif-box-warning {
    font-size: 0.78rem;
    color: #b06000;
    font-weight: 600;
    display: flex;
    align-items: center;
    background: #fef7e0;
    padding: 6px 14px;
    border-radius: var(--radius-full);
}

/* Empty state */
.notif-box-empty {
    padding: 36px 24px;
    text-align: center;
    color: var(--gray-400);
}

.notif-box-empty i {
    font-size: 2rem;
    margin-bottom: 8px;
    display: block;
}

.notif-box-empty p {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Track Wrapper */
.notif-box-track-wrapper {
    position: relative;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    padding: 20px 24px 24px;
}

.notif-box-track-wrapper::-webkit-scrollbar {
    display: none;
}

.notif-box-track-wrapper {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Fade edges */
.notif-box-fade {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 50px;
    z-index: 3;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.notif-box-fade-left {
    left: 0;
    background: linear-gradient(to right, var(--surface-elevated) 20%, transparent 100%);
    opacity: 0;
}

.notif-box-fade-right {
    right: 0;
    background: linear-gradient(to left, var(--surface-elevated) 20%, transparent 100%);
    opacity: 1;
}

/* Scroll buttons */
.notif-box-scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    background: var(--surface-elevated);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-600);
    font-size: 0.8rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.notif-box-scroll-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    box-shadow: var(--shadow-colored);
}

.notif-box-scroll-left {
    left: 8px;
}

.notif-box-scroll-right {
    right: 8px;
}

/* Track */
.notif-box-track {
    display: flex;
    gap: 16px;
    width: max-content;
}

/* Individual Card */
.notif-box-card {
    width: 300px;
    background: var(--surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-100);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition-base);
    flex-shrink: 0;
    position: relative;
}

.notif-box-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.notif-box-card:hover .notif-card-read-more {
    color: var(--primary);
    gap: 8px;
}

.notif-box-card:hover .notif-card-read-more i {
    transform: translateX(3px);
}

.notif-card-accent {
    height: 4px;
    width: 100%;
}

.notif-card-new-tag {
    position: absolute;
    top: 14px;
    right: 14px;
    background: linear-gradient(135deg, #ea4335, #f45c43);
    color: white;
    font-size: 0.6rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 4px;
    letter-spacing: 0.8px;
    box-shadow: 0 2px 8px rgba(234, 67, 53, 0.3);
    animation: newTagPulse 2.5s ease-in-out infinite;
}

@keyframes newTagPulse {
    0%, 100% { box-shadow: 0 2px 8px rgba(234, 67, 53, 0.3); }
    50% { box-shadow: 0 2px 16px rgba(234, 67, 53, 0.5); }
}

.notif-card-body-content {
    padding: 16px 18px 18px;
}

.notif-card-type-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.notif-card-type-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.notif-card-type-badge i {
    font-size: 0.65rem;
}

.notif-card-date {
    font-size: 0.75rem;
    color: var(--gray-400);
    font-weight: 500;
}

.notif-card-title {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--gray-900);
    margin: 0 0 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.notif-card-preview {
    font-size: 0.82rem;
    color: var(--gray-500);
    margin: 0 0 14px;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.notif-card-read-more {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gray-400);
    display: flex;
    align-items: center;
    gap: 4px;
    transition: var(--transition-fast);
}

.notif-card-read-more i {
    font-size: 0.7rem;
    transition: var(--transition-fast);
}
    .notif-detail-header {
        padding: 28px 20px 22px;
    }

    .notif-detail-header h4 {
        font-size: 1.15rem !important;
    }

    .notif-detail-body {
        padding: 20px;
    }

    .notif-detail-meta {
        gap: 14px;
    }

    .notif-meta-icon {
        width: 36px;
        height: 36px;
        font-size: 0.8rem;
    }

    .notif-meta-label {
        font-size: 0.65rem;
    }

    .notif-meta-value {
        font-size: 0.82rem;
    }

    .notif-detail-message {
        font-size: 0.9rem;
    }

    .notif-detail-footer {
        padding: 12px 20px;
    }
	
		
	.notif-box-warning {
		font-size: 0.78rem;
		color: #b06000;
		font-weight: 600;
		display: flex;
		align-items: center;
		background: #fef7e0;
		padding: 6px 14px;
		border-radius: var(--radius-full);
	}

	/* Close button */
	.notif-box-close {
		width: 32px;
		height: 32px;
		border-radius: var(--radius-full);
		border: 1px solid var(--gray-200);
		background: var(--gray-50);
		color: var(--gray-500);
		display: flex;
		align-items: center;
		justify-content: center;
		font-size: 0.8rem;
		cursor: pointer;
		transition: var(--transition-fast);
		flex-shrink: 0;
		margin-left: 8px;
	}

	.notif-box-close:hover {
		background: #fef2f2;
		border-color: #f5c6cb;
		color: var(--danger);
		transform: rotate(90deg);
	}	

@media (max-width: 400px) {
    .notif-box-card {
        width: 240px;
    }
}