/* Estilos para el formulario de recuperación de contraseña */
.woocommerce-ResetPassword {
    max-width: 500px;
    margin: 0 auto 40px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    padding: 30px;
    position: relative;
}

/* Borde dorado superior */
.woocommerce-ResetPassword::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: #e1af1a;
    border-radius: 8px 8px 0 0;
}

/* Mensaje de introducción */
.woocommerce-ResetPassword > p:first-of-type {
    font-size: 15px;
    color: #666;
    margin-bottom: 25px;
    line-height: 1.5;
    text-align: center;
}

/* Etiqueta del campo */
.woocommerce-ResetPassword label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: #555;
    font-size: 15px;
}

/* Campo de entrada */
.woocommerce-ResetPassword .woocommerce-Input {
    width: 100%;
    padding: 12px 15px !important;
    border: 1px solid #ddd !important;
    border-radius: 6px !important;
    font-size: 15px !important;
    transition: all 0.3s ease;
    background-color: #f8f8f8 !important;
    line-height: 1.5 !important;
    height: auto !important;
    box-sizing: border-box !important;
}

.woocommerce-ResetPassword .woocommerce-Input:focus {
    border-color: #e1af1a !important;
    box-shadow: 0 0 0 2px rgba(225, 175, 26, 0.1) !important;
    outline: none !important;
    background-color: #fff !important;
}

/* Asterisco de campo requerido */
.woocommerce-ResetPassword .required {
    color: #e74c3c;
    font-weight: 700;
}

/* Espacio después del campo */
.woocommerce-ResetPassword .clear {
    margin: 15px 0;
}

/* Botón de envío */
.woocommerce-ResetPassword .woocommerce-Button {
    width: 100%;
    background-color: #e1af1a !important;
    color: #fff !important;
    border: none !important;
    padding: 13px 20px !important;
    border-radius: 6px !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block !important;
    text-align: center !important;
    margin-top: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.woocommerce-ResetPassword .woocommerce-Button:hover {
    background-color: #c99c18 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(225, 175, 26, 0.3);
}
/* Contenedor de mensajes encima del formulario */
.reset-password-messages {
    max-width: 500px;
    margin: 0 auto 20px;
}

/* Contenedor global que envuelve mensajes y formulario */
.reset-password-wrapper {
    max-width: 500px;
    margin: 30px auto;
}

/* Formulario de recuperación de contraseña */
.woocommerce-ResetPassword {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    padding: 30px;
    position: relative;
    margin-top: 20px; /* Espacio para los mensajes arriba */
}

/* Borde dorado superior */
.woocommerce-ResetPassword::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: #e1af1a;
    border-radius: 8px 8px 0 0;
}

/* Contenedor de mensajes encima del formulario */
.reset-password-messages {
    margin-bottom: 20px;
}

/* Estilos para los mensajes */
.woocommerce-error,
.woocommerce-message,
.woocommerce-info,
.woocommerce-notices-wrapper .woocommerce-error,
.woocommerce-notices-wrapper .woocommerce-message,
.woocommerce-notices-wrapper .woocommerce-info {
    margin: 0 0 15px !important;
    padding: 15px !important;
    border-radius: 6px !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    list-style-type: none !important; /* Quitar viñetas */
    text-align: center !important;
    background-color: #ffffff !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05) !important;
}

.woocommerce-error,
.woocommerce-notices-wrapper .woocommerce-error {
    background-color: #fff2f2 !important;
    border-left: 4px solid #e74c3c !important;
    color: #e74c3c !important;
}

.woocommerce-message,
.woocommerce-notices-wrapper .woocommerce-message {
    background-color: #f4fff2 !important;
    border-left: 4px solid #2ecc71 !important;
    color: #27ae60 !important;
}

.woocommerce-info,
.woocommerce-notices-wrapper .woocommerce-info {
    background-color: #f2f7ff !important;
    border-left: 4px solid #3498db !important;
    color: #3498db !important;
}

/* Eliminar el padding y margen default de los wrappers */
.woocommerce-notices-wrapper {
    margin: 0 !important;
    padding: 0 !important;
}

/* Iconos para los mensajes */
.woocommerce-error::before,
.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-notices-wrapper .woocommerce-error::before,
.woocommerce-notices-wrapper .woocommerce-message::before,
.woocommerce-notices-wrapper .woocommerce-info::before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 8px;
    display: inline-block;
    vertical-align: middle;
}

.woocommerce-error::before,
.woocommerce-notices-wrapper .woocommerce-error::before {
    content: "\f071"; /* Icono de advertencia */
    color: #e74c3c;
}

.woocommerce-message::before,
.woocommerce-notices-wrapper .woocommerce-message::before {
    content: "\f00c"; /* Icono de verificación */
    color: #2ecc71;
}

.woocommerce-info::before,
.woocommerce-notices-wrapper .woocommerce-info::before {
    content: "\f05a"; /* Icono de información */
    color: #3498db;
}

/* Modo oscuro para los mensajes */
body.dark-mode .woocommerce-error,
body.dark-mode .woocommerce-message,
body.dark-mode .woocommerce-info,
body.dark-mode .woocommerce-notices-wrapper .woocommerce-error,
body.dark-mode .woocommerce-notices-wrapper .woocommerce-message,
body.dark-mode .woocommerce-notices-wrapper .woocommerce-info {
    background-color: #2a2a2a !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15) !important;
}

body.dark-mode .woocommerce-error,
body.dark-mode .woocommerce-notices-wrapper .woocommerce-error {
    background-color: rgba(231, 76, 60, 0.1) !important;
    color: #ff6b6b !important;
}

body.dark-mode .woocommerce-message,
body.dark-mode .woocommerce-notices-wrapper .woocommerce-message {
    background-color: rgba(46, 204, 113, 0.1) !important;
    color: #2ecc71 !important;
}

body.dark-mode .woocommerce-info,
body.dark-mode .woocommerce-notices-wrapper .woocommerce-info {
    background-color: rgba(52, 152, 219, 0.1) !important;
    color: #64b5f6 !important;
}

/* Icono en el botón (si deseas añadirlo) */
.woocommerce-Button::after {
    content: "\f0e0"; /* Código de Font Awesome para el icono de sobre */
    font-family: "Font Awesome 5 Free";
    margin-left: 8px;
    font-weight: 900;
}

/* Responsive */
@media (max-width: 768px) {
    .woocommerce-ResetPassword {
        padding: 20px;
    }
    
    .woocommerce-ResetPassword > p:first-of-type {
        font-size: 14px;
    }
    
    .woocommerce-ResetPassword .woocommerce-Input {
        padding: 10px 12px !important;
        font-size: 14px !important;
    }
    
    .woocommerce-ResetPassword .woocommerce-Button {
        padding: 12px 15px !important;
        font-size: 14px !important;
        width: auto !important;
    }
}

/* Estilos para modo oscuro */
body.dark-mode .woocommerce-ResetPassword {
    background-color: #222;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

body.dark-mode .woocommerce-ResetPassword > p:first-of-type {
    color: #bbb;
}

body.dark-mode .woocommerce-ResetPassword label {
    color: #e0e0e0;
}

body.dark-mode .woocommerce-ResetPassword .woocommerce-Input {
    background-color: #333 !important;
    border-color: #444 !important;
    color: #e0e0e0 !important;
}

body.dark-mode .woocommerce-ResetPassword .woocommerce-Input:focus {
    background-color: #3a3a3a !important;
    border-color: #e1af1a !important;
    box-shadow: 0 0 0 2px rgba(225, 175, 26, 0.15) !important;
}

body.dark-mode .woocommerce-error {
    background-color: rgba(231, 76, 60, 0.1);
    color: #ff6b6b;
}

body.dark-mode .woocommerce-message {
    background-color: rgba(46, 204, 113, 0.1);
    color: #2ecc71;
}

/* Animación de entrada */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.woocommerce-ResetPassword {
    animation: fadeIn 0.3s ease;
}