body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #121212; /* Fondo oscuro */
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    color: #e0e0e0; /* Texto claro */
}

.container {
    background-color: #1e1e1e; /* Fondo tarjeta */
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    width: 400px;
}

.logo-container {
    text-align: center;
}

.login-logo {
    max-width: 280px;
    height: auto;
    filter: brightness(0.9);
}

h1 {
    text-align: center;
    color: #ffffff; /* Título en blanco */
    margin-bottom: 1.5rem;
}

/* Inputs */
input[type="email"],
input[type="password"] {
    width: 100%;
    padding: 0.75rem;
    margin-bottom: 1rem;
    border: 1px solid #333; 
    border-radius: 4px;
    background-color: #2b2b2b; /* Fondo input */
    color: #e0e0e0; /* Texto input */
    box-sizing: border-box;
    transition: border 0.3s ease, background 0.3s ease;
}

input[type="email"]::placeholder,
input[type="password"]::placeholder {
    color: #888; /* Placeholder más tenue */
}

input[type="email"]:focus,
input[type="password"]:focus {
    border: 1px solid #007bff; 
    outline: none;
    background-color: #333;
}

/* Botón */
button {
    width: 100%;
    padding: 0.75rem;
    border: none;
    border-radius: 4px;
    background-color: #007bff;
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.1s ease-in-out;
}

button:hover {
    background-color: #0056b3;
    transform: scale(1.02);
}

/* Enlace de recuperación de contraseña */
.forgot-password-link {
    text-align: center;
    margin-top: 1rem;
}

.forgot-password-link a {
    color: #007bff;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.forgot-password-link a:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* Estilos para las páginas de recuperación */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #121212;
    padding: 20px;
}

.login-box {
    background-color: #1e1e1e;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    width: 100%;
    max-width: 400px;
}

.login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.login-header h2 {
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.login-header p {
    color: #888;
    font-size: 0.9rem;
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #e0e0e0;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #333;
    border-radius: 4px;
    background-color: #2b2b2b;
    color: #e0e0e0;
    box-sizing: border-box;
    transition: border 0.3s ease, background 0.3s ease;
}

.form-group input:focus {
    border: 1px solid #007bff;
    outline: none;
    background-color: #333;
}

.form-group input.error {
    border: 1px solid #dc3545;
}

.login-btn {
    width: 100%;
    padding: 0.75rem;
    border: none;
    border-radius: 4px;
    background-color: #007bff;
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.1s ease-in-out;
}

.login-btn:hover {
    background-color: #0056b3;
    transform: scale(1.02);
}

.login-footer {
    text-align: center;
    margin-top: 1.5rem;
}

.back-link {
    color: #007bff;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* Estilos para requisitos de contraseña */
.password-requirements {
    margin-top: 10px;
    padding: 10px;
    background-color: #2a2d31;
    border-radius: 4px;
    border: 1px solid #444;
}

.password-requirements small {
    color: #888;
    font-size: 12px;
    display: block;
    margin-bottom: 8px;
}

.password-requirements ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.password-requirements li {
    color: #666;
    font-size: 11px;
    margin-bottom: 4px;
    padding-left: 20px;
    position: relative;
    transition: color 0.3s ease;
}

.password-requirements li:before {
    content: '✗';
    color: #dc3545;
    position: absolute;
    left: 0;
    font-weight: bold;
}

.password-requirements li.valid {
    color: #28a745;
}

.password-requirements li.valid:before {
    content: '✓';
    color: #28a745;
}