:root {
    --bs-body-font-family: 'Inter', sans-serif;
    --heading-font: 'Plus Jakarta Sans', sans-serif;
    --primary-color: #00236f;
    --secondary-color: #006a61;
    --bg-color: #f8f9ff;
}

body {
    font-family: var(--bs-body-font-family);
    background-color: var(--bg-color);
    color: #0d1c2e;
    overflow-x: hidden;
}

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

.text-primary-custom {
    color: var(--primary-color) !important;
}

.bg-primary-custom {
    background-color: var(--primary-color) !important;
}

.text-secondary-custom {
    color: var(--secondary-color) !important;
}

/* Navbar Custom */
.navbar-glass {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border-radius: 1rem;
    padding: 0.5rem 1.5rem;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 640px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(2, 6, 23, 0.95);
    background: linear-gradient(to top, rgba(2, 6, 23, 0.95), rgba(2, 6, 23, 0.8), rgba(2, 6, 23, 0.8));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

/* Custom Cards */
.card-custom {
    border: 1px solid #e6eeff;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 35, 111, 0.05);
    transition: transform 0.2s, box-shadow 0.2s;
}

.card-custom:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 35, 111, 0.1);
}

.icon-box {
    width: 48px;
    height: 48px;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.material-symbols-outlined {
    vertical-align: middle;
}

section {
    padding: 2rem 0;
}

.border-dashed {
    border-style: dashed !important;
    border-width: 2px !important;
}

.btn-check:checked+.btn-outline-primary {
    background-color: var(--primary-container, #1e3a8a) !important;
    color: white !important;
}

/* Saat tombol BELUM DIPILIH */
.btn-check:not(:checked)+.btn-outline-primary {
    color: #212529 !important;
    /* Warna teks hitam/gelap */
}

#loginForm .form-control:focus {
    background-color: #ffffff !important;
    box-shadow: 0 0 0 2px rgba(0, 35, 111, 0.2) !important;
    border-color: var(--primary-color, #00236f) !important;
}

#registerForm .form-control:focus {
    background-color: #eff4ff !important;
    box-shadow: 0 0 0 2px rgba(0, 35, 111, 0.2) !important;
    border-color: var(--primary-color, #00236f) !important;
}

#registerForm .form-control.is-invalid {
    border-color: #dc3545 !important;
    background-image: none !important;
    /* Mencegah icon seru bawaan bootstrap bertumpuk dengan icon mata */
}

#registerForm .form-control.is-invalid:focus {
    box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.25) !important;
}

#registerForm button[type="submit"]:hover {
    background-color: var(--primary-color, #00236f) !important;
}

.countdown-number {
    font-family: var(--heading-font, 'Plus Jakarta Sans', sans-serif);
    font-size: 32px;
    letter-spacing: -0.02em;
}

@media (min-width: 576px) {
    .countdown-number {
        font-size: 48px;
    }
}

.countdown-box {
    transition: transform 0.2s ease;
}

.countdown-box:hover {
    transform: translateY(-2px);
}

@keyframes pulse-custom {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

.pulse-dot {
    animation: pulse-custom 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.form-control-search:focus {
    background-color: #ffffff !important;
    box-shadow: 0 0 0 2px var(--primary-color, #00236f) !important;
    outline: none;
}

/* =========================================
   Tambahan CSS Mobile (Max width 991.98px) 
   ========================================= */
@media (max-width: 991.98px) {
    .mobile-no-bg {
        background-color: transparent !important;
        border: none !important;
        padding: 0 !important;
        border-radius: 0 !important;
    }
}