/*
 * upload.css — Upload Page Styles (Step 2)
 * ==========================================
 *
 * Styles for the file upload step:
 *   - Dropzone area (dashed border, hover state)
 *   - File list (uploaded file rows with preview/remove)
 *   - Camera button
 *   - Demo mode card
 */


/* ─── Dropzone ───────────────────────────────────────────────────────────── */
.dropzone {
    border: 2px dashed var(--border);
    border-radius: var(--radius-2xl);
    padding: 40px;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s ease;
    background: rgba(37, 99, 235, 0.02);
}

.dropzone:hover,
.dropzone--hover {
    border-color: var(--accent);
}

.dropzone__icon {
    color: var(--accent);
    margin-bottom: 12px;
    font-size: 32px;
}

.dropzone__text {
    color: var(--text);
    font-weight: 500;
    margin-bottom: 4px;
}

.dropzone__hint {
    color: var(--text-dim);
    font-size: 12px;
}


/* ─── Camera Button Row ──────────────────────────────────────────────────── */
.upload__camera-row {
    display: flex;
    gap: 12px;
    margin-top: 12px;
}

.upload__camera-row .btn {
    flex: 1;
}


/* ─── File List ──────────────────────────────────────────────────────────── */
.file-list {
    margin-top: 20px;
}

.file-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    margin-bottom: 8px;
}

.file-row__preview {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 6px;
}

/* Placeholder icon for non-image files (e.g., PDF) */
.file-row__icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-input);
    border-radius: 6px;
    color: var(--gold);
    font-size: 20px;
}

.file-row__info {
    flex: 1;
}

.file-row__name {
    font-size: 13px;
    color: var(--text);
    font-weight: 500;
}

.file-row__size {
    font-size: 11px;
    color: var(--text-dim);
}

.file-row__remove {
    background: none;
    border: none;
    color: var(--text-dim);
    cursor: pointer;
    padding: 4px;
    font-size: 16px;
    transition: color 0.2s ease;
}

.file-row__remove:hover {
    color: var(--danger);
}


/* ─── Demo Mode Card ─────────────────────────────────────────────────────── */
.demo-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    cursor: pointer;
    transition: border-color 0.2s ease;
    margin-bottom: 24px;
}

.demo-card:hover {
    border-color: var(--accent);
}

.demo-card--active {
    border: 2px solid var(--accent);
}

.demo-card__title {
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
}

.demo-card__desc {
    font-size: 12px;
    color: var(--text-muted);
}

/* Hide the native checkbox — we use a custom styled one */
.demo-card input[type="checkbox"] {
    display: none;
}


/* ─── Demo Trust Block ──────────────────────────────────────────────────── */
.demo-trust {
    list-style: none;
    padding: 0;
    margin: 0 0 8px 0;
}

.demo-trust li {
    font-size: 12px;
    color: var(--text-muted);
    padding: 3px 0;
}

.demo-trust li::before {
    content: "✓ ";
    color: var(--accent);
    font-weight: 600;
}
