/**
 * Lost Password Styles - UnDetalle
 * Estilos para formularios de recuperación de contraseña
 */

/* Wrapper principal */
.undetalle-lost-password-wrapper {
    max-width: 500px;
    margin: 60px auto;
    padding: 20px;
}

.lost-password-container {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

/* Header */
.lost-password-header {
    text-align: center;
    margin-bottom: 32px;
}

.lost-password-header h2 {
    color: #111827;
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 12px 0;
}

.lost-password-header .form-description {
    color: #6B7280;
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

/* Form */
.undetalle-form .form-group {
    margin-bottom: 24px;
}

.undetalle-form label {
    display: block;
    color: #374151;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}

.undetalle-form label .required {
    color: #EC5070;
}

.undetalle-form input[type="text"],
.undetalle-form input[type="email"] {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    font-size: 15px;
    color: #111827;
    background-color: #FFFFFF;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.undetalle-form input[type="text"]:focus,
.undetalle-form input[type="email"]:focus {
    outline: none;
    border-color: #EC5070;
    box-shadow: 0 0 0 3px rgba(236, 80, 112, 0.1);
}

.undetalle-form input::placeholder {
    color: #9CA3AF;
}

/* Button */
.undetalle-form .button-primary {
    width: 100%;
    padding: 14px 24px;
    background: #EC5070;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 8px;
}

.undetalle-form .button-primary:hover {
    background: #D94666;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(236, 80, 112, 0.3);
}

.undetalle-form .button-primary:active {
    transform: translateY(0);
}

/* Footer */
.undetalle-form .form-footer {
    text-align: center;
    margin-top: 24px;
}

.undetalle-form .form-footer a {
    color: #6B7280;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.2s ease;
}

.undetalle-form .form-footer a:hover {
    color: #EC5070;
}

/* Confirmation Page */
.undetalle-lost-password-confirmation {
    max-width: 600px;
    margin: 60px auto;
    padding: 20px;
}

.confirmation-container {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 48px 40px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.confirmation-icon {
    margin-bottom: 24px;
}

.confirmation-icon svg {
    width: 80px;
    height: 80px;
}

.confirmation-container h2 {
    color: #111827;
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 16px 0;
}

.confirmation-message {
    color: #374151;
    font-size: 15px;
    line-height: 1.7;
    margin: 0 0 32px 0;
}

.confirmation-actions {
    margin-bottom: 32px;
}

.confirmation-actions .button-primary {
    display: inline-block;
    padding: 14px 32px;
    background: #EC5070;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.confirmation-actions .button-primary:hover {
    background: #D94666;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(236, 80, 112, 0.3);
}

.confirmation-help {
    padding-top: 24px;
    border-top: 1px solid #E5E7EB;
}

.confirmation-help .help-text {
    color: #6B7280;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

.confirmation-help .help-text strong {
    color: #374151;
    display: block;
    margin-bottom: 4px;
}

/* WooCommerce Messages */
.woocommerce-message,
.woocommerce-error,
.woocommerce-info {
    padding: 16px 20px;
    margin-bottom: 24px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.5;
}

.woocommerce-message {
    background: #ECFDF5;
    border-left: 4px solid #10B981;
    color: #065F46;
}

.woocommerce-error {
    background: #FEF2F2;
    border-left: 4px solid #EF4444;
    color: #991B1B;
}

.woocommerce-info {
    background: #EFF6FF;
    border-left: 4px solid #3B82F6;
    color: #1E40AF;
}

/* Responsive */
@media (max-width: 768px) {
    .undetalle-lost-password-wrapper,
    .undetalle-lost-password-confirmation {
        margin: 30px auto;
        padding: 15px;
    }

    .lost-password-container,
    .confirmation-container {
        padding: 30px 24px;
    }

    .lost-password-header h2,
    .confirmation-container h2 {
        font-size: 24px;
    }
}
