/**
 * Master Stylesheet
 * Portal Informasi TKA KONAWE SELATAN
 */

:root {
    --primary: #0f2b5c;
    --primary-dark: #0a1d3f;
    --primary-light: #1e40af;
    --accent: #f59e0b;
    --accent-hover: #d97706;
    --secondary: #059669;
    --secondary-dark: #047857;
    --secondary-light: #10b981;
    --dark: #0f172a;
    --light-bg: #f8fafc;
    --card-bg: #ffffff;
    --border-color: #e2e8f0;
    --text-muted: #64748b;
    --text-dark: #1e293b;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --shadow-soft: 0 4px 20px -2px rgba(15, 43, 92, 0.08);
    --shadow-hover: 0 12px 30px -5px rgba(15, 43, 92, 0.16);
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--light-bg);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography & Headings */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.02em;
}

/* Top Notification / Running Ticker */
.top-bar-ticker {
    background: linear-gradient(90deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: #e2e8f0;
    font-size: 0.85rem;
    padding: 7px 0;
    border-bottom: 2px solid var(--accent);
}

.top-bar-ticker a {
    color: #fde047;
    text-decoration: none;
    font-weight: 600;
}

/* Header & Navbar */
.site-header {
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.brand-section {
    padding: 12px 0;
}

.brand-logo-img {
    height: 58px;
    width: auto;
    object-fit: contain;
}

.brand-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.2;
    margin-bottom: 2px;
}

.brand-subtitle {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

.main-navbar {
    background-color: var(--primary);
    padding: 0;
}

.main-navbar .navbar-nav .nav-link {
    color: #f1f5f9;
    font-weight: 600;
    font-size: 0.92rem;
    padding: 14px 16px;
    transition: all 0.2s ease;
    border-bottom: 3px solid transparent;
}

.main-navbar .navbar-nav .nav-link:hover,
.main-navbar .navbar-nav .nav-link.active {
    color: #ffffff;
    background-color: rgba(255,255,255,0.08);
    border-bottom-color: var(--accent);
}

.main-navbar .dropdown-menu {
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-hover);
    padding: 8px;
}

.main-navbar .dropdown-item {
    font-weight: 600;
    font-size: 0.88rem;
    padding: 8px 16px;
    border-radius: 6px;
    color: var(--text-dark);
}

.main-navbar .dropdown-item:hover {
    background-color: #eff6ff;
    color: var(--primary);
}

/* Mobile Responsive Navbar */
@media (max-width: 991.98px) {
    .main-navbar {
        padding: 6px 0;
    }
    .main-navbar .navbar-toggler {
        background-color: rgba(255, 255, 255, 0.12);
        border: 1px solid rgba(255, 255, 255, 0.25) !important;
        border-radius: 8px;
    }
    .main-navbar .navbar-toggler:focus {
        box-shadow: 0 0 0 2px var(--accent);
    }
    .main-navbar .navbar-collapse {
        background-color: #0c2146;
        border-radius: 12px;
        padding: 12px 16px;
        margin-top: 10px;
        border: 1px solid rgba(255, 255, 255, 0.15);
        box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
    }
    .main-navbar .navbar-nav .nav-link {
        padding: 10px 14px;
        border-radius: 8px;
        margin-bottom: 2px;
        border-bottom: none;
        display: flex;
        align-items: center;
    }
    .main-navbar .navbar-nav .nav-link:hover,
    .main-navbar .navbar-nav .nav-link.active {
        background-color: rgba(255, 255, 255, 0.12);
        color: #fde047;
    }
    .main-navbar .dropdown-menu {
        background-color: #081730;
        border: 1px solid rgba(255, 255, 255, 0.15);
        margin: 4px 0 8px 12px;
        padding: 6px;
    }
    .main-navbar .dropdown-item {
        color: #cbd5e1;
        padding: 9px 14px;
    }
    .main-navbar .dropdown-item:hover {
        background-color: rgba(255, 255, 255, 0.12);
        color: #fde047;
    }
    .brand-section {
        padding: 10px 0;
    }
    .brand-logo-img {
        height: 44px;
    }
    .brand-title {
        font-size: 1.05rem;
    }
    .hero-title {
        font-size: clamp(1.4rem, 5vw, 1.9rem);
    }
    .hero-title-line1,
    .hero-title-line2 {
        display: inline-block;
        white-space: nowrap;
    }
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #0a1e42 0%, #0f2b5c 50%, #173874 100%);
    color: #ffffff;
    position: relative;
    padding: 60px 0 70px 0;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at 80% 20%, rgba(245, 158, 11, 0.15), transparent 40%),
                radial-gradient(circle at 20% 80%, rgba(5, 150, 105, 0.15), transparent 40%);
    pointer-events: none;
}

.hero-badge {
    background: rgba(245, 158, 11, 0.2);
    color: #fde047;
    border: 1px solid rgba(245, 158, 11, 0.4);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.hero-title {
    font-size: 2.6rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 18px;
    position: relative;
    z-index: 2;
}

.hero-title-line1 {
    display: inline-block;
    white-space: nowrap;
}

.hero-title-line2 {
    display: inline-block;
    white-space: nowrap;
}

.hero-lead {
    font-size: 1.1rem;
    color: #cbd5e1;
    margin-bottom: 25px;
    max-width: 620px;
    position: relative;
    z-index: 2;
}

/* Hero Title Wrapper & Watermark Logo Kabupaten */
.hero-title-wrap {
    position: relative;
    display: inline-block;
    max-width: 100%;
}

.hero-watermark-logo {
    position: absolute;
    top: 10px;
    left: 45%;
    transform: translateX(-50%);
    width: 290px;
    height: 290px;
    pointer-events: none;
    z-index: 1;
    opacity: 0.22;
    user-select: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

/* Lingkaran aura putih lembut di belakang logo */
.hero-watermark-logo::before {
    content: '';
    position: absolute;
    width: 75%;
    height: 75%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0.12) 45%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}

/* Bayangan putih di sekeliling logo transparan */
.hero-watermark-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.9)) 
            drop-shadow(0 0 25px rgba(255, 255, 255, 0.6)) 
            drop-shadow(0 0 45px rgba(255, 255, 255, 0.3));
}

@media (max-width: 991.98px) {
    .hero-watermark-logo {
        left: 50%;
        top: 8px;
        transform: translateX(-50%);
        width: 235px;
        height: 235px;
        opacity: 0.22;
    }
}

@media (max-width: 575.98px) {
    .hero-badge {
        font-size: 0.72rem;
        padding: 5px 12px;
        letter-spacing: 0.3px;
        margin-bottom: 12px;
    }
    .hero-title {
        font-size: clamp(1.2rem, 5.8vw, 1.55rem);
        line-height: 1.22;
        margin-bottom: 14px;
    }
    .hero-title-line1,
    .hero-title-line2 {
        display: inline-block;
        white-space: nowrap;
    }
    .hero-watermark-logo {
        width: 190px;
        height: 190px;
        top: 6px;
        opacity: 0.20;
    }
}

@media (max-width: 420px) {
    .hero-title {
        font-size: clamp(1.1rem, 5.2vw, 1.35rem);
    }
    .hero-watermark-logo {
        width: 165px;
        height: 165px;
        top: 4px;
        opacity: 0.18;
    }
}

@media (max-width: 360px) {
    .hero-title {
        font-size: 1.05rem;
    }
    .hero-watermark-logo {
        width: 145px;
        height: 145px;
        top: 4px;
        opacity: 0.17;
    }
}

/* Tombol Simulasi Mandiri (CBT) di Hero */
.btn-hero-simulasi {
    background-color: rgba(245, 158, 11, 0.35) !important;
    border: 2px solid rgba(245, 158, 11, 0.8) !important;
    color: #ffffff !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 50px;
    padding: 12px 28px;
    font-weight: 700;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-hero-simulasi i {
    color: #ffffff !important;
    transition: transform 0.3s ease;
}

.btn-hero-simulasi:hover,
.btn-hero-simulasi:focus,
.btn-hero-simulasi:active {
    background-color: #f59e0b !important;
    border-color: #f59e0b !important;
    color: #ffffff !important;
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.65), 0 0 15px rgba(253, 224, 71, 0.5) !important;
    transform: translateY(-2px);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
}

.btn-hero-simulasi:hover i {
    transform: scale(1.15);
}

/* Fast Search Card in Hero */
.quick-search-box {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255,255,255,0.4);
    color: var(--text-dark);
}

.quick-search-box h4 {
    color: var(--primary);
    font-size: 1.2rem;
    font-weight: 700;
}

/* Hero Kadis Animated Card Box */
.hero-kadis-box {
    position: relative;
    display: inline-block !important;
    width: fit-content !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 3.5px !important; /* Ketebalan garis bingkai animasi bergerak */
    border-radius: 22px !important;
    overflow: hidden;
    box-sizing: border-box !important;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.45);
    animation: kadisBoxGlow 6s ease-in-out infinite alternate;
    transition: transform 0.3s ease;
}

.hero-kadis-box:hover {
    transform: translateY(-3px);
}

/* Background gradient berputar 360 derajat untuk garis bingkai bergerak & berganti warna */
.hero-kadis-box::before {
    content: '';
    position: absolute;
    top: -60%;
    left: -60%;
    width: 220%;
    height: 220%;
    background: conic-gradient(
        from 0deg,
        #f59e0b 0deg,
        #ef4444 60deg,
        #ec4899 120deg,
        #8b5cf6 180deg,
        #06b6d4 240deg,
        #10b981 300deg,
        #f59e0b 360deg
    );
    animation: kadisBorderRotate 5s linear infinite;
    z-index: 1;
}

@keyframes kadisBorderRotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes kadisBoxGlow {
    0% {
        filter: drop-shadow(0 6px 18px rgba(245, 158, 11, 0.45));
    }
    25% {
        filter: drop-shadow(0 6px 22px rgba(236, 72, 153, 0.45));
    }
    50% {
        filter: drop-shadow(0 6px 22px rgba(139, 92, 246, 0.45));
    }
    75% {
        filter: drop-shadow(0 6px 22px rgba(6, 182, 212, 0.45));
    }
    100% {
        filter: drop-shadow(0 6px 18px rgba(16, 185, 129, 0.45));
    }
}

.hero-kadis-inner {
    position: relative;
    z-index: 2;
    border-radius: 19px;
    background: linear-gradient(145deg, rgba(14, 32, 68, 0.95), rgba(7, 18, 42, 0.98));
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    padding: 22px 24px;
    text-align: center;
    box-sizing: border-box;
}

.hero-kadis-title {
    font-size: 0.96rem;
    font-weight: 700;
    letter-spacing: 0.2px;
    line-height: 1.35;
    white-space: nowrap;
}

.hero-kadis-name {
    font-size: 1.1rem;
    line-height: 1.35;
    word-break: normal;
    overflow-wrap: break-word;
}

.hero-kadis-nip {
    font-size: 0.82rem;
}

@media (max-width: 767.98px) {
    .hero-kadis-inner {
        padding: 16px 16px;
    }
    .hero-kadis-title {
        font-size: 0.90rem;
    }
    .hero-kadis-name {
        font-size: 1.02rem;
    }
    .hero-kadis-nip {
        font-size: 0.78rem;
    }
}

@media (max-width: 420px) {
    .hero-kadis-inner {
        padding: 14px 12px;
    }
    .hero-kadis-title {
        font-size: 0.82rem;
        white-space: normal;
    }
    .hero-kadis-name {
        font-size: 0.94rem;
    }
    .hero-kadis-nip {
        font-size: 0.74rem;
    }
}

@media (max-width: 360px) {
    .hero-kadis-title {
        font-size: 0.78rem;
        white-space: normal;
    }
}

/* Modern Cards */
.card-custom {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    overflow: hidden;
}

.card-custom:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.card-header-styled {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: #ffffff;
    padding: 16px 20px;
    font-weight: 700;
    border-bottom: none;
}

/* Stat Counter Cards */
.stat-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: 22px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-soft);
    display: flex;
    align-items: center;
    gap: 18px;
    transition: transform 0.2s ease;
}

.stat-card:hover {
    transform: translateY(-3px);
}

.stat-icon {
    width: 58px;
    height: 58px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
}

.stat-icon.primary { background: #e0e7ff; color: #3730a3; }
.stat-icon.success { background: #d1fae5; color: #065f46; }
.stat-icon.warning { background: #fef3c7; color: #92400e; }
.stat-icon.info { background: #e0f2fe; color: #075985; }

.stat-number {
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
}

/* Jenjang Cards (SD & SMP) */
.jenjang-card {
    border-radius: var(--radius-lg);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    background: #ffffff;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.jenjang-card.sd {
    border-color: #f59e0b;
}

.jenjang-card.sd .card-badge {
    background: #fef3c7;
    color: #b45309;
}

.jenjang-card.smp {
    border-color: #0284c7;
}

.jenjang-card.smp .card-badge {
    background: #e0f2fe;
    color: #0369a1;
}

.jenjang-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

/* Timeline & Schedule */
.timeline-list {
    position: relative;
    padding-left: 28px;
}

.timeline-list::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 5px;
    bottom: 5px;
    width: 3px;
    background: #e2e8f0;
}

.timeline-item {
    position: relative;
    margin-bottom: 22px;
}

.timeline-dot {
    position: absolute;
    left: -28px;
    top: 3px;
    width: 19px;
    height: 19px;
    border-radius: 50%;
    background: #ffffff;
    border: 4px solid var(--primary);
}

.timeline-item.active .timeline-dot {
    border-color: var(--accent);
    background: #fef3c7;
}

.timeline-item.completed .timeline-dot {
    border-color: var(--secondary);
    background: #d1fae5;
}

/* Simulation CBT Engine */
.cbt-container {
    background: #ffffff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-color);
    padding: 30px;
}

.cbt-header {
    background: #f8fafc;
    border-radius: var(--radius-sm);
    padding: 15px 20px;
    margin-bottom: 25px;
    border: 1px solid var(--border-color);
}

.timer-box {
    background: #1e293b;
    color: #fde047;
    font-family: 'Courier New', monospace;
    font-size: 1.4rem;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 8px;
    letter-spacing: 2px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.question-text {
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.6;
    color: #1e293b;
    margin-bottom: 20px;
}

.option-item {
    border: 2px solid var(--border-color);
    border-radius: 10px;
    padding: 12px 18px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.option-item:hover {
    border-color: var(--primary-light);
    background-color: #f0f7ff;
}

.option-item.selected {
    border-color: var(--primary);
    background-color: #eff6ff;
    font-weight: 600;
}

.option-badge {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--primary);
    flex-shrink: 0;
}

.option-item.selected .option-badge {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

.q-nav-btn {
    width: 42px;
    height: 42px;
    font-weight: 700;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    background: #ffffff;
    cursor: pointer;
    transition: all 0.2s ease;
}

.q-nav-btn.answered {
    background: var(--secondary);
    color: #ffffff;
    border-color: var(--secondary-dark);
}

.q-nav-btn.current {
    border: 2px solid var(--primary);
    background: #eff6ff;
    color: var(--primary);
}

/* Exam Card (Kartu Peserta) Print Styling */
.exam-card-print {
    border: 3px double #1e3a8a;
    padding: 24px;
    background: #ffffff;
    border-radius: 8px;
    max-width: 720px;
    margin: 0 auto;
    position: relative;
}

.exam-card-header {
    border-bottom: 2px solid #0f2b5c;
    padding-bottom: 12px;
    margin-bottom: 16px;
}

/* Certificate SKHTKA Digital */
.certificate-box {
    background: #ffffff;
    border: 8px double #b45309;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    max-width: 820px;
    margin: 0 auto;
    position: relative;
    background-image: radial-gradient(#fef3c7 1px, transparent 1px);
    background-size: 20px 20px;
}

/* Footer */
.site-footer {
    background: #09172e;
    color: #94a3b8;
    padding: 55px 0 25px 0;
    border-top: 4px solid var(--accent);
}

.site-footer h5 {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.site-footer a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s ease;
}

.site-footer a:hover {
    color: var(--accent);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    margin-top: 40px;
    font-size: 0.85rem;
}

/* ======================================================== */
/* VISITOR COUNTER SECTION STYLING                          */
/* ======================================================== */
.visitor-section {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    position: relative;
}

.visitor-main-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 20px -2px rgba(15, 43, 92, 0.08);
    border: 1px solid rgba(15, 43, 92, 0.08);
    overflow: hidden;
}

.visitor-odometer-container {
    background: linear-gradient(135deg, #09172e 0%, #0f2b5c 50%, #1e40af 100%);
    border-radius: var(--radius-md);
    padding: 24px 20px;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(15, 43, 92, 0.2);
}

.visitor-odometer-container::after {
    content: '';
    position: absolute;
    top: -40%;
    right: -20%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.visitor-odometer {
    display: inline-flex;
    gap: 6px;
    background: rgba(0, 0, 0, 0.4);
    padding: 8px 12px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.visitor-digit-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 48px;
    background: linear-gradient(180deg, #1e293b 0%, #0b1120 100%);
    color: #fbbf24;
    font-family: 'Courier New', Courier, monospace;
    font-size: 1.85rem;
    font-weight: 800;
    border-radius: 6px;
    border: 1px solid rgba(245, 158, 11, 0.5);
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.6), 0 3px 6px rgba(0,0,0,0.3);
    text-shadow: 0 0 10px rgba(251, 191, 36, 0.5);
}

@media (max-width: 576px) {
    .visitor-digit-box {
        width: 28px;
        height: 38px;
        font-size: 1.35rem;
    }
    .visitor-odometer {
        gap: 4px;
        padding: 6px 10px;
    }
}

.visitor-stat-mini-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: 18px 16px;
    border: 1px solid #e2e8f0;
    transition: all 0.25s ease;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.visitor-stat-mini-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px -3px rgba(15, 43, 92, 0.12);
    border-color: #cbd5e1;
}

.visitor-stat-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
}

.visitor-stat-icon.primary {
    background: rgba(15, 43, 92, 0.1);
    color: var(--primary);
}

.visitor-stat-icon.success {
    background: rgba(16, 185, 129, 0.12);
    color: var(--secondary);
}

.visitor-stat-icon.warning {
    background: rgba(245, 158, 11, 0.12);
    color: var(--accent);
}

.visitor-stat-icon.info {
    background: rgba(14, 165, 233, 0.12);
    color: #0284c7;
}

.visitor-stat-icon.purple {
    background: rgba(99, 102, 241, 0.12);
    color: #6366f1;
}

.visitor-stat-icon.danger {
    background: rgba(239, 68, 68, 0.12);
    color: #ef4444;
}

.visitor-stat-val {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.1;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.visitor-stat-lbl {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-bottom: 2px;
}

.visitor-stat-sub {
    font-size: 0.72rem;
    color: #94a3b8;
}

/* Print Overrides */
@media print {
    .no-print, .site-header, .site-footer, .top-bar-ticker, .btn, .main-navbar {
        display: none !important;
    }
    body {
        background: #ffffff;
        font-size: 12pt;
    }
    .exam-card-print, .certificate-box {
        border-color: #000000 !important;
        box-shadow: none !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 10px !important;
    }
}
