/* ===================================================
   BioSpectrum India – Subscription New Dark Theme
   =================================================== */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --bg-page:       #0a0a0a;
    --bg-section:    #111111;
    --card-white:    #ffffff;
    --card-pink:     #fde8f0;
    --card-lime:     #c9f53b;
    --text-white:    #ffffff;
    --text-dark:     #111111;
    --text-muted:    #999999;
    --accent-green:  #c9f53b;
    --toggle-border: #333333;
    --check-green:   #27c96e;
    --cross-red:     #ff4d4d;
    --border-radius: 18px;
    --shadow-card:   0 8px 40px rgba(0,0,0,0.45);
}

html, body {
    background: var(--bg-page);
    color: var(--text-white);
    font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
    min-height: 100vh;
}

/* ── HERO SECTION ────────────────────────────────── */
.sn-hero {
    text-align: center;
    padding: 70px 20px 50px;
    background: var(--bg-page);
}

.sn-hero h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    color: var(--text-white);
    letter-spacing: -0.5px;
    margin-bottom: 14px;
}

.sn-hero p.subtitle {
    color: var(--text-muted);
    font-size: 15px;
    max-width: 420px;
    margin: 0 auto 28px;
    line-height: 1.6;
}

/* subscriber badge */
.sn-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 40px;
    padding: 8px 18px;
    margin-bottom: 36px;
    font-size: 13px;
    color: var(--text-muted);
}
.sn-badge .avatars { display: flex; }
.sn-badge .avatars span {
    width: 28px; height: 28px;
    border-radius: 50%;
    border: 2px solid #0a0a0a;
    background: #333;
    display: inline-block;
    margin-left: -8px;
    overflow: hidden;
}
.sn-badge .avatars span:first-child { margin-left: 0; }
.sn-badge .avatars span img { width: 100%; height: 100%; object-fit: cover; }

/* ── TOGGLE ──────────────────────────────────────── */
.sn-toggle-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 20px;
    position: relative;
}

.sn-toggle {
    display: inline-flex;
    background: #1a1a1a;
    border: 1.5px solid #2e2e2e;
    border-radius: 40px;
    padding: 4px;
    gap: 0;
}

.sn-toggle button {
    padding: 9px 28px;
    border-radius: 32px;
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    letter-spacing: 0.2px;
}

.sn-toggle button.active {
    background: var(--text-white);
    color: var(--text-dark);
    box-shadow: 0 2px 10px rgba(0,0,0,0.4);
}

.sn-toggle button:hover:not(.active) {
    color: #ccc;
}

.sn-savings-badge {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.sn-savings-badge .arrow-label {
    font-size: 11px;
    color: var(--accent-green);
    position: relative;
    padding-left: 16px;
}
.sn-savings-badge .arrow-label::before {
    content: "↙";
    position: absolute;
    left: 0;
    font-size: 13px;
}
.sn-savings-badge .pct {
    font-size: 15px;
    font-weight: 700;
    color: var(--accent-green);
    margin-top: 2px;
}

/* ── PLAN CARDS ──────────────────────────────────── */
.sn-plans-section { padding: 10px 20px 60px; background: var(--bg-page); }

.sn-plans-grid {
    display: flex;
    gap: 22px;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 1050px;
    margin: 0 auto;
}

.sn-plan-card {
    position: relative;
    border-radius: 0;
    padding: 32px 28px 28px;
    width: 305px;
    min-height: 480px;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-card);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    cursor: pointer;
}

.sn-plan-card:hover { transform: translateY(-6px); box-shadow: 0 16px 50px rgba(0,0,0,0.55); }

.sn-plan-card.card-white  { background: var(--card-white); color: var(--text-dark); }
.sn-plan-card.card-pink   { background: var(--card-pink);  color: var(--text-dark); }
.sn-plan-card.card-lime   { background: var(--card-lime);  color: var(--text-dark); }

/* selected state */
.sn-plan-card.selected {
    outline: 3px solid var(--accent-green);
    outline-offset: 3px;
}

/* best offer badge */
.sn-best-badge {
    position: absolute;
    top: 20px; right: 20px;
    background: #111;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    letter-spacing: 0.5px;
    display: flex; align-items: center; gap: 5px;
}
.sn-best-badge::before { content: "★"; color: #f5a623; }

/* plan icon */
.sn-plan-icon {
    font-size: 26px;
    margin-bottom: 14px;
    display: block;
}

.sn-plan-card h3 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 4px;
}

.sn-plan-card .tagline {
    font-size: 13px;
    color: #666;
    margin-bottom: 18px;
}
.sn-plan-card.card-lime .tagline { color: #444; }

/* price */
.sn-price-block {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 6px;
}
.sn-price-block .currency { font-size: 22px; font-weight: 700; }
.sn-price-block .amount   { font-size: 42px; font-weight: 800; line-height: 1; }
.sn-price-block .period   { font-size: 13px; color: #777; }
.sn-plan-card.card-lime .sn-price-block .period { color: #555; }

.sn-plan-divider {
    border: none;
    border-top: 1.5px solid rgba(0,0,0,0.12);
    margin: 16px 0 18px;
}

/* features list */
.sn-features-label { font-size: 13px; font-weight: 700; margin-bottom: 10px; color: #444; }
.sn-plan-card.card-lime .sn-features-label { color: #333; }

.sn-features-list { list-style: none; flex: 1; }
.sn-features-list li {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 13.5px;
    margin-bottom: 9px;
    color: #333;
}
.sn-features-list li .fi-check {
    width: 18px; height: 18px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    font-size: 10px;
    background: rgba(39,201,110,0.18);
    color: var(--check-green);
}

/* CTA button */
.sn-plan-btn {
    margin-top: 22px;
    width: 100%;
    padding: 13px 0;
    border-radius: 12px;
    border: 1.5px solid #bbb;
    background: transparent;
    color: var(--text-dark);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    letter-spacing: 0.3px;
}
.sn-plan-btn:hover, .sn-plan-card.selected .sn-plan-btn {
    background: var(--text-dark);
    color: #fff;
    border-color: var(--text-dark);
}
.sn-plan-card.card-lime .sn-plan-btn:hover,
.sn-plan-card.card-lime.selected .sn-plan-btn {
    background: #0a0a0a;
    border-color: #0a0a0a;
    color: #fff;
}

/* ── COMPARE TABLE ───────────────────────────────── */
.sn-compare-section {
    background: var(--bg-page);
    padding: 0 20px 80px;
}

.sn-compare-inner {
    max-width: 900px;
    margin: 0 auto;
    background: #141414;
    border-radius: 24px;
    padding: 50px 40px 40px;
    box-shadow: 0 8px 50px rgba(0,0,0,0.6);
}

.sn-compare-inner h2 {
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 800;
    color: var(--text-white);
    text-align: center;
    margin-bottom: 40px;
}

.sn-compare-table {
    width: 100%;
    border-collapse: collapse;
}

.sn-compare-table th {
    text-align: center;
    padding: 10px 14px 20px;
    color: var(--text-white);
}

.sn-compare-table th.feat-col { text-align: left; }

.sn-compare-table .plan-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-white);
    display: block;
    margin-bottom: 4px;
}
.sn-compare-table .plan-price {
    font-size: 13px;
    color: var(--text-muted);
}
.sn-compare-table .plan-price strong {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-white);
}

.sn-compare-table td {
    text-align: center;
    padding: 14px 14px;
    border-top: 1px solid #222;
    font-size: 14px;
    color: var(--text-muted);
}
.sn-compare-table td.feat-col {
    text-align: left;
    color: #ccc;
    font-size: 14px;
}

.sn-compare-table tr:last-child td { border-bottom: 1px solid #222; }

.icon-yes { color: var(--check-green); font-size: 20px; }
.icon-no  { color: var(--cross-red);   font-size: 16px; font-weight: 700; }
.icon-num { color: var(--text-white);  font-size: 15px; font-weight: 700; }

/* ── MULTI-STEP FORM (dark theme) ────────────────── */
.sn-form-section {
    background: var(--bg-page);
    padding: 20px 20px 80px;
    display: none;
}
.sn-form-section.visible { display: block; }

.sn-form-card {
    max-width: 560px;
    margin: 0 auto;
    background: #141414;
    border-radius: 24px;
    padding: 40px 36px;
    box-shadow: 0 8px 50px rgba(0,0,0,0.6);
}

/* progress bar */
#progressbar {
    display: flex;
    list-style: none;
    margin-bottom: 36px;
    padding: 0;
    overflow: visible;
}
#progressbar li {
    flex: 1;
    text-align: center;
    font-size: 11px;
    color: #555;
    position: relative;
    font-weight: 600;
    letter-spacing: 0.3px;
    padding-top: 58px;
    transition: color 0.3s;
}
#progressbar li::before {
    content: attr(data-icon);
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 44px; height: 44px;
    line-height: 44px;
    font-size: 17px;
    border-radius: 50%;
    background: #222;
    color: #555;
    border: 2px solid #333;
    transition: all 0.3s ease;
}
#progressbar li::after {
    content: '';
    position: absolute;
    top: 22px; left: calc(50% + 22px);
    width: calc(100% - 44px);
    height: 2px;
    background: #2a2a2a;
    z-index: 0;
}
#progressbar li:last-child::after { display: none; }
#progressbar li.active { color: var(--text-white); }
#progressbar li.active::before {
    background: var(--accent-green);
    color: #111;
    border-color: var(--accent-green);
    box-shadow: 0 0 12px rgba(201,245,59,0.5);
}
#progressbar li.active::after { background: var(--accent-green); }

/* fieldset reset */
.sn-form-card fieldset { border: none; background: transparent; padding: 0; }
.sn-form-card fieldset:not(:first-of-type) { display: none; }

.sn-form-card h2.fs-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 22px;
    letter-spacing: -0.2px;
}

/* inputs */
.sn-form-card input:not([type="button"]):not([type="submit"]):not([type="hidden"]):not([type="radio"]):not([type="checkbox"]):not([type="number"]),
.sn-form-card input[type="number"]:not(#copies_input) {
    width: 100%;
    padding: 13px 16px;
    margin-bottom: 14px;
    background: #1e1e1e;
    border: 1.5px solid #2e2e2e;
    border-radius: 10px;
    color: var(--text-white);
    font-size: 14px;
    transition: border-color 0.2s ease;
    outline: none;
}
.sn-form-card input:focus { border-color: var(--accent-green); }
.sn-form-card input::placeholder { color: #555; }

.sn-form-card select { 
    background: #1e1e1e; 
    border: 1.5px solid #2e2e2e; 
    border-radius: 10px; 
    color: var(--text-white); 
    padding: 10px 14px; 
    font-size: 14px;
}
.sn-form-card .select2-container--default .select2-selection--multiple {
    background: #1e1e1e;
    border: 1.5px solid #2e2e2e;
    border-radius: 10px;
    min-height: 44px;
}
.sn-form-card .select2-container--default .select2-selection--multiple .select2-selection__rendered { color: var(--text-white); }
.sn-form-card .select2-container--default .select2-selection--multiple .select2-selection__choice { background: #333; border-color: #444; color: #fff; }
.sn-form-card .select2-container--default .select2-selection--multiple .select2-selection__choice__remove { color: #aaa; }

/* form labels */
.sn-form-card .field-label { font-size: 12px; color: #888; font-weight: 600; margin-bottom: 6px; display: block; letter-spacing: 0.5px; text-transform: uppercase; }

/* action buttons */
.action-button {
    padding: 13px 30px;
    border-radius: 12px;
    border: none;
    background: var(--accent-green);
    color: #111;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    transition: opacity 0.2s ease, transform 0.15s ease;
    margin: 6px 4px;
    letter-spacing: 0.3px;
}
.action-button:hover { opacity: 0.88; transform: translateY(-1px); }
.action-button:active { transform: translateY(0); }

.action-button-previous {
    padding: 13px 28px;
    border-radius: 12px;
    border: 1.5px solid #333;
    background: transparent;
    color: #aaa;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin: 6px 4px;
}
.action-button-previous:hover { border-color: #666; color: #fff; }

/* ── PROMO CODE SECTION ──────────────────────────── */
.sn-promo-wrap {
    background: #1a1a1a;
    border: 1.5px solid #272727;
    border-radius: 14px;
    padding: 20px 18px;
    margin-top: 18px;
}

.sn-promo-wrap h5 {
    font-size: 13px;
    font-weight: 700;
    color: #ccc;
    margin-bottom: 12px;
    letter-spacing: 0.3px;
}

.sn-promo-row {
    display: flex;
    gap: 8px;
}
.sn-promo-row input {
    flex: 1;
    padding: 11px 14px;
    background: #111;
    border: 1.5px solid #333;
    border-radius: 10px;
    color: #fff;
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    outline: none;
    width: auto !important;
    margin-bottom: 0 !important;
}
.sn-promo-row input:focus { border-color: var(--accent-green); }
.sn-promo-row button {
    padding: 11px 20px;
    background: var(--accent-green);
    color: #111;
    border: none;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.2s;
    white-space: nowrap;
}
.sn-promo-row button:hover { opacity: 0.85; }

.sn-price-summary {
    background: #111;
    border: 1px solid #272727;
    border-radius: 10px;
    padding: 14px 16px;
    margin-top: 14px;
}
.sn-price-summary table { width: 100%; font-size: 13px; }
.sn-price-summary td { padding: 5px 0; color: #ccc; }
.sn-price-summary td:last-child { text-align: right; }
.sn-price-summary .final-row td { color: var(--text-white); font-weight: 800; font-size: 15px; }
.sn-price-summary .discount-row td { color: var(--check-green); }
.sn-price-summary .delivery-row td { color: #f5a623; }

/* copies input */
.sn-copies-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}
.sn-copies-row label { font-size: 13px; color: #aaa; font-weight: 600; white-space: nowrap; }
#copies_input {
    width: 80px !important;
    padding: 8px 12px !important;
    background: #1e1e1e;
    border: 1.5px solid #2e2e2e;
    border-radius: 8px;
    color: #fff;
    font-size: 14px;
    text-align: center;
    outline: none;
}

/* delivery box */
.sn-delivery-wrap {
    background: rgba(245,166,35,0.08);
    border: 1px solid rgba(245,166,35,0.3);
    border-radius: 10px;
    padding: 12px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #f5a623;
    margin-top: 10px;
}

/* alert messages */
.sn-alert { 
    padding: 10px 14px; 
    border-radius: 8px; 
    font-size: 13px; 
    margin-top: 10px; 
    display: none;
}
.sn-alert-success { background: rgba(39,201,110,0.12); border: 1px solid rgba(39,201,110,0.3); color: #27c96e; }
.sn-alert-danger  { background: rgba(255,77,77,0.10);  border: 1px solid rgba(255,77,77,0.3);  color: #ff6b6b; }

/* selected plan chip */
.sn-selected-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(201,245,59,0.12);
    border: 1px solid rgba(201,245,59,0.3);
    border-radius: 20px;
    padding: 4px 14px;
    font-size: 12px;
    color: var(--accent-green);
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 0.4px;
}

/* invoice step */
.sn-result-box { text-align: center; padding: 20px 0; }
.sn-result-box h2 { font-size: 26px; font-weight: 800; margin-bottom: 20px; }
.sn-result-box.success h2 { color: var(--check-green); }
.sn-result-box.failure h2 { color: var(--cross-red); }
.sn-result-box p { color: #aaa; font-size: 14px; line-height: 1.7; margin-bottom: 10px; }
.sn-result-box p strong { color: #fff; }
.sn-dl-btn {
    display: inline-block;
    margin-top: 16px;
    padding: 13px 32px;
    background: var(--accent-green);
    color: #111;
    font-weight: 800;
    font-size: 14px;
    border-radius: 12px;
    text-decoration: none;
    transition: opacity 0.2s;
}
.sn-dl-btn:hover { opacity: 0.85; color: #111; text-decoration: none; }
.sn-retry-link { color: var(--accent-green); font-weight: 700; }
.sn-retry-link:hover { text-decoration: underline; }

/* validation errors */
label.error { color: #ff6b6b; font-size: 11px; margin-top: -10px; margin-bottom: 8px; display: block; }

/* ── OTP MODAL ───────────────────────────────────── */
.modal-content {
    background: #141414 !important;
    border: 1px solid #2a2a2a !important;
    border-radius: 18px !important;
    color: #fff;
}
.modal-header { background: linear-gradient(135deg, #c9f53b, #88d400) !important; border-bottom: none !important; }
.modal-header .modal-title { color: #111 !important; font-weight: 800 !important; }
.modal-body p { color: #aaa; }
.modal-body #otp-modal-email { color: var(--accent-green); }
#otp_input {
    letter-spacing: 8px;
    font-size: 22px;
    font-weight: 800;
    text-align: center;
    width: 230px;
    padding: 10px;
    background: #1e1e1e;
    border: 2px solid var(--accent-green);
    border-radius: 8px;
    color: #fff;
    outline: none;
}
.modal-body .btn-primary { background: var(--accent-green); border: none; color: #111; font-weight: 700; border-radius: 8px; }
.modal-body .btn-outline-secondary { border-color: #444; color: #aaa; border-radius: 8px; }
.modal-body .btn-outline-secondary:hover { background: #2a2a2a; color: #fff; }

/* ── TABLE IN PLAN STEP ──────────────────────────── */
.plan-select-table { width: 100%; border-collapse: collapse; margin-bottom: 10px; }
.plan-select-table td, .plan-select-table th { padding: 8px 6px; font-size: 13px; color: #ccc; }
.plan-select-table tr td:first-child { width: 30px; }
.plan-select-table strong { color: #fff; }
.plan-select-table input[type="radio"] { accent-color: var(--accent-green); width: 16px; height: 16px; cursor: pointer; }

/* ── RESPONSIVE ──────────────────────────────────── */
@media (max-width: 768px) {
    .sn-plans-grid { flex-direction: column; align-items: center; }
    .sn-plan-card  { width: 100%; max-width: 390px; }
    .sn-compare-inner { padding: 30px 18px; overflow-x: auto; }
    .sn-compare-table { min-width: 520px; }
    .sn-form-card { padding: 26px 18px; }
    #progressbar li { font-size: 0; }
    #progressbar li::before { width: 36px; height: 36px; line-height: 36px; font-size: 14px; }
    #progressbar li { padding-top: 46px; }
}

/* ── LOGO ────────────────────────────────────────── */
.sn-logo-wrap { text-align: center; padding: 24px 0 0; }
.sn-logo-wrap img { max-height: 60px; }

/* error color */
.error { color: #ff6b6b; font-size: 12px; margin-top: -10px; display: block; margin-bottom: 8px; }
.style1 { color: var(--accent-green); }

/* ── INLINE OTP BOX ──────────────────────────────── */
#otp-inline-box {
    background: #141414;
    border: 1px solid #2a2a2a;
    padding: 20px 18px 16px;
    margin-top: 14px;
    margin-bottom: 4px;
}

.sn-otp-sent-label {
    font-size: 13px;
    color: #888;
    margin-bottom: 12px;
}
.sn-otp-sent-label strong {
    color: #ddd;
    font-weight: 600;
}

#otp_message {
    font-size: 12.5px;
    padding: 8px 12px;
    margin-bottom: 12px;
    border-radius: 0;
}
#otp_message.otp-msg-success {
    background: rgba(39,201,110,0.12);
    color: #27c96e;
    border: 1px solid rgba(39,201,110,0.25);
}
#otp_message.otp-msg-danger {
    background: rgba(255,77,77,0.10);
    color: #ff6b6b;
    border: 1px solid rgba(255,77,77,0.25);
}

.sn-otp-row {
    display: flex;
    gap: 8px;
    align-items: center;
}
.sn-otp-row input[type="text"] {
    flex: 1;
    background: #1e1e1e;
    border: 1px solid #333;
    color: #e0e0e0;
    padding: 10px 14px;
    font-size: 15px;
    letter-spacing: 4px;
    outline: none;
    border-radius: 0;
}
.sn-otp-row input[type="text"]::placeholder {
    letter-spacing: 0;
    color: #555;
    font-size: 13px;
}
.sn-otp-row input[type="text"]:focus {
    border-color: var(--accent-green);
}

#verify_otp_btn,
.sn-otp-row button#verify_otp_btn {
    background: var(--accent-green) !important;
    color: #111 !important;
    border: none !important;
    padding: 10px 22px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    cursor: pointer;
    white-space: nowrap;
    transition: opacity 0.2s;
    border-radius: 0 !important;
    line-height: 1.4;
    display: inline-block;
}
#verify_otp_btn:hover,
.sn-otp-row button#verify_otp_btn:hover { opacity: 0.85; }
#verify_otp_btn:disabled,
.sn-otp-row button#verify_otp_btn:disabled { opacity: 0.5; cursor: not-allowed; }

#resend_otp_btn,
.sn-otp-row button#resend_otp_btn {
    background: transparent !important;
    color: #888 !important;
    border: 1px solid #444 !important;
    padding: 10px 16px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    cursor: pointer;
    white-space: nowrap;
    transition: border-color 0.2s, color 0.2s;
    border-radius: 0 !important;
    line-height: 1.4;
    display: inline-block;
}
#resend_otp_btn:hover:not(:disabled),
.sn-otp-row button#resend_otp_btn:hover:not(:disabled) { border-color: #888 !important; color: #ccc !important; }
#resend_otp_btn:disabled,
.sn-otp-row button#resend_otp_btn:disabled { opacity: 0.45; cursor: not-allowed; }

.sn-otp-note {
    font-size: 11px;
    color: #888;
    margin-top: 10px;
    margin-bottom: 0;
}
