/* ===== Reset e box-sizing ===== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ===== Corpo da página ===== */
body {
    font-family: Arial, sans-serif;
    /* background: linear-gradient(135deg, #ECEFF1, #CFD8DC); */
    background: #f8f9fa;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

/* ===== Container principal ===== */
.login-wrapper {
    width: 100%;
    max-width: 450px;
}

/* ===== Box do login ===== */
.login-container {
    background: #fff;
    padding: 30px 25px;
    border-radius: 12px;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
    width: 100%;
    transition: all 0.3s ease;
}

.login-container h2 {
    text-align: center;
    margin-bottom: 25px;
    color: #333;
}

/* ===== Inputs ===== */
.group-input {
    margin: 15px 0;
}

.group-input input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 12px;
    transition: all 0.2s;
}

.group-input input:focus {
    border-color: #4CAF50;
    box-shadow: 0 0 8px rgba(76, 175, 80, 0.4);
    outline: none;
}

/* ===== Botões ===== */
.btn {
    width: 100%;
    padding: 10px 20px;
    /* um pouco mais largo para melhor clique */
    background: #007bff;
    /* azul primário */
    color: #fff;
    border: none;
    cursor: pointer;
    border-radius: 6px;
    font-size: 14px;
    /* um pouco maior para legibilidade */
    transition: background 0.3s, transform 0.2s;
    white-space: nowrap;
}

.btn:hover {
    background: #0056b3;
    /* azul mais escuro no hover para contraste */
    transform: scale(1.05);
    /* leve efeito de crescimento */
}

/* ===== Links ===== */
.links {
    text-align: center;
    margin-top: 15px;
    font-size: 12px;
}

.links a {
    color: #1E90FF;
    text-decoration: none;
    margin: 0 5px;
    transition: all 0.2s;
}

.links a:hover {
    color: #0000EE;
    text-decoration: underline;
}

/* ===== Modal reuse ===== */
.modal {
    display: none;
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.modal-content {
    background: #fff;
    margin: 10% auto;
    padding: 25px;
    border-radius: 12px;
    width: 90%;
    max-width: 450px;
}

/* ===== Botão fechar modal ===== */
.close {
    float: right;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: black;
}

/* ===== Responsividade ===== */
@media (max-width: 480px) {

    .login-container,
    .modal-content {
        padding: 20px;
    }

    .group-input input,
    .btn {
        font-size: 12px;
        padding: 10px;
    }

    .links {
        font-size: 12px;
    }
}