/* ==========================================================================
   AtoZ Spares — Seller Registration Form  (Premium Red/White Design)
   ========================================================================== */

/* ── Base wrap ─────────────────────────────────────────── */
.atsv-wrap {
    max-width: 1080px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #1a1a2e;
}

/* ── HERO HEADER ───────────────────────────────────────── */
.atsv-hero {
    background: linear-gradient(135deg, #c0392b 0%, #8b0000 60%, #6b0000 100%);
    border-radius: 16px 16px 0 0;
    padding: 32px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}
.atsv-hero::before {
    content: '';
    position: absolute;
    top: -30px; right: -30px;
    width: 180px; height: 180px;
    background: rgba(255,255,255,.06);
    border-radius: 50%;
}
.atsv-hero-badge {
    display: inline-block;
    background: rgba(255,255,255,.18);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 10px;
    border: 1px solid rgba(255,255,255,.3);
}
.atsv-hero-title {
    color: #fff;
    font-size: clamp(22px, 4vw, 38px);
    font-weight: 900;
    letter-spacing: 2px;
    margin: 0 0 8px;
    text-shadow: 0 2px 8px rgba(0,0,0,.3);
}
.atsv-hero-sub {
    color: rgba(255,255,255,.85);
    font-size: 15px;
    margin: 0;
}
.atsv-secure-seal {
    flex-shrink: 0;
}
.atsv-seal-ring {
    width: 80px; height: 80px;
    border-radius: 50%;
    border: 4px solid #ffd700;
    background: linear-gradient(135deg, #8b0000, #c0392b);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(255,215,0,.4);
}
.atsv-seal-pct { color: #ffd700; font-size: 18px; font-weight: 900; line-height: 1; }
.atsv-seal-txt { color: #ffd700; font-size: 9px; font-weight: 700; letter-spacing: 1px; }

/* ── PROGRESS STEPS ────────────────────────────────────── */
.atsv-steps {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-top: none;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px 20px;
    gap: 0;
    flex-wrap: wrap;
}
.atsv-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #9ca3af;
    min-width: 90px;
}
.atsv-step-circle {
    width: 36px; height: 36px;
    border-radius: 50%;
    border: 2px solid #d1d5db;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    background: #f9fafb;
    font-weight: 700;
}
.atsv-step.atsv-step-active .atsv-step-circle {
    background: #c0392b;
    border-color: #c0392b;
    color: #fff;
    box-shadow: 0 0 0 4px rgba(192,57,43,.15);
}
.atsv-step.atsv-step-active { color: #c0392b; }
.atsv-step-line {
    flex: 1;
    height: 2px;
    background: #e5e7eb;
    min-width: 30px;
    margin-bottom: 22px;
}

/* ── BENEFITS BAR ──────────────────────────────────────── */
.atsv-benefits {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: #e5e7eb;
    border: 1px solid #e5e7eb;
    border-top: none;
    margin-bottom: 0;
}
.atsv-benefit {
    background: #fff;
    padding: 13px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
}
.atsv-benefit strong { display: block; font-size: 12px; color: #1a1a2e; margin-bottom: 1px; font-weight: 700; }
.atsv-benefit small  { color: #6b7280; font-size: 11px; display: block; }
.atsv-benefit-icon {
    width: 36px; height: 36px; border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 17px; flex-shrink: 0;
}
.atsv-bi-red    { background: #fee2e2; }
.atsv-bi-blue   { background: #dbeafe; }
.atsv-bi-green  { background: #dcfce7; }
.atsv-bi-purple { background: #ede9fe; }

/* ── REGISTRATION FEE NOTICE ───────────────────────────── */
.atsv-fee-notice {
    display: flex;
    align-items: center;
    gap: 14px;
    background: linear-gradient(135deg, #fff7ed, #fef3c7);
    border: 1.5px solid #f59e0b;
    border-radius: 10px;
    padding: 14px 20px;
    margin: 20px 0 0;
    flex-wrap: wrap;
}
.atsv-fee-icon { font-size: 26px; flex-shrink: 0; }
.atsv-fee-text { flex: 1; min-width: 200px; }
.atsv-fee-text strong { display: block; font-size: 15px; color: #92400e; font-weight: 800; }
.atsv-fee-text small  { color: #b45309; font-size: 12px; }
.atsv-fee-badge {
    background: #92400e;
    color: #fff;
    padding: 7px 14px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

/* ── FORM BODY — 2-col layout ──────────────────────────── */
.atsv-reg-form {
    margin-top: 0;
}
.atsv-form-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 20px;
}
.atsv-col { display: flex; flex-direction: column; gap: 20px; }

/* ── SECTION CARDS ─────────────────────────────────────── */
.atsv-section-card {
    background: #fff;
    border: 1.5px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px 22px;
    flex: 1;
    box-shadow: 0 2px 8px rgba(0,0,0,.05);
}
.atsv-section-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid #fee2e2;
}
.atsv-sec-num {
    width: 28px; height: 28px;
    background: #c0392b;
    color: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 13px; font-weight: 800;
    flex-shrink: 0;
}
.atsv-sec-label {
    font-size: 14px;
    font-weight: 700;
    color: #c0392b;
}
.atsv-sec-label em { font-style: normal; font-weight: 400; color: #9ca3af; font-size: 12px; }

/* ── FIELDS ────────────────────────────────────────────── */
.atsv-field-wrap {
    margin-bottom: 14px;
}
.atsv-field-wrap:last-child { margin-bottom: 0; }
.atsv-field-wrap label {
    display: block;
    font-size: 12.5px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
}
.atsv-req { color: #c0392b; margin-left: 2px; }

.atsv-field-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

/* ── Input with icon ───────────────────────────────────── */
.atsv-input-icon {
    position: relative;
    display: flex;
    align-items: center;
}
.atsv-input-icon > span:first-child {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    z-index: 2;
    pointer-events: none;
    line-height: 1;
    width: 18px;
    text-align: center;
}
.atsv-textarea-icon > span:first-child {
    top: 12px;
    transform: none;
}
.atsv-input-icon input,
.atsv-input-icon textarea {
    width: 100%;
    padding: 9px 12px 9px 34px !important;
    border: 1.5px solid #d1d5db;
    border-radius: 7px;
    font-size: 13px;
    color: #1f2937;
    background: #fafafa;
    box-sizing: border-box;
    transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
    outline: none;
    line-height: 1.5;
}
.atsv-section-card select,
.atsv-field-wrap select {
    width: 100%;
    padding: 9px 12px;
    border: 1.5px solid #d1d5db;
    border-radius: 7px;
    font-size: 13px;
    color: #1f2937;
    background: #fafafa;
    box-sizing: border-box;
    transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
    outline: none;
    appearance: auto;
    cursor: pointer;
}
.atsv-input-icon input:focus,
.atsv-input-icon textarea:focus,
.atsv-section-card select:focus,
.atsv-field-wrap select:focus {
    border-color: #c0392b;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(192,57,43,.1);
}
.atsv-input-icon input:hover,
.atsv-input-icon textarea:hover,
.atsv-section-card select:hover,
.atsv-field-wrap select:hover { border-color: #aaa; }
.atsv-input-icon textarea {
    resize: vertical;
    min-height: 80px;
    padding-top: 10px;
    line-height: 1.5;
    align-items: flex-start;
}
.atsv-gst-tick {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 15px;
    pointer-events: none;
    z-index: 2;
}
.atsv-hint-green { font-size: 11px; color: #16a34a; margin-top: 4px; display: block; }
.atsv-uppercase  { text-transform: uppercase; letter-spacing: .5px; }
.atsv-readonly   { background: #f3f4f6 !important; cursor: not-allowed; color: #6b7280 !important; }
.atsv-confidential-note {
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 7px;
    padding: 10px 14px;
    font-size: 12px;
    color: #92400e;
    margin-top: 12px;
    display: flex;
    align-items: flex-start;
    gap: 6px;
}

/* ── POLICY CHECKBOX BAR ───────────────────────────────── */
.atsv-policy-bar {
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: 8px;
    padding: 14px 18px;
    margin: 20px 0 0;
    font-size: 13px;
}
.atsv-agree-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}
.atsv-agree-label input[type="checkbox"] {
    width: 16px; height: 16px;
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: #c0392b;
    cursor: pointer;
}
.atsv-agree-label span { color: #374151; line-height: 1.5; }
.atsv-agree-label a { color: #c0392b; text-decoration: underline; font-weight: 600; }
.atsv-agree-label a:hover { color: #8b0000; }

/* ── FOOTER ACTION BAR ─────────────────────────────────── */
.atsv-form-footer-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 16px;
    flex-wrap: wrap;
}
.atsv-submit-btn {
    flex: 1;
    background: linear-gradient(135deg, #c0392b 0%, #8b0000 100%);
    color: #fff;
    border: none;
    padding: 14px 30px;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 1.5px;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: transform 0.15s, box-shadow 0.15s;
    box-shadow: 0 4px 15px rgba(192,57,43,.35);
    text-transform: uppercase;
}
.atsv-submit-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(192,57,43,.45); }
.atsv-submit-btn:disabled { opacity: 0.7; cursor: not-allowed; transform: none; }
.atsv-wa-btn {
    background: #25d366;
    color: #fff;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    box-shadow: 0 3px 10px rgba(37,211,102,.3);
    transition: transform 0.15s, box-shadow 0.15s;
}
.atsv-wa-btn:hover { transform: translateY(-2px); color: #fff; box-shadow: 0 5px 14px rgba(37,211,102,.4); }
.atsv-call-btn {
    background: #2563eb;
    color: #fff;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    box-shadow: 0 3px 10px rgba(37,99,235,.3);
    transition: transform 0.15s, box-shadow 0.15s;
}
.atsv-call-btn:hover { transform: translateY(-2px); color: #fff; box-shadow: 0 5px 14px rgba(37,99,235,.4); }
.atsv-secure-note {
    text-align: center;
    font-size: 12px;
    color: #6b7280;
    margin: 10px 0 0;
}

/* ── NOTICES ───────────────────────────────────────────── */
.atsv-notice {
    padding: 14px 18px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.atsv-notice-success { background: #d1fae5; color: #065f46; border-left: 4px solid #10b981; }
.atsv-notice-error   { background: #fee2e2; color: #7f1d1d; border-left: 4px solid #ef4444; }

/* ── SUCCESS SCREEN ────────────────────────────────────── */
.atsv-success-screen {
    text-align: center;
    padding: 60px 40px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,.08);
}
.atsv-success-icon { font-size: 64px; margin-bottom: 16px; }
.atsv-success-screen h2 { color: #065f46; font-size: 24px; margin-bottom: 14px; }
.atsv-success-screen p  { color: #374151; font-size: 15px; margin-bottom: 10px; }
.atsv-success-steps {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin: 28px 0;
    flex-wrap: wrap;
}
.atsv-ss {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 16px 20px;
    min-width: 130px;
}
.atsv-ss span { font-size: 28px; }
.atsv-ss small { font-size: 12px; color: #6b7280; text-align: center; }
.atsv-btn-home {
    display: inline-block;
    background: #c0392b;
    color: #fff;
    text-decoration: none;
    padding: 12px 32px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    margin-top: 10px;
}
.atsv-btn-home:hover { background: #8b0000; color: #fff; }

/* ── POLICY LINKS SECTION ──────────────────────────────── */
.atsv-policy-links {
    margin-top: 28px;
    padding: 24px 0 10px;
    border-top: 2px solid #f3f4f6;
}
.atsv-policy-links h4 {
    font-size: 15px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 16px;
}
.atsv-policy-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}
.atsv-policy-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    background: #fff;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    padding: 18px 12px;
    text-decoration: none;
    text-align: center;
    transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}
.atsv-policy-card:hover {
    border-color: #c0392b;
    box-shadow: 0 4px 12px rgba(192,57,43,.12);
    transform: translateY(-2px);
}
.atsv-policy-card > span  { font-size: 26px; }
.atsv-policy-card > strong{ font-size: 12.5px; color: #1f2937; }
.atsv-policy-card > small { font-size: 11px; color: #6b7280; }

/* ── ADMIN-SIDE OVERRIDES (reuse in admin panel) ──────── */
.atsv-delete-link { color: #c0392b !important; }
.atsv-delete-link:hover { text-decoration: underline; }

/* ── RESPONSIVE ────────────────────────────────────────── */
@media (max-width: 860px) {
    .atsv-benefits       { grid-template-columns: repeat(2, 1fr); }
    .atsv-form-body      { grid-template-columns: 1fr; }
    .atsv-policy-grid    { grid-template-columns: repeat(2, 1fr); }
    .atsv-form-footer-bar{ flex-direction: column; }
    .atsv-submit-btn     { width: 100%; flex: unset; }
    .atsv-wa-btn, .atsv-call-btn { width: 100%; justify-content: center; }
    .atsv-hero           { flex-direction: column; text-align: center; gap: 16px; border-radius: 10px 10px 0 0; padding: 24px 20px; }
    .atsv-steps          { gap: 4px; padding: 14px 10px; }
    .atsv-step           { min-width: 60px; font-size: 10px; }
    .atsv-step-line      { min-width: 10px; }
    .atsv-fee-notice     { gap: 10px; }
}
@media (max-width: 520px) {
    .atsv-benefits       { grid-template-columns: 1fr; }
    .atsv-policy-grid    { grid-template-columns: 1fr 1fr; }
    .atsv-field-row-2    { grid-template-columns: 1fr; }
    .atsv-fee-notice     { flex-direction: column; text-align: center; }
    .atsv-hero-title     { font-size: 22px; }
    .atsv-section-card   { padding: 16px 14px; }
    .atsv-secure-seal    { display: none; }
}

/* ── PAYMENT METHODS SECTION ───────────────────────────── */
.atsv-payment-section {
    margin-top: 28px;
    background: #fff;
    border: 2px solid #f59e0b;
    border-radius: 12px;
    padding: 20px 24px;
    box-shadow: 0 2px 10px rgba(245,158,11,.1);
}
.atsv-payment-header {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #fde68a;
}
.atsv-payment-icon {
    font-size: 28px;
    flex-shrink: 0;
}
.atsv-payment-header strong {
    display: block;
    font-size: 15px;
    color: #92400e;
    font-weight: 800;
    margin-bottom: 4px;
}
.atsv-payment-header small {
    color: #b45309;
    font-size: 12.5px;
    line-height: 1.5;
}
.atsv-payment-methods {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 16px;
}
.atsv-pay-method {
    background: #fffbeb;
    border: 1.5px solid #fde68a;
    border-radius: 10px;
    padding: 16px 14px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}
.atsv-pay-icon {
    font-size: 32px;
    line-height: 1;
}
.atsv-pay-method strong {
    font-size: 13px;
    color: #1f2937;
    font-weight: 700;
}
.atsv-pay-method small {
    font-size: 11.5px;
    color: #6b7280;
}
.atsv-pay-upi {
    font-size: 11px;
    color: #92400e;
    font-weight: 600;
    background: #fef3c7;
    padding: 3px 8px;
    border-radius: 4px;
    margin-top: 4px;
}
.atsv-wa-pay-btn {
    display: inline-block;
    background: #25d366;
    color: #fff;
    text-decoration: none;
    padding: 7px 14px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    margin-top: 4px;
    transition: background .15s;
}
.atsv-wa-pay-btn:hover {
    background: #1da851;
    color: #fff;
}
.atsv-payment-note {
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 7px;
    padding: 10px 14px;
    font-size: 12.5px;
    color: #92400e;
    text-align: center;
}
@media (max-width: 640px) {
    .atsv-payment-methods { grid-template-columns: 1fr; }
}
