/*
Theme Name: GeneratePress Child - Sarkari Result Modern
Theme URI: https://mintcream-cobra-701219.hostingersite.com/
Description: Ultra-fast, modern, responsive Indian Government Job & Results portal theme inspired by SarkariResult.com.
Author: Sarkari Result Team
Template: generatepress
Version: 1.0.0
*/

:root {
    --primary: #c0392b;
    --primary-dark: #962d22;
    --primary-light: #e74c3c;
    --secondary: #2980b9;
    --secondary-dark: #1f618d;
    --success: #27ae60;
    --success-dark: #1e8449;
    --warning: #d35400;
    --purple: #8e44ad;
    --teal: #16a085;
    --dark: #1e272e;
    --darker: #0f1419;
    --light-bg: #f8fafc;
    --card-bg: #ffffff;
    --text-main: #2d3748;
    --text-muted: #718096;
    --border-color: #e2e8f0;
    --border-radius: 8px;
    --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.08), 0 2px 4px -1px rgba(0,0,0,0.04);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -2px rgba(0,0,0,0.04);
    --font-heading: 'Outfit', 'Outfit-Fallback', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-body: 'Inter', 'Inter-Fallback', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

body {
    zoom: 0.9;
    font-family: var(--font-body);
    background-color: var(--light-bg);
    color: var(--text-main);
    line-height: 1.6;
    font-size: 15px;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.sarkari-container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 16px;
}

/* ==========================================================================
   TOP BAR & TICKER
   ========================================================================== */
.sarkari-topbar {
    background: #111827;
    color: #f3f4f6;
    font-size: 13px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 6px 0;
}
.sarkari-topbar .sarkari-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}
.topbar-left {
    display: flex;
    align-items: center;
    gap: 12px;
}
.topbar-badge {
    background: var(--primary);
    color: #fff;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    animation: pulseBadge 2s infinite;
}
@keyframes pulseBadge {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.75; }
}
.topbar-ticker-wrap {
    overflow: hidden;
    white-space: nowrap;
    max-width: 600px;
}
.topbar-ticker-content {
    display: inline-block;
    animation: tickerMove 30s linear infinite;
}
.topbar-ticker-content:hover {
    animation-play-state: paused;
}
.topbar-ticker-item {
    display: inline-block;
    margin-right: 25px;
    color: #e5e7eb;
}
.topbar-ticker-item:hover {
    color: #facc15;
}
@keyframes tickerMove {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}
.topbar-right {
    display: flex;
    align-items: center;
    gap: 15px;
}
.topbar-link {
    color: #9ca3af;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.topbar-link:hover {
    color: #fff;
}

/* ==========================================================================
   SITE HEADER
   ========================================================================== */
.sarkari-header {
    background: #ffffff;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-top: none;
    border-bottom: 2px solid #e2e8f0;
}
.header-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    gap: 20px;
}
.brand-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}
.site-logo-img {
    height: 48px;
    width: auto;
    max-width: 100%;
    aspect-ratio: auto;
    object-fit: contain;
    border-radius: 6px;
    display: block;
}
.brand-text h1, .brand-text .site-title {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.1;
    margin: 0;
    letter-spacing: -0.5px;
}
.brand-text .site-title span {
    color: #1e293b;
}
.brand-tagline {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
}

/* Unique & Enhanced Search Bar UI (Desktop Default) */
.mobile-header-search {
    display: none !important;
}
.desktop-header-search {
    flex: 1;
    max-width: 480px;
    position: relative;
    width: 100%;
}
.header-search {
    position: relative;
}
.search-form-wrap {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    background: #ffffff;
    border-radius: 35px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.07), 0 1px 3px rgba(0, 0, 0, 0.04);
    padding: 2px;
    border: 1.5px solid #e2e8f0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.search-form-wrap:focus-within {
    border-color: var(--primary);
    box-shadow: 0 4px 18px rgba(192, 57, 43, 0.18), 0 0 0 3px rgba(192, 57, 43, 0.1);
    transform: translateY(-1px);
}
.search-icon-prefix {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary);
    font-size: 15px;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s ease, color 0.25s ease;
    z-index: 2;
}
.search-form-wrap:focus-within .search-icon-prefix {
    transform: translateY(-50%) scale(1.15);
    color: var(--primary-dark);
}
.search-input {
    width: 100%;
    padding: 10px 78px 10px 42px !important;
    border: none !important;
    border-radius: 35px !important;
    font-size: 13.5px;
    outline: none !important;
    transition: all 0.25s ease;
    background: transparent !important;
    color: #0f172a;
    font-weight: 500;
    box-shadow: none !important;
    box-sizing: border-box;
}

.voice-search-btn {
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    background: #f1f5f9;
    color: #64748b;
    border: 1px solid #e2e8f0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12.5px;
    transition: all 0.25s ease;
    z-index: 3;
    padding: 0;
}
.voice-search-btn:hover {
    background: #fee2e2;
    color: var(--primary);
    border-color: #fecaca;
    transform: translateY(-50%) scale(1.08);
}
.voice-search-btn.listening {
    background: #ef4444 !important;
    color: #ffffff !important;
    border-color: #dc2626 !important;
    animation: voicePulse 1.2s infinite ease-in-out !important;
    transform: translateY(-50%) scale(1.08);
}
.search-input::placeholder {
    color: #94a3b8;
    font-size: 13px;
    font-weight: 400;
}
.search-input:focus {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
}
.search-btn {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #b91c1c 0%, #ef4444 100%);
    color: #ffffff;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    box-shadow: 0 2px 8px rgba(185, 28, 28, 0.35);
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
    z-index: 2;
}
.search-btn:hover {
    transform: translateY(-50%) scale(1.06);
    box-shadow: 0 4px 12px rgba(185, 28, 28, 0.45);
}
.search-btn:active {
    transform: translateY(-50%) scale(0.94);
}

.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: #1e293b;
    cursor: pointer;
}

/* Primary Navigation Bar */
.sarkari-navbar {
    background: #ab1f16;
    background: linear-gradient(90deg, #961710 0%, #b82218 50%, #8b130d 100%);
    border-top: 1px solid rgba(255,255,255,0.15);
    position: relative;
    z-index: 100;
    overflow: visible !important;
}
.sarkari-navbar .sarkari-container {
    overflow: visible !important;
}
.sarkari-nav-menu {
    display: flex;
    list-style: none;
    overflow: visible !important;
    white-space: nowrap;
    position: relative;
}
.sarkari-nav-menu::-webkit-scrollbar {
    display: none;
}
.sarkari-nav-item {
    position: relative;
}
.sarkari-nav-link {
    display: block;
    padding: 11px 18px;
    color: #ffffff;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    transition: background 0.2s ease;
}
.sarkari-nav-link:hover, .sarkari-nav-item.active .sarkari-nav-link {
    background: rgba(0, 0, 0, 0.25);
    color: #ffeb3b;
}

/* Mobile Horizontal Scroll Navigation (Hidden on Desktop) */
.mobile-scroll-nav {
    display: none !important;
}

/* ==========================================================================
   QUICK TAGS
   ========================================================================== */
.quick-tags-section {
    margin-top: 8px;
    margin-bottom: 16px;
}
.quick-tags-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    padding: 8px 0;
}
.quick-tag {
    background: #ffffff;
    color: #334155;
    border: 1px solid #cbd5e1;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
}
.quick-tag:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    transform: translateY(-1px);
}

/* E-Book Tag - All Layouts */
.quick-tag-ebook {
    background: #ede9fe;
    border-color: #c4b5fd;
    color: #5b21b6;
}
.quick-tag-ebook:hover {
    background: #7c3aed;
    border-color: #7c3aed;
    color: #fff;
    transform: translateY(-1px);
}

/* Hot Highlight Cards (Top 8 Trending Boxes) */
.hot-highlights-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}
.hot-card {
    border-radius: 8px;
    padding: 14px 16px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 85px;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
}
.hot-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}
.hot-card-1 { background: linear-gradient(135deg, #b91c1c 0%, #dc2626 100%); }
.hot-card-2 { background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%); }
.hot-card-3 { background: linear-gradient(135deg, #047857 0%, #059669 100%); }
.hot-card-4 { background: linear-gradient(135deg, #b45309 0%, #d97706 100%); }
.hot-card-5 { background: linear-gradient(135deg, #6d28d9 0%, #7c3aed 100%); }
.hot-card-6 { background: linear-gradient(135deg, #0e7490 0%, #0891b2 100%); }
.hot-card-7 { background: linear-gradient(135deg, #be185d 0%, #db2777 100%); }
.hot-card-8 { background: linear-gradient(135deg, #334155 0%, #475569 100%); }

.hot-card-title {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 6px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}
.hot-card-badge {
    align-self: flex-start;
    background: rgba(255,255,255,0.25);
    backdrop-filter: blur(4px);
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    text-transform: uppercase;
}

/* ==========================================================================
   PRIMARY 3-COLUMN SARKARI RESULT GRID
   ========================================================================== */
.sarkari-main-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}
.sarkari-box {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: border-color 0.2s;
}
.sarkari-box:hover {
    border-color: #cbd5e1;
}
.sarkari-box-header {
    padding: 12px 16px;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.sarkari-box-header h2, .sarkari-box-header h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    letter-spacing: 0.3px;
    font-family: var(--font-heading);
}
.box-header-result { background: linear-gradient(90deg, #991b1b 0%, #b91c1c 100%); }
.box-header-admit { background: linear-gradient(90deg, #1e40af 0%, #2563eb 100%); }
.box-header-latest-jobs { background: linear-gradient(90deg, #065f46 0%, #059669 100%); }
.box-header-answer-key { background: linear-gradient(90deg, #92400e 0%, #d97706 100%); }
.box-header-syllabus { background: linear-gradient(90deg, #5b21b6 0%, #7c3aed 100%); }
.box-header-admission { background: linear-gradient(90deg, #0e7490 0%, #0891b2 100%); }
.box-header-certificate { background: linear-gradient(90deg, #374151 0%, #4b5563 100%); }
.box-header-important { background: linear-gradient(90deg, #831843 0%, #be185d 100%); }
.box-header-ebooks { background: linear-gradient(90deg, #4f46e5 0%, #6366f1 100%); }
.box-header-mock-test { background: linear-gradient(90deg, #c2410c 0%, #ea580c 100%); }
.box-header-private-jobs { background: linear-gradient(90deg, #1e1b4b 0%, #312e81 50%, #4338ca 100%) !important; }
.box-header-job-news { background: linear-gradient(90deg, #9a3412 0%, #c2410c 50%, #ea580c 100%) !important; }
.box-header-outsourcing-jobs,
.box-header-govt-schemes { background: linear-gradient(90deg, #064e3b 0%, #047857 50%, #059669 100%) !important; }

.sarkari-box-list {
    list-style: none !important;
    flex: 1;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    background: #ffffff !important;
}
.sarkari-box-item {
    border-bottom: 1px solid #f1f5f9 !important;
    display: block !important;
    width: 100% !important;
    transition: background 0.15s ease;
}
.sarkari-box-item:last-child {
    border-bottom: none !important;
}
.sarkari-box-item:hover {
    background: #f8fafc !important;
}
.sarkari-box-link {
    display: flex !important;
    align-items: flex-start !important;
    padding: 10px 10px !important;
    color: #1e293b !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    gap: 8px !important;
    line-height: 1.4 !important;
    text-decoration: none !important;
}
.sarkari-box-link:hover {
    color: var(--primary);
}
.item-bullet {
    color: var(--primary);
    font-size: 12px;
    margin-top: 3px;
    flex-shrink: 0;
}
.item-badge-new {
    background: #ef4444;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 1px 5px;
    border-radius: 3px;
    margin-left: 6px;
    text-transform: uppercase;
}
.item-badge-last {
    background: #f59e0b;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 1px 5px;
    border-radius: 3px;
    margin-left: 6px;
}
.sarkari-box-footer {
    padding: 10px 14px;
    background: #f8fafc;
    border-top: 1px solid var(--border-color);
    text-align: center;
}
.view-more-btn {
    font-size: 13px;
    font-weight: 700;
    color: #2563eb;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.view-more-btn:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

/* SECONDARY 4-COLUMN GRID (Answer Key, Syllabus, Admission, Certificate Verification) */
.sarkari-secondary-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-bottom: 30px;
}

/* TERTIARY 4-COLUMN GRID (Important, Private Jobs, Job News, Latest Govt Schemes) */
.sarkari-tertiary-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-bottom: 30px;
}

/* ==========================================================================
   SINGLE POST / JOB DETAILS PAGE
   ========================================================================== */
.sarkari-single-post {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 24px;
    margin: 20px auto;
    box-shadow: var(--shadow-sm);
}
.post-header-main {
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 16px;
    margin-bottom: 20px;
}
.post-category-tag {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.post-main-title {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 800;
    color: #111827;
    line-height: 1.3;
    margin-bottom: 10px;
}
.post-meta-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 13px;
    color: var(--text-muted);
}

/* Structured Job Info Tables */
.job-tables-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 20px 0;
}
.job-table-card {
    border: 1px solid var(--border-color);
    border-radius: 6px;
    overflow: hidden;
}
.job-table-header {
    background: #1e293b;
    color: #fff;
    padding: 10px 14px;
    font-weight: 700;
    font-size: 15px;
}
.job-table-content {
    padding: 14px;
    background: #fff;
}
.job-table-content ul {
    list-style: none;
}
.job-table-content li {
    padding: 6px 0;
    border-bottom: 1px dashed #e2e8f0;
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}
.job-table-content li:last-child {
    border-bottom: none;
}
.table-label {
    font-weight: 600;
    color: #475569;
}
.table-val {
    font-weight: 700;
    color: #0f172a;
    text-align: right;
}

/* Vacancy Table */
.custom-table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    font-size: 14px;
}
.custom-table th {
    background: #334155;
    color: #fff;
    padding: 10px 12px;
    text-align: left;
    font-weight: 700;
}
.custom-table td {
    padding: 10px 12px;
    border: 1px solid #e2e8f0;
}
.custom-table tr:nth-child(even) {
    background: #f8fafc;
}

/* Important Download Links Table */
.download-links-card {
    border: 2px solid #b91c1c;
    border-radius: 8px;
    overflow: hidden;
    margin: 24px 0;
}
.download-links-header {
    background: #b91c1c;
    color: #fff;
    padding: 12px 16px;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
}
.download-links-table {
    width: 100%;
    border-collapse: collapse;
}
.download-links-table td {
    padding: 12px 16px;
    border-bottom: 1px solid #fee2e2;
    font-size: 15px;
}
.download-links-table tr:last-child td {
    border-bottom: none;
}
.link-action-btn {
    display: inline-block;
    background: #2563eb;
    color: #fff !important;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 4px;
    font-size: 13px;
    text-transform: uppercase;
    transition: background 0.2s;
}
.link-action-btn:hover {
    background: #1d4ed8;
}

/* ==========================================================================
   STATIC / POLICY PAGES
   ========================================================================== */
.sarkari-policy-page {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 30px;
    margin: 24px auto;
    box-shadow: var(--shadow-sm);
}
.policy-header {
    border-bottom: 2px solid var(--primary);
    padding-bottom: 12px;
    margin-bottom: 24px;
}
.policy-header h1 {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 800;
    color: #0f172a;
}
.policy-content h2, .policy-content h3 {
    font-family: var(--font-heading);
    color: #1e293b;
    margin: 20px 0 10px;
}
.policy-content p {
    margin-bottom: 14px;
    color: #334155;
    line-height: 1.7;
}
.policy-content ul {
    margin: 0 0 16px 20px;
}
.policy-content li {
    margin-bottom: 6px;
}

/* ==========================================================================
   SITE FOOTER
   ========================================================================== */
.sarkari-footer {
    background: #0f172a;
    color: #cbd5e1;
    padding: 40px 0 20px;
    margin-top: 40px;
    border-top: 4px solid var(--primary);
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}
.footer-col h3 {
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
    font-family: var(--font-heading);
    position: relative;
    padding-bottom: 8px;
}
.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary);
}
.footer-links {
    list-style: none;
}
.footer-links li {
    margin-bottom: 8px;
}
.footer-links a {
    color: #94a3b8;
    font-size: 13px;
    transition: color 0.2s, padding-left 0.2s;
}
.footer-links a:hover {
    color: #ffffff;
    padding-left: 4px;
}
.footer-disclaimer {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 6px;
    padding: 14px 18px;
    margin-bottom: 24px;
    font-size: 12px;
    line-height: 1.6;
    color: #94a3b8;
}
.footer-disclaimer strong {
    color: #f87171;
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13px;
    color: #64748b;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 90px;
    right: 30px;
    background: var(--primary);
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}
.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 1024px) {
    .sarkari-main-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
    .sarkari-secondary-grid,
    .sarkari-tertiary-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
    .hot-highlights-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    /* Always Sticky Header on Mobile */
    .sarkari-header {
        position: sticky !important;
        top: 0 !important;
        z-index: 9999 !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
        background: #ffffff !important;
        width: 100% !important;
    }
    .dark-mode 
    /* Mobile Zero Right-Side Gap / Perfectly Centered Layout */
    html, body {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
        position: relative !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    #page, .site, .site-main, .site-content {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow-x: hidden !important;
    }
    .site-main {
        padding-top: 40px !important;
    }
    .sarkari-container {
        padding: 0 4px !important;
        margin: 0 auto !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .sarkari-header, .sarkari-topbar, .sarkari-footer {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }
    /* Header Layout on Mobile & Tablet (Single Clean Row) */
    .desktop-header-search {
        display: none !important;
    }
    .header-desktop-actions {
        display: none !important;
    }
    .header-main {
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 6px !important;
        padding: 8px 0 !important;
        width: 100% !important;
        margin: 0 !important;
    }
    .header-top-row {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100% !important;
        gap: 6px !important;
    }
    .brand-wrap {
        display: flex !important;
        align-items: center !important;
        flex: 1 1 auto !important;
        min-width: 0 !important;
        max-width: 100% !important;
        overflow: visible !important;
        margin-right: auto !important;
    }
    .site-logo-img {
        height: clamp(39px, 11vw, 51px) !important;
        max-width: 100% !important;
        object-fit: contain !important;
        width: auto !important;
        display: block !important;
    }
    .header-actions {
        display: flex !important;
        align-items: center !important;
        gap: 3px !important;
        flex-shrink: 0 !important;
    }

    /* Fixed Size Mobile & Tablet Search Bar Option (To the left side of Dark Mode) */
    .mobile-header-search {
        display: block !important;
        width: clamp(120px, 30vw, 160px) !important;
        max-width: 165px !important;
        margin: 0 !important;
        position: relative !important;
        flex-shrink: 0 !important;
    }
    .mobile-header-search .search-form-wrap {
        width: 100% !important;
        height: 34px !important;
        min-height: 34px !important;
        margin: 0 !important;
        position: relative !important;
        display: flex !important;
        align-items: center !important;
        background: #ffffff !important;
        border-radius: 20px !important;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06) !important;
        padding: 0 4px !important;
        border: 1.5px solid #cbd5e1 !important;
        box-sizing: border-box !important;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    }
    .mobile-header-search .search-form-wrap:focus-within {
        border-color: var(--primary) !important;
        box-shadow: 0 3px 12px rgba(192, 57, 43, 0.16) !important;
    }
    .mobile-header-search .search-icon-prefix {
        position: absolute !important;
        left: 7px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        font-size: 10.5px !important;
        color: var(--primary) !important;
        pointer-events: none !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    .mobile-header-search .search-input {
        width: 100% !important;
        height: 30px !important;
        font-size: 11px !important;
        padding: 0 52px 0 22px !important;
        margin: 0 !important;
        background: transparent !important;
        border: none !important;
        border-radius: 20px !important;
        color: #0f172a !important;
        font-weight: 500 !important;
        box-shadow: none !important;
        box-sizing: border-box !important;
        line-height: 30px !important;
    }
    .mobile-header-search .search-input::placeholder {
        color: #94a3b8 !important;
        font-size: 11px !important;
        font-weight: 400 !important;
    }
    .mobile-header-search .search-input:focus {
        background: transparent !important;
        box-shadow: none !important;
        border: none !important;
    }
    .mobile-header-search .voice-search-btn {
        position: absolute !important;
        width: 22px !important;
        height: 22px !important;
        right: 27px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        font-size: 10px !important;
        padding: 0 !important;
        background: #f1f5f9 !important;
        color: #64748b !important;
        border: 1px solid #cbd5e1 !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        cursor: pointer !important;
        z-index: 3 !important;
        transition: all 0.2s ease !important;
    }
    .mobile-header-search .voice-search-btn:hover {
        background: #fee2e2 !important;
        color: var(--primary) !important;
        border-color: #fecaca !important;
    }
    .mobile-header-search .voice-search-btn.listening {
        background: #ef4444 !important;
        color: #ffffff !important;
        border-color: #dc2626 !important;
        animation: voicePulse 1.2s infinite ease-in-out !important;
    }
    .mobile-header-search .search-btn {
        position: absolute !important;
        width: 22px !important;
        height: 22px !important;
        right: 3px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        font-size: 9px !important;
        padding: 0 !important;
        background: linear-gradient(135deg, #b91c1c 0%, #ef4444 100%) !important;
        color: #ffffff !important;
        border: none !important;
        border-radius: 50% !important;
        box-shadow: 0 2px 6px rgba(185, 28, 28, 0.3) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        cursor: pointer !important;
    }
    .mobile-dark-mode-toggle {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 34px !important;
        height: 34px !important;
        padding: 0 !important;
        border-radius: 6px !important;
        font-size: 14px !important;
        background: #f1f5f9 !important;
        border: 1px solid #cbd5e1 !important;
        color: #f59e0b !important;
        cursor: pointer !important;
        flex-shrink: 0 !important;
        box-sizing: border-box !important;
    }
    .mobile-dark-mode-toggle i {
        color: #f59e0b !important;
    }
    .mobile-nav-toggle {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 34px !important;
        height: 34px !important;
        padding: 0 !important;
        border-radius: 6px !important;
        font-size: 16px !important;
        background: #f1f5f9 !important;
        border: 1px solid #cbd5e1 !important;
        color: #1e293b !important;
        cursor: pointer !important;
        flex-shrink: 0 !important;
        box-sizing: border-box !important;
    }
    .sarkari-navbar {
        display: none;
        width: 100% !important;
        margin: 0 !important;
    }
    .sarkari-navbar.mobile-open {
        display: block !important;
    }
    .sarkari-nav-menu {
        flex-direction: column !important;
        white-space: normal !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    .sarkari-nav-link {
        padding: 10px 14px !important;
        border-bottom: 1px solid rgba(255,255,255,0.1) !important;
        font-size: 13px !important;
    }

    /* Mobile Sticky Horizontal Scrollable Navigation Strip */
    .mobile-scroll-nav {
        display: block !important;
        width: 100% !important;
        background: linear-gradient(90deg, #961710 0%, #b82218 50%, #8b130d 100%) !important;
        border-top: 1px solid rgba(255, 255, 255, 0.15) !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
        -ms-overflow-style: none !important;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08) !important;
    }
    .mobile-scroll-nav::-webkit-scrollbar {
        display: none !important;
        height: 0 !important;
    }
    .mobile-scroll-nav-list {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        list-style: none !important;
        margin: 0 !important;
        padding: 0 6px !important;
        width: max-content !important;
        min-width: 100% !important;
        gap: 2px !important;
    }
    .mobile-scroll-nav-item {
        flex-shrink: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    .mobile-scroll-nav-link {
        display: inline-flex !important;
        align-items: center !important;
        gap: 5px !important;
        padding: 9px 11px !important;
        color: #ffffff !important;
        font-size: 12px !important;
        font-weight: 700 !important;
        text-transform: uppercase !important;
        letter-spacing: 0.2px !important;
        white-space: nowrap !important;
        text-decoration: none !important;
        border-bottom: 2px solid transparent !important;
        transition: background 0.2s ease, color 0.2s ease !important;
    }
    .mobile-scroll-nav-link i {
        font-size: 11.5px !important;
        opacity: 0.92 !important;
    }
    .mobile-scroll-nav-item.active .mobile-scroll-nav-link,
    .mobile-scroll-nav-link:active {
        background: rgba(0, 0, 0, 0.25) !important;
        color: #ffeb3b !important;
        border-bottom-color: #ffeb3b !important;
    }
    body.dark-mode .mobile-scroll-nav {
        background: linear-gradient(90deg, #7f1d1d 0%, #991b1b 50%, #7f1d1d 100%) !important;
        border-top-color: rgba(255, 255, 255, 0.1) !important;
    }
    .sarkari-header {
        margin-bottom: 30px !important;
    }

    /* Quick Tags Mobile - Original Pill Style, No Side Gaps */
    .quick-tags-section {
        display: block !important;
        margin: 20px 0 12px !important;
        width: 100% !important;
        padding: 0 !important;
    }
    .quick-tags-wrap {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 6px !important;
        padding: 4px 0 !important;
        width: 100% !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }
    .quick-tag {
        flex: 1 1 auto !important;
        font-size: 12px !important;
        padding: 6px 10px !important;
        border-radius: 20px !important;
        white-space: nowrap !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 5px !important;
        font-weight: 700 !important;
        border-width: 1.5px !important;
        box-shadow: 0 2px 6px rgba(0,0,0,0.07) !important;
        transition: all 0.2s ease !important;
        box-sizing: border-box !important;
    }
    .quick-tag i {
        font-size: 11px !important;
        flex-shrink: 0 !important;
    }
    .quick-tag-ebook {
        background: #ede9fe !important;
        border-color: #c4b5fd !important;
        color: #5b21b6 !important;
    }
    .quick-tag-ebook:hover {
        background: #7c3aed !important;
        border-color: #7c3aed !important;
        color: #fff !important;
    }

    /* Auto-Adjusting 2-Column Grids */
    .hot-highlights-grid {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 6px !important;
        margin: 0 0 14px 0 !important;
        width: 100% !important;
    }

    .sarkari-all-grids {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 6px !important;
        margin: 0 0 14px 0 !important;
        width: 100% !important;
    }

    .sarkari-main-grid,
    .sarkari-secondary-grid,
    .sarkari-tertiary-grid {
        display: contents !important;
    }

    /* Hot Cards */
    .hot-card {
        padding: clamp(8px, 2.5vw, 10px) clamp(8px, 2.5vw, 10px) !important;
        min-height: clamp(60px, 16vw, 72px) !important;
        border-radius: 6px !important;
        margin: 0 !important;
    }
    .hot-card-title {
        font-size: clamp(11px, 3.2vw, 13px) !important;
        line-height: 1.25 !important;
        margin-bottom: 3px !important;
        word-break: break-word !important;
    }
    .hot-card-badge {
        font-size: clamp(8px, 2.4vw, 9.5px) !important;
        padding: 1px clamp(3px, 1vw, 6px) !important;
    }

    /* Sarkari Boxes */
    .sarkari-box {
        border-radius: 6px !important;
        width: 100% !important;
        margin: 0 !important;
    }
    .sarkari-box-header {
        padding: 8px 8px !important;
    }
    .sarkari-box-header h2, .sarkari-box-header h3 {
        font-size: clamp(14.5px, 4.2vw, 16.5px) !important;
        line-height: 1.2 !important;
        word-break: break-word !important;
    }
    .sarkari-box-list {
        padding: 0 !important;
        margin: 0 !important;
        width: 100% !important;
    }
    .sarkari-box-item {
        padding: 0 !important;
        margin: 0 !important;
        width: 100% !important;
    }
    .sarkari-box-link {
        padding: 6px 4px !important;
        font-size: clamp(15px, 4.2vw, 16px) !important;
        line-height: 1.35 !important;
        gap: 4px !important;
        word-break: break-word !important;
        width: 100% !important;
    }
    .item-bullet {
        font-size: clamp(9px, 2.6vw, 10.5px) !important;
        margin-top: 2px !important;
    }
    .item-badge-new {
        font-size: clamp(7.5px, 2.2vw, 8.5px) !important;
        padding: 1px 3px !important;
    }
    .sarkari-box-footer {
        padding: 6px 6px !important;
    }
    .view-more-btn {
        font-size: clamp(10px, 2.8vw, 11px) !important;
    }

    /* Content Pages */
    .job-tables-grid {
        grid-template-columns: 1fr !important;
        width: 100% !important;
        margin: 12px 0 !important;
    }
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
        width: 100% !important;
        margin: 0 0 16px 0 !important;
    }
    .sarkari-single-post, .sarkari-policy-page {
        padding: clamp(12px, 3.5vw, 16px) !important;
        width: 100% !important;
        margin: 12px 0 !important;
        box-sizing: border-box !important;
    }
}

/* Small Screen (<= 360px) */
@media (max-width: 360px) {
    .mobile-header-search {
        width: clamp(105px, 28vw, 135px) !important;
        max-width: 135px !important;
    }
    .mobile-header-search .search-input {
        font-size: 10px !important;
        padding: 0 46px 0 18px !important;
    }
    .mobile-header-search .search-icon-prefix {
        left: 5px !important;
        font-size: 9.5px !important;
    }
    .mobile-header-search .voice-search-btn {
        width: 20px !important;
        height: 20px !important;
        right: 23px !important;
        font-size: 9px !important;
    }
    .mobile-header-search .search-btn {
        width: 20px !important;
        height: 20px !important;
        right: 2px !important;
        font-size: 8px !important;
    }
    .mobile-dark-mode-toggle,
    .mobile-nav-toggle {
        width: 30px !important;
        height: 30px !important;
        font-size: 13px !important;
    }
    .brand-wrap {
        flex: 1 1 auto !important;
        min-width: 0 !important;
        max-width: 100% !important;
        margin-right: auto !important;
    }
    .site-logo-img {
        height: clamp(35px, 10.5vw, 43px) !important;
        max-width: 100% !important;
        width: auto !important;
        object-fit: contain !important;
    }
    .sarkari-container {
        padding: 0 3px !important;
    }
    .sarkari-main-grid,
    .sarkari-secondary-grid,
    .sarkari-tertiary-grid,
    .hot-highlights-grid {
        gap: 4px !important;
    }
    /* 360px: Slightly smaller pill tags */
    .quick-tags-wrap {
        gap: 5px !important;
    }
    .quick-tag {
        font-size: 11px !important;
        padding: 5px 8px !important;
    }
    .sarkari-box-link {
        padding: 5px 2px !important;
        font-size: 14.5px !important;
    }
    .hot-card {
        padding: 6px !important;
    }
}
/* ==========================================================================
   DARK MODE TOGGLE BUTTONS & THEME STYLES
   ========================================================================== */
.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}
.header-desktop-actions {
    display: flex;
    align-items: center;
}
.dark-mode-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 25px;
    border: 1.5px solid #e2e8f0;
    background: #ffffff;
    color: #334155;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    transition: all 0.25s ease;
}
.dark-mode-toggle:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    transform: translateY(-1px);
}
.dark-mode-toggle i {
    font-size: 14px;
    color: #f59e0b;
}

@media (min-width: 769px) {
    .mobile-header-search {
        display: none !important;
    }
    .desktop-header-search {
        display: block !important;
    }
    .header-desktop-actions {
        display: flex !important;
    }
    .header-actions .mobile-dark-mode-toggle {
        display: none !important;
    }
    .header-actions .mobile-nav-toggle {
        display: none !important;
    }
    /* Hide Trending Jobs tag on Desktop only */
    .quick-tag-trending {
        display: none !important;
    }
}

@media (min-width: 481px) and (max-width: 768px) {
    .mobile-header-search {
        width: clamp(180px, 30vw, 240px) !important;
        max-width: 240px !important;
    }
    .mobile-header-search .search-input {
        padding: 0 62px 0 24px !important;
        font-size: 12px !important;
    }
    .mobile-header-search .voice-search-btn {
        width: 26px !important;
        height: 26px !important;
        right: 32px !important;
        font-size: 11px !important;
    }
    .mobile-header-search .search-btn {
        width: 26px !important;
        height: 26px !important;
        right: 3px !important;
        font-size: 10px !important;
    }
    .site-logo-img {
        height: 53px !important;
        max-width: 280px !important;
    }
    .mobile-dark-mode-toggle,
    .mobile-nav-toggle {
        width: 36px !important;
        height: 36px !important;
        font-size: 15px !important;
    }
}

/* DARK MODE COLOR OVERRIDES */
html.dark-mode, body.dark-mode {
    --light-bg: #0b0f19;
    --card-bg: #1e293b;
    --text-main: #f1f5f9;
    --text-muted: #94a3b8;
    --border-color: #334155;
    background-color: #0b0f19 !important;
    color: #f1f5f9 !important;
}

body.dark-mode 

body.dark-mode .sarkari-topbar {
    background: #060911 !important;
    border-bottom-color: rgba(255,255,255,0.08) !important;
}

body.dark-mode .mobile-header-search .search-form-wrap {
    background: #1e293b !important;
    border-color: #334155 !important;
}

body.dark-mode .voice-search-btn,
body.dark-mode .mobile-header-search .voice-search-btn {
    background: #334155 !important;
    color: #cbd5e1 !important;
    border-color: #475569 !important;
}

body.dark-mode .voice-search-btn:hover,
body.dark-mode .mobile-header-search .voice-search-btn:hover {
    background: rgba(239, 68, 68, 0.2) !important;
    color: #fca5a5 !important;
    border-color: rgba(239, 68, 68, 0.4) !important;
}

body.dark-mode .voice-search-btn.listening,
body.dark-mode .mobile-header-search .voice-search-btn.listening {
    background: #ef4444 !important;
    color: #ffffff !important;
    border-color: #dc2626 !important;
}

body.dark-mode .mobile-header-search .search-input {
    color: #f8fafc !important;
}

body.dark-mode .mobile-header-search .search-input::placeholder {
    color: #64748b !important;
}

body.dark-mode .search-form-wrap {
    background: #1e293b !important;
    border-color: #334155 !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3) !important;
}

body.dark-mode .search-input {
    color: #f8fafc !important;
}

body.dark-mode .search-input::placeholder {
    color: #64748b !important;
}

body.dark-mode .dark-mode-toggle {
    background: #1e293b !important;
    border-color: #334155 !important;
    color: #facc15 !important;
}

body.dark-mode .mobile-nav-toggle {
    background: #1e293b !important;
    border-color: #334155 !important;
    color: #f1f5f9 !important;
}

body.dark-mode .quick-tag {
    background: #1e293b !important;
    color: #cbd5e1 !important;
    border-color: #334155 !important;
}

body.dark-mode .quick-tag:hover {
    background: var(--primary) !important;
    color: #ffffff !important;
    border-color: var(--primary) !important;
}
body.dark-mode .quick-tag-ebook {
    background: #1e1b4b !important;
    border-color: #4338ca !important;
    color: #a5b4fc !important;
}
body.dark-mode .quick-tag-ebook:hover {
    background: #6d28d9 !important;
    border-color: #6d28d9 !important;
    color: #fff !important;
}

body.dark-mode .sarkari-box {
    background: #1e293b !important;
    border-color: #334155 !important;
}

body.dark-mode .sarkari-box-list {
    background: #1e293b !important;
}

body.dark-mode .sarkari-box-item {
    border-bottom-color: #273549 !important;
}

body.dark-mode .sarkari-box-item:hover {
    background: #253347 !important;
}

body.dark-mode .sarkari-box-link {
    color: #f1f5f9 !important;
}

body.dark-mode .sarkari-box-footer {
    background: #162032 !important;
    border-top-color: #334155 !important;
}

body.dark-mode .view-more-btn {
    color: #60a5fa !important;
}

body.dark-mode .sarkari-single-post,
body.dark-mode .sarkari-policy-page {
    background: #1e293b !important;
    border-color: #334155 !important;
    color: #e2e8f0 !important;
}

body.dark-mode .sarkari-single-post p,
body.dark-mode .sarkari-single-post li,
body.dark-mode .sarkari-policy-page p,
body.dark-mode .sarkari-policy-page li {
    color: #cbd5e1 !important;
}

body.dark-mode .sarkari-single-post h2,
body.dark-mode .sarkari-single-post h3,
body.dark-mode .sarkari-policy-page h1,
body.dark-mode .sarkari-policy-page h2 {
    color: #f8fafc !important;
}

body.dark-mode .job-table-card,
body.dark-mode .job-table-content {
    background: #1e293b !important;
    border-color: #334155 !important;
}

body.dark-mode .job-table-content li {
    border-bottom-color: #334155 !important;
}

body.dark-mode .table-label {
    color: #94a3b8 !important;
}

body.dark-mode .table-val {
    color: #f1f5f9 !important;
}

body.dark-mode .custom-table td {
    border-color: #334155 !important;
    color: #e2e8f0 !important;
}

body.dark-mode .custom-table tr:nth-child(even) {
    background: #162032 !important;
}

body.dark-mode .download-links-table td {
    border-bottom-color: #334155 !important;
    color: #e2e8f0 !important;
}
/* ==========================================================================
   DESKTOP MORE DROPDOWN SUBMENU
   ========================================================================== */
.sarkari-nav-item.has-dropdown {
    position: relative;
    z-index: 1000;
}
.dropdown-arrow {
    font-size: 10px;
    margin-left: 4px;
    transition: transform 0.25s ease;
}
.sarkari-nav-item.has-dropdown:hover .dropdown-arrow,
.sarkari-nav-item.has-dropdown.is-open .dropdown-arrow {
    transform: rotate(180deg);
}
.sarkari-submenu {
    position: absolute;
    top: 100%;
    right: 0;
    background: #ffffff;
    min-width: 180px;
    border-radius: 8px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
    list-style: none;
    padding: 4px 0;
    margin: 0;
    display: none;
    z-index: 99999;
    border: 1px solid #cbd5e1;
}
.sarkari-nav-item.has-dropdown:hover .sarkari-submenu,
.sarkari-nav-item.has-dropdown:focus-within .sarkari-submenu,
.sarkari-nav-item.has-dropdown.is-open .sarkari-submenu {
    display: block !important;
}
.sarkari-submenu-item {
    border-bottom: 1px solid #f1f5f9;
}
.sarkari-submenu-item:last-child {
    border-bottom: none;
}
.sarkari-submenu-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    color: #1e293b;
    font-size: 13.5px;
    font-weight: 600;
    text-transform: none;
    transition: background 0.15s ease, color 0.15s ease, padding-left 0.15s ease;
}
.sarkari-submenu-link:hover {
    background: #f8fafc;
    color: var(--primary);
    padding-left: 20px;
}
.sarkari-submenu-link i {
    font-size: 14px;
    width: 16px;
    text-align: center;
}

/* Dark Mode support for submenu */
body.dark-mode .sarkari-submenu {
    background: #1e293b !important;
    border-color: #334155 !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4) !important;
}
body.dark-mode .sarkari-submenu-item {
    border-bottom-color: #273549 !important;
}
body.dark-mode .sarkari-submenu-link {
    color: #f1f5f9 !important;
}
body.dark-mode .sarkari-submenu-link:hover {
    background: #253347 !important;
    color: #60a5fa !important;
}
/* SEO / About & Highlights Box */
.sarkari-about-section {
    margin-top: 30px;
}
.about-title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 12px;
}
.about-desc {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 14px;
}
.sarkari-highlights-box {
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 16px;
    margin-top: 16px;
}
.highlights-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 8px;
}
.highlights-list {
    margin-left: 20px;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.8;
}

/* Dark Mode Overrides for Highlights */
body.dark-mode .about-title {
    color: #f8fafc !important;
}
body.dark-mode .about-desc {
    color: #cbd5e1 !important;
}
body.dark-mode .sarkari-highlights-box {
    background: #162032 !important;
    border-color: #334155 !important;
}
body.dark-mode .highlights-title {
    color: #f8fafc !important;
}
body.dark-mode .highlights-list {
    color: #cbd5e1 !important;
}
body.dark-mode .highlights-list strong {
    color: #f1f5f9 !important;
}
/* Dark Mode Single Post & Typography Overrides */
body.dark-mode .post-main-title {
    color: #ffffff !important;
}
body.dark-mode .post-header-main {
    border-bottom-color: #334155 !important;
}
body.dark-mode .post-meta-bar {
    color: #94a3b8 !important;
}
body.dark-mode .post-meta-bar strong {
    color: #f1f5f9 !important;
}
body.dark-mode .sarkari-breadcrumb-current {
    color: #f8fafc !important;
}
body.dark-mode .job-table-header {
    background: #0f172a !important;
    color: #ffffff !important;
    border-bottom: 1px solid #334155 !important;
}
body.dark-mode .job-table-card {
    border-color: #334155 !important;
}
body.dark-mode .job-table-content {
    background: #1e293b !important;
}
body.dark-mode .job-table-content li {
    border-bottom-color: #334155 !important;
}
body.dark-mode .job-table-content strong,
body.dark-mode .job-table-content .table-val {
    color: #ffffff !important;
}
body.dark-mode .job-table-content .table-label {
    color: #94a3b8 !important;
}
body.dark-mode .custom-table th {
    background: #0f172a !important;
    color: #ffffff !important;
    border-color: #334155 !important;
}
body.dark-mode .custom-table td {
    border-color: #334155 !important;
    color: #e2e8f0 !important;
}
body.dark-mode .custom-table tr:nth-child(even) {
    background: #162032 !important;
}
body.dark-mode .download-links-card {
    border-color: #dc2626 !important;
    background: #1e293b !important;
}
body.dark-mode .download-links-table td {
    border-bottom-color: #334155 !important;
    color: #f1f5f9 !important;
}
body.dark-mode .download-links-table strong {
    color: #ffffff !important;
}

/* ==========================================================================
   SARKARI SUB-HEADER WELCOME STRIP
   ========================================================================== */
.sarkari-welcome-strip {
    background: linear-gradient(90deg, #ffffff 0%, #fff7ed 35%, #fef2f2 70%, #f0fdf4 100%);
    border-top: 1px solid rgba(192, 57, 43, 0.12);
    border-bottom: 1.5px solid #e2e8f0;
    box-shadow: 0 2px 8px -2px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 10;
    width: 100%;
}

.welcome-strip-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 8px 0;
    flex-wrap: wrap;
    text-align: center;
}

.welcome-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.8px;
    padding: 3px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    box-shadow: 0 2px 6px rgba(220, 38, 38, 0.3);
    flex-shrink: 0;
}

.welcome-pulse-dot {
    width: 6px;
    height: 6px;
    background-color: #ffffff;
    border-radius: 50%;
    display: inline-block;
    animation: welcomePulseAnim 1.6s infinite ease-in-out;
}

@keyframes welcomePulseAnim {
    0%, 100% {
        transform: scale(0.9);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.35);
        opacity: 1;
        box-shadow: 0 0 6px #ffffff;
    }
}

.welcome-tag-icon {
    font-size: 11px;
    color: #fef08a;
}

.welcome-text-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    font-family: var(--font-heading, 'Outfit', sans-serif);
    font-size: 14.5px;
    line-height: 1.45;
    color: #1e293b;
    text-align: center;
}

.welcome-main-title {
    font-weight: 800;
    font-size: 15px;
    color: #b91c1c;
    letter-spacing: -0.2px;
    background: linear-gradient(135deg, #b91c1c 0%, #dc2626 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.welcome-divider {
    color: #cbd5e1;
    font-weight: 400;
    font-size: 13px;
}

.welcome-sub-desc {
    font-weight: 600;
    color: #334155;
    font-size: 13.5px;
    letter-spacing: 0.1px;
}

/* Dark Mode Overrides */
body.dark-mode .sarkari-welcome-strip {
    background: linear-gradient(90deg, #0f172a 0%, #1e293b 50%, #0f172a 100%) !important;
    border-top-color: rgba(239, 68, 68, 0.25) !important;
    border-bottom-color: #334155 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
}

body.dark-mode .welcome-text-wrap {
    color: #e2e8f0 !important;
}

body.dark-mode .welcome-main-title {
    background: linear-gradient(135deg, #f87171 0%, #fca5a5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.dark-mode .welcome-sub-desc {
    color: #cbd5e1 !important;
}

body.dark-mode .welcome-divider {
    color: #64748b !important;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .sarkari-welcome-strip {
        padding: 6px 0;
    }
    .welcome-strip-inner {
        flex-direction: column;
        gap: 5px;
        padding: 4px 0;
    }
    .welcome-text-wrap {
        font-size: 12px;
        gap: 4px;
    }
    .welcome-main-title {
        font-size: 13px;
        display: block;
        width: 100%;
    }
    .welcome-divider {
        display: none;
    }
    .welcome-sub-desc {
        font-size: 11.5px;
        line-height: 1.35;
        display: block;
    }
}

/* ==========================================================================
/* ==========================================================================
   FLOATING WHATSAPP BUTTON & SOCIAL POPUP MODAL (BOTTOM RIGHT ALL DEVICES)
   ========================================================================== */
.sarkari-floating-wa-wrap {
    position: fixed;
    bottom: 24px;
    right: 24px;
    left: auto;
    z-index: 9999;
    display: flex;
    align-items: center;
}

.sarkari-wa-btn {
    position: relative;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border: 2px solid #ffffff;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4), 0 2px 6px rgba(0, 0, 0, 0.15);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    outline: none;
    padding: 0;
}

.sarkari-wa-btn:hover {
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.55), 0 4px 10px rgba(0, 0, 0, 0.2);
}

.sarkari-wa-btn:active {
    transform: scale(0.96);
}

.sarkari-wa-icon {
    font-size: 30px;
    color: #ffffff;
    transition: transform 0.3s ease;
}

.sarkari-wa-pulse {
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 50%;
    border: 2px solid #25D366;
    animation: waPulseRing 2.2s infinite;
    pointer-events: none;
}

@keyframes waPulseRing {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    70% {
        transform: scale(1.4);
        opacity: 0;
    }
    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

.sarkari-wa-tooltip {
    position: absolute;
    right: 68px;
    left: auto;
    background: #1e293b;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 20px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateX(8px);
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    pointer-events: none;
}

.sarkari-wa-tooltip::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 100%;
    transform: translateY(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent transparent #1e293b;
}

.sarkari-wa-btn:hover .sarkari-wa-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* Modal Overlay & Backdrop */
.sarkari-social-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.sarkari-social-modal.is-active {
    opacity: 1;
    visibility: visible;
}

.sarkari-social-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.sarkari-social-dialog {
    position: relative;
    width: 100%;
    max-width: 440px;
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(0,0,0,0.05);
    overflow: hidden;
    z-index: 1;
    transform: scale(0.92) translateY(20px);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.sarkari-social-modal.is-active .sarkari-social-dialog {
    transform: scale(1) translateY(0);
}

.sarkari-social-header {
    background: linear-gradient(135deg, #075E54 0%, #128C7E 50%, #25D366 100%);
    color: #ffffff;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sarkari-social-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sarkari-social-avatar {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.2);
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #ffffff;
    flex-shrink: 0;
}

.sarkari-social-title {
    font-size: 17px;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
    line-height: 1.2;
    font-family: var(--font-heading, sans-serif);
}

.sarkari-social-subtitle {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.88);
    margin: 3px 0 0 0;
    line-height: 1.3;
}

.sarkari-social-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #ffffff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.2s ease, transform 0.2s ease;
    flex-shrink: 0;
    padding: 0;
}

.sarkari-social-close:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: rotate(90deg);
}

.sarkari-social-body {
    padding: 18px 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: #ffffff;
}

.sarkari-social-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    text-decoration: none;
    color: #1e293b;
    transition: all 0.22s ease;
    cursor: pointer;
}

.sarkari-social-item:hover {
    background: #ffffff;
    border-color: #cbd5e1;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.06);
}

.social-item-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #ffffff;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.sarkari-social-item:hover .social-item-icon {
    transform: scale(1.08);
}

.wa-icon-bg {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}

.wa-share-icon-bg {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.yt-icon-bg {
    background: linear-gradient(135deg, #FF0000 0%, #CC0000 100%);
}

.insta-icon-bg {
    background: linear-gradient(135deg, #833ab4 0%, #fd1d1d 50%, #fcb045 100%);
}

.social-item-text {
    flex: 1;
    min-width: 0;
}

.social-item-title {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.3;
    font-family: var(--font-heading, sans-serif);
}

.social-item-desc {
    display: block;
    font-size: 11.5px;
    color: #64748b;
    margin-top: 2px;
    line-height: 1.3;
}

.social-item-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.wa-badge {
    background: #25D366;
}

.share-badge {
    background: #059669;
}

.yt-badge {
    background: #FF0000;
}

.insta-badge {
    background: linear-gradient(135deg, #833ab4 0%, #fd1d1d 100%);
}

.sarkari-social-item:hover .social-item-badge {
    transform: translateX(2px);
}

.sarkari-social-footer {
    padding: 10px 16px 14px;
    background: #f8fafc;
    border-top: 1px solid #f1f5f9;
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    color: #059669;
}

/* Dark Mode support */
body.dark-mode .sarkari-social-dialog {
    background: #1e293b;
    border: 1px solid #334155;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.6);
}

body.dark-mode .sarkari-social-body {
    background: #1e293b;
}

body.dark-mode .sarkari-social-item {
    background: #0f172a;
    border-color: #334155;
    color: #f1f5f9;
}

body.dark-mode .sarkari-social-item:hover {
    background: #1e293b;
    border-color: #475569;
}

body.dark-mode .social-item-title {
    color: #f8fafc;
}

body.dark-mode .social-item-desc {
    color: #94a3b8;
}

body.dark-mode .sarkari-social-footer {
    background: #0f172a;
    border-top-color: #334155;
    color: #34d399;
}

/* Responsive adjustments across all mobile & tablet devices */
@media (max-width: 768px) {
    .sarkari-floating-wa-wrap {
        bottom: 20px;
        right: 20px;
        left: auto;
    }
    .back-to-top {
        bottom: 82px;
        right: 24px;
    }
    .sarkari-wa-btn {
        width: 52px;
        height: 52px;
    }
    .sarkari-wa-icon {
        font-size: 28px;
    }
    .sarkari-wa-tooltip {
        display: none;
    }
}

@media (max-width: 480px) {
    .sarkari-floating-wa-wrap {
        bottom: 16px;
        right: 16px;
        left: auto;
    }
    .back-to-top {
        bottom: 74px;
        right: 20px;
        width: 40px;
        height: 40px;
    }
    .sarkari-wa-btn {
        width: 48px;
        height: 48px;
    }
    .sarkari-wa-icon {
        font-size: 25px;
    }
    .sarkari-social-dialog {
        max-width: 100%;
        border-radius: 16px;
    }
    .sarkari-social-header {
        padding: 14px 16px;
    }
    .sarkari-social-body {
        padding: 12px 10px;
        gap: 8px;
    }
    .sarkari-social-item {
        padding: 10px 10px;
        gap: 10px;
    }
    .social-item-icon {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }
    .social-item-title {
        font-size: 13px;
    }
    .social-item-desc {
        font-size: 10.5px;
    }
}

/* ==========================================================================
   SMART SEARCH BAR UI (DESKTOP LAYOUT ONLY)
   ========================================================================== */
.desktop-header-search {
    flex: 1;
    max-width: 520px;
    position: relative;
    width: 100%;
}

.desktop-header-search .smart-search-form-wrap {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    background: #ffffff;
    border-radius: 40px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.03);
    padding: 3px;
    border: 1.5px solid #e2e8f0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.desktop-header-search .smart-search-form-wrap:hover {
    border-color: #cbd5e1;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.desktop-header-search .smart-search-form-wrap:focus-within {
    border-color: var(--primary);
    box-shadow: 0 6px 22px rgba(192, 57, 43, 0.2), 0 0 0 3px rgba(192, 57, 43, 0.12);
    transform: translateY(-1px);
}

.desktop-header-search .smart-search-icon-prefix {
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(192, 57, 43, 0.1) 0%, rgba(231, 76, 60, 0.15) 100%);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 2;
}

.desktop-header-search .smart-icon-sparkle {
    transition: transform 0.3s ease;
}

.desktop-header-search .smart-search-form-wrap:focus-within .smart-search-icon-prefix {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(192, 57, 43, 0.35);
    transform: translateY(-50%) scale(1.06);
}

.desktop-header-search .smart-search-form-wrap:focus-within .smart-icon-sparkle {
    animation: smartSpinSparkle 1.5s infinite ease-in-out;
}

@keyframes smartSpinSparkle {
    0%, 100% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(15deg) scale(1.15); }
}

.desktop-header-search .smart-search-input {
    width: 100%;
    padding: 10px 84px 10px 48px !important;
    border: none !important;
    border-radius: 40px !important;
    font-size: 13.5px;
    font-weight: 500;
    outline: none !important;
    transition: all 0.25s ease;
    background: transparent !important;
    color: var(--text-main);
}

.desktop-header-search .smart-search-input::placeholder {
    color: #94a3b8;
    font-size: 13px;
    font-weight: 500;
    transition: opacity 0.2s ease;
}

.desktop-header-search .voice-search-btn {
    position: absolute;
    right: 42px;
    top: 50%;
    transform: translateY(-50%);
    background: #f1f5f9;
    color: #64748b;
    border: 1px solid #e2e8f0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    transition: all 0.25s ease;
    z-index: 3;
    padding: 0;
}

.desktop-header-search .voice-search-btn:hover {
    background: #fee2e2;
    color: var(--primary);
    border-color: #fecaca;
    transform: translateY(-50%) scale(1.08);
}

.desktop-header-search .voice-search-btn.listening {
    background: #ef4444;
    color: #ffffff;
    border-color: #dc2626;
    animation: voicePulse 1.2s infinite ease-in-out;
    transform: translateY(-50%) scale(1.08);
}

@keyframes voicePulse {
    0% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.6);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(239, 68, 68, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
    }
}

.desktop-header-search .smart-search-btn {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary);
    color: #ffffff;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: all 0.25s ease;
    z-index: 3;
}

.desktop-header-search .smart-search-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-50%) scale(1.08);
}

body.dark-mode .desktop-header-search .smart-search-form-wrap {
    background: #1e293b;
    border-color: #334155;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

body.dark-mode .desktop-header-search .smart-search-form-wrap:focus-within {
    border-color: #f87171;
    box-shadow: 0 6px 22px rgba(248, 113, 113, 0.25), 0 0 0 3px rgba(248, 113, 113, 0.15);
}

body.dark-mode .desktop-header-search .smart-search-icon-prefix {
    background: rgba(248, 113, 113, 0.15);
    color: #f87171;
}

body.dark-mode .desktop-header-search .voice-search-btn {
    background: #334155;
    color: #cbd5e1;
    border-color: #475569;
}

body.dark-mode .desktop-header-search .voice-search-btn:hover {
    background: rgba(239, 68, 68, 0.2);
    color: #fca5a5;
    border-color: rgba(239, 68, 68, 0.4);
}

body.dark-mode .desktop-header-search .voice-search-btn.listening {
    background: #ef4444;
    color: #ffffff;
    border-color: #dc2626;
}

body.dark-mode .desktop-header-search .smart-search-input {
    color: #f8fafc;
}

/* ==========================================================================
   ENHANCED RESPONSIVE POST TABLES (SARKARI RESULT SINGLE POSTS)
   ========================================================================== */
.sarkari-table-responsive { box-shadow: none !important;
}

.sarkari-table-responsive::-webkit-scrollbar {
    height: 6px;
}
.sarkari-table-responsive::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 4px;
}
.sarkari-table-responsive::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}
.sarkari-table-responsive::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.post-content table,
.sarkari-single-post table,
.sarkari-table-responsive table {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    border-collapse: collapse !important;
    border-spacing: 0 !important;
    margin: 0 !important;
    font-size: 14px;
    line-height: 1.6;
    color: #1e293b;
    border: none !important;
}

.post-content table tr,
.sarkari-single-post table tr,
.sarkari-table-responsive table tr {
    height: auto !important;
    max-height: none !important;
}

.post-content table th,
.post-content table td,
.sarkari-single-post table th,
.sarkari-single-post table td,
.sarkari-table-responsive table th,
.sarkari-table-responsive table td {
    padding: 10px 14px !important;
    height: auto !important;
    max-height: none !important;
    border: 1px solid #e2e8f0 !important;
    vertical-align: middle !important;
    word-break: normal;
    overflow-wrap: break-word;
}

.post-content table th,
.sarkari-single-post table th,
.sarkari-table-responsive table th,
.post-content table thead td,
.sarkari-table-responsive table thead td {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-family: var(--font-heading) !important;
    font-size: 13.5px !important;
    text-align: left;
    letter-spacing: 0.2px;
}

.post-content table thead th strong,
.post-content table thead td strong,
.sarkari-table-responsive table thead th strong,
.sarkari-table-responsive table thead td strong {
    color: #ffffff !important;
}

.post-content table tbody tr:nth-child(even),
.sarkari-table-responsive table tbody tr:nth-child(even) {
    background-color: #f8fafc !important;
}

.post-content table tbody tr:hover,
.sarkari-table-responsive table tbody tr:hover {
    background-color: #f1f5f9 !important;
}

.post-content table a:not([class]),
.sarkari-table-responsive table a:not([class]) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 5px 12px;
    background: linear-gradient(135deg, #b91c1c 0%, #ef4444 100%);
    color: #ffffff !important;
    border-radius: 20px;
    font-weight: 700;
    font-size: 12.5px;
    text-decoration: none !important;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(185, 28, 28, 0.25);
    margin: 2px 0;
}

.post-content table a:not([class]):hover,
.sarkari-table-responsive table a:not([class]):hover {
    background: linear-gradient(135deg, #991b1b 0%, #dc2626 100%);
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(185, 28, 28, 0.35);
}

@media (max-width: 768px) {
    .sarkari-table-responsive {
        margin: 16px 0 !important;
        border-radius: 6px !important;
    }
    .post-content table,
    .sarkari-single-post table,
    .sarkari-table-responsive table {
        font-size: 12.5px !important;
    }
    .post-content table th,
    .post-content table td,
    .sarkari-single-post table th,
    .sarkari-single-post table td,
    .sarkari-table-responsive table th,
    .sarkari-table-responsive table td {
        padding: 8px 10px !important;
        font-size: 12.5px !important;
        line-height: 1.45 !important;
    }
    .post-content table a:not([class]),
    .sarkari-table-responsive table a:not([class]) {
        padding: 4px 10px !important;
        font-size: 11.5px !important;
    }
}

@media (max-width: 480px) {
    .sarkari-table-responsive {
        margin: 14px 0 !important;
    }
    .post-content table th,
    .post-content table td,
    .sarkari-table-responsive table th,
    .sarkari-table-responsive table td {
        padding: 7px 8px !important;
        font-size: 11.5px !important;
    }
}

body.dark-mode .sarkari-table-responsive { box-shadow: none !important;
}

body.dark-mode .sarkari-table-responsive::-webkit-scrollbar-track {
    background: #0f172a !important;
}
body.dark-mode .sarkari-table-responsive::-webkit-scrollbar-thumb {
    background: #475569 !important;
}

body.dark-mode .post-content table,
body.dark-mode .sarkari-single-post table,
body.dark-mode .sarkari-table-responsive table {
    color: #e2e8f0 !important;
}

body.dark-mode .post-content table th,
body.dark-mode .post-content table td,
body.dark-mode .sarkari-single-post table th,
body.dark-mode .sarkari-single-post table td,
body.dark-mode .sarkari-table-responsive table th,
body.dark-mode .sarkari-table-responsive table td {
    border-color: #334155 !important;
    color: #e2e8f0 !important;
}

body.dark-mode .post-content table th,
body.dark-mode .sarkari-table-responsive table th,
body.dark-mode .post-content table thead td,
body.dark-mode .sarkari-table-responsive table thead td {
    background: #0f172a !important;
    color: #f8fafc !important;
    border-color: #334155 !important;
}

body.dark-mode .post-content table tbody tr:nth-child(even),
body.dark-mode .sarkari-table-responsive table tbody tr:nth-child(even) {
    background-color: #162032 !important;
}

body.dark-mode .post-content table tbody tr:hover,
body.dark-mode .sarkari-table-responsive table tbody tr:hover {
    background-color: #1e293b !important;
}

body.dark-mode .post-content table strong,
body.dark-mode .sarkari-table-responsive table strong {
    color: #ffffff !important;
}


/* ==========================================================================
   AUTHENTIC SARKARI RESULT MAIN JOB TABLE STYLES & MOBILE ADAPTATION
   ========================================================================== */
.sarkari-main-job-table {
    width: 100% !important;
    max-width: 100% !important;
    border-collapse: collapse !important;
    background: #ffffff !important;
    border: 1px solid #000000 !important;
    font-family: inherit;
}

.sarkari-main-job-table td,
.sarkari-main-job-table th {
    border-color: #000000 !important;
}

.sarkari-main-job-table ul {
    margin: 0 !important;
    padding-left: 18px !important;
    list-style-type: disc !important;
}

.sarkari-main-job-table ul li {
    margin-bottom: 6px !important;
    line-height: 1.7 !important;
    font-size: 14px !important;
}

.sarkari-main-job-table table th {
    background: #f1f5f9 !important;
    color: #0f172a !important;
    font-weight: 700 !important;
}

/* Mobile responsive stacking for 2-column Dates/Fee */
@media (max-width: 768px) {
    .sarkari-main-job-table > tbody > tr > td[style*="width: 50%"],
    .sarkari-main-job-table > tbody > tr > td[style*="width:50%"] {
        display: block !important;
        width: 100% !important;
        box-sizing: border-box !important;
        border-right: none !important;
    }
    .sarkari-main-job-table h2 {
        font-size: 18px !important;
    }
    .sarkari-main-job-table h3 {
        font-size: 15px !important;
    }
    .sarkari-main-job-table h4 {
        font-size: 16px !important;
    }
    .sarkari-main-job-table ul li {
        font-size: 13px !important;
    }
}

/* Dark Mode Adaptation for Sarkari Main Table */
body.dark-mode .sarkari-main-job-table {
    border-color: #475569 !important;
    background: #1e293b !important;
}

body.dark-mode .sarkari-main-job-table > tbody > tr > td {
    background: #1e293b !important;
    border-color: #475569 !important;
    color: #e2e8f0 !important;
}

body.dark-mode .sarkari-main-job-table table th {
    background: #0f172a !important;
    color: #f8fafc !important;
    border-color: #475569 !important;
}

body.dark-mode .sarkari-main-job-table table td {
    border-color: #475569 !important;
    color: #cbd5e1 !important;
}

body.dark-mode .sarkari-main-job-table ul li {
    color: #cbd5e1 !important;
}

body.dark-mode .sarkari-main-job-table ul li strong {
    color: #ffffff !important;
}


/* ==========================================================================
   CRISP BLACK BORDERS FOR SARKARI RESULT POST TABLES & COLUMNS
   ========================================================================== */
.post-content table.sarkari-main-job-table,
.sarkari-single-post table.sarkari-main-job-table,
.sarkari-table-responsive table.sarkari-main-job-table,
.sarkari-main-job-table {
    border: 1px solid #000000 !important;
    border-collapse: collapse !important;
}

.sarkari-main-job-table td,
.sarkari-main-job-table th,
.sarkari-main-job-table > tbody > tr > td,
.sarkari-main-job-table > tbody > tr > th,
.sarkari-main-job-table table td,
.sarkari-main-job-table table th {
    border: 1px solid #000000 !important;
    border-color: #000000 !important;
}

.sarkari-main-job-table table {
    border: 1px solid #000000 !important;
    border-collapse: collapse !important;
}

/* Any table in post content with border="1" or classic borders */
.post-content table[border="1"],
.post-content table[border="1"] td,
.post-content table[border="1"] th,
.sarkari-single-post table[border="1"],
.sarkari-single-post table[border="1"] td,
.sarkari-single-post table[border="1"] th {
    border: 1px solid #000000 !important;
    border-color: #000000 !important;
}

body.dark-mode .sarkari-main-job-table,
body.dark-mode .sarkari-main-job-table table {
    border-color: #475569 !important;
}

body.dark-mode .sarkari-main-job-table td,
body.dark-mode .sarkari-main-job-table th,
body.dark-mode .sarkari-main-job-table table td,
body.dark-mode .sarkari-main-job-table table th {
    border-color: #475569 !important;
}


/* ==========================================================================
   UNIVERSAL BLACK BORDERS & RESPONSIVE TABLES FOR ALL LAYOUTS
   ========================================================================== */
.entry-content table,
.post-content table,
.sarkari-single-post table,
.page-content table,
.site-content table,
.sarkari-table-responsive table,
.wp-block-table table,
table.sarkari-main-job-table {
    border-collapse: collapse !important;
    width: 100% !important;
    max-width: 100% !important;
}

.entry-content table td,
.entry-content table th,
.post-content table td,
.post-content table th,
.sarkari-single-post table td,
.sarkari-single-post table th,
.page-content table td,
.page-content table th,
.site-content table td,
.site-content table th,
.sarkari-table-responsive table td,
.sarkari-table-responsive table th,
.wp-block-table table td,
.wp-block-table table th,
.sarkari-main-job-table td,
.sarkari-main-job-table th,
.sarkari-main-job-table table td,
.sarkari-main-job-table table th {
    border: 1px solid #000000 !important;
    border-color: #000000 !important;
}

.sarkari-main-job-table,
.entry-content table[border="1"],
.post-content table[border="1"],
.sarkari-single-post table[border="1"],
.page-content table[border="1"] {
    border: 1px solid #000000 !important;
    border-color: #000000 !important;
}

/* All layouts: Desktop, Tablet & Mobile */
@media (max-width: 768px) {
    .entry-content table td,
    .entry-content table th,
    .post-content table td,
    .post-content table th,
    .sarkari-single-post table td,
    .sarkari-single-post table th,
    .page-content table td,
    .page-content table th,
    .sarkari-main-job-table td,
    .sarkari-main-job-table th {
        border: 1px solid #000000 !important;
        padding: 8px 10px !important;
    }
}

@media (max-width: 480px) {
    .entry-content table td,
    .entry-content table th,
    .post-content table td,
    .post-content table th,
    .sarkari-single-post table td,
    .sarkari-single-post table th,
    .page-content table td,
    .page-content table th,
    .sarkari-main-job-table td,
    .sarkari-main-job-table th {
        border: 1px solid #000000 !important;
        padding: 6px 8px !important;
    }
}


/* ==========================================================================
   MOBILE FULL-WIDTH EDGE-TO-EDGE TABLE LAYOUT (WITHOUT LEFT & RIGHT SPACE)
   ========================================================================== */
@media (max-width: 768px) {
    /* Remove horizontal margins/padding on mobile containers for single post */
    .single-post .sarkari-container,
    .page .sarkari-container {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .sarkari-single-post {
        padding: 14px 0 !important;
        margin: 6px 0 !important;
        border-radius: 0 !important;
        border-left: none !important;
        border-right: none !important;
    }

    /* Keep comfortable padding on non-table text elements */
    .sarkari-single-post .post-header-main,
    .sarkari-single-post .post-content > p,
    .sarkari-single-post .post-content > ul:not(.sarkari-box-list),
    .sarkari-single-post .post-content > ol,
    .sarkari-single-post .post-content > h1,
    .sarkari-single-post .post-content > h2,
    .sarkari-single-post .post-content > h3,
    .sarkari-single-post .post-content > h4,
    .sarkari-single-post > div:not(.post-content),
    .sarkari-single-post .post-content > div:not(.sarkari-table-responsive):not(.sarkari-main-job-table) {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    /* Make all tables and responsive table containers 100% full-width */
    .sarkari-single-post .sarkari-table-responsive,
    .post-content .sarkari-table-responsive,
    .sarkari-single-post table,
    .post-content table,
    .sarkari-main-job-table {
        width: 100vw !important;
        max-width: 100vw !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-top: 10px !important;
        margin-bottom: 12px !important;
        border-radius: 0 !important;
        border-left: none !important;
        border-right: none !important;
        box-sizing: border-box !important;
    }
}

@media (max-width: 768px) {
    .site-main > .sarkari-container > div:first-child {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
}


/* ==========================================================================
   MOBILE LAYOUT: EXACT 2PX SPACE LEFT & RIGHT FOR POST TABLES
   ========================================================================== */
@media (max-width: 768px) {
    .single-post .sarkari-container,
    .page .sarkari-container {
        padding-left: 2px !important;
        padding-right: 2px !important;
        box-sizing: border-box !important;
    }

    .sarkari-single-post {
        padding: 14px 2px !important;
        margin: 6px auto !important;
        box-sizing: border-box !important;
    }

    .sarkari-single-post .sarkari-table-responsive,
    .post-content .sarkari-table-responsive,
    .sarkari-single-post table,
    .post-content table,
    .sarkari-main-job-table {
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        border-border-left: 2px solid #000000: 1px solid #000000 !important;
        border-border-right: 2px solid #000000: 1px solid #000000 !important;
        box-sizing: border-box !important;
    }
}


/* Strict 1px Outer Border for All Tables */
.sarkari-main-job-table,
.post-content table.sarkari-main-job-table,
.sarkari-single-post table.sarkari-main-job-table,
.sarkari-table-responsive table,
.post-content table,
.sarkari-single-post table {
    border: 1px solid #000000 !important;
}


/* ==========================================================================
   CLEAN TABLE TOP (REMOVE STRAY WRAPPER BORDERS, CAPTIONS & SHADOW LINES)
   ========================================================================== */
.sarkari-table-responsive {
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    background: transparent !important;
    padding: 0 !important;
}

body.dark-mode .sarkari-table-responsive {
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    background: transparent !important;
}

table caption,
.post-content table caption,
.sarkari-single-post table caption,
.sarkari-table-responsive table caption {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
}

.sarkari-table-responsive > table {
    margin-top: 0 !important;
}


/* ==========================================================================
   MOBILE LAYOUT: POST LIST COLUMN ORDER (1. Result, 2. Latest Jobs, 3. Admit Card, 4. Answer Key)
   ========================================================================== */
@media (max-width: 768px) {
    .sarkari-box[data-category="latest-jobs"],
    .sarkari-box:has(.box-header-latest-jobs) {
        order: 1 !important;
    }
    .sarkari-box[data-category="admit-card"],
    .sarkari-box:has(.box-header-admit) {
        order: 2 !important;
    }
    .sarkari-box[data-category="results"],
    .sarkari-box:has(.box-header-result) {
        order: 3 !important;
    }
    .sarkari-box[data-category="answer-key"],
    .sarkari-box:has(.box-header-answer-key) {
        order: 4 !important;
    }
    .sarkari-box[data-category="syllabus"],
    .sarkari-box:has(.box-header-syllabus) {
        order: 5 !important;
    }
    .sarkari-box[data-category="admission"],
    .sarkari-box:has(.box-header-admission) {
        order: 6 !important;
    }
    .sarkari-box[data-category="certificate-verification"],
    .sarkari-box:has(.box-header-certificate) {
        order: 7 !important;
    }
    .sarkari-box[data-category="important"],
    .sarkari-box:has(.box-header-important) {
        order: 8 !important;
    }
    .sarkari-box[data-category="private-jobs"],
    .sarkari-box:has(.box-header-private-jobs) {
        order: 9 !important;
    }
    .sarkari-box[data-category="job-news"],
    .sarkari-box:has(.box-header-job-news) {
        order: 10 !important;
    }
    .sarkari-box[data-category="outsourcing-offline-jobs"],
    .sarkari-box[data-category="government-schemes"],
    .sarkari-box:has(.box-header-outsourcing-jobs),
    .sarkari-box:has(.box-header-govt-schemes) {
        order: 11 !important;
    }
    .sarkari-box[data-category="e-books"],
    .sarkari-box[data-category="ebooks"],
    .sarkari-box:has(.box-header-ebooks) {
        order: 12 !important;
    }
    .sarkari-box[data-category="mock-test"],
    .sarkari-box:has(.box-header-mock-test) {
        order: 13 !important;
    }
}


/* ==========================================================================
   SARKARI MOCK TEST PORTAL STYLES (PREMIUM WHITE & OFFICIAL BRAND COLORS)
   ========================================================================== */
.sarkari-mock-portal {
    padding-bottom: 40px;
}

/* 1. Hero Banner Card */
.mock-hero-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 32px 28px;
    margin-bottom: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.mock-hero-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #b91c1c 0%, #2563eb 50%, #059669 100%);
}

.mock-hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #eff6ff;
    color: #1e40af;
    border: 1px solid #bfdbfe;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 14px;
}

.mock-hero-tag .pulse-dot {
    width: 8px;
    height: 8px;
    background: #2563eb;
    border-radius: 50%;
    animation: mockPulse 1.5s infinite;
}

@keyframes mockPulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(37, 99, 235, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 99, 235, 0); }
}

.mock-hero-title {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.3;
    margin: 0 0 10px 0;
}

.mock-hero-title .text-highlight {
    background: linear-gradient(135deg, #b91c1c 0%, #dc2626 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.mock-hero-subtitle {
    font-size: 15px;
    line-height: 1.7;
    color: #475569;
    max-width: 900px;
    margin: 0 0 20px 0;
}

/* Hero Search Bar */
.mock-search-wrapper {
    margin: 20px 0;
    max-width: 720px;
}

.mock-search-box {
    position: relative;
    display: flex;
    align-items: center;
    background: #f8fafc;
    border: 2px solid #cbd5e1;
    border-radius: 30px;
    padding: 4px 16px;
    transition: all 0.25s ease;
}

.mock-search-box:focus-within {
    border-color: #2563eb;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
}

.mock-search-icon {
    font-size: 16px;
    color: #64748b;
    margin-right: 12px;
}

.mock-search-input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 10px 0;
    font-size: 15px;
    color: #0f172a;
    outline: none;
}

.mock-search-clear {
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 4px 8px;
    font-size: 14px;
}
.mock-search-clear:hover {
    color: #0f172a;
}

/* Trust Badges */
.mock-trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px dashed #e2e8f0;
}

.trust-badge-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 600;
    color: #334155;
}

/* 2. Category Navigation Tabs (Horizontal Scrollable) */
.mock-category-nav-wrapper {
    margin-bottom: 24px;
}

.mock-category-scroll {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
}

.mock-category-scroll::-webkit-scrollbar {
    height: 4px;
}
.mock-category-scroll::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.mock-cat-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 24px;
    color: #334155;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
    box-shadow: 0 1px 4px rgba(0,0,0,0.03);
}

.mock-cat-tab:hover {
    border-color: #2563eb;
    color: #2563eb;
    background: #eff6ff;
}

.mock-cat-tab.active {
    background: #1e3a8a;
    border-color: #1e3a8a;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.25);
}

.mock-cat-tab .cat-count {
    background: rgba(0, 0, 0, 0.08);
    padding: 2px 7px;
    border-radius: 12px;
    font-size: 11.5px;
    font-weight: 800;
}

.mock-cat-tab.active .cat-count {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

/* 3. Grid Header */
.mock-grid-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.mock-grid-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
    display: flex;
    align-items: center;
}

.mock-grid-status {
    font-size: 13.5px;
    color: #64748b;
}

/* 4. Mock Cards Grid */
.mock-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 18px;
    margin-bottom: 36px;
}

.mock-card {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    position: relative;
}

.mock-card:hover {
    border-color: #93c5fd;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.12);
}

.mock-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.mock-tag {
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.tag-ssc { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.tag-banking { background: #eff6ff; color: #1e40af; border: 1px solid #bfdbfe; }
.tag-railway { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.tag-police { background: #fff7ed; color: #9a3412; border: 1px solid #fed7aa; }
.tag-teaching { background: #f5f3ff; color: #5b21b6; border: 1px solid #ddd6fe; }
.tag-defence { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }

.mock-badge-free {
    background: #10b981;
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    text-transform: uppercase;
}

.mock-card-title {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.4;
    margin: 0 0 8px 0;
}

.mock-card-post-name {
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 16px;
    display: flex;
    align-items: flex-start;
    gap: 6px;
}

/* Meta Grid Inside Card */
.mock-meta-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 10px 8px;
    margin-bottom: 16px;
    text-align: center;
}

.mock-meta-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.meta-icon {
    font-size: 13px;
    color: #2563eb;
    margin-bottom: 2px;
}

.meta-info strong {
    font-size: 13px;
    color: #0f172a;
    font-weight: 800;
    display: block;
    line-height: 1.1;
}

.meta-info small {
    font-size: 10.5px;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
}

/* Card Footer & Action Button */
.mock-card-footer {
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-top: 1px solid #f1f5f9;
    padding-top: 14px;
}

.mock-stats {
    font-size: 12.5px;
    color: #64748b;
    font-weight: 600;
}

.btn-start-mock {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 11px 18px;
    background: linear-gradient(135deg, #b91c1c 0%, #dc2626 100%);
    color: #ffffff !important;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14.5px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 3px 10px rgba(185, 28, 28, 0.25);
    text-decoration: none;
}

.btn-start-mock:hover {
    background: linear-gradient(135deg, #991b1b 0%, #b91c1c 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(185, 28, 28, 0.35);
}

/* No Results Fallback */
.mock-no-results {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 40px 20px;
    text-align: center;
    margin: 20px 0;
}
.btn-reset-filters {
    margin-top: 14px;
    padding: 8px 18px;
    background: #2563eb;
    color: #fff;
    border: none;
    border-radius: 20px;
    font-weight: 700;
    cursor: pointer;
}

/* 5. Overview Table Section */
.mock-summary-section {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 24px;
    margin-bottom: 28px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

.mock-summary-title {
    font-family: var(--font-heading);
    font-size: 19px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 16px 0;
}

.table-mock-link {
    display: inline-block;
    padding: 5px 12px;
    background: #b91c1c;
    color: #ffffff !important;
    border-radius: 15px;
    font-weight: 700;
    font-size: 12.5px;
    text-decoration: none;
    transition: all 0.2s ease;
}
.table-mock-link:hover {
    background: #991b1b;
}

/* 6. FAQ & Guide Section */
.mock-guide-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 24px;
    margin-bottom: 20px;
}

.mock-guide-title {
    font-family: var(--font-heading);
    font-size: 19px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 18px 0;
}

.mock-faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}

.mock-faq-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 16px;
}

.mock-faq-item h4 {
    font-size: 14.5px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 8px 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.mock-faq-item p {
    font-size: 13.5px;
    line-height: 1.6;
    color: #475569;
    margin: 0;
}

/* ==========================================================================
   INTERACTIVE CBT TEST SIMULATOR MODAL STYLES
   ========================================================================== */
.mock-test-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.mock-test-modal.active {
    display: flex;
}

.mock-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(4px);
}

.mock-modal-dialog {
    position: relative;
    z-index: 2;
    background: #ffffff;
    width: 100%;
    max-width: 960px;
    max-height: 90vh;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: modalScale 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalScale {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.mock-modal-header {
    background: #0f172a;
    color: #ffffff;
    padding: 14px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #2563eb;
}

.modal-exam-badge {
    font-size: 11px;
    font-weight: 700;
    color: #60a5fa;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.modal-test-title {
    font-size: 17px;
    font-weight: 800;
    color: #ffffff;
    margin: 2px 0 0 0;
    font-family: var(--font-heading);
}

.modal-timer-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #1e293b;
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid #334155;
}

.timer-label {
    font-size: 12px;
    color: #94a3b8;
    font-weight: 600;
}

.timer-val {
    font-size: 16px;
    font-weight: 800;
    color: #ef4444;
    font-family: monospace;
}

.mock-modal-close {
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 20px;
    cursor: pointer;
    padding: 4px;
}
.mock-modal-close:hover {
    color: #ffffff;
}

.mock-modal-body {
    padding: 20px;
    overflow-y: auto;
    flex: 1;
}

.simulator-view {
    display: none;
}
.simulator-view.active {
    display: block;
}

/* View 1: Instructions */
.inst-hero {
    text-align: center;
    padding: 10px 0 20px;
    border-bottom: 1px solid #e2e8f0;
}
.inst-icon {
    font-size: 38px;
    color: #2563eb;
    margin-bottom: 8px;
}
.inst-hero h3 {
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 6px 0;
}
.inst-details-table {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px 16px;
    margin: 16px 0;
}
.inst-row {
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
    font-size: 14px;
    color: #334155;
}
.inst-list {
    margin: 16px 0;
    padding-left: 20px;
    line-height: 1.8;
    font-size: 14px;
    color: #475569;
}
.inst-language-select {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 16px 0;
    padding: 12px;
    background: #eff6ff;
    border-radius: 8px;
}
.mock-select-lang {
    padding: 6px 12px;
    border-radius: 6px;
    border: 1px solid #bfdbfe;
    font-weight: 600;
}
.btn-start-cbt {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: #059669;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 800;
    font-size: 15px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.3);
}
.btn-start-cbt:hover {
    background: #047857;
}

/* View 2: CBT Interface */
.cbt-layout {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 20px;
}
.cbt-question-pane {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 380px;
    border-right: 1px solid #e2e8f0;
    padding-right: 20px;
}
.cbt-pane-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 10px;
    margin-bottom: 14px;
}
.cbt-q-number {
    font-size: 16px;
    font-weight: 800;
    color: #0f172a;
}
.cbt-q-marks {
    font-size: 13px;
    font-weight: 700;
    color: #059669;
}
.cbt-question-content {
    font-size: 16px;
    line-height: 1.6;
    color: #0f172a;
    font-weight: 600;
    margin-bottom: 20px;
}
.cbt-options-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}
.cbt-option-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.cbt-option-item:hover {
    border-color: #2563eb;
    background: #eff6ff;
}
.cbt-option-item input[type="radio"] {
    display: none;
}
.cbt-option-item .opt-indicator {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 13px;
    color: #334155;
}
.cbt-option-item input[type="radio"]:checked + .opt-indicator {
    background: #2563eb;
    color: #ffffff;
}
.cbt-option-item .opt-text {
    font-size: 15px;
    color: #1e293b;
    font-weight: 500;
}
.cbt-action-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #e2e8f0;
    padding-top: 14px;
}
.cbt-action-left {
    display: flex;
    gap: 8px;
}
.btn-cbt-review {
    padding: 8px 14px;
    background: #f59e0b;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
}
.btn-cbt-clear {
    padding: 8px 12px;
    background: #e2e8f0;
    color: #334155;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
}
.btn-cbt-next {
    padding: 9px 20px;
    background: #2563eb;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
}

/* Palette Pane */
.palette-user-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: #f8fafc;
    border-radius: 6px;
    margin-bottom: 12px;
}
.user-avatar {
    width: 32px;
    height: 32px;
    background: #e2e8f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #475569;
}
.palette-legend {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    font-size: 11px;
    margin-bottom: 12px;
}
.legend-badge {
    display: inline-block;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 800;
    margin-right: 4px;
}
.legend-badge.answered, .palette-btn.answered { background: #10b981; color: #fff; }
.legend-badge.not-answered, .palette-btn.not-answered { background: #ef4444; color: #fff; }
.legend-badge.not-visited, .palette-btn.not-visited { background: #e2e8f0; color: #475569; }
.legend-badge.reviewed, .palette-btn.reviewed { background: #8b5cf6; color: #fff; }

.palette-grid-title {
    font-size: 12px;
    font-weight: 800;
    color: #64748b;
    text-transform: uppercase;
    margin-bottom: 6px;
}
.palette-numbers-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 6px;
    max-height: 200px;
    overflow-y: auto;
    margin-bottom: 14px;
}
.palette-btn {
    width: 100%;
    aspect-ratio: 1;
    border: none;
    border-radius: 4px;
    font-weight: 700;
    font-size: 12px;
    cursor: pointer;
}
.btn-submit-test {
    width: 100%;
    padding: 10px;
    background: #b91c1c;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-weight: 800;
    font-size: 14px;
    cursor: pointer;
}

/* View 3: Scorecard */
.scorecard-hero {
    text-align: center;
    padding: 10px 0 20px;
    border-bottom: 1px solid #e2e8f0;
}
.scorecard-trophy {
    font-size: 42px;
    color: #f59e0b;
    margin-bottom: 6px;
}
.scorecard-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
    margin: 20px 0;
}
.score-card-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 16px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}
.score-card-box .score-title {
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
}
.score-card-box .score-val {
    font-size: 24px;
    font-weight: 800;
    color: #0f172a;
}
.score-pill {
    font-size: 11px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 10px;
}
.score-pill.positive { background: #dcfce7; color: #166534; }
.score-pill.rank-pill { background: #fef3c7; color: #92400e; }
.score-pill.acc-pill { background: #eff6ff; color: #1e40af; }
.score-pill.speed-pill { background: #f3e8ff; color: #6b21a8; }

.scorecard-breakdown {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 20px;
}
.scorecard-breakdown h4 {
    margin: 0 0 10px 0;
    font-size: 15px;
    font-weight: 700;
}
.breakdown-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.b-pill {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
}
.b-pill.correct { background: #dcfce7; color: #166534; }
.b-pill.wrong { background: #fee2e2; color: #991b1b; }
.b-pill.unattempted { background: #f1f5f9; color: #475569; }

.scorecard-footer {
    display: flex;
    gap: 12px;
    justify-content: center;
}
.btn-reattempt {
    padding: 10px 20px;
    background: #2563eb;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
}
.btn-close-scorecard {
    padding: 10px 20px;
    background: #e2e8f0;
    color: #334155;
    border: none;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
}

/* ==========================================================================
   RESPONSIVE ADJUSTMENTS FOR MOCK PORTAL & CBT MODAL
   ========================================================================== */
@media (max-width: 768px) {
    .mock-hero-card {
        padding: 20px 14px !important;
    }
    .mock-hero-title {
        font-size: 22px !important;
    }
    .mock-cards-grid {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }
    .cbt-layout {
        grid-template-columns: 1fr !important;
    }
    .cbt-question-pane {
        border-right: none !important;
        padding-right: 0 !important;
        border-bottom: 1px solid #e2e8f0;
        padding-bottom: 16px;
    }
    .palette-numbers-grid {
        max-height: 120px !important;
    }
    /* Mobile Table & Start Test Visibility */
    .mock-summary-section {
        padding: 16px 12px !important;
        margin-bottom: 20px !important;
        overflow: hidden !important;
    }
    .mock-summary-title {
        font-size: 16px !important;
        margin-bottom: 12px !important;
        line-height: 1.35 !important;
    }
    .mock-summary-section .sarkari-table-responsive {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        padding-bottom: 8px !important;
        margin: 0 !important;
    }
    .mock-summary-section .sarkari-table-responsive::-webkit-scrollbar {
        height: 6px !important;
    }
    .mock-summary-section .sarkari-table-responsive::-webkit-scrollbar-thumb {
        background: #cbd5e1 !important;
        border-radius: 4px !important;
    }
    .mock-summary-section table.sarkari-main-job-table,
    .mock-summary-section .sarkari-table-responsive table {
        min-width: 580px !important;
        width: 100% !important;
        border-collapse: collapse !important;
    }
    .mock-summary-section table th,
    .mock-summary-section table td {
        padding: 8px 10px !important;
        font-size: 12px !important;
        white-space: nowrap !important;
    }
    .mock-summary-section table th:first-child,
    .mock-summary-section table td:first-child {
        min-width: 170px !important;
        white-space: normal !important;
    }
    .mock-summary-section .table-mock-link {
        display: inline-block !important;
        white-space: nowrap !important;
        padding: 6px 14px !important;
        font-size: 12px !important;
        font-weight: 700 !important;
        border-radius: 16px !important;
    }
    /* Mobile Modal CBT adjustments */
    .mock-test-modal {
        padding: 8px !important;
    }
    .mock-modal-dialog {
        max-height: 96vh !important;
        border-radius: 8px !important;
    }
    .mock-modal-header {
        padding: 10px 14px !important;
    }
    .modal-test-title {
        font-size: 14.5px !important;
    }
    .mock-modal-body {
        padding: 14px !important;
    }
    .btn-start-cbt {
        width: 100% !important;
        justify-content: center !important;
        padding: 12px 18px !important;
        font-size: 14.5px !important;
    }
}

/* Dark Mode Adaptation for Mock Portal */
body.dark-mode .mock-hero-card,
body.dark-mode .mock-card,
body.dark-mode .mock-summary-section,
body.dark-mode .mock-guide-card,
body.dark-mode .mock-no-results {
    background: #1e293b !important;
    border-color: #334155 !important;
}

body.dark-mode .mock-hero-title,
body.dark-mode .mock-card-title,
body.dark-mode .mock-grid-title,
body.dark-mode .mock-summary-title,
body.dark-mode .mock-guide-title {
    color: #f8fafc !important;
}

body.dark-mode .mock-hero-subtitle,
body.dark-mode .mock-card-post-name,
body.dark-mode .mock-stats {
    color: #cbd5e1 !important;
}

body.dark-mode .mock-meta-grid,
body.dark-mode .mock-faq-item,
body.dark-mode .mock-search-box {
    background: #0f172a !important;
    border-color: #334155 !important;
}

body.dark-mode .mock-search-input {
    color: #f8fafc !important;
}

body.dark-mode .mock-cat-tab {
    background: #1e293b !important;
    border-color: #334155 !important;
    color: #cbd5e1 !important;
}

body.dark-mode .mock-cat-tab.active {
    background: #2563eb !important;
    color: #ffffff !important;
}

body.dark-mode .mock-modal-dialog {
    background: #1e293b !important;
    color: #e2e8f0 !important;
}
body.dark-mode .cbt-question-content {
    color: #f8fafc !important;
}
body.dark-mode .cbt-option-item,
body.dark-mode .inst-details-table,
body.dark-mode .score-card-box,
body.dark-mode .scorecard-breakdown,
body.dark-mode .palette-user-card {
    background: #0f172a !important;
    border-color: #334155 !important;
}
body.dark-mode .cbt-option-item .opt-text {
    color: #e2e8f0 !important;
}
body.dark-mode .score-card-box .score-val {
    color: #f8fafc !important;
}


/* Hide top-level Admission on desktop (>=769px) so it only appears in More submenu */
@media (min-width: 769px) {
    .sarkari-nav-item.nav-item-admission {
        display: none !important;
    }
}

.mock-summary-section table thead tr {
    background: #0f172a !important;
}
.mock-summary-section table thead th {
    color: #ffffff !important;
    background: #0f172a !important;
}

/* ==========================================================================
   SINGLE POST COMPACT MOCK TEST BOX & RELATED VACANCY STYLES (SMALL SIZE)
   ========================================================================== */
.sarkari-single-mock-box {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border: 1.5px solid #e2e8f0;
    border-top: 4px solid #dc2626;
    border-radius: 10px;
    padding: 16px 18px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
    margin-top: 24px;
}

.mock-box-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.mock-box-badges {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.badge-accent {
    background: #fee2e2;
    color: #b91c1c;
    font-size: 11px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.badge-cat {
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
}

.mock-box-free-pill {
    font-size: 11.5px;
    font-weight: 700;
    color: #16a34a;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.mock-box-title {
    font-family: var(--font-heading);
    font-size: 16.5px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.mock-box-meta-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 8px;
    margin-bottom: 14px;
}

.mock-chip {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 4px 10px;
    font-size: 12px;
    color: #475569;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.mock-chip i {
    color: #2563eb;
}

.mock-chip.highlight {
    background: #fef3c7;
    border-color: #fde68a;
    color: #92400e;
    font-weight: 700;
}

.mock-chip.highlight i {
    color: #d97706;
}

.mock-box-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.btn-single-mock-start {
    background: linear-gradient(135deg, #b91c1c 0%, #dc2626 100%);
    color: #ffffff !important;
    border: none;
    border-radius: 6px;
    padding: 10px 18px;
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
    box-shadow: 0 3px 10px rgba(220, 38, 38, 0.25);
    text-decoration: none;
}

.btn-single-mock-start:hover {
    background: linear-gradient(135deg, #991b1b 0%, #b91c1c 100%);
    transform: translateY(-1px);
    box-shadow: 0 5px 14px rgba(220, 38, 38, 0.35);
}

.btn-single-all-mocks {
    background: #f1f5f9;
    color: #334155 !important;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 9px 14px;
    font-size: 12.5px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.btn-single-all-mocks:hover {
    background: #e2e8f0;
    color: #0f172a !important;
}

/* Compact Related Vacancy Box */
.sarkari-related-compact {
    padding: 16px 18px !important;
}

.related-compact-heading {
    font-family: var(--font-heading);
    font-size: 16.5px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin: 0 0 10px 0 !important;
    border-bottom: 2px solid #e2e8f0 !important;
    padding-bottom: 8px !important;
}

.related-small-list {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.related-small-item {
    border-bottom: 1px dashed #e2e8f0 !important;
    padding: 7px 0 !important;
}

.related-small-item:last-child {
    border-bottom: none !important;
}

.related-small-item .sarkari-box-link {
    font-size: 13.5px !important;
    line-height: 1.5 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    text-decoration: none !important;
}

.related-title-text {
    flex: 1;
    color: #1e293b;
    font-weight: 600;
}

.related-small-item .sarkari-box-link:hover .related-title-text {
    color: #2563eb;
}

.related-date-badge {
    font-size: 11px;
    color: #64748b;
    font-weight: 600;
    white-space: nowrap;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    padding: 2px 7px;
    border-radius: 4px;
}

/* Dark Mode for Single Mock Box & Related Compact */
body.dark-mode .sarkari-single-mock-box,
body.dark-mode .sarkari-related-compact {
    background: #1e293b !important;
    border-color: #334155 !important;
}

body.dark-mode .mock-box-title,
body.dark-mode .related-compact-heading {
    color: #f8fafc !important;
}

body.dark-mode .mock-chip {
    background: #0f172a !important;
    border-color: #334155 !important;
    color: #cbd5e1 !important;
}

body.dark-mode .related-title-text {
    color: #e2e8f0 !important;
}

body.dark-mode .btn-single-all-mocks {
    background: #0f172a !important;
    border-color: #334155 !important;
    color: #cbd5e1 !important;
}

body.dark-mode .related-date-badge {
    background: #0f172a !important;
    border-color: #334155 !important;
    color: #94a3b8 !important;
}

/* Mobile Adjustments for Single Mock Box */
@media (max-width: 600px) {
    .sarkari-single-mock-box {
        padding: 14px 12px !important;
    }
    .mock-box-title {
        font-size: 15px !important;
    }
    .btn-single-mock-start {
        width: 100% !important;
        justify-content: center !important;
    }
    .btn-single-all-mocks {
        width: 100% !important;
        justify-content: center !important;
    }
}
/* ==========================================================================
   SARKARI E-BOOKS & STUDY NOTES PORTAL STYLES
   ========================================================================== */
.sarkari-ebooks-portal {
    padding-bottom: 40px;
}

.ebook-hero-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 32px 28px;
    color: #0f172a;
    margin-bottom: 22px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.ebook-hero-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0284c7 0%, #2563eb 50%, #4f46e5 100%);
}

.ebook-hero-content {
    position: relative;
    z-index: 2;
    max-width: 860px;
}

.ebook-hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    color: #1d4ed8;
    margin-bottom: 12px;
}

.ebook-hero-tag .pulse-dot {
    background: #2563eb;
}

.ebook-hero-title {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 10px 0;
    line-height: 1.3;
}

.ebook-hero-title .text-highlight {
    color: #2563eb;
}

.ebook-hero-subtitle {
    font-size: 14.5px;
    color: #475569;
    line-height: 1.6;
    margin: 0 0 20px 0;
}

/* Category Filter Tabs */
.ebook-cat-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 24px;
    font-size: 13px;
    font-weight: 700;
    color: #334155;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.ebook-cat-tab:hover {
    border-color: #2563eb;
    color: #2563eb;
    background: #eff6ff;
}

.ebook-cat-tab.active {
    background: #2563eb;
    border-color: #2563eb;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.ebook-cat-tab .cat-count {
    background: rgba(0, 0, 0, 0.08);
    padding: 2px 7px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 800;
}

.ebook-cat-tab.active .cat-count {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

/* E-Books Cards Grid */
.ebooks-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.ebook-card {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    position: relative;
}

.ebook-card:hover {
    transform: translateY(-3px);
    border-color: #93c5fd;
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.1);
}

.ebook-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
}

.ebook-badges-wrap {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.ebook-cat-badge {
    font-size: 11px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.tag-ssc { background: #eff6ff; color: #1d4ed8; }
.tag-banking { background: #ecfeff; color: #0891b2; }
.tag-railway { background: #f0fdf4; color: #15803d; }
.tag-police { background: #fef3c7; color: #b45309; }
.tag-teaching { background: #faf5ff; color: #7e22ce; }
.tag-defence { background: #fef2f2; color: #b91c1c; }
.tag-gk { background: #f0fdfa; color: #0f766e; }
.tag-hindi { background: #fff7ed; color: #c2410c; }
.tag-math { background: #eef2ff; color: #4338ca; }
.tag-reasoning { background: #f5f3ff; color: #6d28d9; }
.tag-current { background: #fff1f2; color: #e11d48; }

.ebook-special-badge {
    background: #fee2e2;
    color: #dc2626;
    font-size: 10.5px;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 4px;
}

.ebook-format-pill {
    font-size: 11.5px;
    font-weight: 700;
    color: #475569;
    background: #f1f5f9;
    padding: 3px 8px;
    border-radius: 4px;
}

/* Book Cover & Title */
.ebook-title-box {
    display: flex;
    gap: 14px;
    margin-bottom: 12px;
    align-items: flex-start;
}

.ebook-cover-icon {
    width: 46px;
    height: 56px;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 20px;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    position: relative;
}

.ebook-cover-icon .cover-tag {
    position: absolute;
    bottom: 2px;
    font-size: 8.5px;
    font-weight: 800;
    letter-spacing: 0.5px;
    background: rgba(0, 0, 0, 0.35);
    padding: 0 4px;
    border-radius: 2px;
}

.ebook-title-meta {
    flex: 1;
}

.ebook-title {
    font-family: var(--font-heading);
    font-size: 15.5px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 4px 0;
    line-height: 1.35;
}

.ebook-hindi-title {
    font-size: 12px;
    color: #64748b;
    font-weight: 600;
}

.ebook-author-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #64748b;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #e2e8f0;
}

.ebook-rating {
    font-weight: 700;
    color: #0f172a;
}

/* Specs Grid */
.ebook-specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    border-radius: 8px;
    padding: 10px 12px;
    margin-bottom: 14px;
}

.ebook-spec-item {
    font-size: 12px;
    color: #475569;
    display: flex;
    align-items: center;
    gap: 6px;
}

.ebook-spec-item i {
    color: #2563eb;
    font-size: 13px;
    width: 14px;
    text-align: center;
}

/* Topics Chips */
.ebook-topics-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 16px;
}

.ebook-topic-chip {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
    color: #475569;
    font-weight: 600;
}

/* Card Actions */
.ebook-card-footer {
    display: flex;
    gap: 8px;
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
}

.btn-download-ebook {
    flex: 1;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #ffffff !important;
    border: none;
    border-radius: 6px;
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s ease;
    box-shadow: 0 3px 8px rgba(37, 99, 235, 0.25);
    text-decoration: none;
}

.btn-download-ebook:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
    transform: translateY(-1px);
    box-shadow: 0 5px 12px rgba(37, 99, 235, 0.35);
}

.btn-preview-ebook {
    background: #f1f5f9;
    color: #334155 !important;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.btn-preview-ebook:hover {
    background: #e2e8f0;
    color: #0f172a !important;
}

/* E-Book Modal Styles */
.ebook-modal-dialog {
    max-width: 820px !important;
}

.ebook-modal-content-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 20px;
    align-items: start;
}

.ebook-modal-badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    margin-bottom: 10px;
}

.ebook-modal-topics-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.ebook-download-box-card {
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
}

.download-icon-circle {
    width: 52px;
    height: 52px;
    background: #fee2e2;
    color: #dc2626;
    font-size: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px auto;
}

.btn-modal-download-primary {
    width: 100%;
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    color: #ffffff !important;
    border: none;
    border-radius: 6px;
    padding: 12px 18px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.3);
    transition: all 0.2s ease;
}

.btn-modal-download-primary:hover {
    background: linear-gradient(135deg, #15803d 0%, #166534 100%);
    transform: translateY(-1px);
}

.download-security-note {
    font-size: 11.5px;
    color: #64748b;
    font-weight: 600;
    margin-top: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

/* Dark Mode Adaptation for E-Books Portal */
body.dark-mode .ebook-hero-card {
    background: #1e293b !important;
    border: 1px solid #334155 !important;
    color: #f8fafc !important;
}

body.dark-mode .ebook-hero-tag {
    background: #0f172a !important;
    border-color: #334155 !important;
    color: #93c5fd !important;
}

body.dark-mode .ebook-hero-title {
    color: #f8fafc !important;
}

body.dark-mode .ebook-hero-subtitle {
    color: #cbd5e1 !important;
}

body.dark-mode .ebook-card {
    background: #1e293b !important;
    border-color: #334155 !important;
}

body.dark-mode .ebook-title {
    color: #f8fafc !important;
}

body.dark-mode .ebook-hindi-title,
body.dark-mode .ebook-author-row,
body.dark-mode .ebook-format-pill {
    color: #94a3b8 !important;
    background: #0f172a !important;
}

body.dark-mode .ebook-rating {
    color: #f8fafc !important;
}

body.dark-mode .ebook-specs-grid {
    background: #0f172a !important;
    border-color: #334155 !important;
}

body.dark-mode .ebook-spec-item {
    color: #cbd5e1 !important;
}

body.dark-mode .ebook-topic-chip {
    background: #0f172a !important;
    border-color: #334155 !important;
    color: #cbd5e1 !important;
}

body.dark-mode .btn-preview-ebook {
    background: #0f172a !important;
    border-color: #334155 !important;
    color: #cbd5e1 !important;
}

body.dark-mode .ebook-cat-tab {
    background: #1e293b !important;
    border-color: #334155 !important;
    color: #cbd5e1 !important;
}

body.dark-mode .ebook-cat-tab.active {
    background: #2563eb !important;
    color: #ffffff !important;
}

body.dark-mode .ebook-download-box-card {
    background: #0f172a !important;
    border-color: #334155 !important;
}

body.dark-mode .ebook-modal-description {
    color: #cbd5e1 !important;
}

/* Responsive Styles for E-Books Portal */
@media (max-width: 900px) {
    .ebook-modal-content-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .ebook-hero-card {
        padding: 20px 14px !important;
    }
    .ebook-hero-title {
        font-size: 22px !important;
    }
    .ebooks-cards-grid {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }
}
/* ==========================================================================
   E-BOOKS DESKTOP LEFT SIDEBAR & 2-COLUMN LAYOUT
   ========================================================================== */
.ebooks-layout-container {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 24px;
    align-items: stretch;
    position: relative;
}

.ebooks-main-column {
    min-width: 0;
}

.ebooks-desktop-sidebar {
    display: block;
    min-width: 0;
    height: 100%;
    position: relative;
}

.ebook-sidebar-sticky {
    position: -webkit-sticky;
    position: sticky;
    top: 110px;
    z-index: 90;
    max-height: calc(100vh - 130px);
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
}

.ebook-sidebar-sticky::-webkit-scrollbar {
    width: 4px;
}
.ebook-sidebar-sticky::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}
body.dark-mode .ebook-sidebar-sticky::-webkit-scrollbar-thumb {
    background: #475569;
}

.ebook-sidebar-card {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.ebook-sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1.5px solid #f1f5f9;
}

.ebook-sidebar-title {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
}

.sidebar-total-badge {
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 11px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 12px;
}

.ebook-sidebar-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ebook-sidebar-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.ebook-sidebar-item:hover {
    background: #f8fafc;
    color: #2563eb;
}

.ebook-sidebar-item.active {
    background: #eff6ff;
    color: #1d4ed8;
    font-weight: 700;
    border-color: #bfdbfe;
}

.ebook-sidebar-item .item-name {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.ebook-sidebar-item .item-count {
    background: #f1f5f9;
    color: #64748b;
    font-size: 11.5px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 10px;
    min-width: 22px;
    text-align: center;
    transition: all 0.2s ease;
}

.ebook-sidebar-item.active .item-count {
    background: #2563eb;
    color: #ffffff;
}

.ebook-sidebar-banner {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border: 1px solid #bfdbfe;
    border-radius: 8px;
    padding: 12px;
    margin-top: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-banner-icon {
    width: 32px;
    height: 32px;
    background: #2563eb;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

.sidebar-banner-text {
    display: flex;
    flex-direction: column;
    font-size: 11.5px;
    color: #1e3a8a;
    line-height: 1.35;
}

/* Dark Mode for Sidebar */
body.dark-mode .ebook-sidebar-card {
    background: #1e293b !important;
    border-color: #334155 !important;
}

body.dark-mode .ebook-sidebar-header {
    border-bottom-color: #334155 !important;
}

body.dark-mode .ebook-sidebar-title {
    color: #f8fafc !important;
}

body.dark-mode .sidebar-total-badge {
    background: #0f172a !important;
    color: #93c5fd !important;
}

body.dark-mode .ebook-sidebar-item {
    color: #cbd5e1 !important;
}

body.dark-mode .ebook-sidebar-item:hover {
    background: #0f172a !important;
    color: #60a5fa !important;
}

body.dark-mode .ebook-sidebar-item.active {
    background: #0f172a !important;
    border-color: #2563eb !important;
    color: #60a5fa !important;
}

body.dark-mode .ebook-sidebar-item .item-count {
    background: #0f172a !important;
    color: #94a3b8 !important;
}

body.dark-mode .ebook-sidebar-item.active .item-count {
    background: #2563eb !important;
    color: #ffffff !important;
}

body.dark-mode .ebook-sidebar-banner {
    background: #0f172a !important;
    border-color: #334155 !important;
}

body.dark-mode .sidebar-banner-text {
    color: #93c5fd !important;
}

/* Responsive Sidebar Visibility */
@media (max-width: 991px) {
    .ebooks-layout-container {
        display: block !important;
    }
    .ebooks-desktop-sidebar {
        display: none !important;
    }
    .ebook-mobile-category-nav {
        display: block !important;
        position: -webkit-sticky;
        position: sticky;
        top: 60px;
        z-index: 50;
        background: #ffffff;
        padding: 8px 0;
        margin-bottom: 12px;
        border-bottom: 1px solid #e2e8f0;
    }
    body.dark-mode .ebook-mobile-category-nav {
        background: #0f172a !important;
        border-bottom-color: #334155 !important;
    }
}

@media (min-width: 992px) {
    .ebook-mobile-category-nav {
        display: none !important;
    }
}
/* ==========================================================================
   MOCK TEST 2-COLUMN DESKTOP LAYOUT & STICKY LEFT SIDEBAR
   ========================================================================== */
.mock-layout-container {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 24px;
    align-items: stretch;
    position: relative;
    width: 100%;
}

.mock-main-column {
    min-width: 0;
}

.mock-desktop-sidebar {
    display: block;
    min-width: 0;
    height: 100%;
    position: relative;
}

.mock-sidebar-sticky {
    position: -webkit-sticky;
    position: sticky;
    top: 110px;
    z-index: 90;
    max-height: calc(100vh - 130px);
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
}

.mock-sidebar-sticky::-webkit-scrollbar {
    width: 4px;
}
.mock-sidebar-sticky::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}
body.dark-mode .mock-sidebar-sticky::-webkit-scrollbar-thumb {
    background: #475569;
}

.mock-sidebar-card {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.mock-sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1.5px solid #f1f5f9;
}

.mock-sidebar-title {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
}

.mock-sidebar-total-badge {
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 11px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 12px;
}

.mock-sidebar-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mock-sidebar-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.mock-sidebar-item:hover {
    background: #f8fafc;
    color: #2563eb;
}

.mock-sidebar-item.active {
    background: #eff6ff;
    color: #1d4ed8;
    font-weight: 700;
    border-color: #bfdbfe;
}

.mock-sidebar-item .item-name {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.mock-sidebar-item .item-count {
    background: #f1f5f9;
    color: #64748b;
    font-size: 11.5px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 10px;
    min-width: 22px;
    text-align: center;
    transition: all 0.2s ease;
}

.mock-sidebar-item.active .item-count {
    background: #2563eb;
    color: #ffffff;
}

.mock-sidebar-banner {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border: 1px solid #bfdbfe;
    border-radius: 8px;
    padding: 12px;
    margin-top: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.mock-sidebar-banner .sidebar-banner-icon {
    width: 32px;
    height: 32px;
    background: #2563eb;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

.mock-sidebar-banner .sidebar-banner-text {
    display: flex;
    flex-direction: column;
    font-size: 11.5px;
    color: #1e3a8a;
    line-height: 1.35;
}

/* Dark Mode for Mock Sidebar */
body.dark-mode .mock-sidebar-card {
    background: #1e293b !important;
    border-color: #334155 !important;
}

body.dark-mode .mock-sidebar-header {
    border-bottom-color: #334155 !important;
}

body.dark-mode .mock-sidebar-title {
    color: #f8fafc !important;
}

body.dark-mode .mock-sidebar-total-badge {
    background: #0f172a !important;
    color: #93c5fd !important;
}

body.dark-mode .mock-sidebar-item {
    color: #cbd5e1 !important;
}

body.dark-mode .mock-sidebar-item:hover {
    background: #0f172a !important;
    color: #60a5fa !important;
}

body.dark-mode .mock-sidebar-item.active {
    background: #0f172a !important;
    border-color: #2563eb !important;
    color: #60a5fa !important;
}

body.dark-mode .mock-sidebar-item .item-count {
    background: #0f172a !important;
    color: #94a3b8 !important;
}

body.dark-mode .mock-sidebar-item.active .item-count {
    background: #2563eb !important;
    color: #ffffff !important;
}

body.dark-mode .mock-sidebar-banner {
    background: #0f172a !important;
    border-color: #334155 !important;
}

body.dark-mode .mock-sidebar-banner .sidebar-banner-text {
    color: #93c5fd !important;
}

/* Responsive Visibility: Desktop Only Sidebar */
@media (max-width: 991px) {
    .mock-layout-container {
        display: block !important;
    }
    .mock-desktop-sidebar {
        display: none !important;
    }
    .mock-mobile-category-nav {
        display: block !important;
        position: -webkit-sticky;
        position: sticky;
        top: 60px;
        z-index: 50;
        background: #ffffff;
        padding: 8px 0;
        margin-bottom: 12px;
        border-bottom: 1px solid #e2e8f0;
    }
    body.dark-mode .mock-mobile-category-nav {
        background: #0f172a !important;
        border-bottom-color: #334155 !important;
    }
}

@media (min-width: 992px) {
    .mock-mobile-category-nav {
        display: none !important;
    }
}
/* ==========================================================================
   2-COLUMN MOCK TEST & E-BOOK PREPARATION GRID (SINGLE POST)
   ========================================================================== */
.sarkari-single-prep-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 24px;
    align-items: stretch;
}

.sarkari-prep-col {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.sarkari-prep-col .sarkari-single-mock-box {
    margin-top: 0 !important;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.sarkari-single-ebook-box {
    border-left: 4px solid #0284c7 !important;
}

.btn-single-ebook-download {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%) !important;
}

.btn-single-ebook-download:hover {
    background: linear-gradient(135deg, #0369a1 0%, #075985 100%) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(2, 132, 199, 0.3) !important;
}

/* Mobile & Tablet: Single Column Layout */
@media (max-width: 768px) {
    .sarkari-single-prep-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 14px !important;
        margin-top: 20px !important;
    }
}

/* Zero Cumulative Layout Shift (CLS) Optimizations */
.sarkari-welcome-strip {
    min-height: 40px;
    contain: layout paint;
}
.sarkari-navbar {
    min-height: 44px;
}
.hot-highlights-grid {
    min-height: 140px;
}
.quick-tags-section {
    min-height: 44px;
}
.sarkari-main-grid {
    min-height: 380px;
}
.brand-wrap {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    min-width: 276px;
}



/* ==========================================================================
   MULTI-ACTION FLOATING DOCK & AI SITE CHAT ASSISTANT
   ========================================================================== */

/* 1. Floating Dock Container */
.sarkari-floating-dock {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9998;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.sarkari-dock-btn {
    position: relative;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 2px solid #ffffff;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.22);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    outline: none;
    font-size: 20px;
}

.dock-btn-social {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
}
.dock-btn-social:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.5);
}

.dock-btn-chat {
    background: linear-gradient(135deg, #b91c1c 0%, #7f1d1d 100%);
}
.dock-btn-chat:hover {
    background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 8px 24px rgba(185, 28, 28, 0.55);
}

.dock-chat-pulse {
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 50%;
    border: 2px solid #b91c1c;
    animation: dockPulse 2s infinite cubic-bezier(0.4, 0, 0.6, 1);
    pointer-events: none;
}
@keyframes dockPulse {
    0% { transform: scale(1); opacity: 0.8; }
    70% { transform: scale(1.35); opacity: 0; }
    100% { transform: scale(1.35); opacity: 0; }
}

.dock-tooltip {
    position: absolute;
    right: 64px;
    background: #0f172a;
    color: #ffffff;
    font-size: 11.5px;
    font-weight: 700;
    padding: 5px 11px;
    border-radius: 20px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateX(8px);
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    pointer-events: none;
}
.dock-tooltip::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 100%;
    transform: translateY(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent transparent #0f172a;
}
.sarkari-dock-btn:hover .dock-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* 2. Chat Drawer styles moved to Unified Modern block below */

/* Smaller, Sleeker Floating Dock */
.sarkari-floating-dock {
    position: fixed !important;
    bottom: 20px !important;
    right: 20px !important;
    z-index: 999999 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    align-items: center !important;
    pointer-events: auto !important;
}

.sarkari-dock-btn {
    width: 42px !important;
    height: 42px !important;
    border-radius: 50% !important;
    border: 2px solid #ffffff !important;
    color: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25) !important;
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    outline: none !important;
    font-size: 16px !important;
    pointer-events: auto !important;
    touch-action: manipulation !important;
}

.sarkari-dock-btn i {
    pointer-events: none !important;
}

.dock-btn-social {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%) !important;
}
.dock-btn-social:hover {
    transform: scale(1.1) translateY(-2px) !important;
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.5) !important;
}

.dock-btn-chat {
    background: linear-gradient(135deg, #b91c1c 0%, #991b1b 100%) !important;
}
.dock-btn-chat:hover {
    transform: scale(1.1) translateY(-2px) !important;
    box-shadow: 0 6px 18px rgba(185, 28, 28, 0.55) !important;
}

.dock-chat-pulse {
    position: absolute !important;
    top: -3px !important;
    left: -3px !important;
    right: -3px !important;
    bottom: -3px !important;
    border-radius: 50% !important;
    border: 2px solid #b91c1c !important;
    animation: dockPulseSmall 2s infinite !important;
    pointer-events: none !important;
}
@keyframes dockPulseSmall {
    0% { transform: scale(1); opacity: 0.8; }
    70% { transform: scale(1.3); opacity: 0; }
    100% { transform: scale(1.3); opacity: 0; }
}

.dock-tooltip {
    right: 52px !important;
    font-size: 11px !important;
    padding: 4px 9px !important;
}

/* Modals & Drawers Z-index safety */
.sarkari-social-modal {
    z-index: 1000000 !important;
}
.sarkari-social-modal.is-active {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
}
.sarkari-chat-drawer {
    z-index: 1000001 !important;
}
.sarkari-chat-drawer.is-active {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}



/* ==========================================================================
   UNIFIED SINGLE FLOATING BUTTON (FAB) & EXPANDABLE ACTIONS
   ========================================================================== */

.sarkari-fab-container {
    position: fixed !important;
    bottom: 22px !important;
    right: 22px !important;
    z-index: 999999 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
    gap: 12px !important;
    pointer-events: auto !important;
}

/* Main Trigger Button */
.sarkari-fab-main-btn {
    position: relative !important;
    height: 46px !important;
    background: linear-gradient(135deg, #b91c1c 0%, #7f1d1d 100%) !important;
    border: 2px solid #ffffff !important;
    border-radius: 30px !important;
    padding: 0 16px 0 12px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    color: #ffffff !important;
    cursor: pointer !important;
    box-shadow: 0 4px 18px rgba(185, 28, 28, 0.4), 0 2px 6px rgba(0, 0, 0, 0.15) !important;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    outline: none !important;
    user-select: none !important;
    touch-action: manipulation !important;
}
.sarkari-fab-main-btn:hover {
    transform: scale(1.05) translateY(-2px) !important;
    box-shadow: 0 8px 24px rgba(185, 28, 28, 0.55), 0 4px 10px rgba(0, 0, 0, 0.2) !important;
}
.sarkari-fab-main-btn:active {
    transform: scale(0.96) !important;
}

.fab-main-icon-wrap {
    width: 24px !important;
    height: 24px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 18px !important;
    position: relative !important;
}

.fab-default-icon {
    display: inline-block !important;
    transition: transform 0.25s ease, opacity 0.2s ease !important;
}
.fab-close-icon {
    display: none !important;
    font-size: 18px !important;
    transition: transform 0.25s ease, opacity 0.2s ease !important;
}

.sarkari-fab-container.is-open .fab-default-icon {
    display: none !important;
}
.sarkari-fab-container.is-open .fab-close-icon {
    display: inline-block !important;
}
.sarkari-fab-container.is-open .sarkari-fab-main-btn {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%) !important;
}

.fab-badge-pill {
    font-size: 12.5px !important;
    font-weight: 700 !important;
    letter-spacing: -0.2px !important;
    white-space: nowrap !important;
}

.fab-main-pulse {
    position: absolute !important;
    top: -4px !important;
    left: -4px !important;
    right: -4px !important;
    bottom: -4px !important;
    border-radius: 35px !important;
    border: 2px solid #b91c1c !important;
    animation: fabPulse 2.2s infinite cubic-bezier(0.4, 0, 0.6, 1) !important;
    pointer-events: none !important;
}
.sarkari-fab-container.is-open .fab-main-pulse {
    display: none !important;
}
@keyframes fabPulse {
    0% { transform: scale(1); opacity: 0.8; }
    70% { transform: scale(1.18); opacity: 0; }
    100% { transform: scale(1.18); opacity: 0; }
}

/* Expanded Sub-Menu (Actions) */
.sarkari-fab-menu {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    align-items: flex-end !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(12px) scale(0.92) !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    pointer-events: none !important;
}
.sarkari-fab-container.is-open .sarkari-fab-menu {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) scale(1) !important;
    pointer-events: auto !important;
}

.fab-sub-item {
    background: #ffffff !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 25px !important;
    padding: 5px 6px 5px 14px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    cursor: pointer !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.14) !important;
    transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    outline: none !important;
}
.fab-sub-item:hover {
    transform: translateX(-4px) scale(1.03) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2) !important;
}
.fab-sub-label {
    font-size: 12.5px !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    white-space: nowrap !important;
}
.fab-sub-icon {
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #ffffff !important;
    font-size: 15px !important;
    flex-shrink: 0 !important;
}
.chat-icon-bg {
    background: linear-gradient(135deg, #b91c1c 0%, #991b1b 100%) !important;
    box-shadow: 0 2px 6px rgba(185, 28, 28, 0.35) !important;
}
.social-icon-bg {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.35) !important;
}

.fab-chat-item:hover {
    border-color: #b91c1c !important;
}
.fab-chat-item:hover .fab-sub-label {
    color: #b91c1c !important;
}
.fab-social-item:hover {
    border-color: #2563eb !important;
}
.fab-social-item:hover .fab-sub-label {
    color: #2563eb !important;
}

/* Mobile responsive adjustments */
@media (max-width: 480px) {
    .sarkari-fab-container {
        bottom: 16px !important;
        right: 16px !important;
    }
    .sarkari-fab-main-btn {
        height: 42px !important;
        padding: 0 14px 0 10px !important;
    }
    .fab-badge-pill {
        font-size: 11.5px !important;
    }
}



/* Official Site Emblem Logo in Chat & Floating Trigger */
.fab-emblem-img {
    width: 26px !important;
    height: 26px !important;
    object-fit: contain !important;
    border-radius: 50% !important;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.25)) !important;
}

.chat-sub-emblem-img {
    width: 22px !important;
    height: 22px !important;
    object-fit: contain !important;
    border-radius: 50% !important;
}

.chat-header-emblem-img {
    width: 32px !important;
    height: 32px !important;
    object-fit: contain !important;
    border-radius: 50% !important;
}

.chat-bot-avatar {
    background: #ffffff !important;
    border: 2px solid #b91c1c !important;
}



/* Chat Recruitment Details Card Box */
.chat-result-card {
    display: block;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    padding: 10px 12px;
    color: #0f172a;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.chat-result-card:hover {
    border-color: #b91c1c;
    background: #fffafa;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(185, 28, 28, 0.12);
}
.chat-card-title {
    font-size: 13px;
    font-weight: 700;
    color: #991b1b;
    line-height: 1.4;
    margin-bottom: 8px;
    display: flex;
    align-items: flex-start;
    gap: 6px;
}
.chat-card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 8px;
    font-size: 11.5px;
}
.chat-grid-item {
    display: flex;
    flex-direction: column;
}
.chat-grid-label {
    color: #64748b;
    font-weight: 600;
    font-size: 10.5px;
}
.chat-grid-val {
    color: #0f172a;
    font-weight: 700;
    margin-top: 1px;
}
.chat-grid-val.highlight-val {
    color: #dc2626;
}
.chat-grid-val.green-val {
    color: #16a34a;
}
.chat-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 8px;
    padding-top: 6px;
    border-top: 1px dashed #e2e8f0;
    font-size: 11px;
    font-weight: 600;
    color: #b91c1c;
}

/* Dark mode compatibility */
.dark-mode .chat-result-card {
    background: #1e293b;
    border-color: #334155;
    color: #f1f5f9;
}
.dark-mode .chat-result-card:hover {
    background: #0f172a;
    border-color: #ef4444;
}
.dark-mode .chat-card-title {
    color: #f87171;
}
.dark-mode .chat-card-grid {
    background: #0f172a;
    border-color: #334155;
}
.dark-mode .chat-grid-val {
    color: #f1f5f9;
}
.dark-mode .chat-grid-label {
    color: #94a3b8;
}



/* ==========================================================================
   MOBILE EXCLUSIVE FIXED STICKY HEADER (RELIABLE ON ALL MOBILE DEVICES)
   ========================================================================== */
@media (max-width: 768px) {
    /* Prevent body overflow from breaking sticky */
    html {
        overflow-x: clip !important;
    }
    body {
        overflow-x: clip !important;
        position: static !important;
        padding-top: 64px !important; /* Space for the fixed header */
    }

    /* Fixed Sticky Header for Mobile */
    .sarkari-header {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        z-index: 99999 !important;
        background: #ffffff !important;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12) !important;
        margin: 0 !important;
        transform: translateZ(0) !important;
        -webkit-transform: translateZ(0) !important;
    }

    .dark-mode 

    .header-main {
        padding: 8px 0 !important;
    }

    .site-logo-img {
        height: 38px !important;
        width: auto !important;
    }
}

/* ==========================================================================
   HOMEPAGE UNIQUE DESIGN: E-BOOKS & MOCK TEST MODERN RESOURCE MODULES
   ========================================================================== */

/* Modern Card Wrappers */
.sarkari-modern-card {
    border-radius: 12px !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    background: #ffffff !important;
}

.sarkari-box-ebooks {
    border: 1.5px solid #c7d2fe !important;
    box-shadow: 0 4px 18px -2px rgba(67, 56, 202, 0.08), 0 2px 6px -1px rgba(0, 0, 0, 0.04) !important;
}

.sarkari-box-mock-test {
    border: 1.5px solid #fed7aa !important;
    box-shadow: 0 4px 18px -2px rgba(194, 65, 12, 0.08), 0 2px 6px -1px rgba(0, 0, 0, 0.04) !important;
}

.sarkari-box-ebooks:hover {
    border-color: #818cf8 !important;
    box-shadow: 0 10px 25px -4px rgba(79, 70, 229, 0.16) !important;
}

.sarkari-box-mock-test:hover {
    border-color: #fb923c !important;
    box-shadow: 0 10px 25px -4px rgba(234, 88, 12, 0.16) !important;
}

/* Modern Headers */
.modern-header {
    padding: 12px 14px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    position: relative !important;
}

.header-ebooks {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 45%, #4338ca 100%) !important;
    border-bottom: 2px solid rgba(129, 140, 248, 0.35) !important;
}

.header-mock {
    background: linear-gradient(135deg, #7c2d12 0%, #9a3412 35%, #c2410c 70%, #ea580c 100%) !important;
    border-bottom: 2px solid rgba(251, 146, 60, 0.35) !important;
}

.modern-header-left {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    min-width: 0 !important;
}

.modern-header-icon-wrap {
    width: 36px !important;
    height: 36px !important;
    border-radius: 9px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 16px !important;
    flex-shrink: 0 !important;
}

.icon-ebooks-glow {
    background: rgba(255, 255, 255, 0.18) !important;
    color: #e0e7ff !important;
    box-shadow: 0 0 12px rgba(165, 180, 252, 0.4) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
}

.icon-mock-glow {
    background: rgba(255, 255, 255, 0.18) !important;
    color: #ffedd5 !important;
    box-shadow: 0 0 12px rgba(253, 186, 116, 0.4) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
}

.modern-header-title {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    margin: 0 !important;
    line-height: 1.2 !important;
    letter-spacing: 0.2px !important;
}

.modern-header-tagline {
    font-size: 11px !important;
    color: rgba(255, 255, 255, 0.88) !important;
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    margin-top: 2px !important;
    font-weight: 500 !important;
}

.modern-header-action {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    font-size: 11.5px !important;
    font-weight: 600 !important;
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.16) !important;
    padding: 5px 9px !important;
    border-radius: 6px !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    transition: all 0.2s ease !important;
    text-decoration: none !important;
    white-space: nowrap !important;
}

.modern-header-action:hover {
    background: rgba(255, 255, 255, 0.3) !important;
    color: #ffffff !important;
}

.cbt-live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22c55e;
    display: inline-block;
    animation: cbtPulse 1.6s infinite ease-in-out;
}

@keyframes cbtPulse {
    0% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.8); }
    70% { transform: scale(1.1); box-shadow: 0 0 0 5px rgba(34, 197, 94, 0); }
    100% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/* Modern Resource Items List (Replacing standard links) */
.modern-resource-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 8px !important;
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    background: #ffffff !important;
}

.modern-resource-item {
    display: block !important;
    border-radius: 8px !important;
    border: 1px solid #f1f5f9 !important;
    background: #f8fafc !important;
    transition: all 0.18s cubic-bezier(0.4, 0, 0.2, 1) !important;
    text-decoration: none !important;
    overflow: hidden !important;
}

.modern-resource-item.item-ebook:hover {
    background: #f5f3ff !important;
    border-color: #c7d2fe !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.12) !important;
}

.modern-resource-item.item-mock:hover {
    background: #fff7ed !important;
    border-color: #fed7aa !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.12) !important;
}

.modern-resource-link {
    display: flex !important;
    align-items: center !important;
    padding: 8px 10px !important;
    text-decoration: none !important;
    color: inherit !important;
    gap: 10px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Media Badges */
.modern-item-media {
    flex-shrink: 0 !important;
}

.mini-book-badge {
    width: 36px !important;
    height: 42px !important;
    border-radius: 5px !important;
    background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%) !important;
    color: #ffffff !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 1px !important;
    box-shadow: 0 2px 5px rgba(185, 28, 28, 0.3) !important;
    border-left: 2px solid rgba(255, 255, 255, 0.45) !important;
}

.mini-book-badge i {
    font-size: 14px !important;
}

.mini-cbt-badge {
    width: 36px !important;
    height: 42px !important;
    border-radius: 5px !important;
    background: linear-gradient(135deg, #f97316 0%, #c2410c 100%) !important;
    color: #ffffff !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 1px !important;
    box-shadow: 0 2px 5px rgba(194, 65, 12, 0.3) !important;
    border-left: 2px solid rgba(255, 255, 255, 0.45) !important;
}

.mini-cbt-badge i {
    font-size: 14px !important;
}

.mini-format-text {
    font-size: 8px !important;
    font-weight: 800 !important;
    letter-spacing: 0.5px !important;
    line-height: 1 !important;
    opacity: 0.95 !important;
}

/* Item Body */
.modern-item-body {
    flex: 1 !important;
    min-width: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 3px !important;
}

.modern-title-line {
    display: flex !important;
    align-items: flex-start !important;
    gap: 6px !important;
}

.modern-item-title {
    font-size: 12.5px !important;
    font-weight: 600 !important;
    color: #1e293b !important;
    line-height: 1.35 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

.modern-badge-new {
    font-size: 8.5px !important;
    font-weight: 800 !important;
    padding: 1px 5px !important;
    border-radius: 3px !important;
    background: #dc2626 !important;
    color: #ffffff !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    flex-shrink: 0 !important;
    line-height: 1.3 !important;
    animation: badgeBlink 2.5s infinite !important;
}

.modern-badge-live {
    font-size: 8.5px !important;
    font-weight: 800 !important;
    padding: 1px 5px !important;
    border-radius: 3px !important;
    background: #ea580c !important;
    color: #ffffff !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    flex-shrink: 0 !important;
    line-height: 1.3 !important;
}

/* Meta Chips */
.modern-chips-row {
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
    flex-wrap: wrap !important;
}

.m-chip {
    font-size: 10px !important;
    font-weight: 500 !important;
    padding: 1px 6px !important;
    border-radius: 4px !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    color: #64748b !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 3px !important;
    line-height: 1.4 !important;
}

.m-chip-rating {
    color: #b45309 !important;
    background: #fef3c7 !important;
    border-color: #fde68a !important;
    font-weight: 600 !important;
}

.m-chip-rating i {
    color: #d97706 !important;
}

.m-chip-free {
    color: #15803d !important;
    background: #dcfce7 !important;
    border-color: #bbf7d0 !important;
    font-weight: 600 !important;
}

/* Action CTA Buttons (Right side interactive button) */
.modern-item-cta {
    flex-shrink: 0 !important;
    display: flex !important;
    align-items: center !important;
}

.modern-btn-action {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    padding: 5px 9px !important;
    border-radius: 6px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
    text-decoration: none !important;
    white-space: nowrap !important;
}

.btn-action-ebook {
    background: #e0e7ff !important;
    color: #4338ca !important;
    border: 1px solid #c7d2fe !important;
}

.modern-resource-item.item-ebook:hover .btn-action-ebook {
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%) !important;
    color: #ffffff !important;
    border-color: #4338ca !important;
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.35) !important;
    transform: scale(1.04) !important;
}

.btn-action-mock {
    background: #ffedd5 !important;
    color: #c2410c !important;
    border: 1px solid #fed7aa !important;
}

.modern-resource-item.item-mock:hover .btn-action-mock {
    background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%) !important;
    color: #ffffff !important;
    border-color: #c2410c !important;
    box-shadow: 0 2px 8px rgba(234, 88, 12, 0.35) !important;
    transform: scale(1.04) !important;
}

/* Modern Footers */
.modern-box-footer {
    padding: 8px 12px !important;
    background: #f8fafc !important;
    border-top: 1px solid #e2e8f0 !important;
    text-align: center !important;
}

.modern-footer-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    padding: 6px 12px !important;
    border-radius: 6px !important;
    transition: all 0.2s ease !important;
}

.btn-view-ebooks {
    color: #4338ca !important;
    background: #eef2ff !important;
    border: 1px solid #c7d2fe !important;
}

.btn-view-ebooks:hover {
    background: #4338ca !important;
    color: #ffffff !important;
}

.btn-view-mock {
    color: #c2410c !important;
    background: #fff7ed !important;
    border: 1px solid #fed7aa !important;
}

.btn-view-mock:hover {
    background: #ea580c !important;
    color: #ffffff !important;
}

/* Dark Mode Overrides for Modern Modules */
body.dark-mode .sarkari-box-ebooks {
    background: #1e293b !important;
    border-color: #312e81 !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4) !important;
}

body.dark-mode .sarkari-box-mock-test {
    background: #1e293b !important;
    border-color: #7c2d12 !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4) !important;
}

body.dark-mode .modern-resource-list {
    background: #1e293b !important;
}

body.dark-mode .modern-resource-item {
    background: #0f172a !important;
    border-color: #334155 !important;
}

body.dark-mode .modern-resource-item.item-ebook:hover {
    background: #1e1b4b !important;
    border-color: #6366f1 !important;
}

body.dark-mode .modern-resource-item.item-mock:hover {
    background: #431407 !important;
    border-color: #ea580c !important;
}

body.dark-mode .modern-item-title {
    color: #f1f5f9 !important;
}

body.dark-mode .m-chip {
    background: #1e293b !important;
    border-color: #334155 !important;
    color: #94a3b8 !important;
}

body.dark-mode .modern-box-footer {
    background: #162032 !important;
    border-top-color: #334155 !important;
}

body.dark-mode .btn-view-ebooks {
    background: #1e1b4b !important;
    color: #a5b4fc !important;
    border-color: #4338ca !important;
}

body.dark-mode .btn-view-ebooks:hover {
    background: #4338ca !important;
    color: #ffffff !important;
}

body.dark-mode .btn-view-mock {
    background: #431407 !important;
    color: #fdba74 !important;
    border-color: #9a3412 !important;
}

body.dark-mode .btn-view-mock:hover {
    background: #ea580c !important;
    color: #ffffff !important;
}

/* ==========================================================================
   SINGLE POST 2-COLUMN LAYOUT WITH STICKY LEFT SIDEBAR (MOCK TEST STYLE)
   ========================================================================== */
.single-layout-container {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 24px;
    align-items: stretch;
    position: relative;
    width: 100%;
    margin-top: 6px;
}

.single-main-column {
    min-width: 0;
    width: 100%;
    order: 1;
}

.single-main-column > .sarkari-single-post:first-child {
    margin-top: 0 !important;
}

.single-desktop-sidebar {
    display: block;
    min-width: 0;
    height: 100%;
    align-self: stretch;
    position: relative;
    order: 2;
}

.single-desktop-sidebar .mock-sidebar-sticky {
    position: -webkit-sticky;
    position: sticky;
    top: 125px;
    z-index: 90;
    max-height: calc(100vh - 140px);
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
}

a.mock-sidebar-item {
    text-decoration: none !important;
}

.single-sidebar-post-link {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 6px;
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.45;
    color: #334155;
    text-decoration: none !important;
    transition: all 0.18s ease;
    border-bottom: 1px solid #f1f5f9;
}

.single-sidebar-post-link:hover {
    background: #f8fafc;
    color: #2563eb;
    padding-left: 13px;
}

.single-sidebar-post-bullet {
    color: #94a3b8;
    font-size: 10px;
    margin-top: 3px;
    flex-shrink: 0;
}

.single-sidebar-post-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

body.dark-mode .single-sidebar-post-link {
    color: #cbd5e1;
    border-bottom-color: #334155;
}

body.dark-mode .single-sidebar-post-link:hover {
    background: #0f172a;
    color: #60a5fa;
}

@media (max-width: 991px) {
    .single-layout-container {
        display: block !important;
    }
    .single-desktop-sidebar {
        display: none !important;
    }
    .single-main-column > .sarkari-single-post:first-child {
        margin-top: 6px !important;
    }
}

/* === HEADER BACKGROUND WHITE === */
.sarkari-header {
    background: #ffffff !important;
    border-top: none !important;
    border-bottom: 2px solid #e2e8f0 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04) !important;
}




/* ==========================================================================
   DESKTOP EXCLUSIVE: ZERO TOP BLANK SPACE ABOVE HEADER
   ========================================================================== */
@media (min-width: 769px) {
    html {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
    body {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
    #wpadminbar {
        display: none !important;
    }
    .sarkari-header {
        position: sticky !important;
        top: 0 !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }
    .header-main {
        margin-top: 0 !important;
    }
}


/* BhartiJosh Favicon Logo in Chat & Floating Trigger */
.fab-emblem-img {
    width: 26px !important;
    height: 26px !important;
    object-fit: contain !important;
    border-radius: 6px !important;
}
.chat-sub-emblem-img {
    width: 22px !important;
    height: 22px !important;
    object-fit: contain !important;
    border-radius: 5px !important;
}
.chat-header-emblem-img {
    width: 34px !important;
    height: 34px !important;
    object-fit: contain !important;
    border-radius: 8px !important;
}


/* ==========================================================================
   BHARTI JOSH AI CHAT WIDGET - UNIFIED COMPLETE RESPONSIVE STYLES
   ========================================================================== */

/* Main Chat Drawer Container */
.sarkari-chat-drawer {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 9999999 !important;
    display: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.sarkari-chat-drawer.is-active {
    display: block !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

/* Glass Backdrop */
.sarkari-chat-backdrop {
    position: absolute !important;
    inset: 0 !important;
    background: rgba(15, 23, 42, 0.45) !important;
    backdrop-filter: blur(4px) !important;
    -webkit-backdrop-filter: blur(4px) !important;
    cursor: pointer !important;
}

/* Modern Floating Card Panel (Desktop) */
.sarkari-chat-panel {
    position: fixed !important;
    bottom: 24px !important;
    right: 24px !important;
    top: auto !important;
    left: auto !important;
    width: 420px !important;
    max-width: calc(100vw - 32px) !important;
    height: 640px !important;
    max-height: calc(100vh - 48px) !important;
    border-radius: 18px !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 20px 50px -10px rgba(15, 23, 42, 0.25), 0 0 0 1px rgba(226, 232, 240, 0.8) !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    z-index: 2 !important;
    transform: translateY(20px) scale(0.96) !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.22s ease !important;
}
.sarkari-chat-drawer.is-active .sarkari-chat-panel {
    transform: translateY(0) scale(1) !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

/* Desktop Expand View */
.sarkari-chat-panel.is-expanded {
    width: 580px !important;
}

/* Clean White Header */
.chat-panel-header {
    background: #ffffff !important;
    color: #0f172a !important;
    padding: 12px 16px !important;
    border-bottom: 1px solid #e2e8f0 !important;
    flex-shrink: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03) !important;
    position: relative !important;
}
.chat-header-accent-bar {
    display: none !important;
}
.chat-header-content {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}
.chat-header-info {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin: 0 !important;
    padding: 0 !important;
}
.chat-bot-avatar {
    position: relative !important;
    width: 36px !important;
    height: 36px !important;
    border-radius: 8px !important;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
}
.chat-header-emblem-img {
    width: 36px !important;
    height: 36px !important;
    object-fit: contain !important;
    border-radius: 8px !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
}
.bot-online-badge,
.bot-online-pulse,
.chat-ai-badge,
.chat-bot-status,
.chat-live-indicator {
    display: none !important;
}
.chat-header-meta {
    display: flex !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
}
.chat-bot-title {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 15.5px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    line-height: 1.2 !important;
    letter-spacing: -0.2px !important;
    font-family: inherit !important;
}
.chat-panel-actions {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    margin: 0 !important;
    padding: 0 !important;
}
.chat-panel-action-btn,
.chat-panel-close {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    color: #475569 !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    font-size: 12.5px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    outline: none !important;
}
.chat-panel-action-btn:hover,
.chat-panel-close:hover {
    background: #fee2e2 !important;
    color: #dc2626 !important;
    border-color: #fca5a5 !important;
    transform: scale(1.05) !important;
}

/* Quick Topic Carousel Tray */
.chat-quick-actions {
    background: #f8fafc !important;
    border-bottom: 1px solid #e2e8f0 !important;
    padding: 8px 14px !important;
    flex-shrink: 0 !important;
}
.quick-actions-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-bottom: 6px !important;
}
.quick-actions-label {
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    color: #64748b !important;
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
    margin: 0 !important;
}
.quick-actions-label i {
    color: #ea580c !important;
    font-size: 11px !important;
}
.quick-actions-hint {
    font-size: 10.5px !important;
    color: #94a3b8 !important;
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
}
.quick-options-carousel {
    display: flex !important;
    gap: 8px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    padding-bottom: 2px !important;
    scrollbar-width: none !important;
    -webkit-overflow-scrolling: touch !important;
}
.quick-options-carousel::-webkit-scrollbar {
    display: none !important;
}
.chat-chip-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    flex-direction: row !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 20px !important;
    padding: 5px 11px !important;
    font-size: 11.5px !important;
    font-weight: 600 !important;
    color: #334155 !important;
    cursor: pointer !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03) !important;
    transition: all 0.18s ease !important;
    outline: none !important;
}
.chat-chip-btn:hover {
    background: #fef2f2 !important;
    border-color: #fca5a5 !important;
    color: #dc2626 !important;
    transform: translateY(-1px) !important;
}
.chat-chip-icon i {
    color: #dc2626 !important;
    font-size: 11.5px !important;
}

/* Chat Messages Stream Area */
.chat-messages-container {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    padding: 16px 14px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    background: #f8fafc !important;
    scroll-behavior: smooth !important;
}
.chat-messages-container::-webkit-scrollbar {
    width: 5px !important;
}
.chat-messages-container::-webkit-scrollbar-thumb {
    background: #cbd5e1 !important;
    border-radius: 10px !important;
}

/* Chat Messages (Bot & User) */
.chat-msg {
    display: flex !important;
    align-items: flex-start !important;
    gap: 8px !important;
    max-width: 90% !important;
}
.chat-msg.bot-msg {
    align-self: flex-start !important;
}
.chat-msg.user-msg {
    align-self: flex-end !important;
    flex-direction: row-reverse !important;
}
.chat-msg-avatar-col {
    flex-shrink: 0 !important;
}
.chat-msg-avatar {
    width: 28px !important;
    height: 28px !important;
    border-radius: 6px !important;
    object-fit: contain !important;
    display: block !important;
}
.chat-msg-bubble-wrap {
    flex: 1 !important;
    min-width: 0 !important;
}
.chat-msg-bubble {
    padding: 11px 14px !important;
    border-radius: 14px !important;
    font-size: 13.5px !important;
    line-height: 1.55 !important;
    word-break: break-word !important;
}
.bot-msg .chat-msg-bubble {
    background: #ffffff !important;
    color: #0f172a !important;
    border-top-left-radius: 4px !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
}
.user-msg .chat-msg-bubble {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%) !important;
    color: #ffffff !important;
    border-top-right-radius: 4px !important;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.25) !important;
}

/* Welcome Card Specific Styling */
.welcome-msg {
    max-width: 100% !important;
    width: 100% !important;
}
.welcome-card {
    background: #ffffff !important;
    border: 1.5px solid #fed7aa !important;
    border-left: 4px solid #ea580c !important;
    border-radius: 14px !important;
    padding: 14px !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04) !important;
    width: 100% !important;
}
.welcome-heading {
    display: flex !important;
    align-items: flex-start !important;
    gap: 10px !important;
    margin-bottom: 12px !important;
}
.welcome-badge-icon {
    width: 28px !important;
    height: 28px !important;
    flex-shrink: 0 !important;
}
.welcome-card .welcome-text-wrap {
    display: flex !important;
    flex-direction: column !important;
    text-align: left !important;
    align-items: flex-start !important;
    gap: 3px !important;
}
.welcome-title {
    font-size: 14.5px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    line-height: 1.3 !important;
    margin: 0 !important;
}
.welcome-desc {
    font-size: 12px !important;
    color: #64748b !important;
    line-height: 1.45 !important;
    margin: 0 !important;
}
.welcome-prompts-tray {
    border-top: 1px dashed #fdba74 !important;
    padding-top: 10px !important;
    margin-top: 4px !important;
}
.welcome-prompts-label {
    font-size: 11px !important;
    font-weight: 700 !important;
    color: #9a3412 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.4px !important;
    margin: 0 0 8px 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
}
.welcome-prompts-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 6px !important;
}
.welcome-prompt-card {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    background: #ffffff !important;
    border: 1px solid #fed7aa !important;
    border-radius: 8px !important;
    padding: 7px 9px !important;
    font-size: 11.5px !important;
    font-weight: 600 !important;
    color: #1e293b !important;
    cursor: pointer !important;
    text-align: left !important;
    transition: all 0.18s ease !important;
    outline: none !important;
}
.welcome-prompt-card:hover {
    background: #fff7ed !important;
    border-color: #ea580c !important;
    color: #ea580c !important;
    transform: translateY(-1px) !important;
}
.prompt-card-icon i {
    color: #ea580c !important;
    font-size: 12px !important;
}
.prompt-card-text {
    flex: 1 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

/* Input Area */
.chat-input-area {
    background: #ffffff !important;
    border-top: 1px solid #e2e8f0 !important;
    padding: 10px 14px 8px !important;
    flex-shrink: 0 !important;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.03) !important;
}
.chat-form {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    background: #f8fafc !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 28px !important;
    padding: 3px 5px 3px 14px !important;
    transition: all 0.2s ease !important;
}
.chat-form:focus-within {
    background: #ffffff !important;
    border-color: #dc2626 !important;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12) !important;
}
.chat-text-input {
    flex: 1 !important;
    border: none !important;
    background: transparent !important;
    outline: none !important;
    font-size: 13.5px !important;
    color: #0f172a !important;
    padding: 6px 0 !important;
    min-width: 0 !important;
}
.chat-mic-btn {
    background: #f1f5f9 !important;
    border: 1px solid #cbd5e1 !important;
    color: #475569 !important;
    width: 34px !important;
    height: 34px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 13px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    flex-shrink: 0 !important;
    padding: 0 !important;
    outline: none !important;
}
.chat-mic-btn:hover {
    background: #fee2e2 !important;
    color: #dc2626 !important;
    border-color: #fca5a5 !important;
}
.chat-send-btn {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%) !important;
    border: none !important;
    color: #ffffff !important;
    width: 34px !important;
    height: 34px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 13px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    flex-shrink: 0 !important;
    box-shadow: 0 2px 6px rgba(185, 28, 28, 0.3) !important;
    outline: none !important;
}
.chat-send-btn:hover:not(:disabled) {
    transform: scale(1.06) !important;
}
.chat-send-btn:disabled {
    opacity: 0.5 !important;
    cursor: not-allowed !important;
}
.chat-footer-disclaimer {
    margin-top: 6px !important;
    font-size: 10.5px !important;
    color: #94a3b8 !important;
    text-align: center !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
}
.chat-footer-disclaimer strong {
    color: #475569 !important;
}

/* Chat Inline Links */
.chat-inline-link {
    color: #dc2626 !important;
    font-weight: 600 !important;
    text-decoration: underline !important;
    word-break: break-all !important;
}

/* Mobile Responsive */
@media (max-width: 600px) {
    .sarkari-chat-panel {
        bottom: 0 !important;
        right: 0 !important;
        left: 0 !important;
        top: 0 !important;
        width: 100vw !important;
        max-width: 100vw !important;
        height: 100% !important;
        max-height: 100dvh !important;
        border-radius: 0 !important;
        border: none !important;
        box-shadow: none !important;
        transform: translateY(100%) !important;
    }
    .sarkari-chat-drawer.is-active .sarkari-chat-panel {
        transform: translateY(0) !important;
    }
    .chat-desktop-only {
        display: none !important;
    }
    .chat-panel-header {
        padding: 10px 14px !important;
    }
    .chat-messages-container {
        padding: 12px 10px !important;
    }
    .chat-input-area {
        padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px)) !important;
    }
}

/* Base isolation for desktop-only header enhancements */
.desktop-brand-badge,
.desktop-header-alert-btn {
    display: none !important;
}

/* ==========================================================================
   MODERN PREMIUM DESKTOP SITE HEADER (DESKTOP ONLY: min-width: 769px)
   ========================================================================== */
@media (min-width: 769px) {
    /* Header Container & Top Brand Accent */
    .sarkari-header {
        background: rgba(255, 255, 255, 0.98) !important;
        backdrop-filter: blur(16px) !important;
        -webkit-backdrop-filter: blur(16px) !important;
        border-bottom: 1px solid rgba(226, 232, 240, 0.9) !important;
        box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05), 0 2px 6px -1px rgba(15, 23, 42, 0.02) !important;
        position: sticky !important;
        top: 0 !important;
        z-index: 1000 !important;
        width: 100% !important;
        transition: background 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease !important;
    }

    /* Elegant Brand Red Top Accent Line */
    .sarkari-header::before {
        content: "" !important;
        display: block !important;
        height: 3px !important;
        width: 100% !important;
        background: linear-gradient(90deg, #b91c1c 0%, #dc2626 25%, #ef4444 50%, #dc2626 75%, #b91c1c 100%) !important;
    }

    .sarkari-header .sarkari-container {
        max-width: 1280px !important;
        margin: 0 auto !important;
        padding: 0 24px !important;
        box-sizing: border-box !important;
    }

    /* Balanced 3-Column Grid for Desktop */
    .header-main {
        display: grid !important;
        grid-template-columns: auto 1fr auto !important;
        align-items: center !important;
        gap: 28px !important;
        padding: 12px 0 !important;
        margin: 0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Column 1 (Left): Brand Logo & Tagline Badge */
    .header-top-row {
        display: flex !important;
        align-items: center !important;
        gap: 12px !important;
        justify-self: start !important;
        margin: 0 !important;
        padding: 0 !important;
        width: auto !important;
        flex-shrink: 0 !important;
    }

    .header-top-row .header-actions {
        display: none !important;
    }

    .brand-wrap {
        display: inline-flex !important;
        align-items: center !important;
        text-decoration: none !important;
        padding: 0 !important;
        margin: 0 !important;
        flex-shrink: 0 !important;
        transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease !important;
    }

    .brand-wrap:hover {
        transform: translateY(-1px) !important;
        opacity: 0.95 !important;
    }

    .site-logo-img {
        height: 36px !important;
        max-height: 36px !important;
        width: auto !important;
        object-fit: contain !important;
        display: block !important;
        border-radius: 4px !important;
        filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.05)) !important;
        transition: filter 0.25s ease !important;
    }

    .desktop-brand-badge {
        display: inline-flex !important;
        align-items: center !important;
        gap: 6px !important;
        padding: 4px 10px !important;
        background: #fef2f2 !important;
        border: 1px solid #fecaca !important;
        border-radius: 20px !important;
        font-size: 11px !important;
        font-weight: 700 !important;
        color: #b91c1c !important;
        text-transform: uppercase !important;
        letter-spacing: 0.5px !important;
        white-space: nowrap !important;
        user-select: none !important;
        box-shadow: 0 1px 2px rgba(220, 38, 38, 0.05) !important;
        transition: all 0.2s ease !important;
    }

    .desktop-brand-badge:hover {
        background: #fee2e2 !important;
        border-color: #fca5a5 !important;
        transform: translateY(-0.5px) !important;
    }

    .desktop-brand-badge .badge-dot {
        width: 6px !important;
        height: 6px !important;
        border-radius: 50% !important;
        background: #22c55e !important;
        box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.25) !important;
        display: inline-block !important;
        animation: pulseBadgeDot 2s infinite !important;
    }

    /* Column 2 (Center): Perfectly Centered High-End Search Bar */
    .desktop-header-search {
        display: flex !important;
        justify-content: center !important;
        width: 100% !important;
        max-width: 580px !important;
        justify-self: center !important;
        margin: 0 auto !important;
        position: relative !important;
    }

    .desktop-header-search .smart-search-form-wrap {
        position: relative !important;
        width: 100% !important;
        height: 46px !important;
        display: flex !important;
        align-items: center !important;
        background: #f8fafc !important;
        border: 1.5px solid #cbd5e1 !important;
        border-radius: 50px !important;
        box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04), inset 0 1px 2px rgba(0, 0, 0, 0.02) !important;
        padding: 0 5px 0 10px !important;
        box-sizing: border-box !important;
        transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    }

    .desktop-header-search .smart-search-form-wrap:hover {
        background: #ffffff !important;
        border-color: #94a3b8 !important;
        box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08) !important;
        transform: translateY(-1px) !important;
    }

    .desktop-header-search .smart-search-form-wrap:focus-within {
        background: #ffffff !important;
        border-color: #dc2626 !important;
        box-shadow: 0 6px 24px rgba(220, 38, 38, 0.14), 0 0 0 3.5px rgba(220, 38, 38, 0.1) !important;
        transform: translateY(-1px) !important;
    }

    .desktop-header-search .smart-search-icon-prefix {
        position: absolute !important;
        left: 8px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        width: 32px !important;
        height: 32px !important;
        border-radius: 50% !important;
        background: #fee2e2 !important;
        color: #dc2626 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 13px !important;
        pointer-events: none !important;
        transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
        z-index: 2 !important;
    }

    .desktop-header-search .smart-search-form-wrap:focus-within .smart-search-icon-prefix {
        background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%) !important;
        color: #ffffff !important;
        box-shadow: 0 2px 8px rgba(220, 38, 38, 0.4) !important;
        transform: translateY(-50%) scale(1.05) !important;
    }

    .desktop-header-search .smart-search-input {
        width: 100% !important;
        height: 100% !important;
        line-height: 46px !important;
        padding: 0 86px 0 44px !important;
        border: none !important;
        outline: none !important;
        background: transparent !important;
        font-size: 13.5px !important;
        font-weight: 500 !important;
        color: #0f172a !important;
        box-shadow: none !important;
        box-sizing: border-box !important;
        letter-spacing: -0.15px !important;
    }

    .desktop-header-search .smart-search-input::placeholder {
        color: #64748b !important;
        font-size: 13px !important;
        font-weight: 400 !important;
    }

    .desktop-header-search .voice-search-btn {
        position: absolute !important;
        right: 46px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        background: #ffffff !important;
        color: #64748b !important;
        border: 1px solid #e2e8f0 !important;
        width: 32px !important;
        height: 32px !important;
        border-radius: 50% !important;
        cursor: pointer !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 12.5px !important;
        transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
        z-index: 3 !important;
        padding: 0 !important;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
        outline: none !important;
    }

    .desktop-header-search .voice-search-btn:hover {
        background: #fee2e2 !important;
        color: #dc2626 !important;
        border-color: #fca5a5 !important;
        transform: translateY(-50%) scale(1.08) !important;
        box-shadow: 0 3px 8px rgba(220, 38, 38, 0.25) !important;
    }

    .desktop-header-search .smart-search-btn {
        position: absolute !important;
        right: 6px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%) !important;
        color: #ffffff !important;
        border: none !important;
        width: 34px !important;
        height: 34px !important;
        border-radius: 50% !important;
        cursor: pointer !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 12.5px !important;
        transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
        z-index: 3 !important;
        box-shadow: 0 2px 8px rgba(220, 38, 38, 0.35) !important;
        outline: none !important;
    }

    .desktop-header-search .smart-search-btn i {
        transition: transform 0.2s ease !important;
    }

    .desktop-header-search .smart-search-btn:hover {
        transform: translateY(-50%) scale(1.06) !important;
        box-shadow: 0 4px 14px rgba(220, 38, 38, 0.45) !important;
        background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
    }

    .desktop-header-search .smart-search-btn:hover i {
        transform: translateX(2px) !important;
    }

    /* Column 3 (Right): Actions Group */
    .header-desktop-actions {
        display: flex !important;
        align-items: center !important;
        justify-self: end !important;
        gap: 10px !important;
        margin: 0 !important;
        padding: 0 !important;
        flex-shrink: 0 !important;
    }

    /* Live Job Alerts Pill Button */
    .desktop-header-alert-btn {
        display: inline-flex !important;
        align-items: center !important;
        gap: 7px !important;
        height: 38px !important;
        padding: 0 15px !important;
        border-radius: 20px !important;
        background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%) !important;
        color: #ffffff !important;
        font-size: 12.5px !important;
        font-weight: 700 !important;
        text-decoration: none !important;
        border: none !important;
        box-shadow: 0 2px 8px rgba(220, 38, 38, 0.28) !important;
        transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
        letter-spacing: -0.15px !important;
        cursor: pointer !important;
        position: relative !important;
        white-space: nowrap !important;
    }

    .desktop-header-alert-btn:hover {
        transform: translateY(-1.5px) !important;
        box-shadow: 0 5px 16px rgba(220, 38, 38, 0.42) !important;
        background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
        color: #ffffff !important;
    }

    .desktop-header-alert-btn i {
        font-size: 13px !important;
        transition: transform 0.2s ease !important;
    }

    .desktop-header-alert-btn:hover i {
        animation: bellRing 0.5s ease-in-out !important;
    }

    .desktop-header-alert-btn .alert-pulse-dot {
        width: 7px !important;
        height: 7px !important;
        border-radius: 50% !important;
        background: #fef08a !important;
        box-shadow: 0 0 0 2px rgba(254, 240, 138, 0.4) !important;
        animation: pulseBadgeDot 1.5s infinite !important;
        display: inline-block !important;
    }

    /* Dark Mode Toggle Pill */
    .desktop-dark-mode-toggle {
        display: inline-flex !important;
        align-items: center !important;
        gap: 7px !important;
        height: 38px !important;
        padding: 0 15px !important;
        border-radius: 20px !important;
        border: 1.5px solid #cbd5e1 !important;
        background: #ffffff !important;
        color: #1e293b !important;
        font-size: 12.5px !important;
        font-weight: 700 !important;
        cursor: pointer !important;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
        transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
        outline: none !important;
        letter-spacing: -0.15px !important;
        white-space: nowrap !important;
    }

    .desktop-dark-mode-toggle i {
        font-size: 13px !important;
        color: #f59e0b !important;
        transition: transform 0.25s ease !important;
    }

    .desktop-dark-mode-toggle:hover {
        background: #f8fafc !important;
        border-color: #94a3b8 !important;
        color: #0f172a !important;
        transform: translateY(-1px) !important;
        box-shadow: 0 3px 8px rgba(0, 0, 0, 0.06) !important;
    }

    .desktop-dark-mode-toggle:hover i {
        transform: rotate(20deg) scale(1.15) !important;
    }

    /* Animations */
    @keyframes pulseBadgeDot {
        0%, 100% { opacity: 1; transform: scale(1); }
        50% { opacity: 0.5; transform: scale(1.2); }
    }

    @keyframes bellRing {
        0%, 100% { transform: rotate(0); }
        20% { transform: rotate(-15deg); }
        40% { transform: rotate(15deg); }
        60% { transform: rotate(-10deg); }
        80% { transform: rotate(10deg); }
    }

    /* Dark Mode Theme Support on Desktop */
    body.dark-mode .sarkari-header {
        background: rgba(15, 23, 42, 0.98) !important;
        border-bottom-color: #1e293b !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45) !important;
    }

    body.dark-mode .sarkari-header::before {
        background: linear-gradient(90deg, #ef4444 0%, #dc2626 50%, #ef4444 100%) !important;
    }

    body.dark-mode .desktop-brand-badge {
        background: rgba(220, 38, 38, 0.15) !important;
        border-color: rgba(220, 38, 38, 0.3) !important;
        color: #fca5a5 !important;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2) !important;
    }

    body.dark-mode .desktop-header-search .smart-search-form-wrap {
        background: #1e293b !important;
        border-color: #334155 !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
    }

    body.dark-mode .desktop-header-search .smart-search-form-wrap:hover {
        background: #1e293b !important;
        border-color: #475569 !important;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45) !important;
    }

    body.dark-mode .desktop-header-search .smart-search-form-wrap:focus-within {
        background: #0f172a !important;
        border-color: #f87171 !important;
        box-shadow: 0 6px 24px rgba(248, 113, 113, 0.25), 0 0 0 3.5px rgba(248, 113, 113, 0.15) !important;
    }

    body.dark-mode .desktop-header-search .smart-search-input {
        color: #f8fafc !important;
    }

    body.dark-mode .desktop-header-search .smart-search-input::placeholder {
        color: #94a3b8 !important;
    }

    body.dark-mode .desktop-header-search .smart-search-icon-prefix {
        background: rgba(239, 68, 68, 0.2) !important;
        color: #f87171 !important;
    }

    body.dark-mode .desktop-header-search .voice-search-btn {
        background: #1e293b !important;
        border-color: #334155 !important;
        color: #cbd5e1 !important;
    }

    body.dark-mode .desktop-header-search .voice-search-btn:hover {
        background: rgba(220, 38, 38, 0.2) !important;
        color: #fca5a5 !important;
        border-color: rgba(220, 38, 38, 0.4) !important;
    }

    body.dark-mode .desktop-dark-mode-toggle {
        background: #1e293b !important;
        border-color: #334155 !important;
        color: #f1f5f9 !important;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3) !important;
    }

    body.dark-mode .desktop-dark-mode-toggle:hover {
        background: #334155 !important;
        border-color: #475569 !important;
        color: #ffffff !important;
    }

    body.dark-mode .desktop-header-alert-btn {
        box-shadow: 0 2px 10px rgba(220, 38, 38, 0.4) !important;
    }
}

