/* ===============================
   RESET GLOBAL (OBRIGATÓRIO)
   =============================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* ===============================
   BODY
   =============================== */
body {
    width: 100%;
    height: 100vh;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}

/* ===============================
   CONTAINER PRINCIPAL
   =============================== */
.box {
    background: #ffffff;
    width: 400px;
    height: 500px;
    border-radius: 10px;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 1s ease;
}

/* ===============================
   FACES (LOGIN / RECUPERAR)
   =============================== */
.front,
.back {
    position: absolute;
    width: 100%;
    height: 100%;
    padding: 20px;

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

    backface-visibility: hidden;
}

.front {
    transform: rotateY(0deg);
}

.back {
    transform: rotateY(180deg);
}

/* ===============================
   FORM
   =============================== */
form {
    width: 100%;
}

/* ===============================
   LOGO
   =============================== */
.logo {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
}

/* ===============================
   LABELS
   =============================== */
.form_label {
    display: block;
    margin-bottom: 5px;
    font-size: 18px;
    font-weight: bold;
    color: #052F5A;
}

/* ===============================
   CAMPOS DE TEXTO
   =============================== */
.form_field {
    width: 100%;
    height: 40px;
    padding: 0 10px;
    margin-bottom: 10px;

    border-radius: 5px;
    border: 1px solid #052F5A;

    font-size: 16px;
    color: #052F5A;
}

/* ===============================
   BOTÃO (LOGIN / RECUPERAR)
   =============================== */
.form_button {
    width: 100%;
    height: 42px;
    margin-top: 15px;

    background-color: #052F5A;
    color: #ffffff;

    border: none;
    border-radius: 5px;

    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}

.form_button:hover {
    opacity: 0.9;
}

/* ===============================
   LINK DE TEXTO
   =============================== */
.text-link {
    width: 100%;
    margin-top: 15px;
    text-align: center;
    cursor: pointer;
    color: #052F5A;
}

/* ===============================
   PASSWORD COM ÍCONE (OPCIONAL)
   =============================== */
.password-wrapper {
    position: relative;
    width: 100%;
}

.password-wrapper input {
    width: 100%;
    padding-right: 40px;
}

.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 18px;
    opacity: 0.6;
}

.toggle-password:hover {
    opacity: 1;
}
