/* =========================================
RESET
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* =========================================
FUNDO
========================================= */

.login-wrapper {
    min-height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 24px;
    background:
        radial-gradient(circle at top left, rgba(37, 99, 235, 0.18), transparent 28%),
        radial-gradient(circle at bottom right, rgba(59, 130, 246, 0.10), transparent 24%),
        #020617;
}

/* =========================================
CARD LOGIN
========================================= */

.login-card {
    width: 100%;
    max-width: 430px;
    background: rgba(15, 23, 42, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 28px;
    padding: 42px;
    backdrop-filter: blur(14px);
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.35),
        0 0 0 1px rgba(255, 255, 255, 0.02);
}

/* =========================================
LOGO / TÍTULOS
========================================= */

.login-logo-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 34px;
    text-align: center;
}

.login-logo-area img {
    width: 88px;
    height: 88px;
    object-fit: cover;
    border-radius: 22px;
    margin-bottom: 20px;
    border: 2px solid rgba(59, 130, 246, 0.25);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.25);
}

.titulo {
    font-size: 30px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
    letter-spacing: 0.3px;
}

.subtitulo {
    font-size: 14px;
    color: #94a3b8;
    line-height: 1.5;
    max-width: 280px;
}

/* =========================================
FORMULÁRIO
========================================= */

form {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.campo {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.campo label {
    font-size: 13px;
    font-weight: 600;
    color: #cbd5e1;
}

.campo input {
    width: 100%;
    height: 48px;
    border-radius: 14px;
    border: 1px solid rgba(59, 130, 246, 0.18);
    background: rgba(2, 6, 23, 0.90);
    padding: 0 16px;
    color: #ffffff;
    font-size: 14px;
    transition: 0.2s ease;
}

.campo input::placeholder {
    color: #64748b;
}

.campo input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
}

/* =========================================
BOTÃO
========================================= */

.btn-login {
    width: 100%;
    height: 50px;
    border: none;
    border-radius: 14px;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s ease;
    margin-top: 6px;
}

.btn-login:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.25);
}

/* =========================================
ERRO
========================================= */

.erro {
    width: 100%;
    margin-bottom: 22px;
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.20);
    color: #fca5a5;
    font-size: 13px;
    text-align: center;
}

/* =========================================
RESPONSIVIDADE
========================================= */

@media (max-width: 768px) {

    .login-card {
        padding: 30px 24px;
        border-radius: 24px;
    }

    .titulo {
        font-size: 26px;
    }

    .subtitulo {
        font-size: 13px;
    }

    .login-logo-area img {
        width: 76px;
        height: 76px;
    }

}