/* ═══════════════════════════════════════════════════════════════
   Registration v3 — extras only.
   The look (banner, dates strip, left panel, steps, cards, buttons,
   fonts) comes from global.css + registration.css, exactly like
   /registration. This file adds the rules the registration page keeps
   inline, plus the few new v3 elements.
   ═══════════════════════════════════════════════════════════════ */

/* the bottom "Register Now" bar links to the old form — not wanted here */
.mobile-cta-bar { display: none !important; }

/* ── rules copied from the registration page's inline <style> ── */
.cp-photo-wrap { flex-shrink: 0; width: 60px; height: 60px; border-radius: 50%; overflow: hidden; border: 2px solid rgba(201, 168, 76, 0.35); }
.cp-photo { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }

.reg-validation-alert {
    display: flex; align-items: flex-start; gap: 10px;
    background: #fff5f5; border: 1px solid #f5c2c7; border-left: 4px solid #dc3545; border-radius: 8px;
    padding: 12px 16px; margin: 0 0 18px; color: #842029; font-size: 13.5px; line-height: 1.5;
    animation: alertSlideIn .2s ease;
}
@keyframes alertSlideIn { from { opacity: 0; transform: translateY(-6px) } to { opacity: 1; transform: translateY(0) } }

.field-input.field-error, .field-select.field-error, .field-textarea.field-error {
    border-color: #dc3545 !important; background-color: #fff8f8 !important; box-shadow: 0 0 0 3px rgba(220, 53, 69, .12) !important;
}
.photo-upload-wrap.field-error { border: 2px dashed #dc3545 !important; background: #fff8f8 !important; }

.screenshot-upload-wrap { border: 2px dashed #d0c9b0; border-radius: 8px; background: #faf9f5; transition: border-color .2s; }
.screenshot-upload-wrap:hover { border-color: #c9a84c; }
.screenshot-upload-wrap.field-error { border-color: #dc3545 !important; background: #fff8f8 !important; }
.screenshot-upload-label { display: flex; align-items: center; gap: 10px; padding: 14px 16px; cursor: pointer; color: #666; font-size: 13.5px; }
.screenshot-upload-label svg { flex-shrink: 0; color: #c9a84c; }
.screenshot-upload-label.has-file { color: #2a7a2a; }

.btn-submit:disabled, .btn-next:disabled, .btn-verify:disabled { opacity: .6; cursor: not-allowed; }
.fee-s-ws-row { display: flex; justify-content: space-between; padding: 5px 0 5px 12px; font-size: 12.5px; color: #555; border-bottom: 1px dashed #ede8de; }
.fee-s-ws-row .ws-name { color: #666; }
.fee-s-ws-row .ws-price { color: #0b1b3d; font-weight: 600; }

/* ── new in v3 ─────────────────────────────────────────────── */

/* helpline note (same gold note style the registration page uses for the OTP hint) */
.v3-helpbar {
    display: flex; align-items: flex-start; gap: 10px; margin: 0 0 20px; padding: 12px 14px;
    background: rgba(201, 168, 76, 0.08); border: 1px solid rgba(201, 168, 76, 0.3); border-radius: 8px;
    font-size: 13px; line-height: 1.55; color: #6b5a00;
}
.v3-helpbar svg { margin-top: 2px; flex-shrink: 0; }
.v3-helpbar strong { display: block; color: var(--navy); }
.v3-helpbar a { color: var(--navy); font-weight: 700; text-decoration: underline; }

/* welcome-back banner: the alert box, in green */
.v3-resume { background: #ecfdf5; border-color: #a7f3d0; border-left-color: #059669; color: #065f46; }

.v3-link { background: none; border: 0; padding: 0; color: var(--navy); font: inherit; text-decoration: underline; cursor: pointer; font-weight: 600; }
.v3-link:disabled { opacity: .5; cursor: default; }

/* inline messages under fields */
.v3-err { color: #dc3545; font-size: 12px; margin-top: 5px; font-weight: 500; }
.v3-err:empty { display: none; }
.v3-err a { color: #dc3545; text-decoration: underline; }
.v3-err[hidden] { display: none; }

/* "same as WhatsApp" tick under the mobile number */
.v3-samewa { display: inline-flex; align-items: center; gap: 7px; margin-top: 8px; font-size: 12.5px; color: #555; cursor: pointer; }
.v3-samewa input { width: 15px; height: 15px; accent-color: var(--navy); }

/* one-line plain-language description under each category name */
.cat-radio-left > span:last-child { display: flex; flex-direction: column; }
.cat-radio-desc { font-size: 11.5px; font-weight: 400; color: #888; line-height: 1.4; margin-top: 2px; }
.cat-radio-item { gap: 10px; }
.cat-radio-item:focus-visible, .workshop-item:focus-visible, .pay-mode-card:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* "Pay with my UPI app" */
.v3-pay-btn { display: flex; width: 100%; justify-content: center; text-align: center; text-decoration: none; margin: 6px 0 6px; padding: 15px 18px; }

/* email verified badge (same colours the registration page uses) */
.v3-verified {
    margin-top: 8px; background: #ecfdf5; border: 1px solid #6ee7b7; border-radius: 6px; padding: 9px 12px;
    font-size: 13px; color: #065f46; align-items: center; gap: 8px; font-weight: 600;
}

.v3-foot { text-align: center; margin: 22px 0 0; font-size: 13px; color: #777; }
.v3-foot a { color: var(--navy); font-weight: 700; text-decoration: underline; }

/* summary rows on the success page */
.v3-ok-tick { width: 60px; height: 60px; border-radius: 50%; background: #059669; color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 30px; margin-bottom: 10px; }
.v3-regno { display: inline-block; background: #fdf8ec; border: 2px dashed var(--gold); border-radius: 10px; padding: 8px 22px; font-family: 'Playfair Display', serif; font-size: 24px; font-weight: 800; letter-spacing: 1px; color: var(--navy); margin: 8px 0 12px; }

@media (max-width: 600px) {
    .cat-radio-left { align-items: flex-start; }
    .v3-pay-btn { min-height: 46px; }
    .otp-row .field-input { flex: 1 1 auto; }
}
