/* ===============================
   ROOT COLORS (PROFESSIONAL)
================================ */
:root{
    --primary:#2563eb;      /* Blue */
    --primary-dark:#1e40af;
    --bg-dark:#0f172a;
    --gray:#64748b;
    --border:#e5e7eb;
}

/* ===============================
   HIDE HEADER / FOOTER
================================ */
body.woocommerce-account:not(.logged-in) header,
body.woocommerce-account:not(.logged-in) footer{
    display:none!important;
}

/* ===============================
   OVERLAY
================================ */
.rahi-blinkit-overlay{
    position:fixed;
    inset:0;
    background:rgba(15,23,42,.65);
    display:flex;
    align-items:center;
    justify-content:center;
    z-index:99999;
}

/* ===============================
   BACKGROUND VIDEO
================================ */
.rahi-bg-video{
    position:fixed;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
    z-index:-1;
}

/* ===============================
   CARD
================================ */
.rahi-blinkit-card{
    width:100%;
    max-width:420px;
    background:#fff;
    border-radius:18px;
    padding:28px 24px 30px;
    box-shadow:0 30px 80px rgba(0,0,0,.45);
    text-align:center;
    position:relative;
}

/* ===============================
   CLOSE BUTTON
================================ */
.rahi-close-btn{
    position:absolute;
    left:16px;
    top:16px;
    width:34px;
    height:34px;
    border-radius:10px;
    border:1px solid var(--border);
    background:#fff;
    font-size:18px;
    cursor:pointer;
}

/* ===============================
   LOGO + TEXT
================================ */
.rahi-logo{
    width:64px;
    margin:10px auto 8px;
}
.rahi-blinkit-card h2{
    margin:8px 0 4px;
    font-size:22px;
}
.rahi-blinkit-card p{
    margin:0 0 18px;
    font-size:14px;
    color:var(--gray);
}

/* ===============================
   TABS (PREMIUM PILL)
================================ */
.rahi-tabs{
    display:flex;
    background:#f1f5f9;
    border-radius:14px;
    padding:4px;
    margin-bottom:20px;
}
.rahi-tab{
    flex:1;
    padding:10px 0;
    border:none;
    background:transparent;
    font-weight:600;
    color:var(--gray);
    border-radius:12px;
    cursor:pointer;
}
.rahi-tab.active{
    background:#fff;
    color:var(--primary);
    box-shadow:0 4px 12px rgba(0,0,0,.08);
}

/* ===============================
   FORMS (IMPORTANT FIX)
================================ */
.rahi-form{
    display:none;
}
.rahi-form.active{
    display:block;
}

/* ===============================
   INPUTS
================================ */
.rahi-user-fields input,
.rahi-otp-field input{
    width:100%;
    padding:14px;
    border-radius:12px;
    border:1px solid var(--border);
    margin-bottom:12px;
    font-size:14px;
}
.rahi-user-fields input:focus,
.rahi-otp-field input:focus{
    border-color:var(--primary);
    outline:none;
}

/* ===============================
   BUTTONS (NO PINK)
================================ */
.rahi-btn{
    width:100%;
    padding:14px;
    border-radius:12px;
    border:none;
    background:var(--primary);
    color:#fff;
    font-weight:600;
    cursor:pointer;
}
.rahi-btn:hover{
    background:var(--primary-dark);
}

/* ===============================
   OTP MESSAGE
================================ */
.rahi-otp-message{
    margin-top:10px;
    font-size:13px;
    color:var(--gray);
}

/* ===============================
   TERMS
================================ */
.rahi-terms{
    display:block;
    margin-top:14px;
    font-size:12px;
    color:var(--gray);
}

/* ===============================
   MOBILE BOTTOM SHEET
================================ */
@media(max-width:1023px){
    .rahi-blinkit-overlay{
        align-items:flex-end;
    }
    .rahi-blinkit-card{
        max-width:100%;
        border-radius:20px 20px 0 0;
        animation:slideUp .3s ease;
    }
}

/* ===============================
   ANIMATION
================================ */
@keyframes slideUp{
    from{transform:translateY(100%)}
    to{transform:translateY(0)}
}
/* ===============================
   REMOVE LEFT ARROW (MOBILE/TAB)
================================ */
.rahi-close-btn{
    left:auto !important;
    right:16px !important;
    top:16px !important;
    background:rgba(255,255,255,0.9);
    border:none !important;
    width:36px;
    height:36px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:18px;
    color:#0f172a;
    box-shadow:0 6px 18px rgba(0,0,0,.18);
    transition:all .25s ease;
}

/* Hover / tap effect */
.rahi-close-btn:hover{
    transform:scale(1.05);
    background:#fff;
}

/* Remove arrow text, force ✕ icon */
.rahi-close-btn::before{
    content:"✕";
    font-weight:600;
}

/* In case arrow text exists */
.rahi-close-btn{
    font-family:inherit;
}
.rahi-close-btn{
    text-indent:-9999px;
}
.rahi-close-btn::before{
    text-indent:0;
}

/* ===============================
   MOBILE SAFE ZONE
================================ */
@media(max-width:1023px){
    .rahi-close-btn{
        top:14px;
        right:14px;
    }
}
