/* ok_pos/customer/assets/css/style.css */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: #2563EB;
    --primary-gradient: linear-gradient(135deg, #1D4ED8 0%, #1E40AF 100%);
    --accent-gold: #FFD700;
    --accent-red: #EF4444;
    --accent-cyan: #38BDF8;
    
    --bg-main: #F4F6F9;
    --bg-card: #FFFFFF;
    --bg-card-subtle: #F0F5FF;
    --border-card: rgba(37, 99, 235, 0.08);
    
    --text-main: #0F172A;
    --text-muted: #64748B;
    --text-inverse: #FFFFFF;
    
    --bottom-nav-bg: #FFFFFF;
    --header-bg: linear-gradient(135deg, #0B192C 0%, #1E3A8A 100%);
    
    --shadow-sm: 0 2px 8px rgba(37, 99, 235, 0.06);
    --shadow-md: 0 4px 16px rgba(37, 99, 235, 0.1);
    --shadow-lg: 0 10px 25px rgba(37, 99, 235, 0.2);
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;

    --input-bg: #F1F5F9;
    --input-border: #CBD5E1;
}

body.dark-theme {
    --bg-main: #070D19;
    --bg-card: #0F172A;
    --bg-card-subtle: #1E293B;
    --border-card: rgba(255, 255, 255, 0.08);
    
    --text-main: #F8FAFC;
    --text-muted: #94A3B8;
    --bottom-nav-bg: #0F172A;
    --header-bg: linear-gradient(135deg, #040814 0%, #0F172A 100%);
    
    --input-bg: rgba(255, 255, 255, 0.06);
    --input-border: rgba(255, 255, 255, 0.12);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

button, a, .cat-item-btn, .nav-item, .tier-pill, .product-card, .delivery-opt-card {
    touch-action: manipulation;
    user-select: none;
    -webkit-user-select: none;
}

.bottom-nav, .vip-member-card {
    backface-visibility: hidden;
}

body {
    background-color: #070a12;
    color: var(--text-main);
    font-family: 'Plus Jakarta Sans', sans-serif;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    transition: background-color 0.3s ease, color 0.3s ease;
}

h1, h2, h3, h4, h5, h6, .font-outfit {
    font-family: 'Outfit', sans-serif;
}

/* Mobile App Viewport Container */
.app-container {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    min-height: 100vh;
    background-color: var(--bg-main);
    position: relative;
    box-shadow: 0 0 50px rgba(0,0,0,0.4);
    padding-bottom: 95px !important;
    overflow-x: hidden;
}

/* Header Design (Tokopedia Green Header) */
.ecommerce-header {
    background: var(--header-bg);
    color: #ffffff;
    padding: 14px 16px 16px 16px;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
    transition: background-color 0.3s ease;
}

.top-bar-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    font-size: 1.25rem;
    color: #ffffff;
    text-decoration: none;
    font-family: 'Outfit', sans-serif;
    letter-spacing: -0.5px;
}

.brand-logo i {
    width: 24px;
    height: 24px;
    color: #ffffff;
}

.header-action-btns {
    display: flex;
    align-items: center;
    gap: 10px;
}

.icon-btn-wrap {
    position: relative;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: all 0.2s ease;
}

.icon-btn-wrap:active {
    transform: scale(0.92);
}

.badge-count {
    position: absolute;
    top: -2px;
    right: -2px;
    background: var(--accent-red);
    color: #ffffff;
    font-size: 0.68rem;
    font-weight: 700;
    height: 18px;
    min-width: 18px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    box-shadow: 0 2px 6px rgba(255,87,34,0.4);
}

/* Search Bar Box */
.search-box-wrap {
    position: relative;
    width: 100%;
}

.search-input {
    width: 100%;
    background: #ffffff;
    color: #0F172A;
    border: none;
    border-radius: var(--radius-full);
    padding: 10px 16px 10px 42px;
    font-size: 0.9rem;
    font-family: inherit;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    outline: none;
    transition: all 0.2s ease;
}

.search-input::placeholder {
    color: #94A3B8;
}

.search-icon-inside {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748B;
    width: 18px;
    height: 18px;
    pointer-events: none;
}

/* Hero Carousel / Promo Banner */
.promo-slider-container {
    padding: 16px;
    overflow-x: auto;
    display: flex;
    gap: 12px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.promo-slider-container::-webkit-scrollbar {
    display: none;
}

.promo-card-banner {
    flex: 0 0 90%;
    scroll-snap-align: center;
    background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
    border-radius: var(--radius-md);
    padding: 18px 20px;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    min-height: 110px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.promo-card-banner.akulaku-style {
    background: linear-gradient(135deg, #FF5722 0%, #E64A19 100%);
}

.promo-card-banner.purple-style {
    background: linear-gradient(135deg, #7C3AED 0%, #5B21B6 100%);
}

.promo-card-banner h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.promo-card-banner p {
    font-size: 0.82rem;
    opacity: 0.9;
}

.promo-badge-tag {
    position: absolute;
    right: -15px;
    top: -15px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    width: 110px;
    height: 110px;
    pointer-events: none;
}

/* Category Grid Icons */
.categories-section {
    padding: 0 16px 16px 16px;
}

.section-title-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.section-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-main);
}

.section-more-link {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
}

.category-grid-menu {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    gap: 10px;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.category-grid-menu::-webkit-scrollbar {
    display: none;
}

.cat-item-btn {
    flex: 0 0 82px !important;
    min-width: 82px !important;
    max-width: 82px !important;
    flex-shrink: 0 !important;
    scroll-snap-align: start;
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-md);
    padding: 10px 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-sm);
}

.cat-item-btn:active {
    transform: scale(0.95);
}

.cat-icon-circle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.12);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.cat-item-btn.active .cat-icon-circle {
    background: var(--primary);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}

.cat-item-btn.active .cat-label {
    color: var(--primary);
    font-weight: 700;
}

.cat-label {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-main);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

/* Highlight Widget: Produk Terakhir Dibeli (Konsumen Feature) */
.purchased-widget-section {
    padding: 0 16px 16px 16px;
}

.widget-card-box {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-md);
    padding: 14px;
    box-shadow: var(--shadow-sm);
}

.widget-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.purchased-horizontal-list {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 4px;
}

.purchased-horizontal-list::-webkit-scrollbar {
    display: none;
}

.purchased-mini-item {
    flex: 0 0 120px;
    background: var(--bg-card-subtle);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-sm);
    padding: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
}

.purchased-mini-img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    margin-bottom: 6px;
    background: #e2e8f0;
}

.purchased-mini-title {
    font-size: 0.73rem;
    font-weight: 600;
    line-height: 1.2;
    height: 2.4em;
    overflow: hidden;
    color: var(--text-main);
    margin-bottom: 4px;
}

.purchased-mini-price {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary);
}

/* Product Feed Grid View (Tokopedia / Akulaku Style) */
.products-feed-section {
    padding: 0 16px 20px 16px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
}

.product-card:active {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.product-img-wrap {
    width: 100%;
    height: 140px;
    background: var(--bg-card-subtle);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-no-img {
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
}

.product-stock-tag {
    position: absolute;
    top: 8px;
    left: 8px;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(4px);
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 600;
    padding: 3px 7px;
    border-radius: var(--radius-full);
}

.product-body {
    padding: 10px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.product-category-name {
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-bottom: 2px;
}

.product-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-main);
    line-height: 1.3;
    height: 2.6em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    margin-bottom: 8px;
}

.product-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}

.product-price {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--primary);
    font-family: 'Outfit', sans-serif;
}

.btn-add-cart {
    background: var(--primary-gradient);
    color: #ffffff;
    border: none;
    border-radius: var(--radius-sm);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: transform 0.15s ease;
}

.btn-add-cart:disabled,
.btn-add-cart.out-of-stock {
    background: #64748B !important;
    color: #94A3B8 !important;
    cursor: not-allowed !important;
    opacity: 0.35 !important;
    box-shadow: none !important;
    pointer-events: none !important;
}

.btn-add-cart:active {
    transform: scale(0.9);
}

/* Sticky Floating Glassmorphic Bottom Navigation Bar - ALWAYS ON TOP (Native Android/iOS App Dock) */
.bottom-nav {
    position: fixed !important;
    bottom: 12px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: calc(100% - 24px) !important;
    max-width: 440px !important;
    height: 64px !important;
    background: rgba(15, 23, 42, 0.94) !important;
    backdrop-filter: blur(24px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    border-radius: 32px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-around !important;
    z-index: 999999 !important;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.25) !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    padding: 0 6px !important;
    pointer-events: auto !important;
    isolation: isolate !important;
}

body:not(.dark-theme) .bottom-nav {
    background: rgba(255, 255, 255, 0.96) !important;
    border-color: rgba(37, 99, 235, 0.22) !important;
    box-shadow: 0 16px 40px rgba(37, 99, 235, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.95) !important;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #94a3b8;
    font-size: 0.7rem;
    font-weight: 700;
    gap: 3px;
    flex: 1;
    height: 100%;
    position: relative;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 20px;
}

body:not(.dark-theme) .nav-item {
    color: #64748b;
}

.nav-item i {
    width: 22px;
    height: 22px;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), color 0.25s ease;
}

.nav-item.active {
    color: #38bdf8;
}

body:not(.dark-theme) .nav-item.active {
    color: #2563eb;
}

.nav-item.active i {
    transform: translateY(-3px) scale(1.15);
    filter: drop-shadow(0 4px 8px rgba(56, 189, 248, 0.45));
}

.nav-item.active::after {
    content: '';
    position: absolute;
    bottom: 5px;
    width: 14px;
    height: 3px;
    background: #38bdf8;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(56, 189, 248, 0.6);
}

body:not(.dark-theme) .nav-item.active::after {
    background: #2563eb;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.5);
}

.nav-item-badge {
    position: absolute;
    top: 6px;
    right: 28%;
    background: var(--accent-red);
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 700;
    height: 16px;
    min-width: 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

/* Floating Action / Toast */
.toast-msg {
    position: fixed;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: #0F172A;
    color: #ffffff;
    padding: 10px 18px;
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    z-index: 999;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.toast-msg.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* Custom UI Cards & Layout Helpers */
.card-panel {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-md);
    padding: 16px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 16px;
}

.btn-primary-block {
    width: 100%;
    background: var(--primary-gradient);
    color: #ffffff;
    border: none;
    border-radius: var(--radius-md);
    padding: 14px;
    font-size: 0.95rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: var(--shadow-lg);
    transition: all 0.2s ease;
}

.btn-primary-block:active {
    transform: scale(0.98);
}

.form-group {
    margin-bottom: 14px;
}

.form-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.form-control {
    width: 100%;
    background: var(--input-bg);
    border: 1px solid var(--input-border);
    color: var(--text-main);
    border-radius: var(--radius-md);
    padding: 12px 14px;
    font-size: 0.9rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s ease;
}

.form-control:focus {
    border-color: var(--primary);
}

.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-muted);
}

.empty-state i {
    width: 48px;
    height: 48px;
    margin-bottom: 12px;
    opacity: 0.5;
}

/* Additions for Premium Member Card, Input Icon Wrappers, and GPS Location Box */
.vip-member-card {
    background: linear-gradient(135deg, #091224 0%, #152238 50%, #0B1628 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 20px;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    margin-bottom: 20px;
}

.vip-member-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(3, 172, 14, 0.25) 0%, rgba(0,0,0,0) 70%);
    pointer-events: none;
}

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

.vip-badge-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #0F172A;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
}

.card-sim-chip {
    width: 38px;
    height: 28px;
    background: linear-gradient(135deg, #e0aa3e 0%, #f7d070 50%, #b8860b 100%);
    border-radius: 5px;
    position: relative;
    box-shadow: inset 0 0 4px rgba(0,0,0,0.4);
}

.vip-balance-label {
    font-size: 0.75rem;
    color: #94A3B8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.vip-balance-val {
    font-size: 1.6rem;
    font-weight: 800;
    color: #00FF66;
    font-family: 'Outfit', sans-serif;
    text-shadow: 0 0 12px rgba(0, 255, 102, 0.4);
    margin-bottom: 16px;
}

.barcode-slot-box {
    background: #FFFFFF;
    padding: 12px 14px;
    border-radius: 12px;
    text-align: center;
    box-shadow: inset 0 2px 6px rgba(0,0,0,0.1);
}

.input-icon-wrap {
    position: relative;
    width: 100%;
}

.input-icon-wrap i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748B;
    width: 18px;
    height: 18px;
    pointer-events: none;
    transition: color 0.2s ease;
}

.input-icon-wrap textarea + i {
    top: 20px;
    transform: none;
}

.input-icon-wrap .form-control {
    padding-left: 44px;
}

.input-icon-wrap .form-control:focus + i,
.input-icon-wrap:focus-within i {
    color: var(--primary);
}

.gps-locator-box {
    background: var(--bg-card-subtle);
    border: 1px dashed var(--primary);
    border-radius: var(--radius-md);
    padding: 14px;
    margin-bottom: 14px;
}

.gps-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.76rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    background: rgba(3, 172, 14, 0.12);
    color: var(--primary);
}

.btn-gps-locate {
    width: 100%;
    background: rgba(3, 172, 14, 0.15);
    color: var(--primary);
    border: 1px solid var(--primary);
    border-radius: var(--radius-md);
    padding: 10px 14px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.btn-gps-locate:active {
    transform: scale(0.97);
    background: var(--primary);
    color: #ffffff;
}

/* Tiered Multi-Unit Pricing (Harga Berjenjang) */
.unit-tier-container {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 6px;
    margin-bottom: 8px;
}

.tier-pill {
    background: var(--bg-card-subtle);
    border: 1px solid var(--border-card);
    border-radius: 14px;
    padding: 3px 8px;
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s ease;
}

.tier-pill.active {
    background: rgba(3, 172, 14, 0.12);
    border-color: var(--primary);
    color: var(--primary);
}

.tier-pill .tier-price {
    color: var(--primary);
    font-weight: 800;
}

/* Scanner Button Banner & Camera Modal (Screen 2 UI) */
.scanner-banner-btn {
    width: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
    border: 1px solid rgba(255, 215, 0, 0.4);
    border-radius: var(--radius-full);
    padding: 12px 18px;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    transition: all 0.2s ease;
}

.scanner-banner-btn:active {
    transform: scale(0.97);
}

/* Delivery Option Toggle (Screen 4 UI) */
.delivery-toggle-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 14px;
}

.delivery-opt-card {
    background: var(--bg-card-subtle);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-md);
    padding: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted);
}

.delivery-opt-card.active {
    background: rgba(37, 99, 235, 0.12);
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.delivery-opt-card i {
    width: 20px;
    height: 20px;
}

/* Camera Scanner Fullscreen Modal */
.scanner-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #000000;
    z-index: 1000;
    display: flex;
    flex-direction: column;
}

.scanner-camera-header {
    background: linear-gradient(135deg, #0B192C 0%, #1E3A8A 100%);
    color: #ffffff;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.scanner-frame-view {
    flex-grow: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.scanner-target-box {
    width: 240px;
    height: 240px;
    border: 3px solid #FFD700;
    border-radius: 20px;
    box-shadow: 0 0 0 4000px rgba(0, 0, 0, 0.6);
    position: relative;
    animation: scannerPulse 2s infinite ease-in-out;
}

@keyframes scannerPulse {
    0%, 100% { border-color: #FFD700; box-shadow: 0 0 0 4000px rgba(0, 0, 0, 0.65), 0 0 15px rgba(255, 215, 0, 0.4); }
    50% { border-color: #03AC0E; box-shadow: 0 0 0 4000px rgba(0, 0, 0, 0.6), 0 0 25px rgba(3, 172, 14, 0.6); }
}

