/* ============================================================
   SCANNER CARD
   ============================================================ */
.bs-scanner-card {
    background: rgba(255,255,255,.06);
    border: 1.5px solid rgba(255,255,255,.1);
    border-radius: 20px; padding: 28px;
    backdrop-filter: blur(10px);
    position: relative;
}
.bs-scanner-card::before {
    content: ''; position: absolute; inset: -1px; border-radius: 20px;
    background: linear-gradient(135deg, rgba(232,85,42,.3), transparent 50%);
    pointer-events: none; z-index: 0;
}
.bs-scanner-card > * { position: relative; z-index: 1; }
.bs-scanner-head {
    display: flex; align-items: center; gap: 10px;
    font-family: var(--fd); font-size: 1rem; font-weight: 900;
    text-transform: uppercase; color: #fff; margin-bottom: 20px; letter-spacing: .5px;
}
.bs-scanner-head svg { width: 18px; height: 18px; color: var(--or); }

/* Tip box */
.bs-tip {
    display: flex; gap: 16px; align-items: flex-start;
    background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
    border-radius: 10px; padding: 14px; margin-bottom: 14px;
}
.bs-tip-left { flex: 1; }
.bs-tip-label {
    display: flex; align-items: center; gap: 6px;
    font-size: .7rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 1.5px;
    color: var(--or); margin-bottom: 8px;
}
.bs-tip-label svg { width: 12px; height: 12px; }
.bs-tip-list { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.bs-tip-list li {
    display: flex; align-items: flex-start; gap: 6px;
    font-size: .78rem; color: rgba(255,255,255,.55); line-height: 1.4;
}
.bs-tip-list li svg { width: 10px; height: 10px; flex-shrink: 0; color: #059669; margin-top: 3px; }
.bs-tip-list li strong { color: rgba(255,255,255,.8); }
.bs-tip-visual { flex-shrink: 0; }
.bs-tip-visual svg { width: 110px; height: 90px; }

/* Upload zone */
.bs-upload-zone {
    border: 2px dashed rgba(255,255,255,.15); border-radius: 14px;
    padding: 32px 20px; text-align: center; cursor: pointer;
    transition: all .25s; position: relative; overflow: hidden;
    background: rgba(255,255,255,.02);
}
.bs-upload-zone:hover,
.bs-upload-zone.drag-over {
    border-color: var(--or); background: rgba(232,85,42,.05); transform: scale(1.01);
}
.bs-upload-zone svg { width: 40px; height: 40px; color: rgba(255,255,255,.2); margin-bottom: 12px; }
.bs-upload-zone p { font-size: .85rem; color: rgba(255,255,255,.45); line-height: 1.6; }
.bs-upload-zone strong { color: rgba(255,255,255,.75); }
.bs-upload-zone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }

/* Tip foto */
.bs-tip-foto {
    display: flex; align-items: flex-start; gap: 12px;
    background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
    border-radius: 10px; padding: 12px 14px; margin-top: 12px;
}
.bs-tip-foto img { width: 64px; height: 64px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.bs-tip-foto-text { font-size: .75rem; color: rgba(255,255,255,.5); line-height: 1.5; }
.bs-tip-foto-text strong { color: rgba(255,255,255,.85); display: block; margin-bottom: 2px; }

/* Camera button */
.bs-camera-btn {
    width: 100%; padding: 11px;
    background: rgba(255,255,255,.06);
    border: 1.5px solid rgba(255,255,255,.1); border-radius: 8px;
    color: rgba(255,255,255,.6); font-family: var(--fb);
    font-size: .85rem; font-weight: 600; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    gap: 8px; margin-top: 10px; transition: all .2s;
}
.bs-camera-btn:hover { background: rgba(255,255,255,.12); color: #fff; }
.bs-camera-btn svg { width: 15px; height: 15px; }

/* Video */
.bs-video-wrap { display: none; margin-top: 10px; }
.bs-video-wrap video { width: 100%; border-radius: 10px; max-height: 200px; object-fit: cover; }
.bs-capture-btn {
    width: 100%; padding: 11px; background: var(--or); color: #fff;
    border: none; border-radius: 8px; font-family: var(--fb);
    font-size: .88rem; font-weight: 700; cursor: pointer; margin-top: 8px;
    display: flex; align-items: center; justify-content: center; gap: 8px;
}

/* Preview */
.bs-preview { display: none; margin-top: 14px; }
.bs-preview img { width: 100%; border-radius: 10px; max-height: 180px; object-fit: cover; }
.bs-preview-remove {
    display: flex; align-items: center; gap: 6px; margin-top: 8px;
    font-size: .75rem; color: rgba(255,255,255,.4);
    cursor: pointer; background: none; border: none; padding: 0;
}
.bs-preview-remove:hover { color: #fff; }
.bs-preview-remove svg { width: 11px; height: 11px; }

/* Crop tool */
.bs-crop-wrap { display: none; margin-top: 14px; position: relative; }
.bs-crop-canvas { width: 100%; border-radius: 10px; cursor: crosshair; display: block; touch-action: none; }
.bs-crop-toolbar { display: flex; align-items: center; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.bs-crop-btn {
    background: var(--or); color: #fff; border: none;
    border-radius: 6px; padding: 7px 16px;
    font-size: .78rem; font-weight: 700; cursor: pointer;
}
.bs-crop-btn:hover { opacity: .85; }
.bs-crop-btn-sec {
    background: rgba(255,255,255,.08); color: rgba(255,255,255,.6);
    border: none; border-radius: 6px; padding: 7px 14px; font-size: .78rem; cursor: pointer;
}
.bs-crop-btn-sec:hover { background: rgba(255,255,255,.14); color: #fff; }
.bs-crop-hint { font-size: .72rem; color: rgba(255,255,255,.35); flex: 1; }

/* Cached notice */
.bs-cached-notice {
    display: flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
    border-radius: 8px; padding: 8px 14px; margin-bottom: 16px;
    font-size: .78rem; color: rgba(255,255,255,.4);
}
.bs-cached-notice svg { width: 14px; height: 14px; flex-shrink: 0; }

/* Progress steps */
.bs-progress { display: none; padding: 20px 0 8px; }
.bs-progress-steps { display: flex; gap: 0; position: relative; }
.bs-progress-steps::before {
    content: ''; position: absolute; top: 14px; left: 14px; right: 14px;
    height: 2px; background: rgba(255,255,255,.1); z-index: 0;
}
.bs-progress-fill {
    position: absolute; top: 14px; left: 14px; height: 2px;
    background: var(--or); z-index: 1; transition: width .6s ease; width: 0%;
}
.bs-prog-step {
    flex: 1; display: flex; flex-direction: column;
    align-items: center; gap: 8px; position: relative; z-index: 2;
}
.bs-prog-dot {
    width: 28px; height: 28px; border-radius: 50%;
    background: rgba(255,255,255,.08);
    border: 2px solid rgba(255,255,255,.15);
    display: flex; align-items: center; justify-content: center; transition: all .4s;
}
.bs-prog-dot svg { width: 12px; height: 12px; color: rgba(255,255,255,.3); }
.bs-prog-dot.active { background: var(--or); border-color: var(--or); }
.bs-prog-dot.active svg { color: #fff; }
.bs-prog-dot.done { background: rgba(5,150,105,.2); border-color: #059669; }
.bs-prog-dot.done svg { color: #059669; }
.bs-prog-label {
    font-size: .65rem; color: rgba(255,255,255,.35); font-weight: 600;
    text-transform: uppercase; letter-spacing: .5px; text-align: center;
}
.bs-prog-label.active { color: rgba(255,255,255,.7); }

/* Error */
.bs-error {
    background: rgba(252,100,80,.1); border: 1.5px solid rgba(240,100,100,.3);
    border-radius: 10px; padding: 14px 18px; display: none;
    align-items: center; gap: 10px; margin-top: 12px;
}
.bs-error svg { width: 16px; height: 16px; color: #f06060; flex-shrink: 0; }
.bs-error p { font-size: .82rem; color: #f09090; font-weight: 600; }

/* Scan button */
.bs-scan-btn {
    width: 100%; padding: 15px; margin-top: 14px;
    background: var(--or); color: #fff; border: none; border-radius: 10px;
    font-family: var(--fb); font-size: 1rem; font-weight: 700; cursor: pointer;
    transition: all .25s; display: flex; align-items: center;
    justify-content: center; gap: 10px; position: relative; overflow: hidden;
}
.bs-scan-btn::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.15), transparent);
    transform: translateX(-100%); transition: transform .6s;
}
.bs-scan-btn:hover:not(:disabled)::after { transform: translateX(100%); }
.bs-scan-btn:hover:not(:disabled) {
    background: var(--or2); transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(232,85,42,.4);
}
.bs-scan-btn:disabled { opacity: .4; cursor: not-allowed; }
.bs-scan-btn svg { width: 18px; height: 18px; }