/* ==========================================================================
   IndianDreamJobs - Official Web Stylesheet
   Color Palette:
   Primary: #0B5ED7 (Govt Deep Blue)
   Secondary: #FF9933 (Saffron Accent)
   Success: #198754 (Emerald Green)
   Danger: #DC3545 (Crimson Red)
   Light Background: #F8FAFC (Slate Light)
   Dark: #212529 (Charcoal)
   ========================================================================== */

/* ==========================================================================
   Phase 2: Global Reset & Responsive Foundation
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    overflow-x: hidden;
}

:root {
    --idj-primary: #0B5ED7;
    --idj-primary-hover: #084298;
    --idj-secondary: #FF9933;
    --idj-secondary-hover: #e68520;
    --idj-success: #198754;
    --idj-danger: #DC3545;
    --idj-light: #F8FAFC;
    --idj-dark: #212529;
    --idj-gray-100: #f1f5f9;
    --idj-gray-200: #e2e8f0;
    --idj-gray-600: #475569;
    --idj-gray-800: #1e293b;
    --idj-body-bg: #F8FAFC;
    --idj-card-bg: #FFFFFF;
    --idj-text-main: #1e293b;
    --idj-text-muted: #64748b;
    --idj-border-color: #e2e8f0;
    --idj-shadow-sm: 0 2px 8px rgba(11, 94, 215, 0.06);
    --idj-shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
    --idj-shadow-lg: 0 16px 32px rgba(11, 94, 215, 0.12);
    --idj-radius: 12px;
    --idj-radius-sm: 8px;
    --idj-font-main: 'Inter', 'Noto Sans Devanagari', system-ui, -apple-system, sans-serif;
    --idj-font-heading: 'Outfit', 'Inter', 'Noto Sans Devanagari', system-ui, sans-serif;
}

[data-theme="dark"] {
    --idj-body-bg: #0f172a;
    --idj-card-bg: #1e293b;
    --idj-text-main: #f8fafc;
    --idj-text-muted: #94a3b8;
    --idj-border-color: #334155;
    --idj-gray-100: #1e293b;
    --idj-gray-200: #334155;
    --idj-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --idj-shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
}

body {
    font-family: var(--idj-font-main);
    background-color: var(--idj-body-bg);
    color: var(--idj-text-main);
    transition: background-color 0.3s ease, color 0.3s ease;
    line-height: 1.6;
    overflow-x: hidden;
    min-width: 0;
}

/* Phase 2: Responsive media defaults */
img, video, svg, iframe {
    max-width: 100%;
    height: auto;
}

table {
    max-width: 100%;
}

/* Phase 2: Responsive table wrapper */
.table-responsive-idj {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
}

h1, h2, h3, h4, h5, h6, .navbar-brand {
    font-family: var(--idj-font-heading);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
/* ==========================================================================
   Header & Navigation (Vibrant & Premium)
   ========================================================================== */
/* ==========================================================================
   ULTRA-MODERN MEGA STICKY TOP BAR
   ========================================================================== */
.idj-topbar {
    background: linear-gradient(135deg, #0a0e27 0%, #1a1e3c 30%, #0b5ed7 70%, #6a11cb 100%);
    background-size: 300% 300%;
    animation: idjTopbarShimmer 12s ease infinite;
    color: #ffffff;
    font-size: 0.82rem;
    padding: 7px 0;
    position: sticky;
    top: 0;
    z-index: 1060;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

/* Live Pulse Dot */
.idj-topbar-live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ff4444;
    box-shadow: 0 0 6px #ff4444, 0 0 12px #ff444488;
    animation: idjPulseDot 1.5s ease-in-out infinite;
    margin-right: 8px;
    flex-shrink: 0;
}

@keyframes idjPulseDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.4); }
}

/* Ticker / Running Marquee */
.idj-topbar-ticker {
    overflow: hidden;
    white-space: nowrap;
    min-width: 0;
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* HOT Badge */
.idj-topbar-hot-badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 4px;
    background: linear-gradient(135deg, #ff4444, #ff0000);
    color: #ffffff;
    font-size: 0.62rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    white-space: nowrap;
    flex-shrink: 0;
    animation: idjHotPulse 2s ease-in-out infinite;
    box-shadow: 0 0 8px rgba(255, 68, 68, 0.5);
}

@keyframes idjHotPulse {
    0%, 100% { box-shadow: 0 0 8px rgba(255, 68, 68, 0.5); }
    50% { box-shadow: 0 0 16px rgba(255, 68, 68, 0.9), 0 0 24px rgba(255, 0, 0, 0.4); }
}

/* Marquee Wrapper */
.idj-marquee-wrap {
    overflow: hidden;
    flex: 1 1 auto;
    min-width: 0;
    position: relative;
    mask-image: linear-gradient(90deg, transparent 0%, #000 5%, #000 95%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 5%, #000 95%, transparent 100%);
}

/* Marquee Track (scrolling container) */
.idj-marquee-track {
    display: inline-flex;
    align-items: center;
    gap: 0;
    white-space: nowrap;
    animation: idjMarqueeScroll 95s linear infinite;
    will-change: transform;
}

.idj-marquee-wrap:hover .idj-marquee-track {
    animation-play-state: paused;
}

@keyframes idjMarqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Marquee Items */
.idj-marquee-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 2px 12px;
    color: #ffd700 !important;
    text-decoration: none !important;
    font-size: 0.76rem;
    font-weight: 600;
    white-space: nowrap;
    transition: color 0.2s, text-shadow 0.2s;
}

.idj-marquee-item i {
    color: #ff9933;
    font-size: 0.7rem;
    flex-shrink: 0;
}

.idj-marquee-item:hover {
    color: #ffffff !important;
    text-shadow: 0 0 6px rgba(255, 215, 0, 0.5);
}

/* Star Separator */
.idj-marquee-sep {
    color: rgba(255, 153, 51, 0.6);
    font-size: 0.55rem;
    padding: 0 4px;
    flex-shrink: 0;
}

/* Social Buttons (Glassmorphic Pill) */
.idj-topbar-social {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 12px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 0.72rem;
    font-weight: 600;
    white-space: nowrap;
    transition: all 0.25s ease;
}

.idj-topbar-social:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.idj-topbar-social.whatsapp i { color: #25D366; font-size: 0.92rem; }
.idj-topbar-social.telegram i { color: #38bdf8; font-size: 0.88rem; }

/* Language Switcher */
.idj-topbar-lang {
    font-size: 0.72rem;
    font-weight: 600;
    padding: 3px 22px 3px 10px;
    border-radius: 50px;
    background-color: rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    outline: none;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right 7px center !important;
    background-size: 10px 10px !important;
    transition: all 0.2s;
}

.idj-topbar-lang:hover {
    background-color: rgba(255, 255, 255, 0.2) !important;
}

.idj-topbar-lang option {
    background-color: #1e293b;
    color: #ffffff;
}

/* Theme Toggle Button */
.idj-topbar-theme-btn {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    cursor: pointer;
    transition: all 0.25s ease;
    font-size: 0.78rem;
}

.idj-topbar-theme-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    color: #ffd700;
    transform: rotate(20deg);
}

/* ====== MEGA TOGGLE BUTTON (Glowing CTA) ====== */
.idj-topbar-mega-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    border-radius: 50px;
    background: linear-gradient(135deg, #ff9933, #ff6b00);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 12px rgba(255, 153, 51, 0.4);
    text-transform: uppercase;
}

.idj-topbar-mega-toggle:hover {
    background: linear-gradient(135deg, #ffab5c, #ff8533);
    box-shadow: 0 4px 20px rgba(255, 153, 51, 0.6);
    transform: translateY(-1px);
}

.idj-topbar-mega-toggle.active {
    background: linear-gradient(135deg, #dc3545, #ff4757);
    box-shadow: 0 4px 18px rgba(220, 53, 69, 0.5);
}

.idj-toggle-arrow {
    font-size: 0.6rem;
    transition: transform 0.3s ease;
}

/* ====== MEGA PANEL (Slide Down) ====== */
.idj-mega-panel {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    background: linear-gradient(180deg, rgba(10, 14, 39, 0.98), rgba(15, 23, 42, 0.97));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.35s ease;
}

.idj-mega-panel.idj-mega-open {
    max-height: 450px;
    opacity: 1;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Category Title */
.idj-mega-cat-title {
    font-family: var(--idj-font-heading, 'Outfit', sans-serif);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.45);
    padding-bottom: 6px;
    margin-bottom: 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Mega Links */
.idj-mega-link {
    display: flex;
    align-items: center;
    padding: 5px 8px;
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.85) !important;
    text-decoration: none !important;
    font-size: 0.78rem;
    font-weight: 500;
    transition: all 0.2s ease;
    margin-bottom: 1px;
}

.idj-mega-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff !important;
    transform: translateX(4px);
    box-shadow: -2px 0 0 0 #ff9933;
}

.idj-mega-link.idj-mega-hot {
    color: #ffd700 !important;
    font-weight: 600;
}

/* Bottom Row (Legal/Info Links) */
.idj-mega-bottom-row {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    padding: 8px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 4px;
}

.idj-mega-bottom-link {
    color: rgba(255, 255, 255, 0.5) !important;
    text-decoration: none !important;
    font-size: 0.68rem;
    font-weight: 500;
    transition: color 0.2s;
}

.idj-mega-bottom-link:hover {
    color: #ffd700 !important;
}

.idj-mega-divider {
    color: rgba(255, 255, 255, 0.2);
    font-size: 0.5rem;
}

/* Auth Button Styling */
#auth-btn-container {
    display: inline-block;
}

#auth-btn-container #nav-login-btn {
    white-space: nowrap !important;
    border-radius: 20px !important;
    padding: 4px 12px !important;
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    background: rgba(255, 255, 255, 0.25) !important;
    border: 1px solid rgba(255, 255, 255, 0.45) !important;
    color: #ffffff !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px;
    transition: all 0.2s ease !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

#auth-btn-container #nav-login-btn:hover {
    background: #ffffff !important;
    color: #0b5ed7 !important;
    border-color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

/* ====== MOBILE RESPONSIVE ====== */

/* Tablet (md and below) */
@media (max-width: 991.98px) {
    .idj-mega-panel.idj-mega-open {
        max-height: 65vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
}

/* Mobile (sm and below) */
@media (max-width: 767.98px) {
    .idj-topbar {
        padding: 6px 0;
    }

    .idj-topbar > .container {
        flex-wrap: wrap !important;
        gap: 4px !important;
        padding-left: 10px;
        padding-right: 10px;
    }

    /* Ticker takes full width on mobile */
    .idj-topbar-ticker {
        flex: 1 1 auto;
        min-width: 0;
        max-width: 55%;
        gap: 4px;
    }

    .idj-topbar-hot-badge {
        font-size: 0.55rem;
        padding: 1px 5px;
        letter-spacing: 0.5px;
    }

    .idj-marquee-item {
        font-size: 0.68rem;
        padding: 2px 8px;
        gap: 4px;
    }

    .idj-marquee-item i {
        font-size: 0.6rem;
    }

    .idj-marquee-sep {
        font-size: 0.45rem;
        padding: 0 2px;
    }

    .idj-marquee-track {
        animation-duration: 80s;
    }

    .idj-topbar-live-dot {
        width: 6px;
        height: 6px;
        margin-right: 4px;
    }

    /* Actions row stays compact */
    .idj-topbar-actions {
        gap: 4px !important;
        flex-shrink: 0;
    }

    /* Social: icon-only on mobile */
    .idj-topbar-social {
        padding: 5px 7px;
        border-radius: 50%;
        min-width: 30px;
        min-height: 30px;
        justify-content: center;
    }

    .idj-topbar-social i {
        font-size: 0.85rem !important;
        margin: 0 !important;
    }

    /* Lang & Theme smaller */
    .idj-topbar-lang {
        font-size: 0.68rem;
        padding: 2px 18px 2px 8px;
        min-height: 28px;
    }

    .idj-topbar-theme-btn {
        width: 28px;
        height: 28px;
        font-size: 0.72rem;
    }

    /* Mega Toggle on mobile */
    .idj-topbar-mega-toggle {
        padding: 5px 10px;
        font-size: 0.7rem;
        gap: 4px;
        min-height: 30px;
    }

    /* ====== MEGA PANEL MOBILE ====== */
    .idj-mega-panel.idj-mega-open {
        max-height: 80vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
    }

    .idj-mega-panel .container {
        padding-left: 10px;
        padding-right: 10px;
    }

    .idj-mega-panel .row {
        --bs-gutter-x: 0.5rem;
        --bs-gutter-y: 0.5rem;
    }

    /* Mega category cards: 2 columns on mobile */
    .idj-mega-category {
        background: rgba(255, 255, 255, 0.04);
        border-radius: 10px;
        padding: 10px 8px;
        border: 1px solid rgba(255, 255, 255, 0.06);
    }

    .idj-mega-cat-title {
        font-size: 0.65rem;
        letter-spacing: 0.8px;
        padding-bottom: 5px;
        margin-bottom: 5px;
    }

    /* Larger touch targets (Apple HIG: 44px min) */
    .idj-mega-link {
        font-size: 0.74rem;
        padding: 8px 8px;
        min-height: 38px;
        border-radius: 6px;
    }

    .idj-mega-link i {
        font-size: 0.72rem;
        width: 16px;
        text-align: center;
    }

    .idj-mega-link .badge {
        font-size: 0.5rem !important;
        padding: 2px 4px;
    }

    /* Bottom row */
    .idj-mega-bottom-row {
        gap: 3px;
        padding: 6px 0;
    }

    .idj-mega-bottom-link {
        font-size: 0.6rem;
        padding: 4px 2px;
    }

    .idj-mega-divider {
        font-size: 0.4rem;
    }

    /* Auth btn */
    #auth-btn-container #nav-login-btn {
        padding: 3px 10px !important;
        font-size: 0.72rem !important;
    }
}

/* Extra small phones (< 400px) */
@media (max-width: 399.98px) {
    .idj-topbar-ticker {
        max-width: 45%;
    }

    .idj-topbar-ticker-text {
        font-size: 0.62rem;
    }

    /* Hide lang on very small phones to save space */
    .idj-topbar-lang {
        display: none;
    }

    .idj-topbar-mega-toggle {
        padding: 4px 8px;
        font-size: 0.65rem;
    }

    .idj-mega-link {
        font-size: 0.7rem;
        padding: 7px 6px;
    }

    .idj-mega-cat-title {
        font-size: 0.6rem;
    }
}

/* iPhone safe area insets */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
    .idj-mega-panel.idj-mega-open {
        padding-bottom: env(safe-area-inset-bottom);
    }
}


/* ==========================================================================
   Header Navigation Bar Reset & Horizontal Flex Layout
   ========================================================================== */
.idj-navbar {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 3px solid transparent;
    border-image: linear-gradient(90deg, #ff9933, #0b5ed7, #138808) 1;
    box-shadow: 0 4px 20px rgba(11, 94, 215, 0.1);
    padding: 0.5rem 0;
    transition: all 0.3s ease;
    width: 100%;
}

.idj-navbar .container {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
}

.idj-navbar nav.navbar,
.navbar {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    padding: 0 !important;
}

/* Remove default browser bullets from all navbar lists */
.navbar-nav,
.navbar-nav ul,
.navbar-nav li,
.dropdown-menu,
.dropdown-menu li {
    list-style: none !important;
    list-style-type: none !important;
    padding-left: 0 !important;
    margin-bottom: 0 !important;
}

/* Desktop Horizontal Layout (min-width: 992px) */
@media (min-width: 992px) {
    .navbar-toggler {
        display: none !important;
    }
    .navbar-collapse,
    .collapse.navbar-collapse {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: flex-end !important;
        flex-grow: 1 !important;
        visibility: visible !important;
        opacity: 1 !important;
        height: auto !important;
    }
    .navbar-nav {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        list-style: none !important;
        padding-left: 0 !important;
        margin: 0 0 0 auto !important;
        gap: 4px !important;
    }
    .navbar-nav > li,
    .navbar-nav .nav-item {
        display: inline-flex !important;
        align-items: center !important;
        list-style: none !important;
        margin: 0 !important;
    }
}

/* Mobile Layout (max-width: 991.98px) */
@media (max-width: 991.98px) {
    .idj-navbar .container {
        flex-wrap: wrap !important;
    }
    .navbar-toggler {
        display: block !important;
        padding: 4px 8px !important;
    }
    .navbar-collapse:not(.show) {
        display: none !important;
    }
    .navbar-collapse.show {
        display: block !important;
        width: 100% !important;
        background: #ffffff !important;
        padding: 15px !important;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
        border-radius: 12px !important;
        margin-top: 10px !important;
    }
    .navbar-collapse.show .navbar-nav {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        width: 100% !important;
    }
    .navbar-collapse.show .navbar-nav > li {
        width: 100% !important;
    }
}

[data-theme="dark"] .idj-navbar {
    background: rgba(15, 23, 42, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.brand-logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.brand-badge-icon {
    width: 46px;
    height: 46px;
    background: linear-gradient(135deg, #ff9933 0%, #0b5ed7 50%, #138808 100%);
    background-size: 200% 200%;
    animation: brandGlow 5s ease infinite;
    color: #ffffff;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    box-shadow: 0 4px 14px rgba(255, 153, 51, 0.4);
    transition: transform 0.3s ease;
}

.brand-logo-container:hover .brand-badge-icon {
    transform: rotate(10deg) scale(1.05);
}

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

.brand-title {
    font-weight: 800;
    font-size: 1.45rem;
    color: #0b5ed7;
    line-height: 1.1;
    margin: 0;
    letter-spacing: -0.5px;
}

[data-theme="dark"] .brand-title {
    color: #38bdf8;
}

.brand-title span {
    color: #ff9933;
}

.brand-tagline {
    font-size: 0.72rem;
    color: var(--idj-text-muted);
    font-weight: 600;
    letter-spacing: 0.5px;
}

.nav-link-custom {
    color: var(--idj-text-main) !important;
    font-weight: 600;
    font-size: 0.92rem;
    padding: 0.45rem 0.9rem !important;
    border-radius: 20px;
    transition: all 0.2s ease;
}

.nav-link-custom:hover {
    color: #0b5ed7 !important;
    background-color: rgba(11, 94, 215, 0.08);
}

[data-theme="dark"] .nav-link-custom:hover {
    color: #38bdf8 !important;
    background-color: rgba(56, 189, 248, 0.12);
}

.nav-link-custom.active {
    background-color: #0b5ed7 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    box-shadow: 0 3px 10px rgba(11, 94, 215, 0.3);
}

[data-theme="dark"] .nav-link-custom.active {
    background-color: #0284c7 !important;
    color: #ffffff !important;
}

.today-history-btn {
    background: linear-gradient(135deg, #ff9933, #ff5e62) !important;
    color: #ffffff !important;
    border: none !important;
    font-weight: 700 !important;
    border-radius: 25px !important;
    padding: 0.45rem 1.1rem !important;
    box-shadow: 0 4px 14px rgba(255, 94, 98, 0.35);
    transition: all 0.3s ease;
    animation: pulseBtn 3s infinite;
}

@keyframes pulseBtn {
    0% { transform: scale(1); box-shadow: 0 4px 14px rgba(255, 94, 98, 0.35); }
    50% { transform: scale(1.03); box-shadow: 0 6px 20px rgba(255, 153, 51, 0.55); }
    100% { transform: scale(1); box-shadow: 0 4px 14px rgba(255, 94, 98, 0.35); }
}

/* ==========================================================================
   Hero Section & Search Bar
   ========================================================================== */
.hero-section {
    background: linear-gradient(135deg, #06347c 0%, #0B5ED7 60%, #1e40af 100%);
    color: #ffffff;
    padding: 3.5rem 0 4.5rem;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: 0;
    width: min(450px, 50vw);
    height: min(450px, 50vw);
    background: radial-gradient(circle, rgba(255, 153, 51, 0.25) 0%, rgba(255, 153, 51, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.hero-title span {
    color: var(--idj-secondary);
}

.hero-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.search-box-card {
    background: var(--idj-card-bg);
    border-radius: 16px;
    padding: 1.25rem;
    box-shadow: var(--idj-shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.search-input-group .form-control, .search-input-group .form-select {
    border-color: var(--idj-border-color);
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    border-radius: var(--idj-radius-sm);
    color: var(--idj-text-main);
    background-color: var(--idj-body-bg);
}

.search-input-group .form-control:focus, .search-input-group .form-select:focus {
    border-color: var(--idj-primary);
    box-shadow: 0 0 0 3px rgba(11, 94, 215, 0.2);
}

.btn-search-hero {
    background: linear-gradient(135deg, var(--idj-secondary), #e68520);
    color: #ffffff;
    font-weight: 700;
    font-size: 1rem;
    padding: 0.75rem 1.75rem;
    border: none;
    border-radius: var(--idj-radius-sm);
    transition: all 0.2s ease;
}

.btn-search-hero:hover {
    background: linear-gradient(135deg, #e68520, #cb7010);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(255, 153, 51, 0.4);
}

.quick-search-tags {
    margin-top: 1rem;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

.quick-search-label {
    color: var(--idj-text-main, #212529);
    font-weight: 600;
}

.tag-badge {
    background: #f1f5f9;
    color: #0f172a;
    border: 1px solid #cbd5e1;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
}

.tag-badge:hover {
    background: var(--idj-primary, #0b5ed7);
    color: #ffffff !important;
    border-color: var(--idj-primary, #0b5ed7);
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(11, 94, 215, 0.25);
}

/* Dark Mode Adjustments */
[data-theme="dark"] .quick-search-label {
    color: #f8fafc;
}

[data-theme="dark"] .tag-badge {
    background: rgba(255, 255, 255, 0.12);
    color: #f8fafc;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .tag-badge:hover {
    background: var(--idj-secondary, #ff9933);
    color: #ffffff !important;
    border-color: var(--idj-secondary, #ff9933);
    box-shadow: 0 4px 10px rgba(255, 153, 51, 0.3);
}

/* ==========================================================================
   Quick Navigation Grid Cards
   ========================================================================== */
.quick-nav-card {
    background: var(--idj-card-bg);
    border: 1px solid var(--idj-border-color);
    border-radius: var(--idj-radius);
    padding: 1.2rem 1rem;
    text-align: center;
    text-decoration: none;
    color: var(--idj-text-main);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.25 ease;
    box-shadow: var(--idj-shadow-sm);
}

.quick-nav-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--idj-shadow-md);
    border-color: var(--idj-primary);
    color: var(--idj-primary);
}

.quick-nav-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(11, 94, 215, 0.1);
    color: var(--idj-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    transition: all 0.2s ease;
}

.quick-nav-card:hover .quick-nav-icon {
    background: var(--idj-primary);
    color: #ffffff;
}

.quick-nav-title {
    font-weight: 700;
    font-size: 0.95rem;
    margin: 0;
}

/* ==========================================================================
   Job Posting Cards
   ========================================================================== */
.job-card {
    background: var(--idj-card-bg);
    border: 1px solid var(--idj-border-color);
    border-radius: var(--idj-radius);
    padding: 1.5rem;
    margin-bottom: 1.25rem;
    transition: all 0.25s ease;
    box-shadow: var(--idj-shadow-sm);
    position: relative;
}

.job-card:hover {
    border-color: var(--idj-primary);
    box-shadow: var(--idj-shadow-md);
    transform: translateY(-2px);
}

.job-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.75rem;
    gap: 12px;
}

.org-badge {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--idj-primary);
    background: rgba(11, 94, 215, 0.1);
    padding: 4px 10px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-pill {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
}

.status-pill.active {
    background: rgba(25, 135, 84, 0.12);
    color: var(--idj-success);
}

.status-pill.closing {
    background: rgba(220, 53, 69, 0.12);
    color: var(--idj-danger);
}

.job-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--idj-text-main);
    text-decoration: none;
    line-height: 1.35;
    transition: color 0.2s ease;
}

.job-title:hover {
    color: var(--idj-primary);
}

.job-meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr));
    gap: 10px;
    margin: 1rem 0;
    padding: 10px 14px;
    background: var(--idj-body-bg);
    border-radius: var(--idj-radius-sm);
    font-size: 0.88rem;
}

.job-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--idj-text-muted);
}

.job-meta-item i {
    color: var(--idj-primary);
    width: 16px;
}

.job-meta-item strong {
    color: var(--idj-text-main);
}

.job-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 1rem;
}

.btn-primary-idj {
    background-color: var(--idj-primary);
    color: #ffffff;
    font-weight: 600;
    font-size: 0.88rem;
    padding: 0.5rem 1.25rem;
    border-radius: var(--idj-radius-sm);
    border: none;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-primary-idj:hover {
    background-color: var(--idj-primary-hover);
    color: #ffffff;
}

.btn-outline-idj {
    border: 1px solid var(--idj-border-color);
    background: transparent;
    color: var(--idj-text-main);
    font-weight: 600;
    font-size: 0.88rem;
    padding: 0.5rem 1.1rem;
    border-radius: var(--idj-radius-sm);
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-outline-idj:hover {
    border-color: var(--idj-primary);
    color: var(--idj-primary);
    background: rgba(11, 94, 215, 0.05);
}

/* ==========================================================================
   State Wise Grid & Category Cards
   ========================================================================== */
.state-pill {
    background: var(--idj-card-bg);
    border: 1px solid var(--idj-border-color);
    border-radius: var(--idj-radius-sm);
    padding: 0.6rem 1rem;
    text-decoration: none;
    color: var(--idj-text-main);
    font-weight: 600;
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.2s ease;
}

.state-pill:hover {
    background: var(--idj-primary);
    color: #ffffff;
    border-color: var(--idj-primary);
}

.state-pill:hover .badge {
    background: #ffffff !important;
    color: var(--idj-primary) !important;
}

/* ==========================================================================
   AdSense Placement Containers
   ========================================================================== */
.adsense-box {
    background: var(--idj-card-bg);
    border: 1px dashed var(--idj-border-color);
    border-radius: var(--idj-radius-sm);
    padding: 1rem;
    text-align: center;
    margin: 1.5rem 0;
    position: relative;
    overflow: hidden;
    max-width: 100%;
}

.adsense-label {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--idj-text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
    display: block;
}

.adsense-mock-content {
    background: rgba(11, 94, 215, 0.04);
    border-radius: 6px;
    padding: 1.25rem;
    color: var(--idj-text-muted);
    font-size: 0.85rem;
    font-weight: 500;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

/* ==========================================================================
   Footer & Multi-language Switcher
   ========================================================================== */
.footer-section {
    background-color: var(--idj-dark);
    color: #94a3b8;
    padding: 4rem 0 2rem;
    font-size: 0.9rem;
    border-top: 3px solid var(--idj-secondary);
}

.footer-section h5 {
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 1.25rem;
}

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

.footer-links li {
    margin-bottom: 0.6rem;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--idj-secondary);
}

.sticky-bottom-ad {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100vw;
    background: var(--idj-card-bg);
    border-top: 2px solid var(--idj-primary);
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.15);
    z-index: 1040;
    padding: 8px 0;
    overflow: hidden;
}

.sticky-bottom-ad .container {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.close-sticky-ad {
    position: absolute;
    top: 4px;
    right: 12px;
    cursor: pointer;
    background: none;
    border: none;
    font-size: 1.1rem;
    color: var(--idj-text-muted);
}

/* ==========================================================================
   Sticky Social Media Sidebar (RIGHT Side - WhatsApp & Telegram)
   ========================================================================== */
.idj-sticky-social-bar {
    display: none !important;
}

.sticky-social-btn {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-direction: row-reverse;
    color: #ffffff;
    text-decoration: none;
    padding: 10px 14px;
    border-radius: 25px 0 0 25px;
    box-shadow: -3px 4px 18px rgba(0, 0, 0, 0.35);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    white-space: nowrap;
    width: 50px;
    height: 48px;
    cursor: pointer;
}

.sticky-social-btn i {
    font-size: 1.5rem;
    min-width: 26px;
    text-align: center;
}

.sticky-social-label {
    font-size: 0.85rem;
    font-weight: 700;
    margin-right: 10px;
    margin-left: 0;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.3s ease;
    display: inline-block;
}

.sticky-social-btn.sticky-whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.sticky-social-btn.sticky-telegram {
    background: linear-gradient(135deg, #0088cc, #005580);
}

.sticky-social-btn:hover,
.sticky-social-btn:active {
    width: 185px;
    box-shadow: -4px 6px 22px rgba(0, 0, 0, 0.45);
}

.sticky-social-btn:hover .sticky-social-label,
.sticky-social-btn:active .sticky-social-label {
    opacity: 1;
    transform: translateX(0);
}

@media (max-width: 768px) {
    .idj-sticky-social-bar {
        top: 55%;
        gap: 8px;
    }
    .sticky-social-btn {
        width: 46px;
        height: 44px;
        padding: 8px 12px;
    }
    .sticky-social-btn i {
        font-size: 1.3rem;
    }
    .sticky-social-btn:active {
        width: 160px;
    }
}

/* ==========================================================================
   Push Notification Bell (RIGHT Side Corner - Permanent)
   ========================================================================== */
.idj-push-bell {
    position: fixed;
    bottom: 92px;
    right: 24px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #dc3545 0%, #b02a37 100%);
    color: #ffffff;
    border: 3px solid #ffffff;
    box-shadow: 0 4px 20px rgba(220, 53, 69, 0.5);
    cursor: pointer;
    z-index: 9997;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.5s ease, bottom 0.3s ease;
    animation: idjPulseBell 2s infinite;
    opacity: 0;
    visibility: hidden;
}

@media (max-width: 768px) {
    .idj-speed-dial-container {
        bottom: 75px !important;
        right: 16px !important;
    }
    .idj-push-bell {
        bottom: 145px !important;
        right: 16px !important;
    }
}

.idj-push-bell.visible {
    opacity: 1 !important;
    visibility: visible !important;
}

.idj-push-bell:hover {
    transform: scale(1.15);
    box-shadow: 0 6px 25px rgba(220, 53, 69, 0.7);
}

.idj-bell-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #ffc107;
    color: #000000;
    font-size: 0.55rem;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 10px;
    border: 2px solid #ffffff;
    letter-spacing: 0.5px;
}

@keyframes idjPulseBell {
    0% { box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.7); }
    70% { box-shadow: 0 0 0 14px rgba(220, 53, 69, 0); }
    100% { box-shadow: 0 0 0 0 rgba(220, 53, 69, 0); }
}

/* Push Notification Backdrop (Disabled to prevent page blocking) */
.idj-push-backdrop {
    display: none !important;
}

/* Push Notification Banner (Sleek Bottom-Right Corner Toast - No Page Blocking) */
.idj-push-banner {
    position: fixed !important;
    bottom: 90px !important;
    right: 25px !important;
    top: auto !important;
    left: auto !important;
    transform: translateY(20px) scale(0.95) !important;
    max-width: 380px !important;
    width: calc(100% - 32px) !important;
    background: #ffffff !important;
    border-radius: 16px !important;
    padding: 18px !important;
    border: 1px solid rgba(0,0,0,0.1) !important;
    z-index: 9999 !important;
    opacity: 0;
    visibility: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18) !important;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease !important;
}

.idj-push-banner.show {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) scale(1) !important;
}

[data-theme="dark"] .idj-push-banner {
    background: #1f2421 !important;
    border-color: #343a40 !important;
}

[data-theme="dark"] .idj-push-banner h6 {
    color: #ffffff !important;
}

[data-theme="dark"] .idj-push-banner p,
[data-theme="dark"] .idj-push-banner div {
    color: #cbd5e1 !important;
}

[data-theme="dark"] .idj-unblock-guide-box {
    background: #111827 !important;
    border-color: #374151 !important;
}

@media (max-width: 768px) {
    .idj-push-bell {
        bottom: 20px;
        right: 16px;
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

/* Remove bottom bar styles (not used anymore) */
.idj-bottom-action-bar { display: none !important; }



/* ==========================================================================
   EXAM CALENDAR & OLD PAPERS (PYQ) ENHANCEMENTS
   ========================================================================== */

/* Blink animation for active registration & today's exams */
@keyframes pulseBlink {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.82; transform: scale(1.02); }
    100% { opacity: 1; transform: scale(1); }
}

.blink-badge {
    animation: pulseBlink 1.8s infinite ease-in-out;
}

/* Month Calendar Grid View */
.month-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    background: var(--idj-border-color);
    border: 1px solid var(--idj-border-color);
    border-radius: 8px;
    overflow: hidden;
}

.month-day-header {
    background: var(--idj-primary);
    color: #ffffff;
    font-weight: 700;
    text-align: center;
    padding: 8px 4px;
    font-size: 0.85rem;
    text-transform: uppercase;
}

.month-day-cell {
    background: var(--idj-card-bg);
    min-height: 110px;
    padding: 6px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: background 0.2s ease;
}

.month-day-cell:hover {
    background: rgba(11, 94, 215, 0.03);
}

.month-day-empty {
    background: rgba(0, 0, 0, 0.02);
}

.month-day-today {
    background: rgba(255, 193, 7, 0.15) !important;
    border: 2px solid #ffc107;
}

.day-number {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--idj-text-main);
    margin-bottom: 4px;
}

.day-events {
    display: flex;
    flex-direction: column;
    gap: 3px;
    overflow-y: auto;
    max-height: 80px;
}

.event-pill {
    font-size: 0.7rem;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
}

/* Exam Cards & PYQ Cards Hover Effects */
.idj-exam-card, .idj-pyq-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    border-radius: var(--idj-radius) !important;
}

.idj-exam-card:hover, .idj-pyq-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12) !important;
}

/* Timeline View Styling */
.idj-timeline {
    position: relative;
}

.idj-timeline-item:last-child {
    border-bottom: none !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* Dark mode adjustments for Calendar & PYQ */
[data-theme="dark"] .month-day-cell {
    background: #1e293b;
}

[data-theme="dark"] .month-day-today {
    background: rgba(255, 193, 7, 0.25) !important;
}

[data-theme="dark"] .event-pill {
    color: #ffffff;
}

@media (max-width: 768px) {
    .month-calendar-grid {
        font-size: 0.75rem;
    }
    .month-day-cell {
        min-height: 75px;
        padding: 3px;
    }
    .day-number {
        font-size: 0.8rem;
    }
    .event-pill {
        font-size: 0.65rem;
        padding: 1px 2px !important;
    }
}

/* ==========================================
   TABLE OF CONTENTS (TOC) STYLES
   ========================================== */
html {
    scroll-behavior: smooth;
}

.idj-toc-card {
    border-radius: 10px;
    border: 1px solid rgba(13, 110, 253, 0.15) !important;
    background: #ffffff;
}

.idj-toc-card .card-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
    transition: background 0.2s ease;
}

.idj-toc-card .card-header:hover {
    background: #e2e6ea !important;
}

.idj-toc-list {
    list-style-type: decimal;
}

.toc-jump-link {
    transition: all 0.2s ease;
    color: #212529 !important;
}

.toc-jump-link:hover {
    color: #0d6efd !important;
    transform: translateX(3px);
}

/* ==========================================================================
   Social Post Share Widget Styles (WhatsApp, Telegram, Facebook, Instagram)
   ========================================================================== */
.idj-social-share-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 16px 20px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] .idj-social-share-card {
    background: #1e293b;
    border-color: #334155;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 16px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #ffffff !important;
    text-decoration: none !important;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    color: #ffffff !important;
}

.share-btn-whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.share-btn-telegram {
    background: linear-gradient(135deg, #0088cc, #005580);
}

.share-btn-facebook {
    background: linear-gradient(135deg, #1877F2, #0d52ab);
}

.share-btn-instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.share-btn-copy {
    background: linear-gradient(135deg, #6c757d, #495057);
}

.share-btn-native {
    background: linear-gradient(135deg, #0d6efd, #0b5ed7);
}

@media (max-width: 576px) {
    .share-btn {
        padding: 8px 12px;
        font-size: 0.78rem;
        flex: 1 1 calc(50% - 8px);
    }
}

/* ==========================================================================
   DreamJob Mock Test Platform Styles (Glassmorphism & Conversion Design)
   ========================================================================== */
.mock-platform-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 35%, #2e1065 70%, #0f172a 100%);
    position: relative;
    overflow: hidden;
    color: #ffffff;
    padding: 3rem 0 3.5rem 0;
    border-radius: 0 0 24px 24px;
}

.mock-platform-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.25) 0%, rgba(0, 0, 0, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.mock-platform-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.2) 0%, rgba(0, 0, 0, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.glass-stat-box {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 16px;
    padding: 16px 20px;
    transition: all 0.3s ease;
}

.glass-stat-box:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.13);
    border-color: rgba(255, 255, 255, 0.3);
}

.exam-cat-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 20px;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
    position: relative;
}

.exam-cat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    border-color: #6366f1;
}

[data-theme="dark"] .exam-cat-card {
    background: #1e293b;
    border-color: #334155;
}

.mock-test-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

.mock-test-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.09);
    border-color: #4f46e5;
}

[data-theme="dark"] .mock-test-card {
    background: #1e293b;
    border-color: #334155;
}

.badge-pyq {
    background: linear-gradient(135deg, #6366f1 0%, #4338ca 100%);
    color: #ffffff;
    font-weight: 700;
}

.badge-mock {
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    color: #ffffff;
    font-weight: 700;
}

.badge-daily {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #ffffff;
    font-weight: 700;
}

.filter-btn-pill {
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 0.88rem;
    font-weight: 600;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.filter-btn-pill.active {
    background: linear-gradient(135deg, #4f46e5 0%, #3730a3 100%);
    color: #ffffff !important;
    border-color: #4f46e5 !important;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35);
}

.filter-btn-pill:hover:not(.active) {
    background: #f1f5f9;
    border-color: #94a3b8;
    color: #1e293b;
}

[data-theme="dark"] .filter-btn-pill {
    background: #1e293b;
    border-color: #334155;
    color: #cbd5e1;
}

[data-theme="dark"] .filter-btn-pill:hover:not(.active) {
    background: #334155;
    color: #ffffff;
}

.dashboard-modal-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
}

[data-theme="dark"] .dashboard-modal-card {
    background: #0f172a;
    border-color: #1e293b;
    color: #f8fafc;
}

/* Micro-animations & Pulse Badges */
.pulse-badge {
    animation: idjPulse 1.8s infinite ease-in-out;
}

@keyframes idjPulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.6); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 8px rgba(239, 68, 68, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.hover-lift {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px -6px rgba(15, 23, 42, 0.15) !important;
}

/* ==========================================================================
   Global Instant Search Modal (Ctrl + K)
   ========================================================================== */
.idj-search-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10500;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 3rem 1rem 1rem 1rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s ease;
}

.idj-search-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.idj-search-modal-box {
    background: #ffffff;
    width: 100%;
    max-width: 680px;
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(226, 232, 240, 0.8);
    overflow: hidden;
    transform: translateY(-20px) scale(0.96);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.idj-search-backdrop.active .idj-search-modal-box {
    transform: translateY(0) scale(1);
}

[data-theme="dark"] .idj-search-modal-box {
    background: #0f172a;
    border-color: #1e293b;
    color: #f8fafc;
}

.idj-search-input-header {
    display: flex;
    align-items: center;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #e2e8f0;
    gap: 12px;
}

[data-theme="dark"] .idj-search-input-header {
    border-color: #1e293b;
}

.idj-search-input-header i {
    font-size: 1.25rem;
    color: #0b5ed7;
}

.idj-search-input-field {
    border: none;
    outline: none;
    font-size: 1.1rem;
    font-weight: 500;
    width: 100%;
    background: transparent;
    color: inherit;
}

.idj-search-kbd-badge {
    background: #e2e8f0;
    color: #475569;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 7px;
    border-radius: 6px;
    border: 1px solid #cbd5e1;
    font-family: monospace;
    white-space: nowrap;
}

[data-theme="dark"] .idj-search-kbd-badge {
    background: #1e293b;
    color: #94a3b8;
    border-color: #334155;
}

.idj-search-results-list {
    max-height: 420px;
    overflow-y: auto;
    padding: 0.5rem;
}

.idj-search-result-item {
    display: flex;
    align-items: center;
    padding: 0.85rem 1rem;
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
    transition: background 0.15s ease;
    gap: 12px;
    margin-bottom: 4px;
}

.idj-search-result-item:hover,
.idj-search-result-item.selected {
    background: #f1f5f9;
}

[data-theme="dark"] .idj-search-result-item:hover,
[data-theme="dark"] .idj-search-result-item.selected {
    background: #1e293b;
}

.idj-search-result-icon {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: rgba(11, 94, 215, 0.1);
    color: #0b5ed7;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.idj-search-result-badge {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ==========================================================================
   Skeleton Shimmer Loaders
   ========================================================================== */
.skeleton-box {
    background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 37%, #f1f5f9 63%);
    background-size: 400% 100%;
    animation: skeletonShimmer 1.4s ease infinite;
    border-radius: 8px;
}

[data-theme="dark"] .skeleton-box {
    background: linear-gradient(90deg, #1e293b 25%, #334155 37%, #1e293b 63%);
    background-size: 400% 100%;
}

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

/* ==========================================================================
   Floating Speed Dial FAB Menu
   ========================================================================== */
.idj-speed-dial-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    gap: 12px;
}

.idj-speed-dial-trigger {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0b5ed7, #0d6efd);
    color: #ffffff;
    border: none;
    box-shadow: 0 8px 20px rgba(13, 110, 253, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.idj-speed-dial-container.active .idj-speed-dial-trigger {
    transform: rotate(135deg);
    background: #dc3545;
    box-shadow: 0 8px 20px rgba(220, 53, 69, 0.4);
}

.idj-speed-dial-menu {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px) scale(0.9);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.idj-speed-dial-container.active .idj-speed-dial-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.idj-speed-dial-item {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #ffffff;
    color: #334155;
    border: 1px solid #cbd5e1;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.2s ease;
    position: relative;
}

[data-theme="dark"] .idj-speed-dial-item {
    background: #1e293b;
    color: #f8fafc;
    border-color: #334155;
}

.idj-speed-dial-item:hover {
    transform: scale(1.12);
    color: #0b5ed7;
}

.idj-speed-dial-tooltip {
    position: absolute;
    right: 54px;
    background: #1e293b;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.idj-speed-dial-item:hover .idj-speed-dial-tooltip {
    opacity: 1;
}

/* ==========================================================================
   Live Exam Countdown Widget
   ========================================================================== */
.exam-countdown-card {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: 16px;
    color: #ffffff;
    padding: 1.5rem;
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.countdown-digits-wrapper {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.digit-box {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 8px 14px;
    text-align: center;
    min-width: 65px;
}

.digit-val {
    font-size: 1.5rem;
    font-weight: 800;
    color: #38bdf8;
    line-height: 1;
    font-family: monospace;
}

.digit-lbl {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #94a3b8;
    margin-top: 4px;
    font-weight: 600;
}

/* CBT Action Toolbar & Mobile Button Responsive Layout */
.btn-cbt-purple {
    color: #9333ea;
    border: 1.5px solid #a855f7;
    background-color: #fcf5ff;
    font-weight: 600;
}
.btn-cbt-purple:hover {
    color: #ffffff;
    background-color: #9333ea;
    border-color: #9333ea;
}

@media (max-width: 767.98px) {
    .question-card {
        min-height: auto !important;
        padding: 14px !important;
    }
    .cbt-action-toolbar {
        margin-top: 1rem !important;
        padding-top: 0.75rem !important;
    }
    .cbt-action-toolbar .btn {
        font-size: 0.78rem !important;
        padding: 8px 4px !important;
        font-weight: 600 !important;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        line-height: 1.2;
        min-height: 40px;
        white-space: normal !important;
        border-radius: 6px;
    }
    .cbt-action-toolbar .btn i {
        font-size: 0.75rem !important;
    }
}

/* ==========================================================================
   State-Wise Jobs Homepage Icon Grid
   ========================================================================== */
.idj-state-icon-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 16px 12px;
    background: var(--idj-card-bg, #ffffff);
    border: 1px solid var(--idj-border-color, rgba(0, 0, 0, 0.08));
    border-radius: 14px;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    height: 100%;
}

.idj-state-icon-card:hover {
    transform: translateY(-6px);
    border-color: #0b5ed7;
    box-shadow: 0 12px 24px rgba(11, 94, 215, 0.12);
}

.idj-state-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 10px;
    transition: transform 0.25s ease;
}

.idj-state-icon-card:hover .idj-state-icon {
    transform: scale(1.1);
}

.idj-state-name {
    font-family: var(--idj-font-heading);
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--idj-text-main, #1e293b);
    margin-bottom: 4px;
}

/* ==========================================================================
   Global Collapsible Open / Close Table of Contents (TOC)
   ========================================================================== */
.toc-box {
    background-color: var(--idj-gray-100, #f8fafc);
    border-left: 4px solid var(--idj-primary, #2563eb);
    padding: 16px 20px;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
    transition: all 0.3s ease;
}

.toc-summary {
    cursor: pointer;
    list-style: none;
    user-select: none;
}

.toc-summary::-webkit-details-marker {
    display: none;
}

.toc-toggle-badge {
    background-color: var(--idj-gray-200, #e2e8f0);
    color: var(--idj-text-main, #1e293b);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

details[open] .toc-arrow-icon {
    transform: rotate(0deg);
    transition: transform 0.2s ease;
}

details:not([open]) .toc-arrow-icon {
    transform: rotate(180deg);
    transition: transform 0.2s ease;
}

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

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

.toc-list a {
    color: var(--idj-primary, #2563eb);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.toc-list a:hover {
    color: var(--idj-primary-hover, #1d4ed8);
    text-decoration: underline;
}

/* ==========================================================================
   Robust Navigation Bar & Dropdown Menu System
   ========================================================================== */
.navbar-nav .dropdown-menu {
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    border-radius: 12px;
    padding: 10px 0;
    min-width: 240px;
    margin-top: 8px;
    background: #ffffff;
}

[data-theme="dark"] .navbar-nav .dropdown-menu {
    background: #1e293b;
    border: 1px solid #334155;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.dropdown-menu .dropdown-item {
    padding: 8px 18px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--idj-text-main, #1e293b);
    transition: all 0.2s ease;
}

.dropdown-menu .dropdown-item:hover {
    background-color: rgba(11, 94, 215, 0.08);
    color: #0b5ed7;
    transform: translateX(4px);
}

/* ==========================================================================
   Guaranteed Horizontal Flex Header Navbar & Dropdown System
   ========================================================================== */
.idj-navbar .navbar {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
}

.idj-navbar .navbar-collapse {
    display: flex !important;
    flex-basis: auto !important;
    flex-grow: 1 !important;
    align-items: center !important;
    justify-content: flex-end !important;
}

.idj-navbar .navbar-nav,
.navbar-nav {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    list-style: none !important;
    padding-left: 0 !important;
    margin: 0 !important;
    gap: 4px !important;
}

.idj-navbar .navbar-nav > li,
.navbar-nav > li {
    display: inline-block !important;
    list-style: none !important;
    margin: 0 !important;
}

.idj-navbar .dropdown-menu,
.navbar-nav .dropdown-menu {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    z-index: 1050 !important;
    display: none !important;
    float: none !important;
    list-style: none !important;
    padding: 10px 0 !important;
    border-radius: 12px !important;
    border: 1px solid rgba(0,0,0,0.1) !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15) !important;
    background-color: #ffffff !important;
}

.idj-navbar .dropdown:hover > .dropdown-menu,
.navbar-nav .dropdown:hover > .dropdown-menu {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    animation: idjDropdownFade 0.2s ease;
}

.dropdown-menu li {
    display: block !important;
    list-style: none !important;
}

@media (max-width: 991.98px) {
    .idj-navbar .navbar {
        flex-wrap: wrap !important;
    }
    .navbar-collapse:not(.show) {
        display: none !important;
    }
    .navbar-collapse.show {
        display: block !important;
        width: 100% !important;
    }
    .navbar-collapse.show .navbar-nav {
        flex-direction: column !important;
        align-items: flex-start !important;
    }
    .navbar-nav .dropdown-menu {
        position: static !important;
        box-shadow: none !important;
        background: transparent !important;
        padding-left: 15px !important;
    }
}

@keyframes idjDropdownFade {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   PWA Add to Home Screen / Desktop Install Prompt Popup
   ========================================================================== */
.idj-pwa-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 99999;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s ease;
}

.idj-pwa-overlay.active {
    opacity: 1;
    visibility: visible;
}

.idj-pwa-modal {
    background: var(--idj-card-bg, #ffffff);
    color: var(--idj-text-main, #1e293b);
    border-radius: 20px;
    padding: 24px;
    width: 100%;
    max-width: 480px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    border: 1px solid var(--idj-border-color, rgba(255, 255, 255, 0.15));
    position: relative;
    transform: translateY(40px);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.idj-pwa-overlay.active .idj-pwa-modal {
    transform: translateY(0);
}

.idj-pwa-close {
    position: absolute;
    top: 14px;
    right: 16px;
    background: transparent;
    border: none;
    font-size: 1.6rem;
    line-height: 1;
    color: var(--idj-text-muted, #64748b);
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 50%;
    transition: color 0.2s, background 0.2s;
}

.idj-pwa-close:hover {
    color: var(--idj-danger, #dc3545);
    background: rgba(220, 53, 69, 0.1);
}

.idj-pwa-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
}

.idj-pwa-app-icon {
    width: 58px;
    height: 58px;
    border-radius: 14px;
    object-fit: cover;
    box-shadow: 0 6px 16px rgba(11, 94, 215, 0.2);
    border: 2px solid #ffffff;
}

.idj-pwa-titles {
    flex: 1;
}

.idj-pwa-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #0b5ed7;
    background: rgba(11, 94, 215, 0.1);
    padding: 3px 8px;
    border-radius: 20px;
    margin-bottom: 4px;
}

.idj-pwa-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
}

.idj-pwa-subtitle {
    font-size: 0.85rem;
    color: var(--idj-text-muted, #64748b);
    margin: 2px 0 0 0;
}

.idj-pwa-features {
    display: grid;
    gap: 10px;
    margin-bottom: 22px;
    background: var(--idj-gray-100, #f8fafc);
    padding: 14px 16px;
    border-radius: 12px;
}

.idj-pwa-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.88rem;
    font-weight: 500;
}

.idj-pwa-feature-item i {
    font-size: 1.1rem;
    width: 22px;
    text-align: center;
}

.idj-pwa-actions {
    display: flex;
    gap: 12px;
}

.idj-pwa-btn-install {
    flex: 2;
    background: linear-gradient(135deg, #0b5ed7 0%, #0043a8 100%);
    color: #ffffff;
    border: none;
    padding: 12px 18px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(11, 94, 215, 0.35);
    transition: transform 0.2s, box-shadow 0.2s;
}

.idj-pwa-btn-install:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(11, 94, 215, 0.45);
    color: #ffffff;
}

.idj-pwa-btn-dismiss {
    flex: 1;
    background: transparent;
    color: var(--idj-text-muted, #64748b);
    border: 1px solid var(--idj-border-color, #cbd5e1);
    padding: 12px 14px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.idj-pwa-btn-dismiss:hover {
    background: var(--idj-gray-200, #e2e8f0);
    color: var(--idj-text-main, #0f172a);
}

/* iOS Safari Instruction Steps */
.idj-pwa-ios-steps {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.idj-pwa-ios-step {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--idj-gray-100, #f8fafc);
    padding: 12px 16px;
    border-radius: 12px;
}

.idj-pwa-step-num {
    width: 28px;
    height: 28px;
    background: #0b5ed7;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.85rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.idj-pwa-step-text {
    font-size: 0.88rem;
    line-height: 1.4;
}

/* Desktop Modal centering override */
@media (min-width: 576px) {
    .idj-pwa-overlay {
        align-items: center;
    }
}

/* Header Install App Button */
.pwa-install-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #ffffff;
    background: linear-gradient(135deg, #ff9933 0%, #e67e22 100%);
    border: none;
    padding: 6px 14px;
    border-radius: 20px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(255, 153, 51, 0.3);
    transition: all 0.25s ease;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.pwa-install-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(255, 153, 51, 0.45);
    color: #ffffff;
}

/* Hero Section Container */
.hero-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 40%, #0b5ed7 100%);
    color: #ffffff;
    padding: 45px 0 55px;
    position: relative;
    overflow: hidden;
}



/* ==========================================================================
   GLOBAL RESPONSIVE SYSTEM & VIEWPORT CLIP FIX (Mobile, Tablet, Desktop)
   ========================================================================== */

/* Prevent horizontal overflow clipping across all devices */
html, body {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    box-sizing: border-box;
}

*, *:before, *:after {
    box-sizing: inherit;
}

.container, .container-fluid {
    width: 100% !important;
    max-width: 1280px;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
}

/* Navbar & Header Fluid Mechanics */
.navbar {
    width: 100% !important;
    max-width: 100% !important;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100% !important;
}

.navbar-toggler {
    margin-left: auto;
    z-index: 1035;
}

/* Table Responsive Wrappers */
.table-responsive {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 1rem;
}

.table-responsive table {
    width: 100%;
    max-width: 100%;
}

/* ==========================================================================
   BREAKPOINT: TABLET & LAPTOP (max-width: 991px)
   ========================================================================== */
@media (max-width: 991.98px) {
    /* Header & Brand Logo */
    .brand-title {
        font-size: 1.15rem;
    }
    
    .brand-badge-icon {
        width: 36px;
        height: 36px;
        font-size: 1rem;
        margin-right: 8px;
    }
    
    .brand-tagline {
        font-size: 0.62rem;
    }

    /* Topbar Stack & Actions */
    .idj-topbar {
        padding: 5px 0;
    }

    .idj-topbar-hot-badge {
        font-size: 0.58rem;
        padding: 2px 6px;
    }

    .idj-topbar-social span {
        display: none !important;
    }

    /* Hero Section */
    .hero-section {
        padding: 30px 0 40px;
        text-align: center;
    }

    .hero-title {
        font-size: 1.6rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }

    /* Search Box Card Fluid Grid */
    .search-box-card {
        padding: 16px 18px;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto;
    }

    .search-box-card .row > [class*="col-"] {
        width: 100% !important;
        max-width: 100% !important;
        margin-bottom: 10px;
    }

    .btn-search-hero {
        width: 100% !important;
        margin-top: 4px;
    }

    /* Floating Social Bar - Repositioned neatly to bottom right floating pill */
    .idj-sticky-social-bar {
        position: fixed;
        right: 12px;
        left: auto;
        bottom: 18px;
        top: auto;
        transform: none;
        flex-direction: row;
        gap: 8px;
        z-index: 1040;
    }

    .sticky-social-btn {
        transform: none !important;
        border-radius: 20px !important;
        flex-direction: row !important;
        justify-content: center !important;
        padding: 8px 12px !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
    }

    .sticky-social-label {
        display: none !important;
    }
}

/* ==========================================================================
   BREAKPOINT: MOBILE PHONES (max-width: 575.98px)
   ========================================================================== */
@media (max-width: 575.98px) {
    .container {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

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

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

    .hero-subtitle {
        font-size: 0.88rem;
    }

    /* Countdown Widget Mobile Stacking */
    .countdown-digits-wrapper {
        gap: 6px;
    }

    .digit-box {
        min-width: 48px;
        padding: 6px 8px;
    }

    .digit-val {
        font-size: 1.1rem;
    }

    .digit-lbl {
        font-size: 0.58rem;
    }

    /* Quick Search Tags */
    .quick-search-tags {
        gap: 6px;
        padding-top: 10px;
        margin-top: 12px;
    }

    .tag-badge {
        font-size: 0.72rem;
        padding: 4px 10px;
    }
}

/* ==========================================================================
   Phase 2: PROPER RESPONSIVE CONTAINMENT (replaces old overflow-x hack)
   ========================================================================== */

/* Topbar containment — proper flexbox clipping */
.idj-topbar {
    width: 100%;
    max-width: 100vw;
}

.idj-topbar .container {
    max-width: 100%;
}

/* Ensure search card fits viewport */
.search-box-card {
    max-width: 100%;
}

/* State icon cards — responsive grid */
.idj-state-icon-card {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.idj-state-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ==========================================================================
   Phase 2: MOBILE-FIRST RESPONSIVE BREAKPOINTS
   ========================================================================== */

/* Extra-small phones (max-width: 399px) */
@media (max-width: 399.98px) {
    .hero-title {
        font-size: 1.25rem;
    }
    .hero-subtitle {
        font-size: 0.82rem;
    }
    .job-card {
        padding: 1rem;
    }
    .job-title {
        font-size: 1rem;
    }
    .org-badge {
        font-size: 0.68rem;
    }
    .job-card-header {
        flex-direction: column;
        gap: 6px;
    }
    .job-actions {
        flex-direction: column;
    }
    .job-actions .btn {
        width: 100%;
        justify-content: center;
    }
    .footer-section {
        padding: 2rem 0 1rem;
    }
}

/* Small phones (max-width: 575px) */
@media (max-width: 575.98px) {
    .hero-section {
        padding: 2rem 0 2.5rem;
    }
    .search-box-card {
        padding: 1rem;
    }
    .search-box-card .row > [class*="col-"] {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .btn-search-hero {
        margin-top: 0.5rem;
    }
    .job-meta-grid {
        grid-template-columns: 1fr;
        padding: 8px 10px;
    }
    .quick-nav-card {
        padding: 0.8rem 0.6rem;
    }
    .quick-nav-title {
        font-size: 0.82rem;
    }
    .quick-nav-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
}

/* Tablets (max-width: 767px) */
@media (max-width: 767.98px) {
    .hero-title {
        font-size: 1.5rem;
    }
    .hero-subtitle {
        font-size: 0.92rem;
    }
    .search-box-card .row > [class*="col-md"] {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 0.5rem;
    }
    .job-card {
        padding: 1.15rem;
    }
    .job-title {
        font-size: 1.1rem;
    }
    .job-meta-grid {
        grid-template-columns: 1fr 1fr;
    }
    .sticky-bottom-ad .container {
        font-size: 0.8rem;
    }
}

/* Tablet landscape (max-width: 991px) */
@media (max-width: 991.98px) {
    .idj-navbar .container {
        flex-wrap: wrap !important;
    }
}

/* ==========================================================================
   Purple Theme Utilities for Mock Test Set 3
   ========================================================================== */
.btn-purple {
    background-color: #7e22ce !important;
    color: #ffffff !important;
    border-color: #7e22ce !important;
}
.btn-purple:hover, .btn-purple:focus {
    background-color: #6b21a8 !important;
    color: #ffffff !important;
    border-color: #6b21a8 !important;
}
.btn-outline-purple {
    color: #7e22ce !important;
    border-color: #7e22ce !important;
    background-color: transparent !important;
}
.btn-outline-purple:hover, .btn-outline-purple:focus {
    background-color: #7e22ce !important;
    color: #ffffff !important;
}
.bg-purple {
    background-color: #7e22ce !important;
    color: #ffffff !important;
}
.bg-purple-subtle {
    background-color: #f3e8ff !important;
    color: #6b21a8 !important;
}
.text-purple {
    color: #7e22ce !important;
}
.text-purple-emphasis {
    color: #581c87 !important;
}
.border-purple {
    border-color: #7e22ce !important;
}
.alert-purple {
    background-color: #faf5ff !important;
    border-color: #d8b4fe !important;
    color: #581c87 !important;
}

/* ==========================================================================
   PHASE 3: HOMEPAGE UX/UI REDESIGN
   Professional Government Job/News Portal Aesthetic
   ========================================================================== */

/* ==========================================================================
   Phase 3: Typography Scale
   ========================================================================== */
.idj-section-title {
    font-family: var(--idj-font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--idj-text-main);
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

.idj-section-subtitle {
    font-size: 0.88rem;
    color: var(--idj-text-muted);
    margin-bottom: 0;
}

.idj-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--idj-border-color);
}

.idj-section-header .btn {
    white-space: nowrap;
}

/* Label badge above section titles */
.idj-section-label {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 3px 10px;
    border-radius: 4px;
    margin-bottom: 6px;
}

/* ==========================================================================
   Phase 3: Compact Hero Section
   ========================================================================== */
.hero-section {
    padding: 2.5rem 0 3rem;
}

.hero-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.hero-subtitle {
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

/* Popular search tags — limit display */
.quick-search-tags .tag-badge {
    font-size: 0.78rem;
}

.quick-search-tags-overflow {
    display: none;
}

.quick-search-tags-overflow.show {
    display: contents;
}

.idj-show-more-tags {
    background: var(--idj-primary);
    color: #ffffff;
    border: none;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}

.idj-show-more-tags:hover {
    background: var(--idj-primary-hover);
}

/* ==========================================================================
   Phase 3: Quick Navigation Grid (after hero)
   ========================================================================== */
.idj-quick-nav-section {
    background: var(--idj-body-bg);
    padding: 2rem 0;
    border-bottom: 1px solid var(--idj-border-color);
}

.idj-quick-nav-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

@media (max-width: 767.98px) {
    .idj-quick-nav-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .idj-quick-nav-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1200px) {
    .idj-quick-nav-grid {
        grid-template-columns: repeat(8, 1fr);
    }
}

.quick-nav-card {
    padding: 1rem 0.75rem;
    gap: 6px;
}

.quick-nav-icon {
    width: 42px;
    height: 42px;
    font-size: 1.2rem;
}

.quick-nav-title {
    font-size: 0.82rem;
}

/* ==========================================================================
   Phase 3: Job Cards — Cleaner, Compact
   ========================================================================== */
.job-card {
    padding: 1.25rem;
    margin-bottom: 1rem;
    border-left-width: 3px !important;
}

.job-card-header {
    margin-bottom: 0.5rem;
    gap: 8px;
}

.org-badge {
    font-size: 0.72rem;
    padding: 3px 8px;
}

.job-title {
    font-size: 1.1rem;
    line-height: 1.4;
}

.job-meta-grid {
    margin: 0.75rem 0;
    padding: 8px 12px;
    font-size: 0.84rem;
    gap: 8px;
}

.job-actions {
    margin-top: 0.75rem;
    gap: 8px;
}

.btn-primary-idj {
    font-size: 0.82rem;
    padding: 0.4rem 1rem;
}

.btn-outline-idj {
    font-size: 0.82rem;
    padding: 0.4rem 0.9rem;
}

/* "View More" hidden job cards */
.idj-jobs-hidden {
    display: none;
}

.idj-jobs-hidden.show {
    display: block;
}

.idj-load-more-jobs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 0.75rem 1.5rem;
    margin-top: 1rem;
    background: var(--idj-body-bg);
    border: 2px dashed var(--idj-border-color);
    border-radius: var(--idj-radius);
    color: var(--idj-primary);
    font-weight: 700;
    font-size: 0.92rem;
    cursor: pointer;
    transition: all 0.2s;
}

.idj-load-more-jobs:hover {
    background: rgba(11, 94, 215, 0.05);
    border-color: var(--idj-primary);
}

/* ==========================================================================
   Phase 3: Closing Soon / Deadline Widget
   ========================================================================== */
.idj-deadline-card {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border: 1px solid #f59e0b;
    border-radius: var(--idj-radius);
    padding: 1rem 1.25rem;
    margin-bottom: 1rem;
}

[data-theme="dark"] .idj-deadline-card {
    background: linear-gradient(135deg, #451a03, #78350f);
    border-color: #b45309;
}

.idj-deadline-card .idj-deadline-title {
    font-weight: 700;
    font-size: 0.92rem;
    color: #92400e;
}

[data-theme="dark"] .idj-deadline-card .idj-deadline-title {
    color: #fde68a;
}

.idj-deadline-card .idj-deadline-date {
    font-size: 0.78rem;
    color: #b45309;
    font-weight: 600;
}

/* ==========================================================================
   Phase 3: Sidebar Widgets
   ========================================================================== */
.idj-sidebar-widget {
    background: var(--idj-card-bg);
    border: 1px solid var(--idj-border-color);
    border-radius: var(--idj-radius);
    padding: 1.25rem;
    margin-bottom: 1.25rem;
    box-shadow: var(--idj-shadow-sm);
}

.idj-sidebar-widget-title {
    font-family: var(--idj-font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--idj-text-main);
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--idj-border-color);
}

/* Telegram CTA card in sidebar */
.idj-telegram-cta {
    background: linear-gradient(135deg, #0088cc, #005580);
    border: none;
    color: #ffffff;
}

.idj-telegram-cta .idj-sidebar-widget-title {
    color: #ffffff;
    border-bottom-color: rgba(255,255,255,0.2);
}

/* Countdown widget in sidebar */
.idj-sidebar-countdown {
    background: linear-gradient(135deg, #1e1b4b, #312e81);
    border: 1px solid rgba(255,255,255,0.1);
    color: #ffffff;
}

.countdown-digits-wrapper {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.digit-box {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    padding: 8px 12px;
    text-align: center;
    min-width: 56px;
}

.digit-val {
    font-family: 'Roboto Mono', 'Inter', monospace;
    font-size: 1.35rem;
    font-weight: 800;
    color: #fbbf24;
    line-height: 1;
}

.digit-lbl {
    font-size: 0.62rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255,255,255,0.7);
    margin-top: 4px;
}

/* ==========================================================================
   Phase 3: State Grid Compact
   ========================================================================== */
.idj-state-icon-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 1rem 0.5rem;
    background: var(--idj-card-bg);
    border: 1px solid var(--idj-border-color);
    border-radius: var(--idj-radius-sm);
    text-decoration: none;
    color: var(--idj-text-main);
    text-align: center;
    transition: all 0.2s ease;
    box-shadow: var(--idj-shadow-sm);
}

.idj-state-icon-card:hover {
    border-color: var(--idj-primary);
    transform: translateY(-3px);
    box-shadow: var(--idj-shadow-md);
    color: var(--idj-primary);
}

.idj-state-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.idj-state-name {
    font-weight: 700;
    font-size: 0.78rem;
    line-height: 1.2;
}

.idj-state-icon-card .badge {
    font-size: 0.62rem;
}

/* ==========================================================================
   Phase 3: Summary Cards (Results, Admit Cards, Syllabus, etc.)
   ========================================================================== */
.idj-summary-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 1rem;
    background: var(--idj-card-bg);
    border: 1px solid var(--idj-border-color);
    border-radius: var(--idj-radius-sm);
    text-decoration: none;
    color: var(--idj-text-main);
    transition: all 0.2s ease;
    box-shadow: var(--idj-shadow-sm);
}

.idj-summary-card:hover {
    border-color: var(--idj-primary);
    transform: translateY(-2px);
    box-shadow: var(--idj-shadow-md);
    color: var(--idj-primary);
}

.idj-summary-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.idj-summary-info h6 {
    font-weight: 700;
    font-size: 0.92rem;
    margin-bottom: 2px;
}

.idj-summary-info p {
    font-size: 0.78rem;
    color: var(--idj-text-muted);
    margin-bottom: 0;
}

/* ==========================================================================
   Phase 3: Full-width CTA Banners
   ========================================================================== */
.idj-cta-banner {
    padding: 2.5rem 0;
}

.idj-cta-banner-inner {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.idj-cta-banner h3 {
    font-family: var(--idj-font-heading);
    font-weight: 800;
}

/* Telegram community banner */
.idj-telegram-banner {
    background: linear-gradient(135deg, #0088cc 0%, #005580 100%);
    color: #ffffff;
}

/* ==========================================================================
   Phase 3: Desktop max-width constraint
   ========================================================================== */
@media (min-width: 1400px) {
    .container {
        max-width: 1200px;
    }
}

/* ==========================================================================
   Phase 3: Mobile refinements
   ========================================================================== */
@media (max-width: 575.98px) {
    .idj-section-title {
        font-size: 1.25rem;
    }

    .idj-section-header {
        padding-bottom: 0.75rem;
        margin-bottom: 1rem;
    }

    .idj-summary-card {
        padding: 0.75rem;
    }

    .idj-summary-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    .idj-summary-info h6 {
        font-size: 0.82rem;
    }

    .hero-title {
        font-size: 1.6rem;
    }
}

@media (max-width: 399.98px) {
    .hero-title {
        font-size: 1.35rem;
    }

    .idj-section-title {
        font-size: 1.1rem;
    }
}

@media (min-width: 1200px) {
    .hero-title {
        font-size: 2.5rem;
    }
}

/* ==========================================================================
   Phase 4: Article / Job Page UI Design System
   ========================================================================== */

/* --- Article Body Typography --- */
.job-article-content {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--idj-text-main);
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.job-article-content p {
    margin-bottom: 1rem;
}

.job-article-content h2 {
    font-family: var(--idj-font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--idj-primary);
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--idj-gray-200);
    position: relative;
    padding-left: 14px;
}

.job-article-content h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0.5rem;
    width: 4px;
    background: var(--idj-primary);
    border-radius: 4px;
}

.job-article-content h3 {
    font-family: var(--idj-font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--idj-text-main);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.job-article-content h4 {
    font-family: var(--idj-font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--idj-text-main);
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
}

.job-article-content ul,
.job-article-content ol {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.job-article-content li {
    margin-bottom: 0.35rem;
}

.job-article-content blockquote {
    border-left: 4px solid var(--idj-primary);
    background: var(--idj-gray-100);
    padding: 1rem 1.25rem;
    margin: 1.5rem 0;
    border-radius: 0 var(--idj-radius-sm) var(--idj-radius-sm) 0;
    font-style: italic;
    color: var(--idj-text-muted);
}

.job-article-content a {
    color: var(--idj-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.job-article-content a:hover {
    color: var(--idj-primary-hover);
    text-decoration: underline;
}

/* --- Article White Card Wrapper --- */
.idj-article-card {
    background: var(--idj-card-bg);
    border-radius: var(--idj-radius);
    padding: 1.5rem;
    box-shadow: var(--idj-shadow-sm);
    border: 1px solid var(--idj-border-color);
}

/* --- Table Styling (inside article content) --- */
.job-article-content .table-responsive {
    margin-bottom: 1.25rem;
    border-radius: var(--idj-radius-sm);
    overflow: hidden;
    border: 1px solid var(--idj-border-color);
}

.job-article-content table {
    margin-bottom: 0;
    font-size: 0.88rem;
}

.job-article-content table thead th {
    background: var(--idj-primary);
    color: #fff;
    font-weight: 600;
    font-size: 0.85rem;
    border-color: var(--idj-primary-hover);
    white-space: nowrap;
}

.job-article-content table th {
    background: var(--idj-gray-100);
    font-weight: 600;
    color: var(--idj-text-main);
    min-width: 120px;
}

.job-article-content table td {
    color: var(--idj-text-main);
}

.job-article-content table tbody tr:nth-child(even) {
    background-color: rgba(11, 94, 215, 0.02);
}

.job-article-content table tbody tr:hover {
    background-color: rgba(11, 94, 215, 0.06);
    transition: background-color 0.2s ease;
}

/* --- Quick Info / Highlight Box --- */
.job-highlight-box,
.job-article-content .job-highlight-box {
    background: var(--idj-card-bg);
    border: 1px solid var(--idj-border-color);
    border-left: 4px solid var(--idj-primary);
    border-radius: var(--idj-radius-sm);
    padding: 1.25rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--idj-shadow-sm);
}

.job-highlight-box h2 {
    padding-left: 0;
    border-bottom: none;
    margin-top: 0;
}

.job-highlight-box h2::before {
    display: none;
}

/* --- Official Source Notice Box --- */
.official-source-box {
    background: linear-gradient(135deg, rgba(11, 94, 215, 0.04) 0%, rgba(25, 135, 84, 0.04) 100%);
    border: 1px solid var(--idj-border-color);
    border-left: 4px solid var(--idj-success);
    border-radius: var(--idj-radius-sm) !important;
}

/* --- Featured Image Styling --- */
.job-featured-image,
.job-banner {
    margin-bottom: 1.5rem;
}

.job-featured-image img,
.job-banner img {
    border-radius: var(--idj-radius);
    box-shadow: var(--idj-shadow-sm);
    width: 100%;
    height: auto;
}

.job-featured-image figcaption,
.job-banner figcaption {
    text-align: center;
    font-size: 0.8rem;
    color: var(--idj-text-muted);
    margin-top: 0.5rem;
    font-style: italic;
}

/* --- Share Widget Compact --- */
.idj-job-share-widget {
    background: var(--idj-card-bg) !important;
    border: 1px solid var(--idj-border-color) !important;
    border-radius: var(--idj-radius-sm) !important;
    padding: 0.75rem 1rem !important;
    box-shadow: var(--idj-shadow-sm) !important;
}

.idj-job-share-widget .btn {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    font-size: 0.85rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.idj-job-share-widget .btn:hover {
    transform: scale(1.15);
    box-shadow: var(--idj-shadow-sm);
}

/* --- TOC Styling --- */
.idj-toc-container {
    border: 1px solid var(--idj-border-color) !important;
    background: var(--idj-card-bg) !important;
    overflow: hidden;
}

.idj-toc-list li {
    padding: 0.35rem 0;
    border-bottom: 1px solid var(--idj-gray-100);
    transition: padding-left 0.2s ease;
}

.idj-toc-list li:last-child {
    border-bottom: none;
}

.idj-toc-list li:hover {
    padding-left: 6px;
}

.idj-toc-list a {
    color: var(--idj-text-main);
    transition: color 0.2s ease;
}

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

/* --- Breadcrumb Hero Banner Article --- */
.idj-article-hero {
    background: linear-gradient(135deg, #0f4c5c 0%, #1f2421 100%);
}

.breadcrumb-dark .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.4);
}

/* --- FAQ Accordion Styling --- */
.job-article-content .accordion-item {
    border: 1px solid var(--idj-border-color);
    border-radius: var(--idj-radius-sm) !important;
    margin-bottom: 0.5rem;
    overflow: hidden;
}

.job-article-content .accordion-button {
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.85rem 1.15rem;
    background: var(--idj-card-bg);
    color: var(--idj-text-main);
}

.job-article-content .accordion-button:not(.collapsed) {
    background: rgba(11, 94, 215, 0.06);
    color: var(--idj-primary);
    box-shadow: none;
}

.job-article-content .accordion-body {
    padding: 0.85rem 1.15rem;
    font-size: 0.88rem;
    color: var(--idj-text-muted);
}

/* --- Important Links Section --- */
.job-article-content .btn-success,
.job-article-content .btn-danger,
.job-article-content .btn-primary {
    font-size: 0.82rem;
    border-radius: 6px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.job-article-content .btn-success:hover,
.job-article-content .btn-danger:hover,
.job-article-content .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: var(--idj-shadow-sm);
}

/* --- Sidebar Widgets (Article) --- */
.col-lg-4 > .card {
    border-radius: var(--idj-radius) !important;
    border: 1px solid var(--idj-border-color) !important;
    overflow: hidden;
    transition: box-shadow 0.2s ease;
}

.col-lg-4 > .card:hover {
    box-shadow: var(--idj-shadow-md);
}

/* --- Related Jobs Cards --- */
.job-article-content ~ section .card,
section[aria-label="Related Jobs"] .card,
section[aria-label="Latest Jobs"] .card {
    border-radius: var(--idj-radius-sm) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid var(--idj-border-color);
}

section[aria-label="Related Jobs"] .card:hover,
section[aria-label="Latest Jobs"] .card:hover {
    transform: translateY(-3px);
    box-shadow: var(--idj-shadow-md);
}

/* --- Prev/Next Navigation --- */
nav[aria-label="Job Navigation"] {
    background: var(--idj-card-bg) !important;
    border: 1px solid var(--idj-border-color) !important;
    border-radius: var(--idj-radius-sm) !important;
}

nav[aria-label="Job Navigation"] .btn {
    font-size: 0.78rem;
    max-width: 45%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* --- Alert & Callout Boxes (inside content) --- */
.job-article-content .alert {
    border-radius: var(--idj-radius-sm);
    font-size: 0.88rem;
}

.job-article-content .marathi-callout,
.job-article-content .hindi-callout {
    background: linear-gradient(135deg, rgba(255, 153, 51, 0.08) 0%, rgba(255, 153, 51, 0.02) 100%);
    border: 1px solid rgba(255, 153, 51, 0.25);
    border-left: 4px solid var(--idj-secondary);
    border-radius: var(--idj-radius-sm);
    padding: 1rem 1.25rem;
    margin-bottom: 1.25rem;
}

/* --- Ad Container Containment (Article) --- */
.job-article-content ins,
.job-article-content .adsbygoogle {
    max-width: 100%;
    overflow: hidden;
    display: block;
}

/* --- Nested Layout Fix (MPSC Answer Key style pages) --- */
.job-article-content > .row,
.job-article-content > div > .row {
    margin-left: 0;
    margin-right: 0;
}

.job-article-content .col-lg-4,
.job-article-content .col-lg-8 {
    padding-left: 0;
    padding-right: 0;
}

/* --- Overview Table Header Row --- */
.job-article-content .overview-table thead th {
    background: var(--idj-primary);
    color: #fff;
}

/* ==========================================================================
   Phase 4: Dark Mode Article Overrides
   ========================================================================== */
[data-theme="dark"] .job-article-content {
    color: var(--idj-text-main);
}

[data-theme="dark"] .job-article-content h2 {
    color: #60a5fa;
    border-bottom-color: var(--idj-gray-200);
}

[data-theme="dark"] .job-article-content h2::before {
    background: #60a5fa;
}

[data-theme="dark"] .job-article-content h3,
[data-theme="dark"] .job-article-content h4 {
    color: var(--idj-text-main);
}

[data-theme="dark"] .job-article-content table th {
    background: var(--idj-gray-200);
    color: var(--idj-text-main);
}

[data-theme="dark"] .job-article-content table thead th {
    background: #1e40af;
    border-color: #1e3a8a;
}

[data-theme="dark"] .job-article-content table td {
    color: var(--idj-text-main);
}

[data-theme="dark"] .job-article-content table tbody tr:nth-child(even) {
    background-color: rgba(96, 165, 250, 0.04);
}

[data-theme="dark"] .job-article-content table tbody tr:hover {
    background-color: rgba(96, 165, 250, 0.08);
}

[data-theme="dark"] .job-highlight-box {
    background: var(--idj-card-bg);
    border-color: var(--idj-border-color);
    border-left-color: #60a5fa;
}

[data-theme="dark"] .official-source-box {
    background: rgba(96, 165, 250, 0.06);
    border-color: var(--idj-border-color);
    border-left-color: var(--idj-success);
}

[data-theme="dark"] .idj-toc-list li {
    border-bottom-color: var(--idj-gray-200);
}

[data-theme="dark"] .idj-toc-list a {
    color: var(--idj-text-main);
}

[data-theme="dark"] .idj-toc-list a:hover {
    color: #60a5fa;
}

[data-theme="dark"] .job-article-content .accordion-button {
    background: var(--idj-card-bg);
    color: var(--idj-text-main);
}

[data-theme="dark"] .job-article-content .accordion-button:not(.collapsed) {
    background: rgba(96, 165, 250, 0.1);
    color: #60a5fa;
}

[data-theme="dark"] .job-article-content .accordion-body {
    color: var(--idj-text-muted);
}

[data-theme="dark"] .job-article-content blockquote {
    background: var(--idj-gray-100);
    border-left-color: #60a5fa;
    color: var(--idj-text-muted);
}

[data-theme="dark"] .marathi-callout,
[data-theme="dark"] .hindi-callout {
    background: rgba(255, 153, 51, 0.06);
    border-color: rgba(255, 153, 51, 0.2);
}

[data-theme="dark"] .idj-article-card {
    background: var(--idj-card-bg);
    border-color: var(--idj-border-color);
}

/* ==========================================================================
   Phase 4: Article Page Responsive Breakpoints
   ========================================================================== */
@media (max-width: 991.98px) {
    /* Sidebar stacks below on tablet/mobile */
    .col-lg-4 > .card {
        margin-bottom: 1rem;
    }

    .idj-article-card {
        padding: 1rem;
    }
}

@media (max-width: 767.98px) {
    .job-article-content {
        font-size: 0.9rem;
        line-height: 1.75;
    }

    .job-article-content h2 {
        font-size: 1.2rem;
        margin-top: 1.5rem;
    }

    .job-article-content h3 {
        font-size: 1.05rem;
    }

    .job-article-content h4 {
        font-size: 0.95rem;
    }

    .job-article-content table {
        font-size: 0.8rem;
    }

    .job-article-content table th {
        min-width: 90px;
    }

    /* Share widget stacks */
    .idj-job-share-widget {
        flex-direction: column !important;
        gap: 0.5rem !important;
        text-align: center;
    }

    /* Prev/Next nav */
    nav[aria-label="Job Navigation"] {
        flex-direction: column !important;
        text-align: center;
    }

    nav[aria-label="Job Navigation"] .btn {
        max-width: 100%;
        width: 100%;
    }

    /* Hero breadcrumb compact */
    .bg-primary.text-white.py-4 h1 {
        font-size: 1.2rem;
    }
}

@media (max-width: 575.98px) {
    .job-article-content {
        font-size: 0.88rem;
    }

    .job-article-content h2 {
        font-size: 1.1rem;
        padding-left: 12px;
    }

    .job-article-content h3 {
        font-size: 1rem;
    }

    .job-article-content .table-responsive {
        border-radius: 6px;
    }

    .idj-article-card {
        padding: 0.75rem;
        border-radius: var(--idj-radius-sm);
    }

    .job-highlight-box {
        padding: 1rem;
    }

    /* TOC compact */
    .idj-toc-container .card-header {
        padding: 0.5rem 0.75rem !important;
    }

    .idj-toc-list li {
        padding: 0.25rem 0;
        font-size: 0.82rem;
    }

    /* Comments section compact */
    #comments-section .card-header {
        padding: 0.75rem !important;
    }

    #comments-section .card-body {
        padding: 0.75rem !important;
    }
}

/* ==========================================================================
   Phase 10B: Mobile CSS & Responsive Layout Repairs
   ========================================================================== */

/* --- 1. Search Box Card Controls Fix --- */
.search-box-card .form-control,
.search-box-card .form-select,
.search-input-group .form-control,
.search-input-group .form-select {
    border: 1px solid var(--idj-border-color, #cbd5e1);
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    border-radius: 10px;
    color: var(--idj-text-main, #1e293b);
    background-color: var(--idj-card-bg, #ffffff);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    height: 48px;
    width: 100%;
}

.search-box-card .form-control:focus,
.search-box-card .form-select:focus,
.search-input-group .form-control:focus,
.search-input-group .form-select:focus {
    border-color: var(--idj-primary, #0b5ed7);
    box-shadow: 0 0 0 3px rgba(11, 94, 215, 0.2);
    outline: none;
}

.search-box-card .btn-search-hero {
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

/* --- 2. Newsletter Section Mobile Form Styling --- */
#newsletter-form .form-control {
    border-radius: 10px !important;
    padding: 0.75rem 1.25rem !important;
    font-size: 1rem !important;
    height: 50px !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.06) !important;
    background-color: #ffffff !important;
    color: #1e293b !important;
}

#newsletter-form .btn-warning {
    border-radius: 10px !important;
    height: 50px !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

/* --- 3. Telegram Banner High-Contrast Typography --- */
.idj-telegram-banner,
.idj-telegram-banner h3,
.idj-telegram-banner p,
.idj-telegram-banner i {
    color: #ffffff !important;
}

.idj-telegram-banner h3 {
    font-weight: 800;
    letter-spacing: -0.02em;
}

.idj-telegram-banner p {
    opacity: 0.95 !important;
    font-size: 1.05rem;
}

/* --- 4. State Job Cards Mobile Height Fix --- */
.idj-state-icon-card {
    height: 100%;
    min-height: 90px;
    justify-content: center;
    padding: 0.75rem 0.5rem;
}

@media (max-width: 575.98px) {
    .idj-state-icon-card {
        padding: 0.6rem 0.35rem;
        min-height: 80px;
        gap: 4px;
    }
    .idj-state-icon {
        width: 34px;
        height: 34px;
        font-size: 0.95rem;
        border-radius: 8px;
    }
    .idj-state-name {
        font-size: 0.75rem;
    }
    .idj-state-icon-card .badge {
        font-size: 0.6rem;
        padding: 2px 6px;
    }
}

/* --- 5. Category & Quick Nav Icon Display Safeguards --- */
.quick-nav-icon,
.idj-summary-icon,
.brand-badge-icon,
.idj-state-icon {
    font-family: "Font Awesome 6 Free", "FontAwesome", sans-serif;
    font-weight: 900;
    line-height: 1;
}

.quick-nav-icon i,
.idj-summary-icon i,
.brand-badge-icon i,
.idj-state-icon i {
    display: inline-block;
    line-height: 1;
}

/* --- 6. Mock Test Purple Button Baseline Fix --- */
.btn-purple,
a.btn-purple,
.btn-outline-purple,
a.btn-outline-purple {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0.45rem 1rem !important;
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    border-radius: 50rem !important;
    text-decoration: none !important;
    text-align: center !important;
    box-shadow: 0 2px 6px rgba(126, 34, 206, 0.25) !important;
    transition: all 0.2s ease !important;
}

.btn-purple:hover,
a.btn-purple:hover,
.btn-outline-purple:hover,
a.btn-outline-purple:hover {
    text-decoration: none !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(126, 34, 206, 0.4) !important;
}

/* --- 7. Sticky Advertisement Mobile Clearance --- */
@media (max-width: 767.98px) {
    body {
        padding-bottom: 85px !important;
    }
    footer.footer-section,
    footer {
        padding-bottom: 90px !important;
    }
}

/* --- 8. Mobile Floating Widgets Positioning --- */
@media (max-width: 575.98px) {
    .idj-sticky-social-bar {
        top: 60% !important;
    }
    .idj-push-bell {
        bottom: 85px !important;
        right: 14px !important;
        width: 46px !important;
        height: 46px !important;
        font-size: 1rem !important;
    }
}

/* --- 9. Mobile Responsive Typography & Spacing --- */
@media (max-width: 767.98px) {
    .hero-title {
        font-size: clamp(1.4rem, 5vw, 2rem) !important;
        margin-bottom: 0.5rem !important;
    }
    .hero-subtitle {
        font-size: clamp(0.9rem, 3.5vw, 1.1rem) !important;
        margin-bottom: 1.25rem !important;
    }
    .hero-section {
        padding: 2.25rem 0 3rem !important;
    }
    .search-box-card {
        padding: 1rem !important;
        border-radius: 14px !important;
    }
}

/* ==========================================================================
   PHASE 13-B: RESPONSIVE COMPACT STATE JOBS GRID (8/6/4/3/2 COLUMNS)
   ========================================================================== */

/* Desktop ≥1200px: 8 Columns Grid */
@media (min-width: 1200px) {
    .row-cols-xl-8 > * {
        flex: 0 0 auto !important;
        width: 12.5% !important;
    }
}

/* Mobile <576px: 2 Columns Compact Layout */
@media (max-width: 575.98px) {
    .idj-state-grid-mobile > * {
        flex: 0 0 auto !important;
        width: 50% !important;
    }
    .idj-state-icon-card {
        padding: 0.45rem 0.3rem !important;
        min-height: 68px !important;
        gap: 3px !important;
    }
    .idj-state-icon {
        width: 26px !important;
        height: 26px !important;
        font-size: 0.8rem !important;
        border-radius: 6px !important;
    }
    .idj-state-name {
        font-size: 0.72rem !important;
        font-weight: 700 !important;
        line-height: 1.1 !important;
    }
    .idj-state-icon-card .badge {
        font-size: 0.58rem !important;
        padding: 2px 4px !important;
        white-space: normal !important;
        line-height: 1.15 !important;
    }
}


/* Phase 13-C: Disable floating speed dial overlap */
.idj-speed-dial-container { display: none !important; }
.idj-push-bell { display: none !important; }
