/* Estilo para a página de Autenticação */
.auth-container {
    max-width: 500px;
    margin: 100px auto 50px;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    text-align: center;
    background: linear-gradient(180deg, #ffffff 0%, #f8fdf9 100%);
    font-family: 'Poppins', sans-serif;
    animation: fadeIn 0.6s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

.auth-container h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2em;
    color: #222;
    margin-bottom: 25px;
    border-bottom: 2px solid #00c800;
    display: inline-block;
    padding-bottom: 5px;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.auth-form label {
    text-align: left;
    font-weight: 500;
    color: #555;
    margin-bottom: -10px;
    display: block;
}

.auth-form input[type="text"],
.auth-form input[type="email"],
.auth-form input[type="password"],
.auth-form input[type="tel"] {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.auth-form input:focus {
    border-color: #00c800;
    box-shadow: 0 0 0 3px rgba(0, 200, 0, 0.25);
    outline: none;
}

.button {
    background-color: #00c800;
    color: rgba(255, 255, 255, 0.95);
    border: 1px solid #00c800;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 200, 0, 0.1);
    margin-top: 30px;
    text-decoration: none;
    display: inline-flex;
}

.button:hover {
    background-color: #fff;
    color: #00c800;
    border: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 200, 0, 0.2);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.profile-update-section {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.delete-account-section {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

/* Estilo para o botão de apagar */
.delete-button {
    background-color: #dc3545; /* Vermelho de aviso */
    border-color: #dc3545;
}

.delete-button:hover {
    background-color: #fff;
    border-color: #dc3545;
    color: #dc3545;
}

.auth-links {
    margin-top: 20px;
    font-size: 14px;
    text-align: left;
}

.auth-links a {
    color: #00c800;
    text-decoration: none;
    font-weight: 600;
}

.auth-links a:hover {
    text-decoration: underline;
}

/* Responsividade para telemóveis */
@media (max-width: 550px) {
    .auth-container {
        margin-top: 70px;
        padding: 20px;
        border-radius: 0;
        box-shadow: none;
    }

    .auth-container h2 {
        font-size: 1.5em;
    }
}
.error-message {
    color: #dc3545; /* Vermelho para destaque */
    background-color: #f8d7da; /* Fundo mais claro */
    border: 1px solid #f5c6cb;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 20px;
}