:root {
    --primary-color: #0A2F5B;
    --secondary-color: #00A896;
    --light-gray-color: #f4f7f6;
    --font-primary: 'Montserrat', sans-serif;
}
body, html {
    height: 100%;
    margin: 0;
    font-family: var(--font-primary);
    background-color: var(--light-gray-color);
}
.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}
.auth-box {
    background-color: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 400px;
    text-align: center;
}
.auth-box h1 {
    color: var(--primary-color);
    margin-bottom: 10px;
}
.auth-box p {
    color: #666;
    margin-bottom: 30px;
}
.input-group {
    margin-bottom: 20px;
    text-align: left;
}
.input-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #333;
}
.input-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}
.auth-button {
    width: 100%;
    padding: 15px;
    background-color: var(--secondary-color);
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.auth-button:hover {
    background-color: #008f7e;
}
.auth-link {
    margin-top: 20px;
    font-size: 0.9rem;
}
.auth-link a {
    color: var(--primary-color);
    font-weight: 700;
}
.error-message {
    background-color: #f8d7da;
    color: #721c24;
    padding: 10px;
    border: 1px solid #f5c6cb;
    border-radius: 5px;
    margin-bottom: 20px;
}







/* ... al final del archivo ... */

.success-message {
    background-color: #d4edda;
    color: #155724;
    padding: 10px;
    border: 1px solid #c3e6cb;
    border-radius: 5px;
    margin-bottom: 20px;
}


/* ... al final de auth.css ... */

/* Estilos para el campo de contraseña con icono */
.password-wrapper {
    position: relative;
}

.password-toggle-icon {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    color: #999;
    cursor: pointer;
}

/* Estilos para los requisitos de la contraseña */
.password-requirements {
    font-size: 0.8rem;
    color: #666;
    margin-top: 10px;
    text-align: left;
    padding-left: 10px;
}

.password-requirements p {
    margin: 5px 0;
    transition: color 0.3s ease;
}

/* Clases para indicar si un requisito se cumple o no */
.password-requirements .valid {
    color: #28a745; /* Verde */
}
.password-requirements .valid i {
    margin-right: 5px;
}
.password-requirements .invalid {
    color: #dc3545; /* Rojo */
}
.password-requirements .invalid i {
    margin-right: 5px;
}


.forgot-password-link { display: block; text-align: right; font-size: 0.8rem; margin-top: 5px; }