/* VehiLink — Scan / Connect (light app theme) */

/* Override dashboard mockup lock — scan must scroll on all devices */
html:has(body.scan-page),
body.scan-page {
    overflow-x: hidden;
    overflow-y: auto;
    position: relative;
    height: auto;
    min-height: 100dvh;
    width: 100%;
    -webkit-overflow-scrolling: touch;
}

body.scan-page .site-header,
body.scan-page .site-footer {
    display: none !important;
}

body.scan-page.app-body {
    background: linear-gradient(135deg, #fdf2f8 0%, #f5e1fd 100%);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 0;
    min-height: 100dvh;
}

.scan-phone-shell {
    width: 100%;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: stretch;
    min-height: 100dvh;
    padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
    box-sizing: border-box;
}

.scan-phone.phone-container {
    box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.2), 0 0 0 10px #1e293b;
    max-width: 100%;
}

.scan-phone .phone-content {
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: contain;
}

.scan-app-inner {
    padding: 8px 18px calc(24px + env(safe-area-inset-bottom));
    min-height: 100%;
    box-sizing: border-box;
}

.scan-screen {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* ── Typography & dividers ─────────────────────────────────── */
.scan-screen-title {
    font-size: 17px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.35;
    margin: 12px 0 0;
}

.scan-divider {
    border: none;
    border-top: 1px solid #e2e8f0;
    margin: 16px 0;
}

.scan-field-label {
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
    margin: 0 0 10px;
}

.scan-field-label strong {
    color: #0f172a;
    font-weight: 700;
}

.scan-field-label-mt {
    margin-top: 18px;
}

/* ── Indian license plate ──────────────────────────────────── */
.scan-ind-plate {
    border: 2px solid #0f172a;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
    width: fit-content;
    margin: 12px 0;
}

.scan-ind-plate-top {
    background: #1e3a8a;
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1px;
    text-align: center;
    padding: 2px 8px;
}

.scan-ind-plate-body {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}

.scan-ind-flag {
    width: 18px;
    height: 12px;
    border-radius: 1px;
    background: linear-gradient(180deg, #ff9933 33%, #fff 33%, #fff 66%, #138808 66%);
    border: 1px solid #cbd5e1;
    flex-shrink: 0;
}

.scan-ind-num {
    font-family: 'Courier New', Courier, monospace;
    font-size: 20px;
    font-weight: 900;
    letter-spacing: 2px;
    color: #0f172a;
}

.scan-ind-plate-sm .scan-ind-num {
    font-size: 15px;
}

/* ── Verification screen ─────────────────────────────────── */
.scan-verify-visual {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #f1f5f9;
    margin-bottom: 4px;
}

.scan-car-photo {
    width: 100%;
    height: 140px;
    object-fit: cover;
    filter: grayscale(0.3);
    display: block;
}

.scan-car-placeholder {
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: #94a3b8;
}

.scan-plate-hint {
    position: absolute;
    bottom: 12px;
    right: 16px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 3px solid #ff0055;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.9);
    font-weight: 900;
    font-size: 14px;
    color: #0f172a;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.scan-plate-input-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 4px;
}

.scan-plate-input-row .scan-ind-plate {
    margin: 0;
    flex-shrink: 0;
}

.scan-plate-input-row .scan-input {
    flex: 1;
    min-width: 0;
}

/* ── Inputs & buttons ──────────────────────────────────────── */
.scan-input {
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 16px;
    font-family: inherit;
    background: #fff;
    color: #0f172a;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    touch-action: manipulation;
}

.scan-input:focus {
    border-color: #ff0055;
    box-shadow: 0 0 0 3px rgba(255, 0, 85, 0.12);
}

.scan-input-full {
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 12px;
}

.scan-btn-yellow {
    width: 100%;
    padding: 14px 20px;
    border: none;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 800;
    font-family: inherit;
    cursor: pointer;
    color: #ffffff;
    background: linear-gradient(135deg, #ff0055 0%, #e11d48 100%);
    box-shadow: 0 4px 14px rgba(255, 0, 85, 0.35);
    transition: transform 0.15s, box-shadow 0.15s;
    margin-top: 8px;
    min-height: 48px;
    touch-action: manipulation;
}

.scan-btn-yellow:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(255, 0, 85, 0.45);
}

.scan-btn-yellow.scan-btn-call {
    margin-top: 0;
}

.scan-btn-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    width: auto;
    padding: 12px 28px;
}

.scan-btn-cancel {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    background: #f1f5f9;
    border: none;
    cursor: pointer;
    font-family: inherit;
    text-decoration: none;
    margin-top: 4px;
}

.scan-btn-outline {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    color: #0f172a;
    background: #fff;
    border: 1.5px solid #0f172a;
    transition: background 0.15s;
    min-height: 48px;
    touch-action: manipulation;
}

.scan-btn-outline:hover {
    background: #f8fafc;
}

.scan-btn-outline .fa-whatsapp {
    color: #25d366;
    font-size: 18px;
}

/* ── Contact owner screen ──────────────────────────────────── */
.scan-contact-title {
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 4px;
}

.scan-owner-strip {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #f8fafc;
    border-radius: 12px;
    margin: 8px 0;
}

.scan-owner-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
}

.scan-owner-avatar-letter {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ff0055 0%, #e11d48 100%);
    color: #fff;
    font-weight: 800;
    font-size: 18px;
}

.scan-owner-strip-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #94a3b8;
}

.scan-owner-strip-name {
    font-size: 15px;
    font-weight: 800;
    color: #0f172a;
}

.scan-owner-vehicle {
    font-size: 11px;
    color: #64748b;
    margin-top: 2px;
}

.scan-social-icons {
    display: flex;
    gap: 8px;
    margin: 8px 0 12px;
}

.scan-social-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    color: #475569;
    text-decoration: none;
    font-size: 15px;
    border: 1px solid #e2e8f0;
}

.scan-reason-heading {
    font-size: 13px;
    color: #64748b;
    margin: 12px 0 10px;
}

.scan-reason-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.scan-reason-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1.5px solid #e2e8f0;
    background: #fff;
    cursor: pointer;
    position: relative;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.scan-reason-item.selected {
    border-color: #ff0055;
    box-shadow: 0 0 0 1px #ff0055;
}

.scan-reason-icon {
    width: 28px;
    color: #64748b;
    font-size: 16px;
    text-align: center;
    flex-shrink: 0;
}

.scan-reason-text {
    flex: 1;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    line-height: 1.35;
}

.scan-reason-radio {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.scan-reason-check {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #cbd5e1;
    flex-shrink: 0;
    position: relative;
}

.scan-reason-item.selected .scan-reason-check {
    border-color: #ff0055;
}

.scan-reason-item.selected .scan-reason-check::after {
    content: '';
    position: absolute;
    inset: 4px;
    border-radius: 50%;
    background: #ff0055;
}

.scan-contact-actions {
    display: flex;
    gap: 10px;
    margin-bottom: 14px;
}

.scan-emergency-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    border: none;
    background: none;
    font-size: 13px;
    font-weight: 600;
    color: #ff0055;
    cursor: pointer;
    font-family: inherit;
    margin-bottom: 16px;
}

.scan-spam-note {
    font-size: 11px;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
}

/* ── Chat panel ────────────────────────────────────────────── */
.scan-chat-panel {
    display: none;
    flex-direction: column;
    height: calc(100dvh - 32px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    max-height: 720px;
    min-height: 360px;
}

.scan-chat-top {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 8px;
}

.scan-chat-back {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    cursor: pointer;
    color: #475569;
}

.scan-chat-title {
    font-size: 15px;
    font-weight: 800;
    color: #0f172a;
}

.scan-chat-sub {
    font-size: 11px;
    color: #94a3b8;
}

.scan-chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 12px 4px;
    background: #e5ddd5;
    border-radius: 12px;
    min-height: 180px;
    margin-bottom: 10px;
    -webkit-overflow-scrolling: touch;
}

.scan-chat-empty {
    text-align: center;
    padding: 24px;
    color: #94a3b8;
    font-style: italic;
    font-size: 13px;
}

.scan-bubble-wrap {
    display: flex;
    margin-bottom: 8px;
}

.scan-bubble-wrap.out { justify-content: flex-end; }
.scan-bubble-wrap.in { justify-content: flex-start; }

.scan-bubble {
    position: relative;
    max-width: 82%;
    padding: 8px 14px 18px;
    font-size: 13px;
    line-height: 1.4;
    word-break: break-word;
    border-radius: 10px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
}

.scan-bubble-out {
    background: #d9fdd3;
    color: #1e293b;
    border-radius: 10px 10px 0 10px;
}

.scan-bubble-in {
    background: #fff;
    color: #1e293b;
    border-radius: 10px 10px 10px 0;
}

.scan-bubble-time {
    position: absolute;
    bottom: 3px;
    right: 8px;
    font-size: 9px;
    color: #64748b;
}

.scan-bubble-time .fa-check-double {
    color: #53bdeb;
}

.scan-chat-form {
    display: flex;
    gap: 8px;
    margin: 0;
}

.scan-chat-input {
    flex: 1;
    border: 1.5px solid #e2e8f0;
    border-radius: 24px;
    padding: 10px 16px;
    font-size: 16px;
    font-family: inherit;
    outline: none;
    min-width: 0;
}

.scan-chat-send {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, #ff0055 0%, #e11d48 100%);
    color: #fff;
    cursor: pointer;
    flex-shrink: 0;
}

/* ── Call panel ──────────────────────────────────────────────── */
.scan-call-panel {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px calc(40px + env(safe-area-inset-bottom));
    min-height: min(480px, calc(100dvh - 48px));
    box-sizing: border-box;
}

.scan-call-wave {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: rgba(255, 0, 85, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    position: relative;
}

.scan-call-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 3px solid #ff0055;
    animation: scan-pulse 1.5s infinite;
    opacity: 0.5;
}

.scan-call-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff0055 0%, #e11d48 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    z-index: 1;
}

@keyframes scan-pulse {
    0% { transform: scale(1); opacity: 0.6; }
    70% { transform: scale(1.15); opacity: 0; }
    100% { transform: scale(1.15); opacity: 0; }
}

.scan-call-status {
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 8px;
}

.scan-call-sub {
    font-size: 12px;
    color: #64748b;
    margin: 0 0 20px;
}

.scan-call-timer {
    font-size: 28px;
    font-weight: 800;
    font-family: monospace;
    color: #10b981;
    margin-bottom: 24px;
}

.scan-call-remote-audio {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
    overflow: hidden;
}

.scan-call-audio-hint {
    font-size: 12px;
    font-weight: 700;
    color: #0ea5e9;
    margin: 0 0 16px;
    padding: 10px 14px;
    border-radius: 12px;
    background: rgba(14, 165, 233, 0.12);
    cursor: pointer;
}

.scan-call-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.scan-call-speaker {
    background: #0ea5e9;
    border: none;
    color: #fff;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 16px rgba(14, 165, 233, 0.28);
    flex-shrink: 0;
}

.scan-call-speaker.off {
    background: #64748b;
    box-shadow: 0 6px 16px rgba(100, 116, 139, 0.25);
}

.scan-call-mic-btn {
    background: #8b5cf6;
    border: none;
    color: #fff;
    padding: 10px 18px;
    font-size: 13px;
    font-weight: 700;
    border-radius: 24px;
    cursor: pointer;
    font-family: inherit;
    display: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0 0 16px;
    box-shadow: 0 6px 16px rgba(139, 92, 246, 0.28);
}

.scan-call-end {
    background: #ef4444;
    border: none;
    color: #fff;
    padding: 12px 28px;
    font-size: 13px;
    font-weight: 800;
    border-radius: 24px;
    cursor: pointer;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* ── Emergency modal ───────────────────────────────────────── */
.scan-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    z-index: 1000;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 0;
}

.scan-modal {
    background: #fff;
    border-radius: 16px 16px 0 0;
    width: 100%;
    max-width: 480px;
    max-height: 90dvh;
    overflow-y: auto;
    padding: 20px 20px calc(20px + env(safe-area-inset-bottom));
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.15);
    -webkit-overflow-scrolling: touch;
}

.scan-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.scan-modal-header h3 {
    font-size: 18px;
    font-weight: 800;
    margin: 0;
    color: #0f172a;
}

.scan-modal-close {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: none;
    background: #fff1f2;
    color: #ff0055;
    cursor: pointer;
    font-size: 14px;
}

.scan-info-box {
    background: #fff1f2;
    color: #e11d48;
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 14px;
}

.scan-helpline-card {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 12px;
}

.scan-helpline-head {
    font-size: 14px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.scan-helpline-head i {
    color: #ef4444;
}

.scan-helpline-desc {
    font-size: 11px;
    color: #94a3b8;
    margin: 0 0 10px;
}

.scan-helpline-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #f1f5f9;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
}

.scan-helpline-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.scan-helpline-num {
    font-weight: 800;
    color: #dc2626;
    text-decoration: none;
}

.scan-modal-back {
    margin-top: 14px;
    padding: 10px 22px;
    border-radius: 999px;
    border: none;
    background: #fff1f2;
    color: #ff0055;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
}

/* ── Search & state screens ────────────────────────────────── */
.scan-search-screen {
    padding-top: 24px;
    text-align: center;
}

.scan-search-icon-wrap {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    border-radius: 18px;
    background: linear-gradient(135deg, #ff0055 0%, #e11d48 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 8px 24px rgba(255, 0, 85, 0.3);
}

.scan-search-title {
    font-family: 'Outfit', sans-serif;
    font-size: 28px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 8px;
}

.scan-search-title span {
    color: #ff0055;
}

.scan-search-subtitle {
    font-size: 13px;
    color: #64748b;
    line-height: 1.55;
    margin: 0 0 20px;
}

.scan-search-form {
    text-align: left;
}

.scan-search-note {
    margin-top: 20px;
    text-align: center;
}

.scan-search-note i {
    color: #ff0055;
    margin-right: 4px;
}

.scan-state-screen {
    text-align: center;
    padding-top: 80px;
}

.scan-state-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.scan-state-icon.warn { color: #f59e0b; }

.scan-state-text {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
    margin: 0 0 24px;
}

/* ── Alerts ────────────────────────────────────────────────── */
.scan-alert {
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 13px;
    margin-bottom: 12px;
    font-weight: 500;
}

.scan-alert.error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
}

/* ── Tablet: centered card, no heavy bezel ─────────────────── */
@media (max-width: 768px) {
    body.scan-page.app-body {
        background: #ffffff;
    }

    .scan-phone-shell {
        padding: 0;
        align-items: stretch;
    }

    .scan-phone.phone-container {
        width: 100%;
        height: auto;
        min-height: 100dvh;
        border-radius: 0;
        box-shadow: none;
    }

    .scan-phone .phone-notch,
    .scan-phone .phone-home-indicator,
    .scan-phone .phone-status-bar {
        display: none !important;
    }

    .scan-app-inner {
        padding: 16px 16px calc(20px + env(safe-area-inset-bottom));
    }

    .scan-state-screen {
        padding-top: 48px;
    }

    .scan-ind-num {
        font-size: clamp(14px, 4.5vw, 20px);
        letter-spacing: 1px;
    }

    .scan-contact-title {
        font-size: clamp(18px, 5vw, 22px);
    }

    .scan-search-title {
        font-size: clamp(24px, 7vw, 28px);
    }
}

/* ── Mobile: full-screen native feel ───────────────────────── */
@media (max-width: 480px) {
    .scan-app-inner {
        padding: 12px 14px calc(16px + env(safe-area-inset-bottom));
    }

    .scan-plate-input-row {
        flex-direction: column;
        align-items: stretch;
    }

    .scan-plate-input-row .scan-ind-plate {
        align-self: center;
    }

    .scan-plate-input-row .scan-input {
        width: 100%;
    }

    .scan-ind-plate {
        max-width: 100%;
    }

    .scan-ind-plate-body {
        padding: 8px 10px;
        gap: 6px;
    }

    .scan-car-photo,
    .scan-car-placeholder {
        height: clamp(120px, 32vw, 160px);
    }

    .scan-contact-actions {
        flex-direction: column;
    }

    .scan-contact-actions .scan-btn-outline,
    .scan-contact-actions .scan-btn-yellow {
        width: 100%;
        flex: none;
    }

    .scan-reason-item {
        padding: 14px 12px;
        min-height: 48px;
    }

    .scan-reason-text {
        font-size: 12px;
    }

    .scan-owner-strip {
        flex-wrap: wrap;
    }

    .scan-chat-panel {
        height: calc(100dvh - env(safe-area-inset-top) - env(safe-area-inset-bottom));
        max-height: none;
    }

    .scan-chat-top {
        position: sticky;
        top: 0;
        background: #fff;
        z-index: 2;
        padding-top: 4px;
    }

    .scan-helpline-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .scan-search-screen {
        padding-top: 16px;
    }

    .scan-state-screen {
        padding-top: 32px;
    }
}

/* ── Desktop: keep phone mockup centered ─────────────────── */
@media (min-width: 769px) {
    body.scan-page.app-body {
        padding: 24px 16px;
        align-items: center;
        justify-content: center;
    }

    .scan-phone-shell {
        min-height: auto;
        align-items: center;
        padding: env(safe-area-inset-top) 16px env(safe-area-inset-bottom);
    }

    .scan-phone.phone-container {
        width: min(375px, 100%);
        height: min(812px, calc(100dvh - 48px));
    }

    .scan-modal-overlay {
        align-items: center;
        padding: 20px;
    }

    .scan-modal {
        border-radius: 16px;
        max-height: 85vh;
    }
}

/* ── Very small screens ────────────────────────────────────── */
@media (max-width: 360px) {
    .scan-search-icon-wrap {
        width: 56px;
        height: 56px;
        font-size: 24px;
    }

    .scan-screen-title {
        font-size: 15px;
    }

    .scan-social-icon {
        width: 32px;
        height: 32px;
        font-size: 13px;
    }
}
