/* Estilos para el sistema de recuperación de contraseña */

html,
body {
    background-image: url('../../imgs/fondo.png') !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    background-position: center center !important;
    background-color: transparent !important;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.password-recovery-container {
    width: 100%;
    padding: 20px;
}

.password-recovery-card {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    padding: 40px;
}

/* Indicador de pasos */
.pasos-container {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    position: relative;
}

.pasos-container::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 15%;
    right: 15%;
    height: 2px;
    background: #e0e0e0;
    z-index: 0;
}

.paso {
    text-align: center;
    flex: 1;
    position: relative;
    z-index: 1;
}

.paso-numero {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e0e0e0;
    color: #999;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-weight: bold;
    font-size: 18px;
    transition: all 0.3s;
}

.paso.completado .paso-numero {
    background: #10b981;
    color: white;
}

.paso.activo .paso-numero {
    background: #61AEBD;
    color: white;
    transform: scale(1.2);
    box-shadow: 0 0 20px rgba(97, 174, 189, 0.5);
}

.paso-texto {
    font-size: 12px;
    color: #666;
    font-weight: 500;
}

.paso.activo .paso-texto {
    color: #61AEBD;
    font-weight: bold;
}

/* Icono principal */
.password-icon {
    text-align: center;
    margin-bottom: 20px;
}

.password-icon i {
    font-size: 64px;
    color: #61AEBD;
}

/* Título */
.password-title {
    text-align: center;
    color: #2d3748;
    margin-bottom: 30px;
    font-weight: 700;
}

/* Formularios */
.form-paso {
    display: none;
}

.form-paso.activo {
    display: block;
}

.password-description {
    text-align: center;
    color: #64748b;
    margin-bottom: 30px;
}

/* Campos de formulario */
.form-label {
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 8px;
}

.form-control {
    padding: 12px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s;
}

.form-control:focus {
    border-color: #61AEBD;
    box-shadow: 0 0 0 3px rgba(97, 174, 189, 0.1);
    outline: none;
}

.input-codigo {
    text-align: center;
    letter-spacing: 10px;
    font-weight: bold;
    font-size: 24px;
    text-transform: uppercase;
}

/* Info de email */
.info-email {
    background: #f0f9ff;
    border-left: 4px solid #3b82f6;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.info-email p {
    margin: 0;
    color: #1e40af;
}

/* Botones de navegación */
.botones-navegacion {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.botones-navegacion .btn {
    flex: 1;
    padding: 12px;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s;
}

.btn-primary {
    background: linear-gradient(135deg, #61AEBD 0%, #00B2BD 100%);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(97, 174, 189, 0.4);
}

.btn-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border: none;
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(16, 185, 129, 0.4);
}

.btn-outline-secondary {
    border: 2px solid #e2e8f0;
    color: #64748b;
}

.btn-outline-secondary:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}

/* Alertas */
.alert {
    border-radius: 10px;
    border: none;
    padding: 15px;
}

.alert-danger {
    background: #fee;
    color: #c00;
}

.alert-success {
    background: #f0fdf4;
    color: #166534;
}

/* Textos de ayuda */
.form-text {
    font-size: 13px;
    color: #64748b;
    margin-top: 8px;
}

/* Responsive */
@media (max-width: 768px) {
    .password-recovery-card {
        padding: 30px 20px;
    }
    
    .botones-navegacion {
        flex-direction: column;
    }
    
    .paso-texto {
        display: none;
    }
}
