* {
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    height: 100vh;
    /* display: flex; */
    justify-content: center;
    /* align-items: center; */
}

.login-container {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    width: 100%;
    max-width: 350px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    margin-top: 20px;
    margin-left: auto;
    margin-right: auto;
}

.login-container h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #333;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
    color: #555;
}

.form-group input {
    width: 100%;
    padding: 0.6rem;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 0.9rem;
}

.username-wrapper,
.email-wrapper,
.password-wrapper,
.confirmar-password-wrapper,
.contacto-wrapper,
.genero-wrapper,
.chave-acesso-wrapper {
    position: relative;
}

.toggle-email,
.toggle-password,
.toggle-confirmar-password,
.toggle-contacto,
.toggle-genero,
.toggle-chave-acesso {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 0.8rem;
}

.genero-wrapper select {
    width: 100%;
    padding: 0.8rem;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 0.8rem;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: #fff;
}

button {
    width: 100%;
    padding: 0.7rem;
    border: none;
    border-radius: 5px;
    background: rgb(42, 42, 138);
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    margin-top: 1rem;
}

button:hover {
    background: #4338ca;
}

.error {
    text-align: center;
    font-size: 16px;
    color: red;
}

.msg-errors {
    color: red;
    font-size: 14px;
    transition: opacity 0.5s ease;
}

.msg-errors.hide {
    opacity: 0;
}

.txt-login {
    text-align: center;
}

.logo {
    height: 80px;
    display: flex;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
}


/* @media (max-width: 768px) {
    .login-container {
        margin-top: 70%;
    }
} */