/* password.css (Versión Profesionalizada) */

/* Reutilizamos las variables de login.css/style.css, asegurando consistencia */
:root {
    --card-bg: #282828; /* Fondo un poco más oscuro y saturado para la tarjeta */
    --primary-color: #007bff; /* Azul vibrante para énfasis */
    --text-color: #ffffff;
    --light-grey-text: #b0b0b0;
    --input-bg: #3c3c3c; /* Fondo de input más oscuro para contraste */
    --input-border: #666666;
}

/* --- Contenedor Principal (Caja del formulario) --- */
.password-container {
    width: 100%;
    max-width: 420px; /* Tamaño ligeramente reducido para un look más centrado */
    background-color: var(--card-bg);
    padding: 40px 30px;
    border-radius: 15px; /* Bordes más redondeados */
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.9); /* Sombra más intensa y profesional */
    text-align: center;
    color: var(--text-color);
    /* margin: 50px auto; se maneja por el body display: flex */
    border: 1px solid #3c3c3c; /* Borde sutil */
}

/* Centrado vertical y fondo oscuro */
body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #101010; /* Asumimos este es el fondo de style.css */
}

/* --- Títulos y Texto --- */
.password-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-color);
    letter-spacing: 0.5px;
}

.password-instruction {
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--light-grey-text);
    margin-bottom: 35px;
}

/* --- Formulario y Elementos --- */
.password-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    text-align: left;
}

.form-label {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 5px;
    display: block;
    color: var(--light-grey-text);
}

/* Estilo mejorado para el Input Group */
.input-group {
    display: flex;
    align-items: center;
    background-color: var(--input-bg);
    border: 2px solid var(--input-border); /* Borde más definido */
    border-radius: 10px; /* Bordes más suaves */
    padding: 0 15px;
    height: 50px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.input-group:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.3); /* Resplandor azul al enfocar */
}

.input-icon {
    color: var(--primary-color); /* Icono del color de énfasis */
    margin-right: 12px;
    font-size: 1.1rem;
}

.input-group input {
    flex-grow: 1;
    background: transparent;
    border: none;
    color: var(--text-color);
    outline: none;
    font-size: 1rem;
    height: 100%;
    padding: 0;
}

.input-group input::placeholder {
    color: #888;
    font-weight: 300;
}


/* --- Botón Principal (Con degradado y efecto 3D sutil) --- */
.password-btn {
    /* El resto del estilo es el mismo que .btn-primary en login.css */
    width: 100%;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 30px; 
    
    /* Degradado más moderno */
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: var(--text-color);
    box-shadow: 0 5px 20px rgba(0, 123, 255, 0.4); /* Sombra para levantamiento */
    transition: all 0.3s ease;
}

.password-btn:hover {
    background: linear-gradient(135deg, #0056b3 0%, #007bff 100%);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.6);
    transform: translateY(-2px);
}

/* --- Opción de Iniciar Sesión --- */
.login-option {
    margin-top: 35px;
    font-size: 0.95rem;
    color: var(--light-grey-text);
}

.login-link {
    color: var(--primary-color); /* Color azul primario */
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.login-link:hover {
    color: #66b2ff;
    text-decoration: underline;
}