body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(to right, #ff512f, #dd2476);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 400px;
    padding: 20px;
    box-sizing: border-box;
}

.login-box {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    width: 100%;
    text-align: center;
}

.login-box h1 {
    font-family: 'Baloo 2', cursive;
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #333;
}

.login-box label {
    display: block;
    margin: 10px 0 5px;
    font-size: 1rem;
    color: #555;
}

.login-box input {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    color: #333;
    background-color: #fff;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: border-color 0.3s;
}

.login-box input:focus {
    border-color: #f39c12;
    outline: none;
}

.btn-login {
    display: inline-block;
    padding: 15px 30px;
    font-size: 1.2rem;
    font-weight: bold;
    color: white;
    background-color: #f39c12;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: transform 0.3s, background-color 0.3s;
    width: 100%;
}

.btn-login:hover {
    transform: scale(1.05);
    background-color: #e67e22;
}

.back-link {
    display: block;
    margin-top: 20px;
    color: #555;
    text-decoration: none;
    font-size: 0.9rem;
}

.back-link:hover {
    color: #f39c12;
}

/* Estilo da mensagem de erro */
.error-message {
    color: red;
    background-color: #ffe6e6;
    padding: 10px;
    border-radius: 5px;
    margin-top: 10px;
    text-align: center;
    font-size: 14px;
}


/* Estilo para o campo de senha com ícone de olho */
.password-container {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}

input[type="password"] {
    width: calc(100% - 30px); /* Ajusta o campo para dar espaço ao ícone */
}
