/**
 * Ailin Reset Password - Estilos Independientes
 * Basado en la estética de los formularios de login/registro
 */

.woocommerce form.lost_reset_password {
    display: flex !important;
    flex-direction: column !important;
    padding: 0 !important;
    margin: 0 auto !important;
    max-width: 600px !important;
    box-sizing: border-box !important;
    font-family: 'Sharp Grotesk', sans-serif !important;
    border: none !important;
}

/* Matar elementos inyectados */
.woocommerce form.lost_reset_password br,
.woocommerce form.lost_reset_password>p:empty {
    display: none !important;
}

/* Estilo del texto de instrucción (el primer párrafo con texto) */
.woocommerce form.lost_reset_password>p:not(.form-row):not(.empty) {
    font-size: 14px !important;
    line-height: 1.5 !important;
    color: #69738C !important;
    margin-bottom: 30px !important;
    text-align: center !important;
    font-weight: 300 !important;
}

/* Contenedores de fila */
.woocommerce form.lost_reset_password .form-row,
.woocommerce form.lost_reset_password .woocommerce-form-row {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    margin-bottom: 20px !important;
    float: none !important;
    clear: both !important;
}

/* Limpieza de elementos extra dentro de las filas */
.woocommerce form.lost_reset_password .form-row br,
.woocommerce form.lost_reset_password .form-row .clear {
    display: none !important;
}

/* Etiquetas (Labels) */
.woocommerce form.lost_reset_password label {
    display: block !important;
    font-size: 14px !important;
    font-weight: 300 !important;
    color: #051947 !important;
    margin-bottom: 8px !important;
    text-align: left !important;
}

/* Asteriscos y texto de accesibilidad */
.woocommerce form.lost_reset_password .required,
.woocommerce form.lost_reset_password .screen-reader-text {
    display: none !important;
}

/* Wrapper de Input Password (WooCommerce añade este span) */
.woocommerce form.lost_reset_password .password-input {
    position: relative !important;
    display: block !important;
    width: 100% !important;
}

/* Inputs */
.woocommerce form.lost_reset_password input.input-text {
    width: 100% !important;
    display: block !important;
    padding: 15px 20px !important;
    border: 1px solid #AAAAAA !important;
    border-radius: 10px !important;
    font-size: 14px !important;
    font-weight: 300 !important;
    color: #051947 !important;
    background: #fff !important;
    box-sizing: border-box !important;
    height: auto !important;
    line-height: normal !important;
    font-family: 'Sharp Grotesk', sans-serif !important;
}

.woocommerce form.lost_reset_password input.input-text:focus {
    outline: none !important;
    border-color: #051947 !important;
}

/* Ojo de mostrar contraseña */
.woocommerce form.lost_reset_password .show-password-input {
    position: absolute !important;
    right: 15px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background: none !important;
    border: none !important;
    cursor: pointer !important;
    padding: 0 !important;
    color: #051947 !important;
}

/* Botón de envío */
.woocommerce form.lost_reset_password button[type="submit"],
.woocommerce form.lost_reset_password .woocommerce-Button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    padding: 16px 25px !important;
    border-radius: 50px !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    cursor: pointer !important;
    transition: all 0.2s !important;
    border: none !important;
    background: #051947 !important;
    color: white !important;
    font-family: 'Sharp Grotesk', sans-serif !important;
    margin-top: 10px !important;
}

.woocommerce form.lost_reset_password button[type="submit"]:hover {
    opacity: 0.8 !important;
}

/* Responsivo */
@media (max-width: 520px) {
    .woocommerce form.lost_reset_password {
        padding: 0 16px !important;
    }
}