/* eBay Live Funnel — Step-by-step processing UI
 * All classes use .live- prefix to avoid conflicts with style.css
 * Follows the same design language: light content, dark header,
 * border-radius 10px/16px, --ebay-* color tokens, Roboto font.
 */

/* ============================================================
   1. STEPPER BAR (.live-stepper)
   ============================================================ */

.live-stepper {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    padding: 1.5rem 1rem 1rem;
    background: var(--surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-2);
    margin-bottom: 1.5rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Each step item: circle + label stacked */
.live-stepper-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    flex: 1;
    min-width: 48px;
    position: relative;
    z-index: 1;
}

/* Connector line between items (pseudo-element on the item, drawn before circle) */
.live-stepper-item:not(:first-child)::before {
    content: "";
    position: absolute;
    top: 16px; /* center of circle (32px/2) */
    right: calc(50% + 16px); /* start just after right edge of circle */
    left: calc(-50% + 16px); /* end just before left edge of circle */
    height: 2px;
    background: var(--border);
    z-index: 0;
    transition: background 0.3s ease;
}

/* Completed connector */
.live-stepper-item.completed:not(:first-child)::before {
    background: var(--ebay-blue);
}

/* Circle */
.live-stepper-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--border);
    background: var(--surface);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-2);
    transition: all 0.25s cubic-bezier(0.2, 0, 0, 1);
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

/* Completed state: filled blue with checkmark */
.live-stepper-item.completed .live-stepper-circle {
    background: var(--ebay-blue);
    border-color: var(--ebay-blue);
    color: white;
    font-size: 0; /* hide number */
}
.live-stepper-item.completed .live-stepper-circle::after {
    content: "✓";
    font-size: 0.85rem;
    font-weight: 700;
}

/* Active state: larger, accent color ring */
.live-stepper-item.active .live-stepper-circle {
    width: 36px;
    height: 36px;
    border-color: var(--ebay-blue);
    background: var(--ebay-blue);
    color: white;
    font-size: 0.85rem;
    box-shadow: 0 0 0 4px rgba(10, 167, 255, 0.18);
}

/* Pending state: muted */
.live-stepper-item.pending .live-stepper-circle {
    background: var(--surface-2);
    border-color: var(--border);
    color: var(--text-2);
}

/* Label below circle */
.live-stepper-label {
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--text-2);
    text-align: center;
    white-space: nowrap;
    letter-spacing: 0.01em;
    transition: color 0.2s;
}
.live-stepper-item.active .live-stepper-label {
    color: var(--ebay-blue);
    font-weight: 600;
}
.live-stepper-item.completed .live-stepper-label {
    color: var(--text);
}

/* Mobile: hide labels, tighten circles */
@media (max-width: 600px) {
    .live-stepper {
        padding: 1rem 0.5rem;
    }
    .live-stepper-label {
        display: none;
    }
    .live-stepper-circle {
        width: 28px;
        height: 28px;
        font-size: 0.72rem;
    }
    .live-stepper-item.active .live-stepper-circle {
        width: 32px;
        height: 32px;
    }
    .live-stepper-item:not(:first-child)::before {
        top: 14px;
    }
}


/* ============================================================
   2. STEP PANELS (.live-step-panel)
   ============================================================ */

.live-step-panel {
    display: none;
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 1.75rem 1.5rem;
    box-shadow: var(--shadow-2);
    max-width: 860px;
    margin: 0 auto 1.5rem;
    animation: live-panel-in 0.2s cubic-bezier(0.2, 0, 0, 1);
}

.live-step-panel.active {
    display: block;
}

@keyframes live-panel-in {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.live-step-panel-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.25rem;
}

.live-step-panel-subtitle {
    font-size: 0.88rem;
    color: var(--text-2);
    margin-bottom: 1.25rem;
}


/* ============================================================
   3. DURATION SELECTOR (.live-duration-select)
   ============================================================ */

/* Button-group style, mirrors .source-toggle */
.live-duration-select {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    align-items: center;
    margin: 0.75rem 0;
}

.live-duration-select input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.live-duration-select label {
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text-2);
    padding: 0.35rem 0.9rem;
    border-radius: 99px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.15s;
    font-weight: 400;
    font-family: var(--font);
    white-space: nowrap;
    user-select: none;
}

.live-duration-select label:hover {
    color: var(--accent);
    border-color: var(--accent);
    background: var(--accent-light);
}

.live-duration-select input[type="radio"]:checked + label {
    background: var(--ebay-blue);
    border-color: var(--ebay-blue);
    color: white;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(10, 167, 255, 0.25);
}

.live-duration-label {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-2);
    margin-bottom: 0.4rem;
}


/* ============================================================
   4. CHAPTER CARDS (.live-chapter-card)
   ============================================================ */

.live-chapter-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem 1.1rem;
    margin-bottom: 0.6rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    box-shadow: var(--shadow-1);
    transition: box-shadow 0.18s, transform 0.18s, border-color 0.18s;
    cursor: default;
}

.live-chapter-card:hover {
    box-shadow: var(--shadow-2);
    transform: translateY(-1px);
}

.live-chapter-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
}

.live-chapter-card-title {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text);
    line-height: 1.4;
    flex: 1;
}

.live-chapter-badges {
    display: flex;
    gap: 0.35rem;
    flex-shrink: 0;
    align-items: center;
}

/* Time range badge */
.live-badge-time {
    background: var(--accent-light);
    color: var(--accent);
    font-size: 0.72rem;
    font-weight: 600;
    font-family: var(--font-mono);
    padding: 0.15rem 0.55rem;
    border-radius: 4px;
    white-space: nowrap;
}

/* Duration badge */
.live-badge-duration {
    background: var(--surface-2);
    border: 1px solid var(--border);
    color: var(--text-2);
    font-size: 0.72rem;
    font-weight: 500;
    padding: 0.15rem 0.55rem;
    border-radius: 4px;
    white-space: nowrap;
}

.live-chapter-card-summary {
    font-size: 0.84rem;
    color: var(--text-2);
    line-height: 1.5;
}

/* Selectable (step 4) version */
.live-chapter-card.selectable {
    cursor: pointer;
    padding-left: 0.9rem;
    border-left: 3px solid transparent;
    position: relative;
}

.live-chapter-card.selectable:hover {
    border-left-color: var(--accent);
    background: var(--surface-2);
}

.live-chapter-card.selectable.selected {
    border-left-color: var(--ebay-blue);
    background: var(--accent-light);
    box-shadow: var(--shadow-2);
}

/* Checkbox inside selectable card */
.live-chapter-checkbox {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.live-chapter-checkbox-visual {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    border: 2px solid var(--border);
    background: var(--surface);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.15s;
}

.live-chapter-card.selectable.selected .live-chapter-checkbox-visual {
    background: var(--ebay-blue);
    border-color: var(--ebay-blue);
}
.live-chapter-card.selectable.selected .live-chapter-checkbox-visual::after {
    content: "✓";
    font-size: 0.7rem;
    color: white;
    font-weight: 700;
    line-height: 1;
}


/* ============================================================
   5. SNIPPET REVIEW CARDS (.live-snippet-card)
   ============================================================ */

.live-snippet-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-2);
    transition: box-shadow 0.2s;
}

.live-snippet-card:hover {
    box-shadow: var(--shadow-3);
}

/* Editable fields */
.live-snippet-field-label {
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-2);
    margin-bottom: 0.3rem;
}

.live-snippet-title-input {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.95rem;
    font-weight: 500;
    font-family: var(--font);
    color: var(--text);
    background: var(--surface);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    margin-bottom: 0.75rem;
}
.live-snippet-title-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(10, 167, 255, 0.12);
}

.live-snippet-desc-textarea {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.88rem;
    font-family: var(--font);
    color: var(--text);
    background: var(--surface);
    resize: vertical;
    outline: none;
    line-height: 1.55;
    min-height: 80px;
    transition: border-color 0.2s, box-shadow 0.2s;
    margin-bottom: 0.75rem;
}
.live-snippet-desc-textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(10, 167, 255, 0.12);
}

.live-snippet-hook-input {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.88rem;
    font-family: var(--font);
    color: var(--text);
    background: var(--surface);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    margin-bottom: 0.75rem;
}
.live-snippet-hook-input:focus {
    border-color: var(--ebay-yellow);
    box-shadow: 0 0 0 3px rgba(255, 189, 20, 0.15);
}

/* Divider within card */
.live-snippet-divider {
    height: 1px;
    background: var(--border);
    margin: 1rem 0;
}

/* Thumbnail grid — 2×2, radio select overlay */
.live-thumb-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.65rem;
    margin-bottom: 0.75rem;
}

.live-thumb-option {
    position: relative;
    cursor: pointer;
    border-radius: var(--radius);
    overflow: visible;
}

.live-thumb-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.live-thumb-option-img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: var(--radius);
    border: 2px solid var(--border);
    transition: border-color 0.15s, box-shadow 0.15s;
    background: var(--surface-2);
}

.live-thumb-option:hover .live-thumb-option-img {
    border-color: var(--accent);
    box-shadow: var(--shadow-2);
}

/* Selected thumbnail: prominent accent border + glow */
.live-thumb-option input[type="radio"]:checked + .live-thumb-option-img {
    border-color: var(--ebay-blue);
    border-width: 3px;
    box-shadow: 0 0 0 3px rgba(10, 167, 255, 0.22);
}

/* Selected checkmark overlay */
.live-thumb-option input[type="radio"]:checked ~ .live-thumb-check {
    display: flex;
}
.live-thumb-check {
    display: none;
    position: absolute;
    top: 6px;
    right: 6px;
    width: 22px;
    height: 22px;
    background: var(--ebay-blue);
    color: white;
    border-radius: 50%;
    font-size: 0.7rem;
    font-weight: 700;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 4px rgba(0,0,0,0.25);
    pointer-events: none;
}

/* Video player 16:9 container */
.live-video-player {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 */
    background: #000;
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 0.75rem;
    box-shadow: var(--shadow-2);
}
.live-video-player iframe,
.live-video-player video {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border: none;
}

/* Approve toggle button */
.live-approve-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    font-family: var(--font);
    cursor: pointer;
    border: 1.5px solid var(--border);
    background: var(--surface-2);
    color: var(--text-2);
    transition: all 0.2s cubic-bezier(0.2, 0, 0, 1);
}
.live-approve-btn:hover {
    border-color: var(--ebay-green);
    color: var(--ebay-green-dark);
    background: var(--green-light);
}
.live-approve-btn.approved {
    background: var(--ebay-green);
    border-color: var(--ebay-green-dark);
    color: white;
    box-shadow: 0 2px 8px rgba(76, 225, 96, 0.35);
}
.live-approve-btn.approved:hover {
    background: var(--ebay-green-dark);
}


/* ============================================================
   6. PROGRESS (.live-progress)
   ============================================================ */

.live-progress {
    margin: 1.25rem 0;
}

.live-progress-bar-wrapper {
    height: 6px;
    background: var(--border);
    border-radius: 3px;
    overflow: hidden;
    position: relative;
}

.live-progress-bar {
    height: 100%;
    width: 0%;
    background: var(--ebay-blue);
    border-radius: 3px;
    transition: width 0.4s ease;
    position: relative;
}

/* Animated stripe while active */
.live-progress-bar.active {
    background: repeating-linear-gradient(
        45deg,
        var(--ebay-blue) 0px,
        var(--ebay-blue) 18px,
        var(--ebay-blue-dark) 18px,
        var(--ebay-blue-dark) 36px
    );
    background-size: 51px 100%;
    animation: live-stripe 0.6s linear infinite;
}

@keyframes live-stripe {
    from { background-position: 0 0; }
    to   { background-position: 51px 0; }
}

/* Pulse overlay when indeterminate */
.live-progress-bar.pulse {
    width: 40% !important;
    animation: live-pulse 1.4s ease-in-out infinite;
    background: var(--ebay-blue);
}

@keyframes live-pulse {
    0%   { margin-left: -40%; }
    100% { margin-left: 100%; }
}

.live-progress-status {
    font-size: 0.83rem;
    color: var(--text-2);
    margin-top: 0.45rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

/* Spinner dot for active status */
.live-progress-status.active {
    color: var(--accent);
}
.live-progress-status.active::before {
    content: "";
    display: inline-block;
    width: 10px;
    height: 10px;
    border: 2px solid rgba(10, 167, 255, 0.25);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
    flex-shrink: 0;
}

.live-progress-status.done { color: var(--green); }
.live-progress-status.error { color: var(--red); }


/* ============================================================
   7. RECENT JOBS LIST (.live-recent-jobs)
   ============================================================ */

.live-recent-jobs {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-1);
    border: 1px solid var(--border);
    background: var(--surface);
    margin-bottom: 1.5rem;
}

.live-recent-jobs-header {
    padding: 0.85rem 1.1rem;
    background: var(--surface-2);
    border-bottom: 1px solid var(--border);
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-2);
}

.live-job-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.7rem 1.1rem;
    border-bottom: 1px solid var(--border);
    transition: background 0.15s;
    min-width: 0;
}
.live-job-row:last-child { border-bottom: none; }
.live-job-row:hover { background: var(--surface-2); }

/* Category badge */
.live-job-category {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.15rem 0.55rem;
    border-radius: 4px;
    background: var(--accent-light);
    color: var(--accent);
    white-space: nowrap;
    flex-shrink: 0;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

/* URL — truncated */
.live-job-url {
    flex: 1;
    font-size: 0.82rem;
    color: var(--text-2);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-family: var(--font-mono);
    min-width: 0;
}

/* Status badges */
.live-status-badge {
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.18rem 0.6rem;
    border-radius: 99px;
    white-space: nowrap;
    flex-shrink: 0;
    text-transform: lowercase;
    letter-spacing: 0.02em;
}

.live-status-pending    { background: var(--surface-2); color: var(--text-2); border: 1px solid var(--border); }
.live-status-transcribing {
    background: rgba(10, 167, 255, 0.10);
    color: var(--ebay-blue);
    border: 1px solid rgba(10, 167, 255, 0.25);
    animation: live-badge-pulse 1.5s ease-in-out infinite;
}
.live-status-transcribed   { background: var(--green-light); color: var(--green); border: 1px solid rgba(76,225,96,0.25); }
.live-status-chapters-ready {
    background: rgba(16, 185, 129, 0.10);
    color: #059669;
    border: 1px solid rgba(16, 185, 129, 0.25);
}
.live-status-generating  { background: rgba(131,107,255,0.10); color: var(--ebay-violet); border: 1px solid rgba(131,107,255,0.25); animation: live-badge-pulse 1.5s ease-in-out infinite; }
.live-status-ready       { background: var(--accent-light); color: var(--accent); border: 1px solid rgba(10,167,255,0.25); }
.live-status-uploaded    { background: rgba(255,0,0,0.08); color: #c00; border: 1px solid rgba(255,0,0,0.18); }
.live-status-error       { background: var(--red-light); color: var(--red); border: 1px solid rgba(255,92,92,0.25); }

@keyframes live-badge-pulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.6; }
}

/* Resume button */
.live-job-resume {
    font-size: 0.78rem;
    padding: 0.25rem 0.7rem;
    flex-shrink: 0;
}


/* ============================================================
   8. NAVIGATION BUTTONS (.live-nav-buttons)
   ============================================================ */

.live-nav-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border);
    margin-top: 1.5rem;
}

/* Allow single right-aligned Next button when Back is absent */
.live-nav-buttons:has(.live-btn-next:only-child),
.live-nav-buttons.next-only {
    justify-content: flex-end;
}

/* Back button — ghost/outline */
.live-btn-back {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 1.25rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    font-family: var(--font);
    cursor: pointer;
    background: transparent;
    border: 1.5px solid var(--border);
    color: var(--text-2);
    transition: all 0.18s cubic-bezier(0.2, 0, 0, 1);
}
.live-btn-back:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-light);
}

/* Next / Process button — primary solid */
.live-btn-next {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 1.5rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    font-family: var(--font);
    cursor: pointer;
    background: var(--ebay-blue);
    border: none;
    color: white;
    box-shadow: 0 2px 8px rgba(10, 167, 255, 0.30);
    transition: all 0.18s cubic-bezier(0.2, 0, 0, 1);
    letter-spacing: 0.01em;
}
.live-btn-next:hover:not(:disabled) {
    background: var(--ebay-blue-dark);
    box-shadow: 0 4px 12px rgba(10, 167, 255, 0.40);
    transform: translateY(-1px);
}
.live-btn-next:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
}


/* ============================================================
   9. UPLOAD CARDS (.live-upload-card)
   ============================================================ */

.live-upload-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.25rem 1.5rem;
    margin-bottom: 0.75rem;
    box-shadow: var(--shadow-1);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: box-shadow 0.18s;
}
.live-upload-card:hover { box-shadow: var(--shadow-2); }

.live-upload-card-info {
    flex: 1;
    min-width: 0;
}

.live-upload-card-title {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.2rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.live-upload-card-meta {
    font-size: 0.8rem;
    color: var(--text-2);
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* Download + Upload CTA — YouTube red */
.live-btn-upload {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 1.25rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    font-family: var(--font);
    cursor: pointer;
    background: #FF0000;
    border: none;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(255, 0, 0, 0.28);
    transition: all 0.18s cubic-bezier(0.2, 0, 0, 1);
    white-space: nowrap;
}
.live-btn-upload:hover:not(:disabled) {
    background: #cc0000;
    box-shadow: 0 4px 12px rgba(255, 0, 0, 0.38);
    transform: translateY(-1px);
}
.live-btn-upload:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
}

/* Uploaded state */
.live-upload-card.uploaded {
    border-left: 4px solid var(--ebay-green-dark);
}
.live-upload-card.uploaded .live-btn-upload {
    background: var(--ebay-green-dark);
    box-shadow: 0 2px 8px rgba(46, 184, 74, 0.28);
    pointer-events: none;
}


/* ============================================================
   MISC: Input fields used within the funnel
   ============================================================ */

/* NOTE: .live-input, .live-hint, and .live-select base styles are already
 * defined in style.css (lines 706-728). This file extends/focuses them. */

/* Focus enhancement for .live-input (style.css defines the base) */
.live-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(10, 167, 255, 0.12);
    font-family: var(--font);
}

/* Focus enhancement and arrow for .live-select */
.live-select {
    font-family: var(--font);
    color: var(--text);
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2364748b' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.85rem center;
    padding-right: 2.2rem;
}
.live-select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(10, 167, 255, 0.12);
}

/* Form row label */
.live-form-label {
    display: block;
    font-size: 0.83rem;
    font-weight: 500;
    color: var(--text-2);
    margin-bottom: 0.3rem;
}

/* Hint text */
.live-hint {
    font-size: 0.78rem;
    color: var(--text-2);
    margin-top: 0.25rem;
    line-height: 1.45;
}

/* Info banner inside a panel */
.live-info-banner {
    background: var(--accent-light);
    border: 1px solid rgba(10, 167, 255, 0.2);
    border-radius: var(--radius);
    padding: 0.65rem 1rem;
    font-size: 0.84rem;
    color: var(--accent);
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

/* Empty state */
.live-empty {
    text-align: center;
    padding: 2.5rem 1rem;
    color: var(--text-2);
    font-size: 0.9rem;
}
.live-empty-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    display: block;
    opacity: 0.5;
}


/* ============================================================
   RESPONSIVE OVERRIDES
   ============================================================ */

@media (max-width: 640px) {
    .live-step-panel {
        padding: 1.25rem 1rem;
    }

    .live-thumb-grid {
        gap: 0.5rem;
    }

    .live-upload-card {
        flex-direction: column;
        align-items: flex-start;
    }
    .live-btn-upload {
        width: 100%;
        justify-content: center;
    }

    .live-nav-buttons {
        flex-wrap: wrap;
    }
    .live-btn-back,
    .live-btn-next {
        flex: 1;
        justify-content: center;
    }

    .live-job-row {
        flex-wrap: wrap;
        gap: 0.4rem;
    }
    .live-job-url {
        width: 100%;
    }

    .live-stepper {
        gap: 0;
    }
}
