/* =========================================
   NOVA HR ATTENDANCE SYSTEM
   ========================================= */

:root {
    --nova-green: #0B5D4B;
    --nova-dark-green: #084638;
    --nova-light-green: #EAF4F1;
    --nova-gold: #D6A84F;
    --nova-white: #FFFFFF;
    --nova-bg: #F4F8F6;
    --nova-text: #243B35;
    --nova-muted: #71827C;
    --nova-border: #D9E5E1;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;

    font-family:
        "Segoe UI",
        Roboto,
        Arial,
        sans-serif;

    background:
        linear-gradient(
            135deg,
            #F4F8F6 0%,
            #EAF4F1 100%
        );

    color: var(--nova-text);

    display: flex;
    align-items: center;
    justify-content: center;
}

/* Main container */

.login-container {
    width: 100%;
    max-width: 430px;
    padding: 20px;
}

/* Login card */

.login-card {
    background: var(--nova-white);

    border: none;
    border-radius: 18px;

    overflow: hidden;

    box-shadow:
        0 15px 45px rgba(8, 70, 56, 0.15);
}

/* Brand top line */

.brand-line {
    height: 5px;

    background:
        linear-gradient(
            90deg,
            var(--nova-green),
            var(--nova-gold)
        );
}

/* Header */

.login-header {
    padding: 32px 25px 20px;

    text-align: center;

    background: white;
}

.login-logo {
    max-width: 170px;
    max-height: 70px;

    margin-bottom: 15px;
}

.login-title {
    margin: 0;

    color: var(--nova-green);

    font-size: 24px;
    font-weight: 700;
}

.login-subtitle {
    margin-top: 6px;

    color: var(--nova-muted);

    font-size: 14px;
}

/* Body */

.login-body {
    padding: 25px 30px 30px;
}

/* Labels */

.form-label {
    color: var(--nova-text);

    font-size: 14px;
    font-weight: 600;

    margin-bottom: 7px;
}

/* Input */

.form-control {
    height: 48px;

    border: 1px solid var(--nova-border);

    border-radius: 8px;

    padding: 10px 14px;

    font-size: 15px;

    transition: 0.25s ease;
}

.form-control:focus {
    border-color: var(--nova-green);

    box-shadow:
        0 0 0 3px rgba(11, 93, 75, 0.12);
}

/* Continue button */

.btn-nova {
    width: 100%;

    height: 48px;

    border: none;
    border-radius: 8px;

    background: var(--nova-green);

    color: white;

    font-size: 15px;
    font-weight: 600;

    transition: 0.25s ease;
}

.btn-nova:hover {
    background: var(--nova-dark-green);

    color: white;

    transform: translateY(-1px);

    box-shadow:
        0 6px 15px rgba(11, 93, 75, 0.20);
}

/* Footer */

.login-footer {
    text-align: center;

    padding: 0 20px 25px;

    color: var(--nova-muted);

    font-size: 12px;
}

.login-footer strong {
    color: var(--nova-green);
}

/* Mobile */

@media (max-width: 480px) {

    .login-container {
        padding: 15px;
    }

    .login-header {
        padding-top: 25px;
    }

    .login-body {
        padding: 20px;
    }

    .login-title {
        font-size: 21px;
    }
}
.camera-container {
    width: 100%;
    background: #000;

    border-radius: 12px;

    overflow: hidden;

    margin-bottom: 18px;

    position: relative;
}

#camera {
    width: 100%;
    display: block;

    aspect-ratio: 4 / 3;

    object-fit: cover;
}

.photo-preview {
    width: 100%;

    aspect-ratio: 4 / 3;

    object-fit: cover;

    display: block;
}

#captureButton,
#retakeButton,
#submitButton {
    width: 100%;
}

#retakeButton {
    background: #6c757d;
}

#submitButton {
    background: #198754;
}