body {
    background-color: var(--azul-10);
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

main {
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 2rem;

    max-width: 40rem;
    padding: clamp(3rem, 5vw, 5rem);
    background-color: white;
    box-shadow: 0 0 1rem 0.5rem var(--azul-10);

    position: relative;
}

a#back {
    position: absolute;
    top: -2.5em;
    left: 0;

    font-size: 0.8em;
}

h1 {
    width: 100%;
    text-align: center;
}

form {
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 1rem;
    width: 100%;
    min-width: clamp(16rem, 40vw, 28rem);

    input {
        width: 100%;
        padding: 0.6em;
        border: 2px solid var(--azul-10);

        font-size: 1.2em;

        /* Placeholder */
        &::placeholder {
            color: var(--azul-20);
        }
    }

    button[type="submit"] {
        width: 100%;
        cursor: pointer;
        font-size: 1.2em;
        padding: 0.5rem;
        border: 2px solid var(--azul);
        background-color: white;
        color: var(--azul) !important;
    }
}

.password-field {
    width: 100%;
    position: relative;

    input {
        padding-right: 6rem;
    }
}

.password-toggle {
    position: absolute;
    top: 50%;
    right: 1.25rem;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    color: var(--azul-40);
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.25rem;
    line-height: 1;
}

div.bottom-phrases {
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 0.5rem;

    p {
        margin: 0;
    }

    a {
        font-weight: bold;
    }
}
