/* ================================================================
   Lin$ella Order Form – ClickFunnels / Russell Brunson Style
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700;800&display=swap');

#ls-order-wrap {
    max-width: 720px;
    margin: 0 auto 40px;
    font-family: 'Open Sans', sans-serif;
    color: #333;
}

/* ── Headline above form ───────────────────────────────────────── */
.ls-form-headline {
    text-align: center;
    margin-bottom: 6px;
    margin-top: 10px;
}
.ls-form-headline .ls-green-label {
    color: #27ae60;
    font-size: 22px;
    font-weight: 800;
    display: block;
    letter-spacing: -0.3px;
}
.ls-form-headline h2 {
    font-size: 28px;
    font-weight: 800;
    color: #1a1a2e;
    margin: 0;
    line-height: 1.2;
}

/* ── Chevron Step Bar ──────────────────────────────────────────── */
.ls-steps {
    display: flex;
    margin-bottom: 0;
    border-radius: 6px 6px 0 0;
    overflow: hidden;
    box-shadow: none;
}
.ls-step {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px 14px 28px;
    background: #d5d5d5;
    color: #888;
    font-size: 13px;
    font-weight: 700;
    cursor: default;
    position: relative;
    clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 50%, calc(100% - 18px) 100%, 0 100%, 18px 50%);
    transition: background 0.2s;
}
.ls-step:first-child {
    clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 50%, calc(100% - 18px) 100%, 0 100%);
    padding-left: 20px;
}
.ls-step:last-child {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 18px 50%);
}
.ls-step span {
    width: 28px; height: 28px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    color: #888;
    display: flex; align-items: center; justify-content: center;
    font-size: 13px; font-weight: 800;
    flex-shrink: 0;
}
.ls-step .ls-step-sub {
    display: block;
    font-size: 10px;
    font-weight: 400;
    color: inherit;
    opacity: 0.8;
    line-height: 1.2;
}
.ls-step.active {
    background: #27ae60;
    color: white;
}
.ls-step.active span { background: rgba(0,0,0,0.15); color: white; }
.ls-step.done { background: #1e8449; color: rgba(255,255,255,0.85); }
.ls-step.done span { background: rgba(0,0,0,0.15); color: white; }

/* ── Form Container ────────────────────────────────────────────── */
.ls-form-box {
    background: #fff;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 6px 6px;
    padding: 28px 32px 32px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}

/* ── Section Labels (like "SHIPPING") ──────────────────────────── */
.ls-section-label {
    font-size: 11px;
    font-weight: 700;
    color: #666;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-bottom: 1px solid #e8e8e8;
    padding-bottom: 6px;
    margin: 18px 0 12px;
}

/* ── Fields ─────────────────────────────────────────────────────── */
.ls-field-row {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}
.ls-field {
    flex: 1 1 180px;
    display: flex;
    flex-direction: column;
    margin-bottom: 0;
}
.ls-field-full { flex: 1 1 100%; }

/* NO external labels – placeholder-only */
.ls-field label { display: none !important; }

.ls-field input,
.ls-field select,
.ls-field textarea {
    border: 1px solid #d0d0d0;
    border-radius: 4px;
    padding: 13px 14px;
    font-size: 14px;
    font-family: 'Open Sans', sans-serif;
    color: #333;
    background: #fafafa;
    outline: none;
    transition: border-color 0.15s, background 0.15s;
    width: 100%;
    box-sizing: border-box;
}
.ls-field input::placeholder,
.ls-field textarea::placeholder { color: #e67e22; }
.ls-field select { color: #e67e22; }
.ls-field select option { color: #333; }

.ls-field input:focus,
.ls-field select:focus {
    border-color: #27ae60;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(39,174,96,0.12);
}
.ls-field input.ls-error { border-color: #e74c3c; background: #fff5f5; }
.ls-field-hint {
    font-size: 11px;
    color: #999;
    margin-top: 4px;
    display: none; /* hide hints for cleaner look */
}

/* ── VAT Row ─────────────────────────────────────────────────────── */
#ls-vat-row { margin-top: 6px; }
#ls-vat-row .ls-field-hint { display: block; }

/* ── CTA Button ─────────────────────────────────────────────────── */
.ls-btn-next,
.ls-btn-submit {
    width: 100%;
    padding: 0;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 18px;
    overflow: hidden;
    transition: filter 0.15s, transform 0.12s;
    display: block;
    text-align: center;
    text-decoration: none;
    background: #27ae60;
    box-shadow: 0 4px 0 #1a7a41, 0 6px 20px rgba(39,174,96,0.35);
}
.ls-btn-next:hover,
.ls-btn-submit:hover { filter: brightness(1.06); transform: translateY(-1px); }
.ls-btn-next:active,
.ls-btn-submit:active { transform: translateY(1px); box-shadow: 0 2px 0 #1a7a41; }

.ls-btn-main-text {
    display: block;
    color: white;
    font-size: 22px;
    font-weight: 800;
    padding: 16px 20px 4px;
    letter-spacing: -0.3px;
}
.ls-btn-main-text::before { content: '🛒 '; }

.ls-btn-sub-text {
    display: block;
    color: rgba(255,255,255,0.88);
    font-size: 13px;
    font-weight: 600;
    padding: 0 20px 16px;
    letter-spacing: 0.02em;
}

/* Back button */
.ls-btn-back {
    background: none;
    border: none;
    color: #5d6d7e;
    font-size: 13px;
    cursor: pointer;
    padding: 10px 0 0;
    display: block;
    text-align: center;
    width: 100%;
    text-decoration: underline;
    font-family: 'Open Sans', sans-serif;
}
.ls-btn-back:hover { color: #333; }
.ls-nav-row { display: flex; flex-direction: column; }

/* ── Trust Badges ────────────────────────────────────────────────── */
.ls-trust-badges {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid #e8e8e8;
}
.ls-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: #27ae60;
    text-align: center;
}
.ls-badge-icon {
    font-size: 28px;
    line-height: 1;
}
.ls-badge-title {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #27ae60;
    line-height: 1.2;
}
.ls-badge-sub {
    font-size: 9px;
    color: #888;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* Security note */
.ls-security-note {
    text-align: center;
    font-size: 11px;
    color: #999;
    margin-top: 10px;
}

/* ── Step 2: Domain Cards ─────────────────────────────────────────── */
.ls-primary-domain { margin-bottom: 16px; }
.ls-domain-badge {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #27ae60;
    padding: 4px 0;
}
.ls-domain-card {
    border: 2px solid #27ae60;
    border-radius: 5px;
    padding: 14px 16px;
    background: #f0faf4;
    display: flex;
    align-items: center;
    gap: 12px;
}
.ls-domain-name {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 700;
    flex: 1;
}
.ls-domain-topic {
    font-size: 11px;
    background: #d5f5e3;
    color: #1a7a41;
    padding: 2px 8px;
    border-radius: 999px;
    font-weight: 700;
}
.ls-domain-price {
    font-size: 20px;
    font-weight: 800;
    color: #27ae60;
    white-space: nowrap;
}

/* Accordion */
.ls-upsell-wrap { margin-bottom: 16px; }
.ls-accordion-toggle {
    width: 100%;
    padding: 13px 18px;
    background: #1a7a41;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Open Sans', sans-serif;
}
.ls-accordion-toggle:hover { background: #145c31; }
#ls-accordion-body {
    border: 1px solid #ddd;
    border-top: none;
    padding: 16px;
    background: #fafafa;
}
.ls-upsell-hint { font-size: 13px; color: #666; margin: 0 0 12px; }
.ls-domain-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 8px;
    max-height: 320px;
    overflow-y: auto;
}
.ls-upsell-card {
    display: flex;
    align-items: center;
    gap: 10px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 10px 12px;
    cursor: pointer;
    transition: border-color 0.12s, background 0.12s;
}
.ls-upsell-card:hover { border-color: #27ae60; }
.ls-upsell-card:has(input:checked) { border-color: #27ae60; background: #f0faf4; }
.ls-upsell-card input[type=checkbox] { width: 16px; height: 16px; accent-color: #27ae60; flex-shrink: 0; }
.ls-upsell-info { flex: 1; min-width: 0; }
.ls-upsell-domain { font-size: 13px; font-weight: 700; color: #222; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ls-upsell-meta { display: flex; flex-wrap: wrap; gap: 3px; margin-top: 3px; }
.ls-upsell-meta span { font-size: 10px; background: #f1f1f1; color: #555; padding: 1px 5px; border-radius: 3px; font-weight: 600; }
.ls-upsell-meta .ls-topic { background: #d5f5e3; color: #1a7a41; }
.ls-upsell-price { font-size: 13px; font-weight: 800; color: #27ae60; white-space: nowrap; }

/* ── Step 3: Payment + Invoice ─────────────────────────────────── */
.ls-step3-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: start;
}
@media (max-width: 600px) { .ls-step3-grid { grid-template-columns: 1fr; } }

.ls-payment-option { display: block; margin-bottom: 8px; cursor: pointer; }
.ls-payment-option input { display: none; }
.ls-payment-box {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 14px;
    border: 2px solid #ddd;
    border-radius: 4px;
    background: #fafafa;
    font-size: 14px;
    font-weight: 700;
    font-family: 'Open Sans', sans-serif;
    transition: all 0.12s;
}
.ls-payment-option input:checked + .ls-payment-box { border-color: #27ae60; background: #f0faf4; }
.ls-payment-box small { font-size: 11px; color: #999; font-weight: 400; margin-left: auto; }

/* Invoice */
.ls-invoice {
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
    background: white;
}
.ls-invoice-header {
    background: #27ae60;
    color: white;
    padding: 11px 14px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.03em;
}
.ls-invoice-lines { padding: 10px 14px; min-height: 60px; }
.ls-invoice-empty { font-size: 12px; color: #aaa; text-align: center; margin: 12px 0; }
.ls-invoice-line {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 13px;
    animation: ls-li 0.18s ease;
}
@keyframes ls-li { from { opacity:0; transform:translateY(-3px); } to { opacity:1; transform:none; } }
.ls-invoice-line:last-child { border-bottom: none; }
.ls-line-domain { color: #333; font-weight: 600; }
.ls-line-price { color: #27ae60; font-weight: 700; }
.ls-invoice-footer { padding: 10px 14px; border-top: 2px solid #f0f0f0; background: #f9f9f9; }
.ls-invoice-row { display: flex; justify-content: space-between; font-size: 12px; color: #666; margin-bottom: 3px; }
.ls-invoice-total {
    display: flex;
    justify-content: space-between;
    font-size: 18px;
    font-weight: 800;
    color: #222;
    padding-top: 7px;
    border-top: 2px solid #e0e0e0;
    margin-top: 6px;
}
.ls-invoice-note { font-size: 11px; color: #999; margin-top: 5px; margin-bottom: 0; }

/* ── Submit Section ─────────────────────────────────────────────── */
.ls-submit-section { margin-top: 24px; }
.ls-submit-disclaimer {
    text-align: center;
    font-size: 11px;
    color: #aaa;
    margin-top: 10px;
    line-height: 1.5;
}
.ls-submit-disclaimer a { color: #27ae60; }

/* ── Success Screen ─────────────────────────────────────────────── */
#ls-success {
    text-align: center;
    padding: 48px 24px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 6px;
}
.ls-success-icon { font-size: 56px; margin-bottom: 14px; }
#ls-success h3 { font-size: 24px; font-weight: 800; color: #1a1a2e; margin: 0 0 10px; }
#ls-success p { color: #666; font-size: 15px; margin: 0 0 8px; }
#ls-order-id-display { font-size: 13px; color: #aaa; font-family: monospace; display: block; margin-top: 10px; }
