/**
 * LCD Listing Submission Form — v2.0
 * assets/css/submission-form.css
 */

/* ============================================================
   BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

.lsf-wrap {
    max-width: 920px;
    margin: 0 auto;
    font-family: inherit;
    padding-bottom: 40px;
}

/* ============================================================
   STEP INDICATORS
   ============================================================ */
.lsf-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 36px;
    flex-wrap: wrap;
    gap: 4px;
}

.lsf-step {
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0.35;
    transition: opacity 0.3s;
}

.lsf-step--active, .lsf-step--complete { opacity: 1; }

.lsf-step-num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #e0e0e0;
    color: #888;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    flex-shrink: 0;
}

.lsf-step--active .lsf-step-num {
    background: #c8102e;
    color: #fff;
    box-shadow: 0 4px 14px rgba(200,16,46,0.38);
}

.lsf-step--complete .lsf-step-num {
    background: #22c55e;
    color: #fff;
    font-size: 0;
}
.lsf-step--complete .lsf-step-num::before {
    content: '✓';
    font-size: 15px;
}

.lsf-step span {
    font-size: 13px;
    font-weight: 600;
    color: #777;
    white-space: nowrap;
}

.lsf-step--active span,
.lsf-step--complete span { color: #0f1923; }

.lsf-step-line {
    flex: 1;
    min-width: 16px;
    max-width: 56px;
    height: 2px;
    background: #e0e0e0;
    margin: 0 4px;
}

/* ============================================================
   PANEL (card wrapper)
   ============================================================ */
.lsf-panel {
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 18px;
    padding: 36px;
    box-shadow: 0 4px 28px rgba(0,0,0,0.07);
    margin-bottom: 16px;
}

.lsf-panel-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 800;
    color: #0f1923;
    margin: 0 0 28px;
    padding-bottom: 18px;
    border-bottom: 2px solid #f0f0f0;
    flex-wrap: wrap;
}

.lsf-panel-title svg {
    width: 22px;
    height: 22px;
    color: #c8102e;
    flex-shrink: 0;
}

.lsf-selected-plan-badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    padding: 3px 12px;
    border-radius: 20px;
    letter-spacing: 0.3px;
    margin-left: 4px;
}

/* ============================================================
   STEP 0 — TYPE CARDS
   ============================================================ */
.lsf-type-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 28px;
}

.lsf-type-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px;
    border: 2px solid #e8e8e8;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.25s;
    background: #fafafa;
    position: relative;
}

.lsf-type-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.lsf-type-card:hover { border-color: #c8102e; background: #fff; }

.lsf-type-card--active {
    border-color: #c8102e;
    background: #fff8f8;
    box-shadow: 0 4px 16px rgba(200,16,46,0.1);
}

.lsf-type-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.25s;
}

.lsf-type-icon svg { width: 22px; height: 22px; color: #888; }
.lsf-type-card--active .lsf-type-icon { background: rgba(200,16,46,0.1); }
.lsf-type-card--active .lsf-type-icon svg { color: #c8102e; }

.lsf-type-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.lsf-type-text strong { font-size: 15px; font-weight: 700; color: #0f1923; }
.lsf-type-text span   { font-size: 13px; color: #888; line-height: 1.4; }

.lsf-type-check {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 2px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: transparent;
    transition: all 0.25s;
    flex-shrink: 0;
}

.lsf-type-card--active .lsf-type-check {
    background: #c8102e;
    border-color: #c8102e;
    color: #fff;
}

/* ── Existing listing search ── */
.lsf-existing-search {
    background: #f8f8f8;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
}

.lsf-search-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    padding: 0 16px;
    height: 50px;
    gap: 10px;
    transition: border-color 0.25s, box-shadow 0.25s;
    margin-top: 8px;
}

.lsf-search-input-wrap:focus-within {
    border-color: #c8102e;
    box-shadow: 0 0 0 3px rgba(200,16,46,0.08);
}

.lsf-search-input-wrap svg {
    width: 17px;
    height: 17px;
    color: #bbb;
    flex-shrink: 0;
}

.lsf-search-input-wrap .lsf-input {
    border: none;
    box-shadow: none;
    padding: 0;
    height: 100%;
    border-radius: 0;
    background: transparent;
}

.lsf-search-input-wrap .lsf-input:focus { box-shadow: none; }

.lsf-search-spinner {
    width: 18px; height: 18px;
    border: 3px solid #f0f0f0;
    border-top-color: #c8102e;
    border-radius: 50%;
    animation: lsfSpin 0.7s linear infinite;
    flex-shrink: 0;
}

/* ── Shared dropdown ── */
.lsf-search-dropdown {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    margin-top: 8px;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(0,0,0,0.1);
    position: relative;
    z-index: 100;
}

.lsf-search-result,
.lsf-street-result {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    cursor: pointer;
    border-bottom: 1px solid #f5f5f5;
    transition: background 0.15s;
    font-size: 14px;
    color: #0f1923;
}

.lsf-search-result:last-child,
.lsf-street-result:last-child { border-bottom: none; }

.lsf-search-result:hover,
.lsf-street-result:hover { background: #fafafa; }

.lsf-search-result-thumb {
    width: 44px; height: 44px;
    border-radius: 8px;
    overflow: hidden;
    background: #f0f0f0;
    border: 1px solid #eee;
    flex-shrink: 0;
}

.lsf-search-result-thumb img {
    width: 100%; height: 100%;
    object-fit: contain;
    padding: 4px;
    display: block;
}

.lsf-drop-initial {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #0f1923, #c8102e);
    font-size: 18px; font-weight: 800;
    color: rgba(255,255,255,0.5);
}

.lsf-search-result-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.lsf-search-result-info strong { font-size: 14px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lsf-search-result-info span   { font-size: 12px; color: #aaa; }
.lsf-search-result svg { width: 16px; height: 16px; color: #ccc; flex-shrink: 0; }

.lsf-drop-empty { padding: 16px; font-size: 14px; color: #aaa; text-align: center; }

/* ── Selected listing pill ── */
.lsf-selected-listing {
    margin-top: 12px;
    background: #fff;
    border: 2px solid #22c55e;
    border-radius: 12px;
    overflow: hidden;
}

.lsf-selected-inner {
    display: flex; align-items: center; gap: 12px; padding: 14px 16px;
}

.lsf-selected-thumb {
    width: 48px; height: 48px; border-radius: 8px;
    overflow: hidden; background: #f0f0f0; border: 1px solid #eee; flex-shrink: 0;
}

.lsf-selected-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 4px; display: block; }

.lsf-selected-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.lsf-selected-info strong { font-size: 14px; font-weight: 700; color: #0f1923; }
.lsf-selected-info span   { font-size: 12px; color: #aaa; }

.lsf-change-btn {
    background: transparent; border: 1px solid #ddd; border-radius: 6px;
    padding: 6px 14px; font-size: 13px; color: #888; cursor: pointer;
    font-family: inherit; transition: all 0.2s; flex-shrink: 0;
}
.lsf-change-btn:hover { border-color: #c8102e; color: #c8102e; }

/* ============================================================
   STEP 1 — PACKAGES
   ============================================================ */
.lsf-upgrade-note {
    display: flex; align-items: flex-start; gap: 10px;
    background: #fff9ee; border: 1px solid #fde9c4;
    border-radius: 10px; padding: 14px 16px;
    margin-bottom: 20px; font-size: 14px; color: #78350f;
    grid-column: 1 / -1;
}
.lsf-upgrade-note svg { width: 18px; height: 18px; color: #f59e0b; flex-shrink: 0; margin-top: 1px; }

.lsf-plans {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 8px;
}

.lsf-plans[id="lsf-plans-existing"] { grid-template-columns: repeat(3, 1fr); }

.lsf-plan {
    border: 2px solid #eaeaea;
    border-radius: 16px;
    padding: 22px 18px;
    position: relative;
    background: #fff;
    transition: border-color 0.25s, box-shadow 0.25s;
    display: flex;
    flex-direction: column;
}

.lsf-plan:hover {
    border-color: #c8102e;
    box-shadow: 0 8px 28px rgba(200,16,46,0.1);
}

.lsf-plan--best {
    border-color: #c8102e;
    box-shadow: 0 8px 28px rgba(200,16,46,0.12);
}

.lsf-plan-badge {
    position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
    background: linear-gradient(135deg, #c8102e, #a50d26);
    color: #fff; font-size: 11px; font-weight: 800;
    padding: 4px 16px; border-radius: 20px; white-space: nowrap;
    box-shadow: 0 3px 10px rgba(200,16,46,0.35); letter-spacing: 0.3px;
}

.lsf-plan-tier { font-size: 11px; font-weight: 700; color: #aaa; margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.5px; }
.lsf-plan-name { font-size: 18px; font-weight: 800; color: #0f1923; margin: 0 0 6px; }

.lsf-plan-price { font-size: 13px; color: #888; margin-bottom: 4px; }
.lsf-plan-price .woocommerce-Price-amount { font-size: 24px; font-weight: 900; color: #c8102e; display: block; }

.lsf-plan-tagline { font-size: 12px; color: #aaa; font-style: italic; margin-bottom: 16px; }

.lsf-plan-features {
    list-style: none; padding: 0; margin: 0 0 20px;
    display: flex; flex-direction: column; gap: 8px; flex: 1;
}

.lsf-plan-features li { font-size: 12px; color: #555; line-height: 1.4; }

.lsf-plan-btn {
    width: 100%; padding: 12px;
    border-radius: 10px; border: 2px solid #c8102e;
    background: transparent; color: #c8102e;
    font-size: 14px; font-weight: 700; cursor: pointer;
    font-family: inherit; transition: all 0.22s; margin-top: auto;
}

.lsf-plan-btn:hover,
.lsf-plan--best .lsf-plan-btn {
    background: #c8102e; color: #fff;
}

/* ============================================================
   STEP 2 — FORM FIELDS
   ============================================================ */
.lsf-section-heading {
    font-size: 14px; font-weight: 700; color: #0f1923;
    margin: 24px 0 14px; padding-top: 20px;
    border-top: 1px solid #f0f0f0;
    display: flex; align-items: center; gap: 10px;
}

.lsf-section-heading:first-of-type { border-top: none; padding-top: 0; margin-top: 0; }

.lsf-lock-badge {
    font-size: 11px; font-weight: 600; color: #9ca3af;
    background: #f3f4f6; padding: 2px 10px; border-radius: 20px;
}

.lsf-prefill-notice {
    display: flex; align-items: flex-start; gap: 10px;
    background: #f0fdf4; border: 1px solid #86efac;
    border-radius: 10px; padding: 14px 16px; margin-bottom: 24px;
    font-size: 14px; color: #166534; line-height: 1.5;
}
.lsf-prefill-notice svg { width: 18px; height: 18px; color: #22c55e; flex-shrink: 0; margin-top: 1px; }

.lsf-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.lsf-field { display: flex; flex-direction: column; gap: 6px; }
.lsf-field--full { grid-column: 1 / -1; }
.lsf-field--required .lsf-label::after { content: ' *'; color: #c8102e; }

.lsf-label { font-size: 13px; font-weight: 700; color: #0f1923; }
.lsf-optional { font-weight: 400; color: #aaa; font-size: 12px; }
.lsf-field-note { font-size: 11px; color: #aaa; line-height: 1.4; }

.lsf-input,
.lsf-textarea {
    border: 2px solid #e8e8e8; border-radius: 10px;
    padding: 12px 14px; font-size: 14px; color: #0f1923;
    font-family: inherit; background: #fff; outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    width: 100%; box-sizing: border-box;
}

.lsf-input:focus,
.lsf-textarea:focus {
    border-color: #c8102e;
    box-shadow: 0 0 0 3px rgba(200,16,46,0.08);
}

.lsf-input--error { border-color: #c8102e !important; background: #fff8f8; }
.lsf-input::placeholder, .lsf-textarea::placeholder { color: #bbb; }
.lsf-textarea { resize: vertical; min-height: 130px; }

/* Select wrapper */
.lsf-select-wrap { position: relative; }

.lsf-select {
    width: 100%; appearance: none; -webkit-appearance: none;
    border: 2px solid #e8e8e8; border-radius: 10px;
    padding: 12px 40px 12px 14px; font-size: 14px; color: #0f1923;
    font-family: inherit; background: #fff
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23aaa' stroke-width='2.5' stroke-linecap='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E")
        no-repeat right 14px center;
    outline: none; transition: border-color 0.2s; cursor: pointer; box-sizing: border-box;
}
.lsf-select:focus { border-color: #c8102e; box-shadow: 0 0 0 3px rgba(200,16,46,0.08); }

/* Website with link-type badge */
.lsf-input-with-badge { position: relative; }
.lsf-input-with-badge .lsf-input { padding-right: 100px; }

.lsf-link-type-badge {
    position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
    font-size: 10px; font-weight: 700; padding: 3px 8px; border-radius: 10px;
    pointer-events: none; text-transform: uppercase; letter-spacing: 0.4px;
}
.lsf-link-type-badge--nofollow { background: rgba(220,38,38,0.1); color: #dc2626; }
.lsf-link-type-badge--dofollow { background: rgba(34,197,94,0.1);  color: #16a34a; }

/* Word count */
.lsf-word-count-row {
    display: flex; justify-content: space-between;
    font-size: 12px; color: #aaa; margin-top: 4px;
}
.lsf-word-limit { color: #c8102e; font-weight: 600; }

.lsf-error { font-size: 12px; color: #c8102e; font-weight: 500; min-height: 16px; }

/* ── Social dots ── */
.lsf-social-dot {
    display: inline-block; width: 10px; height: 10px;
    border-radius: 50%; margin-right: 4px; vertical-align: middle;
}
.lsf-fb { background: #1877f2; }
.lsf-ig { background: #e1306c; }
.lsf-yt { background: #ff0000; }
.lsf-li { background: #0a66c2; }
.lsf-pi { background: #e60023; }

/* ── Street typeahead ── */
.lsf-street-wrap { position: relative; }

.lsf-street-input-row {
    display: flex; align-items: center; gap: 10px;
    background: #fff; border: 2px solid #e8e8e8; border-radius: 10px;
    padding: 0 14px; height: 48px;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.lsf-street-input-row:focus-within {
    border-color: #c8102e; box-shadow: 0 0 0 3px rgba(200,16,46,0.08);
}
.lsf-street-input-row svg { width: 16px; height: 16px; color: #bbb; flex-shrink: 0; }
.lsf-street-input-row .lsf-input {
    border: none; box-shadow: none; padding: 0; height: 100%; border-radius: 0;
}
.lsf-street-input-row .lsf-input:focus { box-shadow: none; }

.lsf-street-selected {
    display: flex; align-items: center; gap: 10px;
    background: #f0fdf4; border: 2px solid #22c55e;
    border-radius: 10px; padding: 10px 14px; margin-top: 6px;
    font-size: 14px; font-weight: 600; color: #0f1923;
}

.lsf-clear-street {
    margin-left: auto; background: transparent; border: none;
    cursor: pointer; font-size: 14px; color: #aaa;
    transition: color 0.2s; padding: 0;
}
.lsf-clear-street:hover { color: #c8102e; }

/* ── Opening hours ── */
.lsf-radio-group { display: flex; gap: 20px; flex-wrap: wrap; }
.lsf-radio-label {
    display: flex; align-items: center; gap: 6px;
    font-size: 14px; color: #555; cursor: pointer;
}
.lsf-radio-label input { accent-color: #c8102e; }

.lsf-oh-days-table {
    border: 1px solid #e8e8e8; border-radius: 10px; overflow: hidden; margin-bottom: 12px;
}

.lsf-oh-days-header {
    display: grid; grid-template-columns: 2fr 1.2fr 1.2fr 1fr 40px;
    gap: 8px; padding: 10px 14px;
    background: #f8f8f8; border-bottom: 1px solid #e8e8e8;
    font-size: 12px; font-weight: 700; color: #888; text-transform: uppercase; letter-spacing: 0.4px;
}

.lsf-oh-day-row {
    display: grid; grid-template-columns: 2fr 1.2fr 1.2fr 1fr 40px;
    gap: 8px; padding: 10px 14px; align-items: center;
    border-bottom: 1px solid #f5f5f5;
}
.lsf-oh-day-row:last-child { border-bottom: none; }

.lsf-oh-select { padding: 8px 32px 8px 10px; font-size: 13px; }
.lsf-oh-time   { padding: 8px 10px; font-size: 13px; }

.lsf-oh-closed-label {
    display: flex; align-items: center; gap: 5px;
    font-size: 12px; color: #555; cursor: pointer; white-space: nowrap;
}
.lsf-oh-closed-label input { accent-color: #c8102e; }

.lsf-remove-day-btn {
    background: transparent; border: none; cursor: pointer;
    font-size: 14px; color: #ccc; transition: color 0.2s; padding: 4px;
}
.lsf-remove-day-btn:hover { color: #c8102e; }

.lsf-add-day-btn {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 16px; background: transparent;
    border: 1px dashed #c8102e; border-radius: 8px;
    color: #c8102e; font-size: 13px; font-weight: 600;
    cursor: pointer; font-family: inherit; transition: all 0.2s;
}
.lsf-add-day-btn:hover { background: rgba(200,16,46,0.06); }

/* ── Upload areas ── */
.lsf-upload-area {
    border: 2px dashed #ddd; border-radius: 12px;
    padding: 24px 16px; text-align: center; cursor: pointer;
    transition: all 0.2s; display: flex; flex-direction: column;
    align-items: center; gap: 6px; background: #fafafa;
    position: relative; min-height: 110px; justify-content: center;
}
.lsf-upload-area:hover { border-color: #c8102e; background: #fff8f8; }
.lsf-upload-area svg   { width: 30px; height: 30px; color: #ccc; }
.lsf-upload-area p     { font-size: 14px; color: #666; margin: 0; font-weight: 600; }
.lsf-upload-area small { font-size: 12px; color: #bbb; }
.lsf-file-input        { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }

.lsf-img-preview {
    display: flex; align-items: center; gap: 14px;
    padding: 12px 14px; border: 2px solid #22c55e;
    border-radius: 12px; background: #f0fdf4;
}

.lsf-img-preview img {
    width: 64px; height: 64px; object-fit: cover;
    border-radius: 8px; border: 1px solid #eee;
    flex-shrink: 0; background: #fff;
}

.lsf-remove-img {
    margin-left: auto; background: transparent; border: 1px solid #ddd;
    border-radius: 6px; padding: 4px 10px; font-size: 12px; color: #888;
    cursor: pointer; font-family: inherit; transition: all 0.2s;
}
.lsf-remove-img:hover { background: #c8102e; border-color: #c8102e; color: #fff; }

/* ── Gallery grid ── */
.lsf-gallery-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
}

.lsf-gallery-area { padding: 18px 10px; min-height: 100px; }
.lsf-gallery-area p { font-size: 13px; }

.lsf-gallery-preview {
    position: relative; border-radius: 10px; overflow: hidden;
    background: #f0f0f0; aspect-ratio: 4/3;
}

.lsf-gallery-preview img {
    width: 100%; height: 100%; object-fit: cover; display: block;
}

.lsf-remove-gallery {
    position: absolute; top: 6px; right: 6px;
    background: rgba(0,0,0,0.5); border: none; border-radius: 50%;
    width: 26px; height: 26px; color: #fff; cursor: pointer;
    font-size: 12px; display: flex; align-items: center; justify-content: center;
    transition: background 0.2s;
}
.lsf-remove-gallery:hover { background: #c8102e; }

/* ── FAQ builder ── */
.lsf-faq-row {
    background: #f9f9f9; border: 1px solid #e8e8e8;
    border-radius: 10px; padding: 16px; margin-bottom: 12px;
    display: flex; flex-direction: column; gap: 12px;
}

.lsf-faq-row-header {
    display: flex; align-items: center; justify-content: space-between;
}

.lsf-faq-num {
    font-size: 12px; font-weight: 700; color: #c8102e;
    background: rgba(200,16,46,0.08); padding: 2px 10px; border-radius: 20px;
}

.lsf-remove-faq-btn {
    background: transparent; border: 1px solid #ddd; border-radius: 6px;
    padding: 4px 10px; font-size: 12px; color: #888; cursor: pointer;
    font-family: inherit; transition: all 0.2s;
}
.lsf-remove-faq-btn:hover { background: #c8102e; border-color: #c8102e; color: #fff; }

.lsf-faq-answer { min-height: 80px; }

.lsf-add-faq-btn {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 9px 18px; background: transparent;
    border: 1px dashed #c8102e; border-radius: 8px;
    color: #c8102e; font-size: 13px; font-weight: 600;
    cursor: pointer; font-family: inherit; transition: all 0.2s; margin-top: 4px;
}
.lsf-add-faq-btn:hover { background: rgba(200,16,46,0.06); }

/* ── Locked sections ── */
.lsf-locked-section { position: relative; }

.lsf-locked-section.lsf-locked {
    opacity: 0.55;
    pointer-events: none;
    user-select: none;
}

.lsf-locked-section.lsf-locked::after {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        -45deg,
        transparent, transparent 6px,
        rgba(200,16,46,0.03) 6px, rgba(200,16,46,0.03) 12px
    );
    border-radius: 8px;
    pointer-events: none;
}

/* ── Diamond note ── */
.lsf-diamond-note {
    margin-top: 20px;
    background: linear-gradient(135deg, #fdf4ff, #fce7ff);
    border: 1px solid #e9d5ff; border-radius: 12px; padding: 16px 20px;
}

.lsf-diamond-note-inner {
    display: flex; align-items: flex-start; gap: 14px; font-size: 14px;
}

.lsf-diamond-note-inner span { font-size: 24px; flex-shrink: 0; }
.lsf-diamond-note-inner strong { font-size: 14px; color: #6b21a8; display: block; margin-bottom: 4px; }
.lsf-diamond-note-inner p { margin: 0; color: #7c3aed; font-size: 13px; }

/* ============================================================
   STEP 3 — REVIEW
   ============================================================ */
.lsf-review-pkg {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 20px; border-left: 4px solid #c8102e;
    background: #f9f9f9; border-radius: 0 10px 10px 0;
    margin-bottom: 16px;
}

.lsf-review-pkg-left { display: flex; flex-direction: column; gap: 4px; }
.lsf-review-pkg-name { font-size: 18px; font-weight: 800; color: #0f1923; }
.lsf-review-pkg-price { font-size: 14px; color: #888; }

.lsf-review-type-badge {
    font-size: 12px; font-weight: 700; padding: 4px 12px;
    border-radius: 20px; background: #f0f0f0; color: #555;
}

.lsf-review-note {
    display: flex; align-items: center; gap: 8px;
    background: #fff9ee; border: 1px solid #fde9c4;
    border-radius: 8px; padding: 10px 14px;
    font-size: 13px; color: #78350f; margin-bottom: 20px;
}
.lsf-review-note svg { width: 16px; height: 16px; color: #f59e0b; flex-shrink: 0; }

.lsf-review-table {
    width: 100%; border-collapse: collapse; font-size: 14px;
}

.lsf-review-table tbody tr {
    border-bottom: 1px solid #f5f5f5;
}

.lsf-review-label {
    padding: 10px 12px 10px 0; font-weight: 600; color: #888;
    width: 35%; vertical-align: top; white-space: nowrap;
}

.lsf-review-val {
    padding: 10px 0; color: #0f1923; word-break: break-word;
}

/* ============================================================
   ACTIONS
   ============================================================ */
.lsf-actions {
    display: flex; align-items: center; justify-content: flex-end;
    gap: 12px; margin-top: 28px; padding-top: 20px; border-top: 1px solid #f0f0f0;
}

.lsf-actions--between { justify-content: space-between; }

.lsf-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 13px 26px; border-radius: 50px;
    font-size: 15px; font-weight: 700; border: none;
    cursor: pointer; font-family: inherit; transition: all 0.25s;
}

.lsf-btn--primary {
    background: #c8102e; color: #fff;
    box-shadow: 0 4px 18px rgba(200,16,46,0.3);
}

.lsf-btn--primary:hover {
    background: #a50d26;
    transform: translateY(-2px);
    box-shadow: 0 8px 26px rgba(200,16,46,0.42);
}

.lsf-btn--primary svg { width: 18px; height: 18px; }

.lsf-btn--pay { background: #16a34a; box-shadow: 0 4px 18px rgba(22,163,74,0.3); }
.lsf-btn--pay:hover { background: #15803d; box-shadow: 0 8px 26px rgba(22,163,74,0.42); }

.lsf-btn--ghost {
    background: transparent; color: #888; border: 2px solid #e0e0e0;
}
.lsf-btn--ghost:hover { border-color: #bbb; color: #555; }

/* ============================================================
   PROCESSING
   ============================================================ */
.lsf-processing {
    display: flex; align-items: center; justify-content: center;
    min-height: 280px; background: #fff;
    border: 1px solid #eaeaea; border-radius: 18px;
    box-shadow: 0 4px 28px rgba(0,0,0,0.07);
}

.lsf-processing-inner {
    text-align: center; display: flex; flex-direction: column;
    align-items: center; gap: 14px; padding: 40px 20px;
}

.lsf-spinner {
    width: 48px; height: 48px;
    border: 5px solid #f0f0f0;
    border-top-color: #c8102e;
    border-radius: 50%;
    animation: lsfSpin 0.85s linear infinite;
}

@keyframes lsfSpin { to { transform: rotate(360deg); } }

.lsf-processing-inner h3 { font-size: 18px; font-weight: 700; color: #0f1923; margin: 0; }
.lsf-processing-inner p  { font-size: 14px; color: #888; margin: 0; }

/* ============================================================
   ALERT
   ============================================================ */
.lsf-alert {
    padding: 14px 18px; border-radius: 10px;
    font-size: 14px; font-weight: 500; margin-top: 16px; line-height: 1.5;
}
.lsf-alert--error {
    background: #fff5f5; border: 1px solid #fecaca; color: #991b1b;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
    .lsf-plans { grid-template-columns: repeat(2, 1fr); }
    .lsf-plans[id="lsf-plans-existing"] { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .lsf-panel  { padding: 22px; }
    .lsf-row    { grid-template-columns: 1fr; gap: 16px; }
    .lsf-type-cards { grid-template-columns: 1fr; }
    .lsf-gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
    .lsf-oh-days-header { display: none; }
    .lsf-oh-day-row { grid-template-columns: 1fr 1fr; row-gap: 8px; }
    .lsf-step span { display: none; }
    .lsf-step-line { max-width: 20px; }
}

@media (max-width: 580px) {
    .lsf-plans { grid-template-columns: 1fr; }
    .lsf-plans[id="lsf-plans-existing"] { grid-template-columns: 1fr; }
    .lsf-gallery-grid { grid-template-columns: 1fr; }
    .lsf-actions { flex-direction: column-reverse; }
    .lsf-btn   { width: 100%; justify-content: center; }
    .lsf-actions--between { flex-direction: column-reverse; }
    .lsf-oh-day-row { grid-template-columns: 1fr; }
}
