/* =============================================================
   12th Result CMS – Modern Production Design System
   Sarkari Result / Testbook / Adda247 / Jagran Josh Grade UI/UX
   Version 3.0 | Zero Third-Party Framework Dependencies
   ============================================================= */

/* ─── 1. DESIGN SYSTEM TOKENS ────────────────────────────── */
:root {
    --primary: #2563EB;
    --primary-hover: #1D4ED8;
    --primary-light: #EFF6FF;
    
    --secondary: #7C3AED;
    --secondary-hover: #6D28D9;
    --secondary-light: #F5F3FF;
    
    --success: #16A34A;
    --success-hover: #15803D;
    --success-light: #F0FDF4;
    
    --warning: #F59E0B;
    --warning-hover: #D97706;
    --warning-light: #FFFBEB;
    
    --danger: #DC2626;
    --danger-hover: #B91C1C;
    --danger-light: #FEF2F2;
    
    --info: #0284C7;
    --info-light: #F0F9FF;
    
    --slate-900: #0F172A;
    --slate-800: #1E293B;
    --slate-700: #334155;
    --slate-600: #475569;
    --slate-500: #64748B;
    --slate-400: #94A3B8;
    --slate-300: #CBD5E1;
    --slate-200: #E2E8F0;
    --slate-100: #F1F5F9;
    --slate-50:  #F8FAFC;
    
    --body-bg: #F8FAFC;
    --card-bg: #FFFFFF;
    
    --font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-full: 9999px;
    
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.04);
    
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── 2. BASE RESET & TYPOGRAPHY ─────────────────────────── */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-family);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.65;
    color: var(--slate-800);
    background-color: var(--body-bg);
    margin: 0;
    padding: 0;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-hover);
}

h1, h2, h3, h4, h5, h6 {
    color: var(--slate-900);
    font-weight: 700;
    line-height: 1.3;
    margin-top: 0;
}

/* ─── 3. TOP ANNOUNCEMENT NOTICE BAR ─────────────────────── */
.notice-marquee-bar {
    background: var(--slate-900);
    color: #FFFFFF;
    font-size: 0.85rem;
    padding: 6px 0;
    border-bottom: 2px solid var(--danger);
}

.notice-badge {
    background: var(--danger);
    color: #FFFFFF;
    font-weight: 800;
    font-size: 0.7rem;
    padding: 3px 8px;
    border-radius: var(--radius-sm);
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* ─── 4. BRANDING HEADER ─────────────────────────────────── */
.site-header {
    background: linear-gradient(135deg, #1E3A8A 0%, #2563EB 50%, #1D4ED8 100%);
    color: #FFFFFF;
    box-shadow: var(--shadow-md);
    position: relative;
    z-index: 10;
}

.brand-wrapper {
    padding: 22px 15px 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.brand-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    text-decoration: none;
    max-width: 100%;
    transition: transform 0.2s ease-in-out;
}

.brand-link:hover {
    transform: translateY(-1px);
}

.site-header-logo {
    height: 54px;
    width: 54px;
    min-width: 54px;
    object-fit: contain;
    filter: drop-shadow(0 3px 6px rgba(0,0,0,0.3));
    flex-shrink: 0;
}

.brand-text {
    text-align: left;
}

.brand-title {
    font-size: 2.2rem;
    font-weight: 900;
    color: #FACC15;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    margin: 0;
    letter-spacing: -0.5px;
    line-height: 1.1;
}

.brand-subtitle {
    color: #E0F2FE;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-top: 4px;
    text-transform: uppercase;
}

@media (max-width: 768px) {
    .brand-wrapper {
        padding: 16px 12px 14px;
        gap: 12px;
    }

    .brand-link {
        flex-direction: row;
        gap: 12px;
        align-items: center;
    }

    .site-header-logo {
        height: 44px;
        width: 44px;
        min-width: 44px;
    }

    .brand-text {
        text-align: left;
    }

    .brand-title {
        font-size: 1.45rem;
        line-height: 1.15;
    }

    .brand-subtitle {
        font-size: 0.72rem;
        margin-top: 2px;
    }
}

@media (max-width: 480px) {
    .brand-link {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }

    .brand-text {
        text-align: center;
    }

    .site-header-logo {
        height: 48px;
        width: 48px;
    }

    .brand-title {
        font-size: 1.35rem;
    }
}

.header-social-pills {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 14px;
}

.btn-social-pill {
    font-size: 0.8rem;
    font-weight: 700;
    padding: 5px 16px;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #FFFFFF;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.btn-social-pill:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: #FFFFFF;
}

.btn-telegram { background: #0088CC; }
.btn-telegram:hover { background: #0077B5; }

.btn-whatsapp { background: #25D366; }
.btn-whatsapp:hover { background: #1EBE5D; }

/* ─── 5. NAVIGATION BAR ──────────────────────────────────── */
.navbar-custom {
    background: #0F172A;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 0;
}

.navbar-custom .nav-link {
    color: #E2E8F0 !important;
    font-weight: 600;
    font-size: 0.88rem;
    padding: 12px 16px !important;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}

.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active {
    color: #FFFFFF !important;
    background: rgba(255,255,255,0.08);
    border-bottom-color: var(--danger);
}

/* ─── 6. QUICK LINKS HIGHLIGHT BAR ───────────────────────── */
.quick-links-strip {
    background: #FEF3C7;
    border-bottom: 1px solid #FDE68A;
    padding: 10px 0;
}

.quick-pill {
    background: #FFFFFF;
    color: var(--slate-900);
    font-weight: 700;
    font-size: 0.8rem;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    border: 1px solid #FCD34D;
    box-shadow: var(--shadow-sm);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.quick-pill:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    background: #FFFFFF;
    color: var(--primary);
    border-color: var(--primary);
}

/* ─── 7. HERO SECTION (HOMEPAGE) ─────────────────────────── */
.hero-section {
    background: linear-gradient(135deg, #0F172A 0%, #1E3A8A 50%, #3B82F6 100%);
    color: #FFFFFF;
    border-radius: var(--radius-lg);
    padding: 40px 32px 32px;
    margin-bottom: 32px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(124,58,237,0.3) 0%, rgba(0,0,0,0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-badge-pill {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #FDE047;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.hero-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #FFFFFF;
    line-height: 1.25;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.hero-description {
    color: #93C5FD;
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 24px;
    max-width: 680px;
}

.hero-stats-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 28px;
}

.hero-stat-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-md);
    padding: 12px 18px;
    min-width: 130px;
    transition: var(--transition);
}

.hero-stat-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
}

.hero-stat-number {
    font-size: 1.4rem;
    font-weight: 800;
    color: #FACC15;
    line-height: 1;
    margin-bottom: 4px;
}

.hero-stat-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: #E0F2FE;
    text-transform: uppercase;
}

.hero-cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.btn-hero {
    padding: 10px 22px;
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: var(--radius-md);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.btn-hero:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-hero-primary {
    background: #22C55E;
    color: #FFFFFF;
}
.btn-hero-primary:hover {
    background: #16A34A;
    color: #FFFFFF;
}

.btn-hero-danger {
    background: #EF4444;
    color: #FFFFFF;
}
.btn-hero-danger:hover {
    background: #DC2626;
    color: #FFFFFF;
}

.btn-hero-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.3);
}
.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    color: #FFFFFF;
}

/* ─── 8. HOMEPAGE GRID CARDS ─────────────────────────────── */
.portal-card {
    background: var(--card-bg);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: var(--transition);
}

.portal-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--slate-300);
}

.portal-card-header {
    padding: 12px 16px;
    color: #FFFFFF;
    font-weight: 800;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-result     { background: linear-gradient(135deg, #DC2626, #B91C1C); }
.header-admit-card { background: linear-gradient(135deg, #2563EB, #1D4ED8); }
.header-jobs       { background: linear-gradient(135deg, #16A34A, #15803D); }
.header-answer-key { background: linear-gradient(135deg, #1E293B, #0F172A); }
.header-syllabus   { background: linear-gradient(135deg, #D97706, #B45309); }
.header-admission  { background: linear-gradient(135deg, #7C3AED, #6D28D9); }

.portal-card-body {
    padding: 8px 12px;
    flex-grow: 1;
}

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

.portal-post-item {
    border-bottom: 1px border-dashed var(--slate-200);
    padding: 8px 6px;
}

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

.portal-post-link {
    color: var(--primary);
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.4;
    display: flex;
    align-items: flex-start;
    gap: 6px;
    transition: var(--transition);
}

.portal-post-link:hover {
    color: var(--danger);
    transform: translateX(3px);
}

.portal-post-bullet {
    font-size: 0.75rem;
    margin-top: 3px;
}

.portal-card-footer {
    background: var(--slate-50);
    border-top: 1px solid var(--slate-200);
    padding: 10px 16px;
    text-align: center;
}

.portal-card-footer a {
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* ─── 9. ARTICLE POST DETAIL PAGE ────────────────────────── */
.article-container {
    background: var(--card-bg);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 32px;
    margin-bottom: 32px;
}

@media (max-width: 768px) {
    .article-container {
        padding: 20px 16px;
    }
}

/* Breadcrumbs */
.breadcrumb-custom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--slate-500);
    margin-bottom: 20px;
    padding: 10px 16px;
    background: var(--slate-100);
    border-radius: var(--radius-md);
}

.breadcrumb-custom a {
    color: var(--slate-700);
    font-weight: 600;
}
.breadcrumb-custom a:hover {
    color: var(--primary);
}

/* Post Header */
.post-header-title {
    font-size: 2.1rem;
    font-weight: 800;
    color: var(--slate-900);
    line-height: 1.3;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

@media (max-width: 768px) {
    .post-header-title {
        font-size: 1.5rem;
    }
}

.post-meta-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 18px;
    font-size: 0.82rem;
    color: var(--slate-600);
    border-bottom: 2px solid var(--slate-200);
    padding-bottom: 16px;
    margin-bottom: 24px;
}

.meta-pill {
    font-weight: 700;
    font-size: 0.75rem;
    padding: 3px 10px;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
}

.meta-pill-primary { background: var(--primary-light); color: var(--primary); }
.meta-pill-secondary { background: var(--slate-200); color: var(--slate-700); }

/* Featured Image */
.featured-image-wrapper {
    text-align: center;
    margin-bottom: 28px;
}

.featured-image-wrapper img {
    max-width: 100%;
    max-height: 420px;
    width: auto;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--slate-200);
}

/* Sticky Table of Contents (TOC) */
.toc-card {
    background: var(--slate-50);
    border: 1px solid var(--slate-300);
    border-radius: var(--radius-md);
    margin-bottom: 28px;
    overflow: hidden;
}

.toc-card-header {
    background: var(--slate-200);
    padding: 12px 18px;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--slate-900);
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.toc-card-body {
    padding: 16px 20px;
}

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

.toc-list li {
    margin-bottom: 8px;
}

.toc-list a {
    color: var(--slate-800);
    font-weight: 600;
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.toc-list a:hover {
    color: var(--danger);
}

/* Overview Box */
.overview-box {
    background: #EFF6FF;
    border: 1px solid #BFDBFE;
    border-left: 5px solid var(--primary);
    border-radius: var(--radius-md);
    padding: 18px 22px;
    margin-bottom: 28px;
}

.overview-box-header {
    font-weight: 800;
    font-size: 1rem;
    color: #1E40AF;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ─── 10. JOB SECTIONS & COLOR CARDS ─────────────────────── */
.job-sections-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 24px;
}

@media (max-width: 768px) {
    .job-sections-top {
        grid-template-columns: 1fr;
    }
}

.job-section {
    background: var(--card-bg);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    margin-bottom: 24px;
    overflow: hidden;
}

.job-section-header {
    padding: 12px 20px;
    font-weight: 800;
    font-size: 1rem;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 0.3px;
}

.section-red    .job-section-header { background: linear-gradient(135deg, #DC2626, #B91C1C); }
.section-green  .job-section-header { background: linear-gradient(135deg, #16A34A, #15803D); }
.section-blue   .job-section-header { background: linear-gradient(135deg, #2563EB, #1D4ED8); }
.section-purple .job-section-header { background: linear-gradient(135deg, #7C3AED, #6D28D9); }
.section-teal   .job-section-header { background: linear-gradient(135deg, #0D9488, #0F766E); }
.section-orange .job-section-header { background: linear-gradient(135deg, #EA580C, #C2410C); }
.section-slate  .job-section-header { background: linear-gradient(135deg, #334155, #1E293B); }
.section-brown  .job-section-header { background: linear-gradient(135deg, #92400E, #78350F); }
.section-pink   .job-section-header { background: linear-gradient(135deg, #DB2777, #BE185D); }
.section-navy   .job-section-header { background: linear-gradient(135deg, #1E3A8A, #172554); }
.section-amber  .job-section-header { background: linear-gradient(135deg, #D97706, #B45309); }
.section-dark   .job-section-header { background: linear-gradient(135deg, #0F172A, #020617); }

.job-section-body {
    padding: 20px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #94a3b8 #f1f5f9;
}

.job-section-body p {
    margin-bottom: 12px;
}

.job-section-body ul, .job-section-body ol {
    padding-left: 20px;
    margin-bottom: 16px;
}

.job-section-body li {
    margin-bottom: 6px;
}

/* ─── 11. RESPONSIVE TABLES & STYLING ────────────────────── */
.table-responsive-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 16px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--slate-200);
    scrollbar-width: thin;
    scrollbar-color: #94a3b8 #f1f5f9;
}

/* Custom Visible Horizontal Scrollbar for Mobile & Desktop (Chrome, Safari, Edge, Webview) */
.job-section-body::-webkit-scrollbar,
.table-responsive-wrapper::-webkit-scrollbar {
    height: 10px;
    display: block !important;
}

.job-section-body::-webkit-scrollbar-track,
.table-responsive-wrapper::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 6px;
    border: 1px solid #cbd5e1;
}

.job-section-body::-webkit-scrollbar-thumb,
.table-responsive-wrapper::-webkit-scrollbar-thumb {
    background: #94a3b8;
    border-radius: 6px;
    border: 2px solid #f1f5f9;
}

.job-section-body::-webkit-scrollbar-thumb:hover,
.table-responsive-wrapper::-webkit-scrollbar-thumb:hover {
    background: #64748b;
}

.job-section-body table,
.table-responsive-wrapper table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* Mobile horizontal scrollbar for general multi-column tables */
@media (max-width: 768px) {
    .job-section-body table,
    .table-responsive-wrapper table {
        min-width: 540px;
    }
}

/* ─── IMPORTANT LINKS & OFFICIAL NOTIFICATION PDF (NO SCROLLBAR & 100% FIT) ─── */
@media (max-width: 768px) {
    .section-pink .job-section-body,
    .section-navy .job-section-body {
        padding: 12px 10px;
        overflow-x: hidden !important;
    }

    .section-pink .table-responsive-wrapper,
    .section-navy .table-responsive-wrapper {
        overflow-x: hidden !important;
        margin-bottom: 8px;
        width: 100% !important;
        border-radius: 6px;
    }

    .section-pink .job-section-body::-webkit-scrollbar,
    .section-navy .job-section-body::-webkit-scrollbar,
    .section-pink .table-responsive-wrapper::-webkit-scrollbar,
    .section-navy .table-responsive-wrapper::-webkit-scrollbar {
        display: none !important;
        height: 0 !important;
    }

    .section-pink table,
    .section-navy table {
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        table-layout: fixed !important;
        font-size: 0.85rem;
    }

    .section-pink th,
    .section-pink td,
    .section-navy th,
    .section-navy td {
        padding: 10px 8px !important;
        word-break: normal !important;
        overflow-wrap: break-word !important;
        vertical-align: middle !important;
        line-height: 1.35;
    }

    /* Left column (Label: Apply Online, Download Notification, Official Website) */
    .section-pink td:first-child,
    .section-navy td:first-child {
        width: 48% !important;
        font-weight: 700;
        color: #0f172a;
        text-align: left;
    }

    /* Right column (Action Links: Registration | Login, Click Here) */
    .section-pink td:last-child,
    .section-navy td:last-child {
        width: 52% !important;
        text-align: center;
    }

    .section-pink td a,
    .section-navy td a {
        display: inline-block;
        max-width: 100%;
        word-break: normal;
        overflow-wrap: break-word;
        font-weight: 700;
        font-size: 0.85rem;
    }
}

.job-section-body th {
    background: var(--slate-100);
    color: var(--slate-900);
    font-weight: 700;
    padding: 12px 14px;
    text-align: left;
    border-bottom: 2px solid var(--slate-300);
}

.job-section-body td {
    padding: 10px 14px;
    border-bottom: 1px solid var(--slate-200);
    color: var(--slate-800);
    vertical-align: middle;
}

.job-section-body tr:nth-child(even) td {
    background-color: var(--slate-50);
}

.job-section-body tr:hover td {
    background-color: #FEF3C7;
}

/* ─── 12. ACTION & LINK BUTTONS ──────────────────────────── */
.btn-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 700;
    font-size: 0.88rem;
    padding: 8px 18px;
    border-radius: var(--radius-md);
    color: #FFFFFF !important;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: center;
}

.btn-action:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: #FFFFFF !important;
}

.btn-apply        { background: #16A34A; }
.btn-apply:hover  { background: #15803D; }

.btn-notification { background: #DC2626; }
.btn-notification:hover { background: #B91C1C; }

.btn-website     { background: #2563EB; }
.btn-website:hover { background: #1D4ED8; }

.btn-admit       { background: #7C3AED; }
.btn-admit:hover { background: #6D28D9; }

/* ─── 13. SIDEBAR & WIDGETS ──────────────────────────────── */
.sidebar-widget {
    background: var(--card-bg);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    margin-bottom: 24px;
    overflow: hidden;
}

.sidebar-widget-header {
    background: var(--slate-900);
    color: #FFFFFF;
    font-weight: 800;
    font-size: 0.92rem;
    padding: 12px 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sidebar-widget-body {
    padding: 12px 16px;
}

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

.sidebar-post-item {
    border-bottom: 1px solid var(--slate-100);
    padding: 8px 0;
}

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

.sidebar-post-link {
    color: var(--slate-800);
    font-weight: 600;
    font-size: 0.85rem;
    display: block;
    line-height: 1.4;
    transition: var(--transition);
}

.sidebar-post-link:hover {
    color: var(--danger);
}

/* ─── 14. SOCIAL SHARE BAR ───────────────────────────────── */
.share-bar-wrapper {
    background: var(--slate-100);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    margin-top: 28px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.share-bar-title {
    font-weight: 800;
    font-size: 0.9rem;
    color: var(--slate-900);
}

.share-buttons-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.share-btn {
    font-size: 0.78rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    color: #FFFFFF !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.share-whatsapp { background: #25D366; }
.share-telegram { background: #0088CC; }
.share-facebook { background: #1877F2; }
.share-twitter  { background: #000000; }
.share-copy     { background: var(--slate-700); }

/* ─── 15. 2026 PRODUCTION-GRADE REUSABLE FOOTER SYSTEM ────── */
.v2-site-footer {
    background: #0F172A;
    color: #94A3B8;
    border-top: 4px solid #DC2626;
    padding: 48px 0 24px;
    margin-top: auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
    font-size: 0.9rem;
}

.v2-footer-container {
    max-width: 1380px;
    margin: 0 auto;
    padding: 0 20px;
}

.v2-footer-disclaimer {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 16px 20px;
    font-size: 0.825rem;
    color: #94A3B8;
    margin-bottom: 36px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.v2-footer-disclaimer i {
    color: #F59E0B;
    font-size: 1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.v2-footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 36px;
    margin-bottom: 40px;
}

@media (max-width: 992px) {
    .v2-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 576px) {
    .v2-footer-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

.v2-footer-brand-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #F8FAFC;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: -0.02em;
}

.v2-footer-brand-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #F8FAFC;
    transition: opacity 0.2s ease;
}

.v2-footer-brand-link:hover {
    color: #FFFFFF;
    opacity: 0.9;
}

.site-footer-logo {
    height: 38px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

@media (max-width: 576px) {
    .site-footer-logo {
        height: 32px;
        max-width: 130px;
    }
}

.v2-footer-brand-title i {
    color: #DC2626;
}

.v2-footer-brand-desc {
    font-size: 0.85rem;
    color: #94A3B8;
    margin-bottom: 14px;
    line-height: 1.6;
}

.v2-footer-mission {
    font-size: 0.8rem;
    color: #64748B;
    border-left: 2px solid #DC2626;
    padding-left: 10px;
    margin-bottom: 16px;
}

.v2-footer-socials {
    display: flex;
    gap: 10px;
}

.v2-social-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #FFFFFF !important;
    text-decoration: none !important;
    transition: transform 0.15s ease, opacity 0.15s ease;
}

.v2-social-btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.v2-social-telegram { background: #0088CC; }
.v2-social-whatsapp { background: #25D366; }

/* Footer Navigation Column Headers */
.v2-footer-col-header {
    font-size: 0.825rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #F8FAFC;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

@media (max-width: 576px) {
    .v2-footer-col-header {
        cursor: pointer;
        padding: 10px 0;
        border-bottom: 1px solid rgba(255,255,255,0.08);
        margin-bottom: 0;
    }
    .v2-footer-col-nav {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, padding 0.3s ease;
        padding: 0;
    }
    .v2-footer-col.open .v2-footer-col-nav {
        max-height: 400px;
        padding: 12px 0;
    }
    .v2-footer-col.open .v2-footer-chevron {
        transform: rotate(180deg);
    }
}

.v2-footer-chevron {
    display: none;
    font-size: 0.75rem;
    color: #64748B;
    transition: transform 0.25s ease;
}

@media (max-width: 576px) {
    .v2-footer-chevron {
        display: block;
    }
}

.v2-footer-col-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.v2-footer-col-nav a {
    color: #94A3B8;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: color 0.15s ease, padding-left 0.15s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.v2-footer-col-nav a:hover,
.v2-footer-col-nav a:focus-visible {
    color: #F8FAFC;
    padding-left: 4px;
}

.v2-footer-col-nav a.active-footer-link,
.v2-footer-legal-links a.active-footer-link {
    color: #DC2626 !important;
    font-weight: 700;
}

.v2-footer-col-nav a:focus-visible {
    outline: 2px solid #DC2626;
    border-radius: 4px;
}

/* Bottom Bar */
.v2-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 24px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-size: 0.8rem;
    color: #64748B;
}

.v2-footer-legal-links {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.v2-footer-legal-links a {
    color: #94A3B8;
    text-decoration: none;
    transition: color 0.15s ease;
}

.v2-footer-legal-links a:hover {
    color: #DC2626;
}

.v2-footer-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2px 8px;
    border-radius: 9999px;
    font-size: 0.75rem;
    color: #94A3B8;
}

.v26-footer-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2px 8px;
    border-radius: 9999px;
    font-size: 0.75rem;
    color: #94A3B8;
}

/* ==========================================================
   2026 Enterprise SaaS UI: Cookie Banner & Push Card (Vercel / Stripe Standard)
   ========================================================== */

/* 1. Cookie Consent Slim Bottom Banner */
.v26-cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    background: rgba(15, 23, 42, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: #f8fafc;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    transform: translateY(100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 200ms cubic-bezier(0.16, 1, 0.3, 1), opacity 200ms ease;
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.25);
}

.v26-cookie-banner.visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.v26-cookie-text {
    font-size: 0.86rem;
    line-height: 1.4;
    color: #cbd5e1;
    max-width: 720px;
}

.v26-cookie-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.v26-btn-accept {
    background: #dc2626;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.84rem;
    padding: 8px 18px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: background-color 150ms ease, transform 150ms ease;
}

.v26-btn-accept:hover {
    background: #b91c1c;
}

.v26-btn-learn {
    color: #94a3b8;
    font-size: 0.82rem;
    text-decoration: underline;
    background: transparent;
    border: none;
    cursor: pointer;
}

.v26-btn-learn:hover {
    color: #ffffff;
}

/* 2. Push Notification 2026 Centered SaaS Modal (Vercel / Apple / Linear Standard) */
.v26-push-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10005;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 150ms linear, visibility 150ms;
}

.v26-push-modal-backdrop.visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.v26-push-modal {
    width: calc(100% - 32px);
    max-width: 420px;
    background: #ffffff;
    border-radius: 24px;
    padding: 28px 24px 22px 24px;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.35), 0 0 0 1px rgba(15, 23, 42, 0.06);
    transform: scale(0.95) translateY(12px);
    transition: transform 230ms cubic-bezier(0.16, 1, 0.3, 1), opacity 230ms ease;
    opacity: 0;
    position: relative;
    margin-bottom: env(safe-area-inset-bottom, 0px);
}

.v26-push-modal-backdrop.visible .v26-push-modal {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.v26-push-modal-icon {
    width: 56px;
    height: 56px;
    background: #fef2f2;
    color: #dc2626;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 16px auto;
    box-shadow: 0 8px 16px -4px rgba(220, 38, 38, 0.15);
}

.v26-push-modal-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
    text-align: center;
    line-height: 1.3;
    margin-bottom: 6px;
    letter-spacing: -0.02em;
}

.v26-push-modal-subtitle {
    font-size: 0.86rem;
    color: #64748b;
    text-align: center;
    margin-bottom: 18px;
    line-height: 1.45;
}

.v26-push-modal-list {
    list-style: none;
    padding: 14px 16px;
    margin: 0 0 20px 0;
    background: #f8fafc;
    border-radius: 14px;
    border: 1px solid #f1f5f9;
}

.v26-push-modal-list li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 8px;
    font-size: 0.84rem;
    font-weight: 600;
    color: #334155;
    line-height: 1.4;
}

.v26-push-modal-list li:last-child {
    margin-bottom: 0;
}

.v26-push-modal-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #dc2626;
    font-weight: 800;
}

.v26-push-modal-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.v26-btn-modal-enable {
    width: 100%;
    min-height: 54px;
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 14px 20px;
    border-radius: 14px;
    border: none;
    cursor: pointer;
    text-align: center;
    box-shadow: 0 4px 14px rgba(220, 38, 38, 0.35);
    transition: transform 150ms ease, box-shadow 150ms ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.v26-btn-modal-enable:hover, .v26-btn-modal-enable:focus {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.45);
    outline: none;
}

.v26-btn-modal-later {
    width: 100%;
    background: transparent;
    color: #64748b;
    font-weight: 600;
    font-size: 0.86rem;
    padding: 10px 16px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    text-align: center;
    transition: color 150ms ease, background-color 150ms ease;
}

.v26-btn-modal-later:hover, .v26-btn-modal-later:focus {
    color: #1e293b;
    background: #f1f5f9;
    outline: none;
}

.v26-modal-trust-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.74rem;
    color: #64748b;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid #f1f5f9;
}

@media (max-width: 576px) {
    .v26-push-modal {
        padding: 24px 18px 20px 18px;
        border-radius: 20px;
        width: calc(100% - 24px);
    }
    .v26-btn-modal-enable {
        min-height: 54px;
        font-size: 0.92rem;
    }
    .v26-cookie-banner {
        flex-direction: column;
        align-items: flex-start;
        padding: 16px;
        bottom: calc(0px + env(safe-area-inset-bottom, 0px));
    }
    .v26-cookie-actions {
        width: 100%;
        justify-content: space-between;
    }
}

@media (prefers-reduced-motion: reduce) {
    .v26-cookie-banner, .v26-push-modal-backdrop, .v26-push-modal {
        transition: opacity 150ms linear !important;
        transform: none !important;
    }
}
