/* ==========================================
   RAQI LIBAS - SIGNUP.CSS
   Verification, Registration & Password
   ========================================== */


/* ==========================================
   1. EMAIL VERIFICATION MODAL
   ========================================== */

.raqi-verify-backdrop[hidden] {
    display: none !important;
}

.raqi-verify-backdrop {
    position: fixed;
    inset: 0;
    z-index: 999999;
    background: rgba(11, 11, 12, 0.57);
    backdrop-filter: blur(5px);
    display: grid;
    place-items: center;
    padding: 18px;
}

body.raqi-verify-open {
    overflow: hidden;
}

.raqi-verify-dialog {
    width: min(100%, 440px);
    max-height: calc(100vh - 36px);
    overflow: auto;
    background: #fff;
    border-radius: 20px;
    padding: clamp(24px, 5vw, 38px);
    box-shadow: 0 22px 85px rgba(0, 0, 0, 0.23);
    color: #171717;
    text-align: center;
}

.raqi-verify-icon {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: #f4efe7;
    color: #7b694e;
    font-size: 25px;
    margin: 0 auto 17px;
}

.raqi-verify-dialog h2 {
    font-size: 27px;
    line-height: 1.25;
    margin: 0 0 10px;
}

.raqi-verify-dialog p {
    line-height: 1.5;
}

.raqi-verify-dialog #raqi-verify-description {
    color: #666;
    margin: 0 0 23px;
}

.raqi-verify-dialog #raqi-verify-description strong {
    color: #222;
    overflow-wrap: anywhere;
}


/* ==========================================
   2. OTP VERIFICATION INPUTS
   ========================================== */

.raqi-verify-digits {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.raqi-verify-digits input {
    box-sizing: border-box !important;
    width: clamp(52px, 13vw, 65px) !important;
    height: 66px !important;
    padding: 0 !important;
    text-align: center !important;
    font-size: 27px !important;
    font-weight: 600 !important;
    border: 1px solid #c8c8c8 !important;
    border-radius: 11px !important;
    background: #fff !important;
    color: #151515 !important;
}

.raqi-verify-digits input:focus {
    outline: 2px solid #111 !important;
    outline-offset: 2px;
}

.raqi-verify-feedback {
    min-height: 24px;
    margin: 14px 0;
    color: #506447;
    font-size: 14px;
}

.raqi-verify-feedback.is-error,
.raqi-signup-field-message {
    color: #ad2424 !important;
}


/* ==========================================
   3. VERIFICATION BUTTONS
   ========================================== */

.raqi-verify-submit {
    width: 100%;
    min-height: 50px;
    border: 0;
    border-radius: 9px;
    background: #111;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
}

.raqi-verify-submit:hover {
    background: #333;
}

.raqi-verify-submit:disabled {
    opacity: 0.6;
    cursor: wait;
}

.raqi-verify-resend {
    display: flex;
    gap: 7px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin: 18px 0 0;
    font-size: 14px;
    color: #666;
}

.raqi-verify-resend button,
.raqi-verify-back {
    border: 0;
    background: transparent;
    color: #111;
    text-decoration: underline;
    cursor: pointer;
    padding: 4px;
}

.raqi-verify-resend button:disabled {
    color: #888;
    text-decoration: none;
    cursor: default;
}

.raqi-verify-back {
    margin-top: 15px;
    font-size: 14px;
}


/* ==========================================
   4. REGISTRATION FORM
   ========================================== */

.raqi-signup-field-message {
    font-size: 13px;
    margin: 6px 0 10px;
}

form.woocommerce-form-register input[name="password"] {
    width: 100%;
}


/* ==========================================
   5. RESET PASSWORD BUTTON
   ========================================== */

.woocommerce-ResetPassword .button,
.woocommerce-ResetPassword button,
form.lost_reset_password .button,
form.lost_reset_password button {
    display: block !important;
    margin: 20px 0 0 !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    -webkit-appearance: none !important;
    appearance: none !important;
}



/* =====================================
   PASSWORD TOGGLE CLEANUP
   ===================================== */

/* Hide Nasa theme's duplicate password toggle */
body.raq-account-page a.nasa-show-password,
body.raq-account-page a.nasa-show-pass {
    display: none !important;
}

/* Preserve WooCommerce's built-in toggle */
body.raq-account-page
.woocommerce .password-input {
    position: relative;
}

/* Avoid overriding WooCommerce's own
   show/hide button styling and behavior */

