:root {
    --primary-color: #003366;
    --secondary-color: #0056b3;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

* {
    box-sizing: border-box;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;

    min-height: 100vh;
    margin: 0;
    padding: 20px;

    font-family: Arial, sans-serif;

    background-image: url('../images/Aulas.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}


/* ==============================
   CONTAINER
   ============================== */

.container {
    width: 100%;
    max-width: 420px;

    padding: 45px 40px;

    background: rgba(255, 255, 255, 0.92);

    border-radius: 20px;

    box-shadow: var(--shadow);

    text-align: center;
}


/* ==============================
   TÍTULO
   ============================== */

h2 {
    margin-bottom: 30px;

    font-size: 2rem;

    color: var(--primary-color);
}


/* ==============================
   INPUTS
   ============================== */

.entradas,
.entradas2 {
    width: 100%;

    padding: 12px 15px;

    margin-bottom: 18px;

    border: 2px solid transparent;

    border-radius: 10px;

    background: #f0f2f5;

    font-size: 1rem;

    font-family: Arial, sans-serif;

    transition:
        border-color 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}


/* ==============================
   FOCO
   ============================== */

.entradas:focus,
.entradas2:focus {
    outline: none;

    background: white;

    border-color: var(--secondary-color);

    box-shadow:
        0 0 0 4px rgba(0, 86, 179, 0.1);
}


/* ==============================
   PASSWORD
   ============================== */

.senha-container {
    position: relative;

    width: 100%;
}


.senha-container .entradas2 {
    padding-right: 50px;
}


/* ==============================
   BOTÃO DO OLHO
   ============================== */

.toggle-password {
    position: absolute;

    right: 8px;

    top: 0;

    width: 43px;
    height: 43px;

    padding: 0;

    border: none;

    background: transparent;

    cursor: pointer;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 6px;
}


/* ==============================
   IMAGEM DO OLHO
   ============================== */

.toggle-password img {
    width: 22px;
    height: 22px;

    display: block;

    object-fit: contain;
}


/* ==============================
   HOVER DO OLHO
   ============================== */

.toggle-password:hover {
    background: rgba(0, 86, 179, 0.08);
}


/* ==============================
   LINKS
   ============================== */

.alterar-container {
    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 10px;

    margin: 10px 0 20px;

    font-size: 0.85rem;
}


.altera-lb {
    color: var(--secondary-color);

    text-decoration: none;

    font-weight: 600;
}


.altera-lb:hover {
    text-decoration: underline;
}


/* ==============================
   BOTÃO SUBMIT
   ============================== */

.submit-button {
    width: 100%;

    padding: 14px;

    border: none;

    border-radius: 10px;

    background: var(--primary-color);

    color: white;

    font-size: 1rem;

    font-weight: 700;

    cursor: pointer;

    transition:
        background 0.2s ease,
        transform 0.1s ease;
}


.submit-button:hover {
    background: var(--secondary-color);
}


.submit-button:active {
    transform: scale(0.98);
}


/* ==============================
   ERROS
   ============================== */

.error {
    margin-bottom: 20px;

    padding: 12px;

    border-radius: 8px;

    background: #ffe5e5;

    color: #d63031;

    font-weight: 600;
}


/* ==============================
   RESPONSIVO
   ============================== */

@media (max-width: 480px) {

    body {
        padding: 15px;
    }

    .container {
        padding: 35px 22px;
    }

    .alterar-container {
        flex-direction: column;

        gap: 10px;

        align-items: center;
    }

}