
/* ========================================
   CONFIGURAÇÕES GERAIS
======================================== */

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

body {
    font-family: Arial, Helvetica, sans-serif;
    min-height: 100vh;
    background: #101B2D;
    color: #E8EDF2;
}

/* ========================================
   CONTAINER PRINCIPAL
======================================== */

.login-container {
    min-height: 100vh;

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

    padding: 25px;

    background: #101B2D;
}

/* ========================================
   CARTÃO DE LOGIN
======================================== */

.login-card {
    width: 100%;
    max-width: 430px;

    background: #172536;

    padding: 42px 38px;

    border: 1px solid #303C49;
    border-top: 4px solid #E32636;

    border-radius: 12px;

    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.30);
}

/* ========================================
   LOGO
======================================== */

.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;

    margin-bottom: 28px;
}

.logo-empresa {
    width: 245px;
    max-height: 175px;
    height: auto;
    object-fit: contain;
}

/* ========================================
   CABEÇALHO
======================================== */

.login-header {
    text-align: center;
    margin-bottom: 32px;
}

.login-header h1 {
    color: #E8EDF2;

    font-size: 27px;
    font-weight: 700;

    margin-bottom: 9px;
}

.login-header p {
    color: #9BA8B5;
    font-size: 14px;
}

/* ========================================
   CAMPOS
======================================== */

.input-group {
    margin-bottom: 22px;
}

.input-group label {
    display: block;

    color: #E8EDF2;

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

    margin-bottom: 9px;
}

.input-group input {
    width: 100%;
    height: 48px;

    padding: 0 14px;

    background: #202D3B;
    color: #E8EDF2;

    border: 1px solid #303C49;
    border-radius: 6px;

    font-size: 14px;

    outline: none;

    transition: 0.2s ease;
}

.input-group input::placeholder {
    color: #9BA8B5;
}

.input-group input:focus {
    border-color: #E32636;

    box-shadow: 0 0 0 3px rgba(227, 38, 54, 0.15);
}

/* ========================================
   CAMPO DE SENHA
======================================== */

.password-container {
    position: relative;
}

.password-container input {
    padding-right: 75px;
}

.toggle-password {
    position: absolute;

    right: 12px;
    top: 50%;

    transform: translateY(-50%);

    background: transparent;
    border: none;

    color: #9BA8B5;

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

    cursor: pointer;
}

.toggle-password:hover {
    color: #E32636;
}

/* ========================================
   MENSAGEM DE ERRO
======================================== */

.mensagem-erro {
    display: none;

    color: #FF8585;
    background: #35212A;

    padding: 11px;
    margin-bottom: 17px;

    border-radius: 5px;
    border-left: 3px solid #E32636;

    font-size: 13px;
}

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

.btn-entrar {
    width: 100%;
    height: 49px;

    background: #E32636;
    color: #FFFFFF;

    border: none;
    border-radius: 6px;

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

    cursor: pointer;

    transition: 0.25s ease;
}

.btn-entrar:hover {
    background: #C91E2D;

    box-shadow: 0 4px 12px rgba(227, 38, 54, 0.25);
}

.btn-entrar:active {
    transform: scale(0.99);
}

.btn-entrar:disabled {
    background: #555D68;
    cursor: not-allowed;
    box-shadow: none;
}

/* ========================================
   RODAPÉ
======================================== */

.login-footer {
    text-align: center;

    margin-top: 30px;
    padding-top: 20px;

    border-top: 1px solid #303C49;
}

.login-footer p {
    color: #9BA8B5;

    font-size: 11px;

    margin-bottom: 7px;
}

.login-footer span {
    color: #E32636;

    font-size: 12px;
    font-weight: 600;
}

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

@media (max-width: 480px) {

    .login-container {
        padding: 15px;
    }

    .login-card {
        padding: 32px 23px;
    }

    .login-header h1 {
        font-size: 24px;
    }

    .logo-empresa {
        width: 155px;
    }

}

