/* =========================================================
   MPL - Player Registration
   ---------------------------------------------------------
   Sirf registration ke page (register.php, register-status.php,
   register-lookup.php, register-thanks.php) ke liye. Sab kuch
   .reg-page ke andar hai, is liye baaki site par koi asar nahi.

   Rang / font style.css ke :root se hi aate hain - yahan koi
   naya rang fix nahi kiya, taaki dark aur light dono theme me
   apne aap sahi dikhe.
   ========================================================= */

.reg-page { position: relative; }

.reg-page .reg-narrow { max-width: 780px; }

/* ---------- Do khaano wala layout (side + form) ---------- */
.reg-grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 26px;
    align-items: start;
}

/* ---------- Har dabba ---------- */
.reg-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, .07);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
}

.reg-card + .reg-card { margin-top: 18px; }

[data-theme="light"] .reg-card {
    border-color: rgba(0, 0, 0, .08);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .07);
}

/* ---------- Form ka sar (icon + heading + status button) ---------- */
.reg-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 22px;
}

.reg-head-txt { flex: 1 1 auto; min-width: 0; }

/* "Check My Status" ab heading ke saath daayein kone me.
   Pehle form ke sabse neeche tha - register ho chuke khiladi ko
   poora scroll karna padta tha. Ab bina scroll ke saamne hai. */
.reg-head-status {
    flex: 0 0 auto;
    align-self: flex-start;
    white-space: nowrap;
}

.reg-badge {
    flex: 0 0 auto;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: var(--radius);
    background: linear-gradient(135deg, var(--red), var(--red-dark));
    color: #fff;
    font-size: 1.1rem;
}

.reg-head h2 {
    margin: 0;
    font-size: 1.45rem;
    font-weight: 700;
    letter-spacing: .3px;
    color: var(--text-light);
}

.reg-head h2 span { color: var(--gold); }

.reg-rule {
    width: 54px;
    height: 3px;
    margin-top: 7px;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--red), var(--gold));
}

.reg-season {
    margin: 7px 0 0;
    font-size: .78rem;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* ---------- Section ka naam (Player Details, Jersey...) ---------- */
.reg-sec-title {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 22px 0 13px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
    font-size: .74rem;
    font-weight: 600;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: var(--text-light);
}

.reg-sec-title:first-child { margin-top: 0; }
.reg-sec-title i { color: var(--gold); font-size: .9rem; }

[data-theme="light"] .reg-sec-title { border-bottom-color: rgba(0, 0, 0, .08); }

/* ---------- Field ---------- */
.reg-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.reg-row.three { grid-template-columns: 1fr 1fr 1fr; }

.reg-field { margin-bottom: 13px; }

.reg-field label {
    display: block;
    margin-bottom: 6px;
    font-size: .78rem;
    font-weight: 500;
    color: var(--text-muted);
}

.reg-field label b { color: var(--red); }

/* Input ka khol - icon andar, focus par sunehri kinara */
.reg-inp {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 12px;
    transition: border-color .2s, background .2s, box-shadow .2s;
}

.reg-inp > i:first-child {
    flex: 0 0 auto;
    width: 38px;
    text-align: center;
    font-size: .85rem;
    color: var(--text-muted);
    pointer-events: none;
}

.reg-inp input,
.reg-inp select {
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
    padding: 11px 14px 11px 0;
    border: 0;
    background: transparent;
    color: var(--text-light);
    font-family: inherit;
    font-size: .9rem;
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.reg-inp select { cursor: pointer; padding-right: 36px; }
.reg-inp select option {
    background: var(--bg-card);
    color: var(--text-light);
    padding: 10px;
}

.reg-chev {
    position: absolute;
    right: 13px;
    font-size: .68rem;
    color: var(--gold);
    pointer-events: none;
    transition: transform .2s;
}

.reg-inp:focus-within {
    border-color: var(--gold);
    background: rgba(255, 255, 255, .06);
    box-shadow: 0 0 0 3px rgba(224, 169, 77, .12);
}

.reg-inp:focus-within > i:first-child { color: var(--gold); }

/* Chevron: JS ka panel na ho to focus par, warna panel khulne par ghoome */
.reg-inp.sel:focus-within .reg-chev { transform: rotate(180deg); }
.reg-inp.sel.js-sel:focus-within .reg-chev { transform: none; }
.reg-inp.sel.js-sel.is-open .reg-chev,
.reg-inp.sel.js-sel.is-open:focus-within .reg-chev { transform: rotate(180deg); }

/* ---------- Premium dropdown panel (register.js banata hai) ----------
   Native option list OS ki hoti hai - us par CSS nahi chalti. Isliye
   maus wale device par select ka popup roak kar ye panel dikhta hai.
   JS band ho to .js-sel hi nahi lagti aur native list chalti rehti hai. */
.reg-inp.sel.is-open { z-index: 30; }

.reg-sel-panel {
    display: none;
    position: absolute;
    top: calc(100% + 7px);
    left: 0;
    right: 0;
    z-index: 40;
    max-height: 264px;
    padding: 6px;
    overflow-y: auto;
    overscroll-behavior: contain;
    border: 1px solid rgba(224, 169, 77, .3);
    border-radius: 14px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, 0)),
        var(--bg-card);
    box-shadow: 0 20px 44px rgba(0, 0, 0, .5), 0 0 0 1px rgba(0, 0, 0, .25);
    scrollbar-width: thin;
    scrollbar-color: rgba(224, 169, 77, .45) transparent;
}

.reg-inp.sel.is-open .reg-sel-panel {
    display: block;
    animation: regSelIn .16s ease both;
}

.reg-sel-panel.up {
    top: auto;
    bottom: calc(100% + 7px);
}
.reg-inp.sel.is-open .reg-sel-panel.up { animation: regSelUp .16s ease both; }

@keyframes regSelIn  { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@keyframes regSelUp  { from { opacity: 0; transform: translateY(6px); }  to { opacity: 1; transform: none; } }

.reg-sel-panel::-webkit-scrollbar { width: 8px; }
.reg-sel-panel::-webkit-scrollbar-track { background: transparent; }
.reg-sel-panel::-webkit-scrollbar-thumb {
    background: rgba(224, 169, 77, .38);
    border-radius: 8px;
}
.reg-sel-panel::-webkit-scrollbar-thumb:hover { background: rgba(224, 169, 77, .6); }

/* Panel ka ek option */
.reg-opt {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: .9rem;
    color: var(--text-light);
    cursor: pointer;
    transition: background .15s, color .15s;
}
.reg-opt + .reg-opt { margin-top: 2px; }

.reg-opt .reg-opt-tick {
    flex: 0 0 auto;
    width: 16px;
    font-size: .78rem;
    color: var(--gold);
    opacity: 0;
    transition: opacity .15s;
}

/* Placeholder ("Select") thoda halka */
.reg-opt.is-placeholder { color: var(--text-muted); }

/* Maus / keyboard se highlight */
.reg-opt:hover,
.reg-opt.is-active {
    background: rgba(224, 169, 77, .14);
    color: var(--text-light);
}

/* Jo abhi chuna hua hai */
.reg-opt.is-selected {
    background: rgba(224, 169, 77, .1);
    color: var(--gold);
    font-weight: 600;
}
.reg-opt.is-selected .reg-opt-tick { opacity: 1; }

[data-theme="light"] .reg-sel-panel {
    border-color: rgba(0, 0, 0, .12);
    background:
        linear-gradient(180deg, rgba(0, 0, 0, .015), rgba(0, 0, 0, 0)),
        var(--bg-card);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .18), 0 0 0 1px rgba(0, 0, 0, .05);
}
[data-theme="light"] .reg-opt:hover,
[data-theme="light"] .reg-opt.is-active { background: rgba(224, 169, 77, .18); }

.reg-inp input::placeholder { color: var(--text-muted); opacity: .65; }

[data-theme="light"] .reg-inp {
    background: rgba(0, 0, 0, .03);
    border-color: rgba(0, 0, 0, .12);
}

[data-theme="light"] .reg-inp:focus-within { background: rgba(0, 0, 0, .01); }

.reg-hint {
    display: block;
    margin-top: 5px;
    font-size: .72rem;
    color: var(--text-muted);
}

/* ---------- File upload (selfie / payment) ---------- */
.reg-file {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 13px;
    border: 1px dashed rgba(255, 255, 255, .18);
    border-radius: 12px;
    background: rgba(255, 255, 255, .03);
    color: var(--text-muted);
    cursor: pointer;
    transition: border-color .2s, background .2s, color .2s;
}

.reg-file:hover { border-color: var(--gold); color: var(--text-light); }
.reg-file i { color: var(--gold); font-size: .95rem; flex: 0 0 auto; }

.reg-file-txt {
    flex: 1 1 auto;
    font-size: .82rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.reg-file input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.reg-file.has-file {
    border-style: solid;
    border-color: var(--ok);
    color: var(--text-light);
}
.reg-file.has-file i { color: var(--ok); }

[data-theme="light"] .reg-file {
    border-color: rgba(0, 0, 0, .18);
    background: rgba(0, 0, 0, .02);
}

/* ---------- Agree checkbox ---------- */
.reg-agree {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin: 6px 0 18px;
    font-size: .84rem;
    line-height: 1.5;
    color: var(--text-muted);
    cursor: pointer;
}

.reg-agree input {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--red);
    cursor: pointer;
}

/* ---------- Submit ---------- */
.reg-submit {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 14px 24px;
    border: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--red), var(--red-dark));
    color: #fff;
    font-family: inherit;
    font-size: .96rem;
    font-weight: 600;
    letter-spacing: .5px;
    cursor: pointer;
    transition: transform .15s, box-shadow .2s, filter .2s;
}

.reg-submit:hover {
    filter: brightness(1.08);
    box-shadow: 0 10px 26px rgba(227, 30, 38, .35);
    transform: translateY(-1px);
}

.reg-submit:active { transform: translateY(0); }

/* ---------- Sadharan button (link jaisa) ---------- */
.reg-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 12px 22px;
    border: 0;
    border-radius: var(--radius);
    background: linear-gradient(135deg, var(--red), var(--red-dark));
    color: #fff;
    font-size: .9rem;
    font-weight: 600;
    letter-spacing: .4px;
    text-decoration: none;
    cursor: pointer;
    transition: transform .15s, box-shadow .2s, filter .2s;
}

.reg-btn:hover { filter: brightness(1.08); transform: translateY(-1px); }

.reg-btn.ghost {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, .2);
    color: var(--text-light);
}
.reg-btn.ghost:hover { border-color: var(--gold); color: var(--gold); }

.reg-btn.wa { background: linear-gradient(135deg, #25d366, #128c7e); }
.reg-btn.pay {
    width: 100%;
    margin-top: 12px;
    background: linear-gradient(135deg, var(--gold), #c98f2f);
    color: #1a1205;
}

[data-theme="light"] .reg-btn.ghost { border-color: rgba(0, 0, 0, .18); color: var(--text-light); }

/* =========================================================
   PREMIUM CTA - "Check your Registration"
   ---------------------------------------------------------
   Ek hi look har jagah: register page ka heading button, closed
   card, lookup ka submit aur status/thanks page ka link. Andar
   safed gol icon, beech me bada naam, kinare par teer.
   <a> aur <button> dono par same chalta hai.
   ========================================================= */
.reg-cta {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    max-width: 100%;
    padding: 7px 20px 7px 7px;
    border: 3px solid #b40e15;
    border-radius: 16px;
    background: linear-gradient(180deg, #fb2b33 0%, #ef1c24 46%, #d5121a 100%);
    color: #fff;
    font-family: inherit;
    font-size: .98rem;
    font-weight: 700;
    letter-spacing: .2px;
    line-height: 1.2;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .38),
        inset 0 -8px 16px rgba(0, 0, 0, .14),
        0 10px 26px rgba(227, 30, 38, .32);
    transition: transform .15s, box-shadow .2s, filter .2s;
}

/* Safed gol dabba + laal shishe wala icon */
.reg-cta-ico {
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #fff;
    color: #e51820;
    font-size: 1.02rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .18);
}

.reg-cta-txt { flex: 1 1 auto; min-width: 0; }

/* Daayein ka teer - hover par thoda aage khisakta hai */
.reg-cta-arw {
    flex: 0 0 auto;
    margin-left: 4px;
    font-size: .82rem;
    opacity: .92;
    transition: transform .18s;
}

.reg-cta:hover {
    filter: brightness(1.06);
    transform: translateY(-2px);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .42),
        inset 0 -8px 16px rgba(0, 0, 0, .14),
        0 14px 32px rgba(227, 30, 38, .42);
}
.reg-cta:hover .reg-cta-arw { transform: translateX(4px); }
.reg-cta:active { transform: translateY(0); }

.reg-cta:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 3px;
}

/* Poori chaudai wala roop (lookup submit / closed card / phone) */
.reg-cta.block {
    width: 100%;
    justify-content: center;
    text-align: center;
}
.reg-cta.block .reg-cta-txt { flex: 0 1 auto; }

/* Beech wale dabbo me itna chaura theek rehta hai */
.reg-note-card .reg-cta.block,
.reg-closed-card .reg-cta.block,
.reg-thanks-card .reg-cta.block {
    max-width: 380px;
    margin: 0 auto;
}

/* =========================================================
   LEFT SIDE - fee / UPI / QR / countdown / terms
   ========================================================= */
.reg-pay-card { padding: 22px; }

.reg-fee-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.reg-fee-label {
    font-size: .78rem;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--text-muted);
}

.reg-fee-amt {
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--gold);
    line-height: 1;
}

.reg-pay-sep {
    height: 1px;
    margin: 18px 0;
    background: rgba(255, 255, 255, .08);
}
[data-theme="light"] .reg-pay-sep { background: rgba(0, 0, 0, .08); }

.reg-pay-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .92rem;
    font-weight: 600;
    color: var(--text-light);
}
.reg-pay-title i { color: var(--gold); }

.reg-pay-hint,
.reg-pay-note {
    margin: 7px 0 0;
    font-size: .78rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* QR image */
.reg-qr {
    margin: 16px auto 4px;
    width: 190px;
    max-width: 100%;
    padding: 10px;
    background: #fff;
    border-radius: var(--radius);
}
.reg-qr img { display: block; width: 100%; height: auto; border-radius: 2px; }

/* UPI id + copy */
.reg-upi {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    padding: 10px 12px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: var(--radius);
}
[data-theme="light"] .reg-upi { background: rgba(0, 0, 0, .03); border-color: rgba(0, 0, 0, .1); }

.reg-upi-id {
    flex: 1 1 auto;
    min-width: 0;
    font-size: .9rem;
    font-weight: 600;
    color: var(--text-light);
    word-break: break-all;
}

.reg-copy {
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: var(--radius);
    background: linear-gradient(135deg, var(--red), var(--red-dark));
    color: #fff;
    cursor: pointer;
    transition: filter .2s, transform .15s;
}
.reg-copy:hover { filter: brightness(1.1); }
.reg-copy.copied { background: var(--ok); }

.reg-upi-name {
    margin-top: 6px;
    font-size: .76rem;
    color: var(--text-muted);
    text-align: center;
}

/* Countdown - apna dabba (phone par sab se uper aata hai) */
.reg-cd-card { padding: 18px 16px; }
.reg-countdown { text-align: center; }
.reg-cd-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    font-size: .76rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-muted);
}
.reg-cd-title i { color: var(--gold); }

.reg-cd-cells {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 12px;
}
.reg-cd-cells span {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    min-width: 46px;
    padding: 8px 4px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .04);
    font-size: .66rem;
    letter-spacing: .5px;
    text-transform: uppercase;
    color: var(--text-muted);
}
[data-theme="light"] .reg-cd-cells span { background: rgba(0, 0, 0, .03); }
.reg-cd-cells b {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-light);
    font-variant-numeric: tabular-nums;
}

/* Terms box */
.reg-terms h4 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 10px;
    font-size: .9rem;
    color: var(--text-light);
}
.reg-terms h4 i { color: var(--gold); }
.reg-terms p { margin: 0; font-size: .82rem; line-height: 1.6; color: var(--text-muted); }

/* Terms ab form ke andar (submit ke neeche) aata hai */
.reg-terms-inline {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, .08);
}
[data-theme="light"] .reg-terms-inline { border-top-color: rgba(0, 0, 0, .1); }

/* =========================================================
   NOTE / CLOSED / THANKS - beech me ek saaf dabba
   ========================================================= */
.reg-note-card,
.reg-closed-card,
.reg-thanks-card {
    max-width: 620px;
    margin: 0 auto;
    text-align: center;
    padding: 40px 28px;
}

.reg-note-ico {
    width: 74px;
    height: 74px;
    margin: 0 auto 18px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(76, 175, 80, .12);
    color: var(--ok);
    font-size: 2rem;
}

.reg-note-ico.closed {
    background: rgba(227, 30, 38, .12);
    color: var(--red);
}

/* ---------- Lottie animation (approved tick / CLOSED tag) ----------
   Ek hi dabbe ke andar do cheezein rehti hain: fallback (tick icon /
   CLOSED pill) aur lottie ka banaya SVG. Jab tak lottie load ho, sirf
   fallback dikhta hai; SVG aate hi (.is-live) fallback chhup jata hai.
   Isliye JS/net band ho to bhi jagah khali nahi dikhti. */
.reg-anim {
    width: 120px;
    height: 120px;
    margin: 0 auto 14px;
    display: grid;
    place-items: center;
}
.reg-anim svg { display: block; width: 100%; height: 100%; }

/* Tag (CLOSED) thoda chaura chahiye */
.reg-anim-tag { width: 150px; height: 150px; }

/* lottie ban gaya to fallback hata do */
.reg-anim.is-live .reg-anim-fallback { display: none; }

/* Fallback tick - wahi purana gol icon */
.reg-anim-fallback.reg-note-ico { margin: 0; }

/* Fallback CLOSED pill - jab tak lottie na aaye */
.reg-tag-fallback {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 8px;
    background: var(--red);
    color: #fff;
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 2px;
    transform: rotate(-8deg);
}

.reg-note-card h2,
.reg-closed-card h2,
.reg-thanks-card h2 {
    margin: 0 0 10px;
    font-size: 1.5rem;
    color: var(--text-light);
}

.reg-note-card p,
.reg-closed-card p,
.reg-thanks-card p {
    margin: 0 auto 20px;
    max-width: 480px;
    font-size: .92rem;
    line-height: 1.65;
    color: var(--text-muted);
}

.reg-lookup-line {
    margin-top: 18px !important;
    margin-bottom: 10px !important;
    font-size: .84rem !important;
}
.reg-lookup-line a { color: var(--gold); font-weight: 600; text-decoration: none; }
.reg-lookup-line a:hover { text-decoration: underline; }

/* Chhota button - "Check My Status" / "Back to My Registration" jaise
   secondary link ab button ban gaye hain (thoda compact) */
.reg-btn-sm { padding: 10px 20px; font-size: .86rem; }

/* Lookup page ka "Register Here" - beech me, badge/heading ke neeche */
.reg-alt-cta {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, .08);
    text-align: center;
    font-size: .86rem;
    color: var(--text-muted);
}
[data-theme="light"] .reg-alt-cta { border-top-color: rgba(0, 0, 0, .1); }
.reg-alt-cta p { margin: 0 0 12px; }
.reg-alt-cta .reg-btn { min-width: 200px; }

/* Card ka frame (thanks page par player card) */
.reg-card-frame {
    max-width: 340px;
    margin: 6px auto 24px;
    padding: 10px;
    border: 1px solid rgba(224, 169, 77, .35);
    border-radius: var(--radius);
    background: rgba(0, 0, 0, .2);
}
.reg-card-frame img { display: block; width: 100%; height: auto; border-radius: 2px; }

/* =========================================================
   STATUS PAGE
   ========================================================= */
.reg-status-card { border-top: 3px solid var(--text-muted); }
.reg-status-card.st-pending  { border-top-color: var(--gold); }
.reg-status-card.st-approved { border-top-color: var(--ok); }
.reg-status-card.st-declined { border-top-color: var(--red); }

.reg-st-top {
    display: flex;
    align-items: center;
    gap: 18px;
}

.reg-st-photo {
    flex: 0 0 auto;
    width: 88px;
    height: 88px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--gold);
    background: rgba(255, 255, 255, .05);
}
.reg-st-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

.reg-st-who { min-width: 0; }
.reg-st-who h2 {
    margin: 0 0 6px;
    font-size: 1.35rem;
    color: var(--text-light);
    word-break: break-word;
}

.reg-st-id {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: .84rem;
    font-weight: 600;
    letter-spacing: .6px;
    color: var(--gold);
}

.reg-st-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 10px;
    padding: 6px 14px;
    border-radius: 40px;
    font-size: .74rem;
    font-weight: 600;
    letter-spacing: .8px;
    text-transform: uppercase;
}
.reg-st-pill.pending  { background: rgba(224, 169, 77, .14); color: var(--gold); }
.reg-st-pill.approved { background: rgba(76, 175, 80, .14);  color: var(--ok); }
.reg-st-pill.declined { background: rgba(227, 30, 38, .14);  color: var(--red); }

.reg-st-msg {
    margin: 20px 0 0;
    padding: 14px 16px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .04);
    font-size: .9rem;
    line-height: 1.6;
    color: var(--text-muted);
}
[data-theme="light"] .reg-st-msg { background: rgba(0, 0, 0, .03); }

.reg-st-msg.ok  { background: rgba(76, 175, 80, .1);  color: var(--text-light); }
.reg-st-msg.bad { background: rgba(227, 30, 38, .1);  color: var(--text-light); }
.reg-st-msg i { color: var(--gold); margin-right: 6px; }
.reg-st-msg.bad i { color: var(--red); }

.reg-st-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 20px;
}

/* Details list */
.reg-dl { display: grid; gap: 1px; background: rgba(255, 255, 255, .07); border-radius: var(--radius); overflow: hidden; }
[data-theme="light"] .reg-dl { background: rgba(0, 0, 0, .08); }

.reg-dl-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 14px;
    background: var(--bg-card);
    font-size: .88rem;
}

.reg-dl-k { color: var(--text-muted); }
.reg-dl-v { color: var(--text-light); font-weight: 600; text-align: right; word-break: break-word; }

.reg-save-note {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 16px 0 0;
    font-size: .78rem;
    color: var(--text-muted);
}
.reg-save-note i { color: var(--gold); }

/* =========================================================
   PHONE
   ========================================================= */
@media (max-width: 991px) {
    /* Phone par ek hi column. Aside (countdown + fee/QR) form se PEHLE
       aata hai - pehle waqt aur QR dikhe, phir selfie/screenshot upload. */
    .reg-grid { grid-template-columns: 1fr; }
    .reg-side { order: 1; }
    .reg-main { order: 2; }
}

@media (max-width: 640px) {
    .reg-card { padding: 20px 16px; }
    .reg-row,
    .reg-row.three { grid-template-columns: 1fr; gap: 0; }
    .reg-head h2 { font-size: 1.25rem; }

    /* Phone par heading ke bagal me jagah nahi - badge + heading uper,
       status button apni poori chaudai me uske neeche. */
    .reg-head { flex-wrap: wrap; }
    .reg-head-status {
        flex: 1 1 100%;
        justify-content: center;
        margin-top: 4px;
    }

    /* Premium CTA phone par thoda compact */
    .reg-cta { padding: 6px 16px 6px 6px; font-size: .92rem; gap: 11px; }
    .reg-cta-ico { width: 34px; height: 34px; font-size: .94rem; }

    .reg-st-top { flex-direction: column; text-align: center; gap: 14px; }
    .reg-st-actions { flex-direction: column; }
    .reg-st-actions .reg-btn { width: 100%; }
    .reg-dl-row { flex-direction: column; align-items: flex-start; gap: 3px; }
    .reg-dl-v { text-align: left; }
    .reg-note-card,
    .reg-closed-card,
    .reg-thanks-card { padding: 32px 18px; }
    .reg-anim { width: 100px; height: 100px; }
    .reg-anim-tag { width: 128px; height: 128px; }
}


