:root {
    --clockit-bg: #030712;
    --clockit-bg-dark: #020617;
    --clockit-card: #071B3A;
    --clockit-primary: #0B5ED7;
    --clockit-accent: #18D3E8;
    --clockit-text: #FFFFFF;
}

/* GLOBAL */
html,
body {
    margin: 0;
    padding: 0;
    min-height: 100%;
    background: var(--clockit-bg);
    font-family: 'Segoe UI', sans-serif;
    overflow-x: hidden;
    color: white;
}

/* NAVBAR */
.navbar-clockit {
    background: rgba(2, 6, 23, 0.95);
    border-bottom: 1px solid rgba(24, 211, 232, 0.15);
    backdrop-filter: blur(8px);
}

    .navbar-clockit .navbar-brand {
        color: #ffffff !important;
        font-weight: 700;
    }

    .navbar-clockit .nav-link {
        color: rgba(255,255,255,0.88) !important;
        transition: 0.3s ease;
    }

        .navbar-clockit .nav-link:hover {
            color: var(--clockit-accent) !important;
        }

/* ================================
   NAVIGATION / DROPDOWN LAYERING
   ================================ */

.navbar {
    position: relative;
    z-index: 1050;
    overflow: visible !important;
}

    .navbar .container,
    .navbar .container-fluid {
        position: relative;
        z-index: 1050;
        overflow: visible !important;
    }

    .navbar .dropdown {
        position: relative;
    }

    .navbar .dropdown-menu {
        position: absolute;
        z-index: 2000 !important;
    }

main {
    position: relative;
    z-index: 1;
}


/* MAIN LANDING PAGE */
.clockit-landing {
    min-height: calc(100vh - 70px);
    background: linear-gradient( 90deg, rgba(2, 6, 23, 0.98) 0%, rgba(3, 7, 18, 0.95) 18%, rgba(5, 20, 55, 0.92) 42%, rgba(8, 55, 125, 0.95) 75%, rgba(14, 95, 190, 0.96) 100% );
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
}

/* HERO CARD */
.clockit-landing-card {
    width: 75%;
    max-width: 1050px;
    min-height: 460px;
    background: linear-gradient( 90deg, rgba(7, 12, 30, 0.82), rgba(10, 45, 110, 0.68) );
    border: 1px solid rgba(24, 211, 232, 0.15);
    box-shadow: 0 25px 80px rgba(0,0,0,0.45), 0 0 50px rgba(11,94,215,0.22);
    padding: 80px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* LOGO */
.clockit-landing-logo {
    width: 460px;
    max-width: 100%;
    object-fit: contain;
    margin-bottom: 55px;
    filter: drop-shadow(0 0 18px rgba(24, 211, 232, 0.30)) drop-shadow(0 0 40px rgba(11, 94, 215, 0.25));
    transition: all 0.3s ease;
}
/* TITLE */
.clockit-landing h1 {
    font-size: 56px;
    font-weight: 800;
    color: white;
    margin-bottom: 28px;
}

/* DESCRIPTION */
.clockit-landing p {
    font-size: 19px;
    color: rgba(255,255,255,0.92);
    max-width: 900px;
    line-height: 1.8;
    margin-bottom: 40px;
}

/* BUTTON GROUP */
.clockit-button-group {
    display: flex;
    gap: 24px;
}

/* BUTTONS */
.btn-clockit-white {
    background: white;
    color: #071B3A;
    border: none;
    border-radius: 4px;
    padding: 12px 30px;
    min-width: 110px;
    font-weight: 600;
    transition: all 0.3s ease;
}

    .btn-clockit-white:hover {
        background: var(--clockit-accent);
        color: white;
    }

/* GENERAL SYSTEM CARD */
.clockit-card {
    background: rgba(7, 27, 58, 0.95);
    border: 1px solid rgba(24, 211, 232, 0.15);
    border-radius: 14px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.35);
    padding: 24px;
}

/* SYSTEM BUTTONS */
.btn-clockit {
    background: linear-gradient( 135deg, var(--clockit-primary), var(--clockit-accent) );
    border: none;
    color: white;
    border-radius: 8px;
    padding: 10px 22px;
    font-weight: 600;
}

    .btn-clockit:hover {
        opacity: 0.92;
        color: white;
    }

/* RESPONSIVE */
@media(max-width: 768px) {

    .clockit-landing-card {
        width: 95%;
        padding: 50px 24px;
    }

    .clockit-landing h1 {
        font-size: 34px;
    }

    .clockit-landing p {
        font-size: 15px;
    }

    .clockit-button-group {
        flex-direction: column;
    }

    .btn-clockit-white {
        width: 180px;
    }
}

/* BIOMETRIC SCAN PAGE */
.biometric-page {
    min-height: calc(100vh - 70px);
    background: linear-gradient( 90deg, rgba(2, 6, 23, 0.98) 0%, rgba(3, 7, 18, 0.95) 18%, rgba(5, 20, 55, 0.92) 42%, rgba(8, 55, 125, 0.95) 75%, rgba(14, 95, 190, 0.96) 100% );
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
}

.biometric-card {
    width: 100%;
    max-width: 900px;
    min-height: 620px;
    background: rgba(5, 15, 35, 0.72);
    border: 1px solid rgba(24, 211, 232, 0.18);
    box-shadow: 0 25px 80px rgba(0,0,0,0.45), 0 0 50px rgba(11,94,215,0.22);
    padding: 50px 40px;
    text-align: center;
    color: white;
}

    .biometric-card h2 {
        font-size: 36px;
        font-weight: 800;
        margin-bottom: 18px;
    }

.biometric-instruction {
    font-size: 17px;
    color: rgba(255,255,255,0.88);
    margin-bottom: 35px;
}

.face-scan-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 32px;
}

.face-scan-circle {
    width: 360px;
    height: 360px;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
    background: #020617;
    border: 3px solid rgba(24, 211, 232, 0.8);
    box-shadow: 0 0 25px rgba(24, 211, 232, 0.45), inset 0 0 35px rgba(11, 94, 215, 0.35);
}

    .face-scan-circle video {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.scan-ring {
    position: absolute;
    inset: 16px;
    border-radius: 50%;
    border: 2px dashed rgba(255,255,255,0.55);
    pointer-events: none;
}

.biometric-status {
    display: inline-block;
    min-width: 320px;
    padding: 14px 22px;
    border-radius: 10px;
    background: rgba(7, 27, 58, 0.95);
    border: 1px solid rgba(24, 211, 232, 0.25);
    color: white;
    font-weight: 600;
}

    .biometric-status.success {
        border-color: rgba(34, 197, 94, 0.8);
        color: #22C55E;
    }

    .biometric-status.error {
        border-color: rgba(239, 68, 68, 0.8);
        color: #EF4444;
    }

    .biometric-status.info {
        border-color: rgba(24, 211, 232, 0.8);
        color: #18D3E8;
    }

.close-button {
    color: white;
    text-decoration: none;
    font-size: 28px;
    font-weight: 300;
    transition: 0.2s ease;
}

    .close-button:hover {
        color: #1ed5ff;
        transform: scale(1.1);
    }

.btn-clockit-outline {
    background: transparent;
    border: 1px solid #1ed5ff;
    color: white;
    border-radius: 10px;
    padding: 12px 18px;
    transition: 0.3s ease;
}

    .btn-clockit-outline:hover {
        background: rgba(30, 213, 255, 0.15);
        color: white;
    }
.attendance-success {
    text-align: center;
    animation: fadeIn 0.3s ease;
}

.success-check {
    width: 78px;
    height: 78px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: rgba(0, 255, 163, 0.12);
    border: 2px solid #00ffa3;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00ffa3;
    font-size: 42px;
    font-weight: bold;
}

.success-title {
    color: #00ffa3;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
}

.success-student {
    color: #ffffff;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 4px;
}

.success-number {
    color: #9fb3d9;
    font-size: 17px;
}

.verification-container {
    min-height: calc(100vh - 70px);
    display: flex;
    justify-content: center;
    align-items: center;
}

.verification-panel {
    width: 850px;
    padding: 50px;
    background: rgba(0, 20, 60, 0.85);
    border: 1px solid #00d4ff;
    box-shadow: 0 0 25px rgba(0,212,255,.25);
    text-align: center;
}

    .verification-panel h1 {
        color: white;
        font-weight: 700;
        margin-top: 20px;
    }

.verification-subtitle {
    color: #d9e6ff;
    margin-top: 15px;
    margin-bottom: 35px;
}

.fingerprint-icon {
    font-size: 140px;
    color: #00d4ff;
    text-shadow: 0 0 25px rgba(0,212,255,.6);
}

.verify-btn {
    background: transparent;
    border: 2px solid #00d4ff;
    color: #00d4ff;
    padding: 14px 40px;
    font-size: 20px;
    border-radius: 10px;
    transition: all .2s ease;
}

    .verify-btn:hover {
        background: #00d4ff;
        color: #001b44;
    }

.status-panel {
    margin-top: 35px;
    padding: 18px;
    border: 2px solid #00d4ff;
    border-radius: 10px;
    color: #00d4ff;
    font-weight: 600;
}

/* Bootstrap modals */
.modal-content {
    color: #212529;
}

    .modal-content .form-label,
    .modal-content .form-check-label,
    .modal-content label {
        color: #212529 !important;
    }

    .modal-content .text-muted {
        color: #6c757d !important;
    }