:root {
    --bg-dark: #08142b;
    --bg-dark-2: #0d1b3d;
    --primary: #1f7cff;
    --secondary: #12cfe3;
    --white: #ffffff;
    --light: #eef4ff;
    --text: #1b2540;
    --muted: #6c7a96;
    --border: #dce6f7;
    --success: #16a34a;
    --danger: #dc2626;
    --shadow: 0 20px 50px rgba(0, 0, 0, 0.20);
    --radius: 22px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--bg-dark);
    color: var(--text);
}

.login-body {
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(31, 124, 255, 0.20), transparent 30%),
        radial-gradient(circle at bottom right, rgba(18, 207, 227, 0.18), transparent 30%),
        linear-gradient(135deg, #08142b 0%, #0b1834 50%, #08142b 100%);
}

.login-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: stretch;
    justify-content: center;
}

.login-left,
.login-right {
    width: 50%;
    min-height: 100vh;
}

.login-left {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
}

.brand-box {
    max-width: 520px;
    color: var(--white);
}

.logo-login {
    width: 280px;
    max-width: 100%;
    margin-bottom: 30px;
    filter: drop-shadow(0 8px 25px rgba(18, 207, 227, 0.18));
}

.brand-box h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 14px;
    letter-spacing: -1px;
}

.brand-box p {
    font-size: 17px;
    line-height: 1.7;
    color: rgba(255,255,255,0.85);
    margin-bottom: 28px;
}

.brand-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.brand-badges span {
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    color: #dffcff;
    font-size: 14px;
    font-weight: 500;
}

.login-right {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.login-card {
    width: 100%;
    max-width: 500px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 38px;
    border: 1px solid rgba(255,255,255,0.4);
}

.login-card-header {
    margin-bottom: 28px;
}

.login-card-header h2 {
    font-size: 30px;
    color: var(--text);
    margin-bottom: 8px;
}

.login-card-header p {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.6;
}

.login-form .form-group {
    margin-bottom: 18px;
}

.login-form label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
}

.login-form input[type="text"],
.login-form input[type="password"],
.login-form input[type="email"] {
    width: 100%;
    height: 52px;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 0 16px;
    font-size: 15px;
    outline: none;
    transition: 0.25s ease;
    background: #fbfdff;
}

.login-form input:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 4px rgba(18, 207, 227, 0.12);
    background: #fff;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    gap: 12px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--muted);
}

.link-light {
    text-decoration: none;
    color: var(--primary);
    font-size: 14px;
    font-weight: 600;
}

.btn-primary {
    width: 100%;
    height: 54px;
    border: none;
    border-radius: 16px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
    color: var(--white);
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    box-shadow: 0 12px 24px rgba(31, 124, 255, 0.25);
    transition: 0.25s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 28px rgba(31, 124, 255, 0.30);
}

.login-footer {
    margin-top: 24px;
    text-align: center;
    color: var(--muted);
    font-size: 13px;
}

/* RESPONSIVO */
@media (max-width: 980px) {
    .login-wrapper {
        flex-direction: column;
    }

    .login-left,
    .login-right {
        width: 100%;
        min-height: auto;
    }

    .login-left {
        padding: 40px 24px 10px;
    }

    .brand-box {
        text-align: center;
    }

    .brand-badges {
        justify-content: center;
    }

    .login-right {
        padding: 20px 20px 40px;
    }

    .logo-login {
        width: 220px;
    }

    .brand-box h1 {
        font-size: 32px;
    }
}

@media (max-width: 576px) {
    .login-card {
        padding: 26px 20px;
        border-radius: 18px;
    }

    .login-card-header h2 {
        font-size: 24px;
    }

    .form-options {
        flex-direction: column;
        align-items: flex-start;
    }

    .btn-primary {
        height: 50px;
        font-size: 15px;
    }
}

.ponto-acao-wrap{
    margin-top: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-bater-ponto{
    min-width: 320px;
    min-height: 120px;
    padding: 20px 32px;
    border: none;
    border-radius: 26px;
    cursor: pointer;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.3px;
    background: linear-gradient(90deg, #1f7cff, #12cfe3);
    box-shadow: 0 18px 35px rgba(31,124,255,0.22);
    transition: all .25s ease;
}

.btn-bater-ponto:hover{
    transform: translateY(-2px);
    box-shadow: 0 22px 38px rgba(31,124,255,0.28);
}

.camera-modal{
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(7, 14, 28, 0.78);
    backdrop-filter: blur(3px);
    z-index: 9999;
    padding: 16px;
    align-items: center;
    justify-content: center;
}

.camera-card{
    width: 100%;
    max-width: 460px;
    background: #ffffff;
    border-radius: 28px;
    padding: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.30);
    text-align: center;
}

.camera-title{
    font-size: 24px;
    font-weight: 700;
    color: #1b2540;
    margin-bottom: 8px;
}

.camera-subtitle{
    font-size: 14px;
    color: #6c7a96;
    margin-bottom: 18px;
}

.camera-video-wrap{
    width: 100%;
    border-radius: 22px;
    overflow: hidden;
    background: #eef4ff;
    border: 1px solid #dce6f7;
}

.camera-video-wrap video{
    display: block;
    width: 100%;
    height: auto;
    max-height: 65vh;
    object-fit: cover;
    background: #dfe8f5;
}

.camera-actions{
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 18px;
    flex-wrap: wrap;
}

.btn-camera-primary,
.btn-camera-secondary{
    min-width: 150px;
    height: 50px;
    border: none;
    border-radius: 16px;
    padding: 0 18px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 700;
    transition: .25s ease;
}

.btn-camera-primary{
    color: #fff;
    background: linear-gradient(90deg, #1f7cff, #12cfe3);
    box-shadow: 0 12px 24px rgba(31,124,255,0.22);
}

.btn-camera-primary:hover{
    transform: translateY(-1px);
}

.btn-camera-secondary{
    color: #1b2540;
    background: #eef4ff;
    border: 1px solid #dce6f7;
}

.btn-camera-secondary:hover{
    background: #e4eefc;
}

@media (max-width: 768px){
    .btn-bater-ponto{
        width: 100%;
        min-width: auto;
        min-height: 90px;
        font-size: 17px;
        border-radius: 22px;
    }

    .camera-card{
        max-width: 100%;
        padding: 16px;
        border-radius: 22px;
    }

    .camera-title{
        font-size: 21px;
    }

    .camera-actions{
        flex-direction: column;
    }

    .btn-camera-primary,
    .btn-camera-secondary{
        width: 100%;
        min-width: auto;
    }
}