/* ============================================================
   SmartPack Terminal V2 — Enterprise Design System
   Mobile-first, dark, high-contrast warehouse terminal UI.
   Inspired by SmartPackV2.Terminal reference design.
   ============================================================ */

/* ============================================
   §1  Design Tokens
   ============================================ */
:root {
    /* ---- Palette ---- */
    --t-bg:             #1e1e1e;
    --t-bg-dark:        #121212;
    --t-bg-card:        #2a2a2a;
    --t-bg-input:       #1a1a1a;
    --t-bg-input-focus: #1f1a2e;

    --t-accent:         #612ecc;
    --t-accent-alt:     #3a58ad;
    --t-accent-hover:   #514081;
    --t-accent-shadow:  rgba(97,46,204,0.4);
    --t-barcode:        #8566b8;

    --t-text:           #b0b0b0;
    --t-text-light:     #e0e0e0;
    --t-text-muted:     #808080;

    --t-success:        #4caf50;
    --t-error:          #dc3545;
    --t-warning:        #ffc107;
    --t-info:           #00bcd4;

    --t-border:         rgba(255,255,255,0.08);
    --t-border-light:   rgba(255,255,255,0.05);
    --t-input-border:   rgba(255,255,255,0.15);

    /* ---- Badge Colors ---- */
    --badge-qty:        rgba(76,175,80,0.85);
    --badge-stock:      rgba(33,150,243,0.85);
    --badge-available:  rgba(0,188,212,0.85);
    --badge-reserved:   rgba(255,152,0,0.85);
    --badge-incoming:   rgba(156,39,176,0.85);
    --badge-refill:     rgba(255,193,7,0.85);
    --badge-distance:   rgba(58,77,117,0.85);

    /* ---- Action Colors ---- */
    --act-delete:       rgba(220,53,69,0.9);
    --act-print:        rgba(33,150,243,0.9);
    --act-edit:         rgba(255,193,7,0.9);
    --act-add:          rgba(76,175,80,0.9);
    --act-info:         rgba(0,188,212,0.9);

    /* ---- Spacing ---- */
    --sp-xs: 0.25rem;
    --sp-sm: 0.5rem;
    --sp-md: 0.75rem;
    --sp-lg: 1rem;
    --sp-xl: 1.5rem;
    --sp-2xl: 2rem;

    /* ---- Typography ---- */
    --fs-xs:  0.65rem;
    --fs-sm:  0.85rem;
    --fs-base: 0.95rem;
    --fs-md:  1.1rem;
    --fs-lg:  1.3rem;
    --fs-xl:  1.5rem;
    --fw-normal:   400;
    --fw-medium:   500;
    --fw-semibold: 600;
    --fw-bold:     700;
    --fw-bolder:   800;

    /* ---- Borders & Radius ---- */
    --r-sm: 4px;
    --r-md: 6px;
    --r-lg: 8px;
    --r-xl: 1rem;
    --r-round: 50%;

    /* ---- Shadows ---- */
    --shadow-sm:    0 2px 4px rgba(0,0,0,0.2);
    --shadow-md:    0 4px 12px rgba(0,0,0,0.2);
    --shadow-lg:    0 8px 24px rgba(0,0,0,0.3);
    --shadow-hover: 0 8px 24px rgba(97,46,204,0.3);
    --shadow-focus: 0 0 0 3px rgba(97,46,204,0.1);

    /* ---- Z-Index Scale ---- */
    --z-base:     1;
    --z-sticky:   200;
    --z-drawer:   9999;
    --z-backdrop: 9998;
    --z-overlay:  9999;
    --z-toast:    10000;

    /* ---- Transitions ---- */
    --ease-fast:  0.05s ease;
    --ease-base:  0.1s ease;
    --ease-slow:  0.15s ease;

    /* ---- Component Heights ---- */
    --h-header:   3.5rem;
    --h-infobar:  2.5rem;
    --h-footer:   2.8rem;
    --h-input:    2.8rem;
    --h-btn:      2.5rem;

    /* ---- Layout ---- */
    --max-width:  43rem;
    --base-font:  13px;

    /* ---- Gradient shortcuts ---- */
    --grad-header: linear-gradient(135deg, var(--t-accent-hover) 0%, var(--t-accent-alt) 100%);
    --grad-card:   linear-gradient(135deg, #2a2a2a 0%, #252525 100%);
    --grad-accent:  linear-gradient(135deg, var(--t-accent-alt) 0%, var(--t-accent) 100%);
}

/* ============================================
   §2  Reset & Base
   ============================================ */
html {
    font-size: var(--base-font);
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
}

body {
    background: var(--t-bg-dark);
    color: var(--t-text);
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    font-size: 1rem;
    -webkit-font-smoothing: antialiased;
    -webkit-text-size-adjust: 100%;
    margin: 0;
    padding: 0;
    position: fixed;
    inset: 0;
    overflow: hidden;
}

* { touch-action: manipulation; }

::-webkit-scrollbar       { width: 6px; height: 6px; }
::-webkit-scrollbar-track  { background: var(--t-bg); }
::-webkit-scrollbar-thumb  { background: var(--t-bg-card); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #404040; }

::placeholder { color: var(--t-text-muted); opacity: 0.7; }

/* ============================================
   §3  App Shell
   ============================================ */
.terminal-shell {
    position: absolute;
    inset: 0;
    overflow-y: auto;
    overflow-x: hidden;
    background: var(--t-bg-dark);
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}

.terminal-zoom {
    width: 100%;
    height: 100%;
}

.terminal-inner {
    background: var(--t-bg);
    max-width: var(--max-width);
    margin: 0 auto;
    min-height: 100%;
    box-shadow: 0 0 40px rgba(0,0,0,0.5);
}

@media (max-width: 43rem) {
    .terminal-inner { box-shadow: none; }
}

/* ============================================
   §4  Header
   ============================================ */
.terminal-header {
    background: var(--grad-header);
    color: white;
    height: var(--h-header);
    display: flex;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    position: relative;
    overflow: hidden;
    padding-left: var(--h-header); /* space for menu button */
}

/* Subtle shimmer on header */
.terminal-header::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    animation: shimmer 4s infinite;
}

@keyframes shimmer { 0% { left: -100%; } 100% { left: 100%; } }

/* Header buttons */
.terminal-header .hdr-btn {
    position: absolute;
    top: 0;
    height: 100%;
    width: var(--h-header);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background var(--ease-fast);
    z-index: 2;
    background: none;
    border: none;
    color: white;
    font-size: 1.3rem;
}

.terminal-header .hdr-btn:hover { background: rgba(255,255,255,0.15); }
.terminal-header .hdr-btn--menu    { left: 0; }
.terminal-header .hdr-btn--settings { right: 0; }
.terminal-header .hdr-btn--settings:hover i { transform: rotate(45deg); }
.terminal-header .hdr-btn--settings i { transition: transform var(--ease-fast); }

/* Home link */
.terminal-header .hdr-home {
    height: 100%;
    padding: 0 var(--sp-lg);
    display: flex;
    align-items: center;
    gap: var(--sp-sm);
    cursor: pointer;
    transition: background var(--ease-fast);
    text-decoration: none;
    color: white;
}

.terminal-header .hdr-home:hover { background: rgba(255,255,255,0.15); }
.terminal-header .hdr-home img  { width: 2.2rem; height: 2.2rem; filter: brightness(0) invert(1); }
.terminal-header .hdr-home span { font-size: var(--fs-xl); font-weight: var(--fw-semibold); letter-spacing: 0.5px; line-height: 1; }

/* Page title */
.terminal-header .hdr-title {
    flex: 1;
    padding-left: var(--sp-lg);
    font-weight: 300;
    font-size: var(--fs-lg);
    opacity: 0.9;
    line-height: 1;
}

/* ============================================
   §5  Info Bar
   ============================================ */
.terminal-infobar {
    background: linear-gradient(135deg, #2a2a2a, #1e1e1e);
    display: flex;
    height: var(--h-infobar);
    color: var(--t-text-light);
    font-size: var(--fs-sm);
    border-bottom: 1px solid var(--t-border-light);
}

.terminal-infobar .info-item {
    flex: 1;
    text-align: center;
    padding: 0.3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-right: 1px solid rgba(255,255,255,0.05);
}

.terminal-infobar .info-item:last-child { border-right: none; }

.terminal-infobar .info-label {
    font-weight: var(--fw-normal);
    font-size: var(--fs-xs);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.7;
    margin-bottom: 0.1rem;
}

.terminal-infobar .info-value {
    display: block;
    font-weight: var(--fw-semibold);
    font-size: var(--fs-sm);
}

/* ============================================
   §6  Page Content
   ============================================ */
.terminal-page {
    padding: var(--sp-lg);
    padding-bottom: 4rem;
}

.terminal-page--full { padding: var(--sp-lg) 0; }

/* ============================================
   §7  Home Grid — App Icons
   ============================================ */
.home-container {
    position: relative;
    min-height: 100%;
    padding-bottom: var(--h-header);
}

.app-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem;
    padding: 1.2rem 0.8rem;
}

.app-icon {
    position: relative;
    cursor: pointer;
    aspect-ratio: 1 / 1;
    text-decoration: none;
    color: inherit;
}

.app-icon__btn {
    position: relative;
    width: 100%; height: 100%;
    background: var(--grad-card);
    border: 1px solid var(--t-border);
    border-radius: var(--r-xl);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: background var(--ease-fast), border-color var(--ease-fast), box-shadow var(--ease-fast);
    overflow: visible;
    box-shadow: var(--shadow-md);
}

.app-icon:hover .app-icon__btn,
.app-icon:active .app-icon__btn {
    background: linear-gradient(135deg, #2e2e2e, #2a2a2a);
    border-color: var(--t-accent);
    box-shadow: 0 4px 20px var(--t-accent-shadow);
}

.app-icon__img {
    width: 60%;
    max-height: 50%;
    object-fit: contain;
    filter: brightness(0.9);
    transition: filter var(--ease-fast);
}

.app-icon:hover .app-icon__img { filter: brightness(1.1); }

/* FontAwesome fallback when no image */
.app-icon__fa {
    font-size: 2.5rem;
    color: var(--t-accent);
    margin-bottom: var(--sp-sm);
}

.app-icon__label {
    position: absolute;
    bottom: 0.8rem;
    left: 0; right: 0;
    font-weight: var(--fw-bold);
    font-size: var(--fs-base);
    line-height: 1.2;
    color: white;
    text-align: center;
    padding: 0 0.4rem;
    letter-spacing: 0.3px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.app-icon__badge {
    position: absolute;
    top: -0.5rem; right: -0.5rem;
    background: var(--grad-accent);
    color: white;
    border-radius: var(--r-round);
    width: 2.5rem; height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: var(--fw-bold);
    font-size: var(--fs-md);
    border: 2px solid rgba(255,255,255,0.5);
    z-index: 10;
}

.app-icon--disabled {
    opacity: 0.3;
    pointer-events: none;
}

/* ============================================
   §8  Footer
   ============================================ */
.terminal-footer {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(180deg, rgba(26,26,26,0.95), rgba(26,26,26,1));
    backdrop-filter: blur(10px);
    height: var(--h-footer);
    display: flex;
    align-items: center;
    padding: 0 var(--sp-lg);
    color: var(--t-text);
    font-size: var(--fs-sm);
    border-top: 1px solid var(--t-border-light);
}

.home-container .terminal-footer {
    position: fixed;
    bottom: 0; left: 50%;
    transform: translateX(-50%);
    max-width: var(--max-width);
}

.terminal-footer .foot-label { color: var(--t-text-muted); margin-right: var(--sp-sm); }
.terminal-footer .foot-value { color: var(--t-text-light); margin-right: var(--sp-xl); font-weight: var(--fw-medium); }

/* ============================================
   §9  Buttons
   ============================================ */
.t-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--sp-sm);
    padding: var(--sp-sm) var(--sp-md);
    border-radius: 1px;
    font-size: var(--fs-sm);
    font-weight: var(--fw-medium);
    font-family: inherit;
    border: 1px solid rgba(255,255,255,0.5);
    color: white;
    cursor: pointer;
    transition: background var(--ease-fast), transform var(--ease-fast), box-shadow var(--ease-fast);
    text-decoration: none;
    line-height: 1.4;
}

.t-btn:hover  { transform: translate3d(0,-1px,0); }
.t-btn:active { transform: translate3d(0,0,0); }
.t-btn:disabled { opacity: 0.5; cursor: not-allowed; box-shadow: none; transform: none; }

/* Variants */
.t-btn--primary   { background: var(--grad-accent); box-shadow: var(--shadow-hover); }
.t-btn--primary:hover { background: linear-gradient(135deg, #4466bb, #7a3fdd); box-shadow: 0 4px 12px var(--t-accent-shadow); }

.t-btn--success   { background: linear-gradient(135deg, #27ae60, #229954); box-shadow: 0 2px 8px rgba(39,174,96,0.3); }
.t-btn--success:hover { background: linear-gradient(135deg, #2ecc71, #27ae60); }

.t-btn--danger    { background: linear-gradient(135deg, #e74c3c, #c0392b); box-shadow: 0 2px 8px rgba(231,76,60,0.3); }
.t-btn--danger:hover { background: linear-gradient(135deg, #f75545, #d44435); }

.t-btn--secondary { background: linear-gradient(135deg, #404040, #303030); border-color: rgba(255,255,255,0.2); }
.t-btn--secondary:hover { background: linear-gradient(135deg, #505050, #404040); }

.t-btn--ghost     { background: transparent; color: var(--t-accent); border-color: var(--t-border); }
.t-btn--ghost:hover { background: rgba(97,46,204,0.1); border-color: var(--t-accent); }

/* Sizes */
.t-btn--lg { font-size: var(--fs-base); padding: var(--sp-md) var(--sp-lg); }
.t-btn--sm { font-size: var(--fs-xs); padding: var(--sp-xs) var(--sp-sm); }
.t-btn--block { width: 100%; min-height: 3.2rem; font-size: 1rem; font-weight: var(--fw-semibold); }

/* ============================================
   §10  Cards
   ============================================ */
.t-card {
    background: var(--grad-card);
    border: 1px solid var(--t-border);
    border-radius: var(--r-xl);
    margin-bottom: var(--sp-lg);
    padding: var(--sp-md);
    box-shadow: var(--shadow-md);
}

.t-card h4 {
    font-size: var(--fs-md);
    margin-bottom: 0.8rem;
    color: var(--t-text-light);
    font-weight: var(--fw-medium);
}

/* ============================================
   §11  Item Card
   ============================================ */
.t-item-card {
    background: var(--t-bg-card);
    border: 1px solid var(--t-border);
    border-radius: var(--r-lg);
    overflow: hidden;
    margin-bottom: var(--sp-lg);
    position: relative;
}

.t-item-card__body {
    display: flex;
    gap: var(--sp-lg);
    padding: var(--sp-lg);
}

.t-item-card__left { flex: 1; display: flex; flex-direction: column; }
.t-item-card__image {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.05);
    border-radius: var(--r-lg);
    padding: var(--sp-sm);
    overflow: hidden;
    cursor: pointer;
}

.t-item-card__image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.t-item-card__sku {
    font-size: 1.3rem;
    font-weight: var(--fw-semibold);
    color: var(--t-text-light);
    margin: 0 0 0.25rem;
}

.t-item-card__name {
    font-size: var(--fs-lg);
    font-weight: var(--fw-semibold);
    color: var(--t-text-light);
    line-height: 1.3;
    cursor: pointer;
    margin: 0 0 var(--sp-sm);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color var(--ease-base);
}

.t-item-card__name:hover { color: var(--t-accent); }

.t-item-card__barcode {
    font-size: var(--fs-sm);
    color: var(--t-text-muted);
    display: flex;
    align-items: center;
    gap: var(--sp-sm);
}

.t-item-card__barcode i { font-size: 0.75rem; color: var(--t-barcode); }

.t-item-card__desc {
    font-size: var(--fs-base);
    line-height: 1.4;
    color: var(--t-text);
    margin-bottom: var(--sp-md);
    flex: 1;
}

.t-item-card__badges {
    display: flex;
    gap: var(--sp-sm);
    flex-wrap: wrap;
    margin-top: auto;
}

.t-item-card__child { padding: 0 var(--sp-lg) var(--sp-lg); }

.t-item-card__actions {
    display: flex;
    gap: var(--sp-md);
    padding: var(--sp-md);
    border-top: 1px solid var(--t-border-light);
}

.t-item-card__actions button { flex: 1; }

/* Focus highlight on scanned item */
.t-item-card--focus {
    border: 3px solid var(--t-accent) !important;
    box-shadow: 0 0 10px var(--t-accent) !important;
}

/* ============================================
   §12  Detail Rows
   ============================================ */
.t-detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--sp-xs) 0;
    font-size: var(--fs-sm);
    min-height: 1.5rem;
}

.t-detail-row--accent {
    background: linear-gradient(to right, rgba(97,46,204,0.02), transparent);
    padding: 0.2rem var(--sp-sm);
    margin: 0.1rem -0.25rem;
    border-radius: var(--r-sm);
    border-left: 2px solid var(--t-accent);
}

.t-detail-row--accent:hover {
    background: linear-gradient(to right, rgba(97,46,204,0.04), transparent);
}

.t-detail-label {
    color: var(--t-text-muted);
    font-weight: var(--fw-medium);
    display: flex;
    align-items: center;
    gap: var(--sp-xs);
}

.t-detail-label i {
    color: var(--t-accent);
    opacity: 0.7;
    font-size: 0.85em;
    width: 1rem;
    text-align: center;
}

.t-detail-label i.fa-barcode { color: var(--t-barcode); opacity: 1; }

.t-detail-value {
    color: var(--t-text-light);
    font-weight: var(--fw-medium);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Detail group (combined rows) */
.t-detail-group {
    display: flex;
    align-items: center;
    gap: var(--sp-sm);
    flex: 1;
    min-width: 0;
}

/* ============================================
   §13  Badges
   ============================================ */
.t-badge {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--sp-sm) var(--sp-md);
    border-radius: var(--r-sm);
    color: white;
    font-weight: var(--fw-semibold);
    min-width: 50px;
}

.t-badge small {
    font-size: var(--fs-xs);
    text-transform: uppercase;
    font-weight: var(--fw-normal);
    opacity: 0.9;
    margin-bottom: 2px;
}

.t-badge span { font-size: var(--fs-md); line-height: 1.2; font-weight: var(--fw-bolder); }

.t-badge--qty       { background: var(--badge-qty); }
.t-badge--stock     { background: var(--badge-stock); }
.t-badge--available { background: var(--badge-available); }
.t-badge--reserved  { background: var(--badge-reserved); }
.t-badge--incoming  { background: var(--badge-incoming); }
.t-badge--refill    { background: var(--badge-refill); }
.t-badge--distance  { background: var(--badge-distance); }

.t-badge--sm { padding: var(--sp-xs) var(--sp-sm); min-width: auto; }
.t-badge--sm small { font-size: 0.625rem; }
.t-badge--sm span  { font-size: var(--fs-sm); line-height: 1; }

/* ============================================
   §14  Placement Info Box
   ============================================ */
.t-placement-info {
    display: flex;
    align-items: center;
    min-height: 60px;
}

.t-placement-info .placement-icon { flex-shrink: 0; cursor: pointer; }
.t-placement-info .placement-icon img { width: 32px; height: 32px; }

.t-placement-info .placement-field {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 var(--sp-sm);
    border-right: 1px solid var(--t-border-light);
    min-width: 60px;
}

.t-placement-info .placement-field:last-of-type { border-right: none; }

.t-placement-info .field-label {
    font-size: var(--fs-xs);
    font-weight: var(--fw-semibold);
    color: var(--t-text-muted);
    text-transform: uppercase;
    margin-bottom: 2px;
}

.t-placement-info .field-value {
    font-size: var(--fs-md);
    font-weight: var(--fw-bolder);
    color: var(--t-text);
}

/* ============================================
   §15  Big Button (for lists / selections)
   ============================================ */
.t-bigbtn-list {
    display: flex;
    flex-direction: column;
    gap: var(--sp-sm);
}

.t-bigbtn {
    display: flex;
    align-items: center;
    gap: var(--sp-lg);
    padding: var(--sp-lg) var(--sp-xl);
    background: var(--t-bg-card);
    border: 1px solid var(--t-border);
    border-radius: var(--r-lg);
    cursor: pointer;
    transition: transform var(--ease-fast), border-color var(--ease-fast), background var(--ease-fast);
    min-height: 80px;
    position: relative;
    text-decoration: none;
    color: inherit;
}

.t-bigbtn:hover {
    background: linear-gradient(135deg, #2e2e2e, #2a2a2a);
    border-color: var(--t-accent);
    transform: translate3d(4px,0,0);
}

.t-bigbtn__icon {
    flex: 0 0 auto;
    width: 48px; height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--grad-accent);
    border-radius: var(--r-md);
    color: white;
    font-size: 1.5rem;
}

.t-bigbtn__content { flex: 1; display: flex; flex-direction: column; gap: var(--sp-xs); }
.t-bigbtn__title   { font-size: var(--fs-lg); font-weight: var(--fw-semibold); color: var(--t-text-light); line-height: 1.2; }
.t-bigbtn__sub     { font-size: var(--fs-sm); color: var(--t-text-muted); line-height: 1.3; }

.t-bigbtn__arrow {
    flex: 0 0 auto;
    color: var(--t-text-muted);
    font-size: 1.25rem;
    opacity: 0.5;
    transition: opacity 0.2s, transform 0.2s;
}

.t-bigbtn:hover .t-bigbtn__arrow {
    opacity: 1;
    transform: translate3d(4px,0,0);
}

.t-bigbtn__timestamp {
    position: absolute;
    top: var(--sp-sm); right: var(--sp-lg);
    font-size: var(--fs-sm);
    color: var(--t-text-muted);
}

/* ============================================
   §16  Scan Prompt
   ============================================ */
.t-scan-prompt {
    background: var(--grad-accent);
    border-radius: var(--r-lg);
    padding: var(--sp-2xl);
    text-align: center;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: transform var(--ease-fast), box-shadow var(--ease-fast);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.t-scan-prompt::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { transform: scale(0.8); opacity: 0.5; }
    50%      { transform: scale(1.2); opacity: 0.8; }
}

.t-scan-prompt:hover {
    transform: translate3d(0,-2px,0);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.t-scan-prompt__inner { position: relative; z-index: 1; }
.t-scan-prompt__icon  { font-size: 5rem; color: white; margin-bottom: var(--sp-lg); animation: scan-bob 2s ease-in-out infinite; }
.t-scan-prompt__title { font-size: var(--fs-xl); font-weight: var(--fw-semibold); color: white; margin-bottom: var(--sp-sm); }
.t-scan-prompt__hint  { font-size: 0.875rem; color: rgba(255,255,255,0.8); }

@keyframes scan-bob { 0%,100% { transform: scale(1); } 50% { transform: scale(1.05); } }

.t-scan-prompt--sm { padding: var(--sp-lg); }
.t-scan-prompt--sm .t-scan-prompt__icon { font-size: 3rem; }
.t-scan-prompt--sm .t-scan-prompt__title { font-size: 1.125rem; }

/* Hidden scan input */
.t-scan-input {
    position: absolute;
    top: -9999px; left: -9999px;
    width: 1px; height: 1px;
    opacity: 0;
}

/* ============================================
   §17  Progress Bar
   ============================================ */
.t-progress { margin: var(--sp-md) 0; }
.t-progress__bar  { height: 6px; background: rgba(255,255,255,0.1); border-radius: 3px; overflow: hidden; }
.t-progress__fill { height: 100%; background: var(--t-warning); border-radius: 3px; transition: width 0.3s ease; }
.t-progress__fill--done { background: var(--t-success); }
.t-progress__fill--over { background: var(--t-error); }
.t-progress__text { color: var(--t-text-muted); font-size: var(--fs-sm); line-height: 1.2; }
.t-progress__text--above { margin-bottom: var(--sp-xs); }
.t-progress__text--below { margin-top: var(--sp-xs); }

/* ============================================
   §18  Banners / Alerts
   ============================================ */
.t-banner {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0.875rem var(--sp-lg);
    border-radius: var(--r-lg);
    font-size: var(--fs-base);
    font-weight: var(--fw-medium);
    margin-bottom: var(--sp-md);
    animation: banner-in 0.2s ease-out;
}

@keyframes banner-in { from { opacity:0; transform:translateY(-8px); } to { opacity:1; transform:none; } }

.t-banner--success { background: rgba(76,175,80,0.15); color: var(--t-success); }
.t-banner--error   { background: rgba(220,53,69,0.15); color: var(--t-error); }
.t-banner--warning { background: rgba(255,193,7,0.15); color: var(--t-warning); }
.t-banner--info    { background: rgba(0,188,212,0.15); color: var(--t-info); }

/* ============================================
   §19  Form Controls
   ============================================ */
.t-input {
    padding: 0.4rem 0.75rem;
    border: 1px solid var(--t-input-border);
    background: var(--t-bg-input);
    color: var(--t-text-light);
    font-size: var(--fs-base);
    border-radius: var(--r-sm);
    transition: all var(--ease-fast);
    font-family: inherit;
    width: 100%;
}

.t-input:focus {
    background: var(--t-bg-input-focus);
    border-color: var(--t-accent);
    box-shadow: var(--shadow-focus);
    color: white;
    outline: none;
}

.t-input--lg {
    min-height: calc(1.5em + 1rem + 2px);
    padding: 0.5rem 1rem;
    font-size: 1.125rem;
}

/* Labeled input group */
.t-field          { display: flex; flex-direction: column; gap: 4px; margin-bottom: var(--sp-md); }
.t-field__label    { font-size: var(--fs-xs); font-weight: var(--fw-semibold); color: var(--t-text-muted); text-transform: uppercase; letter-spacing: 0.5px; }
.t-field__input    { height: 3.2rem; padding: 0 var(--sp-lg); background: var(--t-bg-input); border: 2px solid var(--t-border); border-radius: var(--r-md); color: var(--t-text-light); font-size: 1.125rem; font-family: inherit; outline: none; transition: border-color var(--ease-fast); -webkit-appearance: none; }
.t-field__input:focus { border-color: var(--t-accent); }
.t-field--disabled .t-field__input { opacity: 0.5; cursor: not-allowed; }

/* Input group (prefix + input) */
.t-input-group { display: flex; align-items: stretch; width: 100%; }
.t-input-group > :first-child { border-top-left-radius: var(--r-sm); border-bottom-left-radius: var(--r-sm); }
.t-input-group > :last-child  { border-top-right-radius: var(--r-sm); border-bottom-right-radius: var(--r-sm); }
.t-input-group > :not(:first-child) { margin-left: -1px; }
.t-input-group__prefix {
    padding: 0.4rem 0.75rem;
    border: 1px solid var(--t-input-border);
    background: #222;
    color: rgba(255,255,255,0.7);
    display: flex;
    align-items: center;
}

/* Quantity picker */
.t-qty-picker        { display: flex; align-items: center; gap: var(--sp-sm); }
.t-qty-picker__btn   { width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; background: var(--t-bg-input); border: 1px solid var(--t-border); border-radius: var(--r-md); color: var(--t-text); font-size: 1.5rem; font-weight: var(--fw-bold); cursor: pointer; }
.t-qty-picker__btn:active { background: var(--t-accent); color: white; }
.t-qty-picker__value { flex: 1; text-align: center; font-size: 2rem; font-weight: var(--fw-bold); color: var(--t-text); }
.t-qty-picker__value--short { color: var(--t-warning); }
.t-qty-picker__value--done  { color: var(--t-success); }

/* Date input */
input[type="date"]::-webkit-calendar-picker-indicator { filter: invert(0.7); cursor: pointer; opacity: 0.6; }
input[type="date"]:hover::-webkit-calendar-picker-indicator,
input[type="date"]:focus::-webkit-calendar-picker-indicator { opacity: 1; }

/* ============================================
   §20  Drawers (Menu + Settings)
   ============================================ */
.t-drawer {
    position: fixed;
    top: 0;
    height: 100%;
    width: 400px;
    max-width: 85vw;
    background: var(--t-bg);
    color: var(--t-text-light);
    box-shadow: 4px 0 20px rgba(0,0,0,0.5);
    transform: translate3d(-100%,0,0);
    transition: transform var(--ease-slow);
    will-change: transform;
    -webkit-backface-visibility: hidden;
    z-index: var(--z-drawer);
    display: flex;
    flex-direction: column;
}

.t-drawer--right {
    left: auto; right: 0;
    transform: translate3d(100%,0,0);
    box-shadow: -4px 0 20px rgba(0,0,0,0.5);
    max-width: 90vw;
}

.t-drawer.open { transform: translate3d(0,0,0); }

.t-drawer__header {
    padding: var(--sp-xl);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--grad-card);
    border-bottom: 1px solid var(--t-border);
    color: white;
}

.t-drawer__header h3 { margin: 0; font-size: var(--fs-lg); font-weight: var(--fw-medium); }

.t-drawer__close {
    background: none; border: none; cursor: pointer;
    padding: var(--sp-sm);
    display: flex; align-items: center; justify-content: center;
    border-radius: var(--r-sm);
    color: var(--t-text-muted);
    transition: all var(--ease-fast);
}

.t-drawer__close:hover { background: rgba(255,255,255,0.1); color: white; }

.t-drawer__body {
    flex: 1;
    padding: var(--sp-xl);
    overflow-y: auto;
}

/* Menu items */
.t-menu-section     { margin-bottom: var(--sp-2xl); }
.t-menu-section__title { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.5px; font-weight: var(--fw-medium); margin-bottom: var(--sp-lg); padding: 0 var(--sp-sm); color: var(--t-text-muted); }

.t-menu-item {
    display: flex;
    align-items: center;
    padding: 0.8rem;
    border-radius: var(--r-sm);
    cursor: pointer;
    transition: all var(--ease-fast);
    min-height: 3rem;
    background: var(--t-bg-card);
    margin-bottom: 0.3rem;
}

.t-menu-item:hover {
    background: #303030;
    transform: translate3d(4px,0,0);
}

.t-menu-item__icon { width: 2.5rem; height: 2.5rem; margin-right: var(--sp-lg); filter: brightness(0.9); }
.t-menu-item:hover .t-menu-item__icon { filter: brightness(1.1); }
.t-menu-item__text { flex: 1; font-size: var(--fs-base); font-weight: var(--fw-semibold); color: var(--t-text); }
.t-menu-item:hover .t-menu-item__text { color: white; }

.t-menu-item__badge {
    background: var(--grad-accent);
    color: white;
    border-radius: var(--r-round);
    width: 1.5rem; height: 1.5rem;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.75rem;
    font-weight: var(--fw-semibold);
    border: 2px solid rgba(255,255,255,0.3);
}

/* Backdrop */
.t-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: var(--z-backdrop);
    animation: fade-in 0.3s ease;
}

@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

/* ============================================
   §21  Modals
   ============================================ */
.t-modal-backdrop {
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(4px);
}

.t-modal {
    background: var(--grad-card);
    border: 1px solid rgba(97,46,204,0.3);
    border-radius: var(--r-xl);
    box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 40px rgba(97,46,204,0.15);
}

.t-modal__header {
    padding: var(--sp-sm) var(--sp-lg);
    background: linear-gradient(135deg, rgba(97,46,204,0.15), rgba(81,64,129,0.1));
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.t-modal__title { margin: 0; font-size: 0.875rem; font-weight: var(--fw-semibold); color: white; }
.t-modal__body   { padding: 1.25rem; }
.t-modal__footer {
    display: flex; gap: var(--sp-md);
    justify-content: flex-end;
    padding: 1.25rem var(--sp-xl);
    background: rgba(0,0,0,0.2);
    border-top: 1px solid rgba(255,255,255,0.05);
}

/* ============================================
   §22  Assistant / Full-Screen Overlay
   ============================================ */
.t-assistant {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.8);
    z-index: var(--z-overlay);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.t-assistant__header {
    background: rgba(26,26,26,0.7);
    color: white;
    padding: var(--sp-lg) var(--sp-2xl);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #333;
}

.t-assistant__header h3 { margin: 0; font-size: var(--fs-xl); }

.t-assistant__close {
    width: 3rem; height: 3rem;
    background: rgba(220,53,69,0.2);
    border: 2px solid rgba(220,53,69,0.5);
    border-radius: var(--r-round);
    color: var(--t-error);
    font-size: 1.5rem; font-weight: bold;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
}

.t-assistant__close:hover { background: rgba(220,53,69,0.4); color: white; }

.t-assistant__search { padding: var(--sp-lg); border-bottom: 1px solid rgba(255,255,255,0.05); }

.t-assistant__search .t-input {
    height: 3rem;
    font-size: 1rem;
    padding: 0 var(--sp-lg);
    border-radius: var(--r-sm);
}

.t-assistant__list {
    flex: 1;
    overflow-y: auto;
    padding: var(--sp-md);
    max-width: var(--max-width);
    margin: 0 auto;
    width: 100%;
}

.t-assistant__item {
    display: block;
    padding: var(--sp-lg) 1.25rem;
    margin-bottom: var(--sp-md);
    background: var(--grad-card);
    border: 2px solid var(--t-border);
    border-radius: var(--r-md);
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: var(--shadow-sm);
    color: inherit;
    text-decoration: none;
}

.t-assistant__item:hover {
    border-color: var(--t-accent);
    transform: translate3d(4px,0,0);
    box-shadow: var(--shadow-hover);
}

.t-assistant__empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--sp-2xl);
    color: var(--t-text-muted);
}

.t-assistant__empty i { font-size: 3rem; margin-bottom: var(--sp-lg); opacity: 0.5; }

/* ============================================
   §23  Action Buttons (inline row actions)
   ============================================ */
.t-action-btn {
    background: transparent;
    border: 1px solid;
    border-radius: var(--r-sm);
    padding: var(--sp-sm);
    cursor: pointer;
    transition: all var(--ease-base);
    font-size: var(--fs-base);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px; min-height: 36px;
}

.t-action-btn--delete  { color: var(--act-delete); border-color: var(--act-delete); background: rgba(220,53,69,0.1); }
.t-action-btn--delete:hover { background: var(--act-delete); color: white; }
.t-action-btn--print   { color: var(--act-print); border-color: var(--act-print); background: rgba(33,150,243,0.1); }
.t-action-btn--print:hover  { background: var(--act-print); color: white; }
.t-action-btn--edit    { color: var(--act-edit); border-color: var(--act-edit); background: rgba(255,193,7,0.1); }
.t-action-btn--edit:hover   { background: var(--act-edit); color: white; }
.t-action-btn--add     { color: var(--act-add); border-color: var(--act-add); background: rgba(76,175,80,0.1); }
.t-action-btn--add:hover    { background: var(--act-add); color: white; }
.t-action-btn--info    { color: var(--act-info); border-color: var(--act-info); background: rgba(0,188,212,0.1); }
.t-action-btn--info:hover   { background: var(--act-info); color: white; }

/* ============================================
   §24  Focus Box
   ============================================ */
.t-focus-box {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--t-border-light);
    border-radius: var(--r-sm);
    padding: var(--sp-md);
    margin-top: var(--sp-sm);
}

.t-focus-box--scroll { overflow-y: auto; }

/* ============================================
   §25  Location Card
   ============================================ */
.t-location {
    display: flex;
    align-items: center;
    gap: var(--sp-md);
    padding: var(--sp-md) var(--sp-lg);
    background: var(--t-bg-input);
    border-radius: var(--r-md);
    margin-bottom: var(--sp-sm);
}

.t-location i { font-size: 1.4rem; color: var(--t-accent); }
.t-location__text { font-size: 1.25rem; font-weight: var(--fw-bold); letter-spacing: 1px; }

/* ============================================
   §26  Empty State
   ============================================ */
.t-empty {
    color: var(--t-text-muted);
    padding: var(--sp-xl);
    text-align: center;
}

.t-empty i { opacity: 0.3; color: var(--t-accent); font-size: 3rem; margin-bottom: var(--sp-lg); display: block; }

/* ============================================
   §27  Pick Line States
   ============================================ */
.t-pick-line            { border-left: 4px solid transparent; }
.t-pick-line--active    { border-left-color: var(--t-accent); background: rgba(97,46,204,0.08); }
.t-pick-line--done      { opacity: 0.5; border-left-color: var(--t-success); }
.t-pick-line--short     { border-left-color: var(--t-warning); }

/* ============================================
   §28  Settings Page
   ============================================ */
.t-settings-group {
    margin-bottom: 20px;
    background: var(--t-bg-card);
    border-radius: var(--r-lg);
    padding: var(--sp-md);
    border: 1px solid var(--t-border);
}

.t-settings-group__title {
    font-size: 0.8rem;
    font-weight: var(--fw-bold);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--t-text-muted);
    margin-bottom: var(--sp-md);
    display: flex;
    align-items: center;
    gap: var(--sp-sm);
}

.t-settings-group__title i { color: var(--t-accent); width: 18px; text-align: center; }

.t-settings-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--t-border);
    gap: var(--sp-md);
}

.t-settings-row:last-child { border-bottom: none; }
.t-settings-row label { font-size: 0.875rem; color: var(--t-text); flex-shrink: 0; }

/* Range input */
.t-range {
    -webkit-appearance: none; appearance: none;
    width: 120px; height: 6px;
    background: var(--t-border);
    border-radius: 3px; outline: none;
}

.t-range::-webkit-slider-thumb {
    -webkit-appearance: none; appearance: none;
    width: 24px; height: 24px;
    border-radius: var(--r-round);
    background: var(--t-accent);
    cursor: pointer;
}

/* Toggle switch */
.t-toggle { accent-color: var(--t-accent); width: 20px; height: 20px; cursor: pointer; }

/* Theme option cards */
.t-theme-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-lg); }

.t-theme-opt {
    flex: 1;
    border: 2px solid transparent;
    border-radius: 0.8rem;
    padding: 0.8rem;
    cursor: pointer;
    text-align: center;
    background: var(--t-bg-card);
    transition: all var(--ease-fast);
}

.t-theme-opt:hover { background: #303030; border-color: var(--t-border); }
.t-theme-opt.active { border-color: var(--t-accent); background: rgba(97,46,204,0.1); }

.t-theme-opt__preview {
    width: 100%; height: 60px;
    border-radius: var(--r-sm);
    margin-bottom: var(--sp-sm);
}

.t-theme-opt span { font-size: var(--fs-sm); }

/* Zoom control */
.t-zoom-ctrl { display: flex; align-items: center; gap: var(--sp-lg); padding: var(--sp-sm); border-radius: var(--r-sm); background: var(--t-bg-card); margin-bottom: var(--sp-lg); }
.t-zoom-btn  { width: 36px; height: 36px; border-radius: var(--r-sm); display: flex; align-items: center; justify-content: center; cursor: pointer; background: #303030; border: 1px solid var(--t-border); color: var(--t-text); }
.t-zoom-btn:hover { background: #404040; color: white; }
.t-zoom-val  { flex: 1; text-align: center; font-size: var(--fs-md); font-weight: var(--fw-medium); color: white; }

/* ============================================
   §29  Product Image
   ============================================ */
.t-product-img {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.05);
    border-radius: var(--r-lg);
    padding: var(--sp-sm);
    overflow: hidden;
    cursor: pointer;
    flex-shrink: 0;
}

.t-product-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* ============================================
   §30  List
   ============================================ */
.t-list { display: flex; flex-direction: column; gap: var(--sp-sm); }

.t-list-item {
    display: flex;
    align-items: center;
    gap: var(--sp-md);
    padding: var(--sp-md) var(--sp-lg);
    background: var(--t-bg-card);
    border: 1px solid var(--t-border);
    border-radius: var(--r-md);
    cursor: pointer;
    transition: background var(--ease-fast);
}

.t-list-item:active { background: var(--t-bg-input); }
.t-list-item__content { flex: 1; min-width: 0; }
.t-list-item__title   { font-size: 1rem; font-weight: var(--fw-semibold); }
.t-list-item__sub     { font-size: var(--fs-sm); color: var(--t-text-muted); margin-top: 2px; }

.t-list-item__badge {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: var(--fw-semibold);
}

.t-list-item__badge--open     { background: rgba(0,188,212,0.2); color: var(--t-info); }
.t-list-item__badge--progress { background: rgba(255,193,7,0.2); color: var(--t-warning); }
.t-list-item__badge--done     { background: rgba(76,175,80,0.2); color: var(--t-success); }

/* ============================================
   §31  Mobile Optimizations
   ============================================ */
.t-drawer,
.terminal-page,
.t-assistant {
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}

[data-href] {
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.terminal-shell * { -webkit-tap-highlight-color: transparent; }

@media (max-width: 480px) {
    .t-drawer { width: 85vw; }
    .t-drawer--right { width: 100%; max-width: 100%; }
}

/* Disable text selection on touch */
@media (hover: none) and (pointer: coarse) {
    .terminal-shell { user-select: none; -webkit-user-select: none; }
}

/* ============================================
   §32  Utility Helpers
   ============================================ */
.t-mt-4  { margin-top: 4px; }
.t-mt-8  { margin-top: 8px; }
.t-mt-12 { margin-top: 12px; }
.t-mt-16 { margin-top: 16px; }
.t-mb-8  { margin-bottom: 8px; }
.t-mb-12 { margin-bottom: 12px; }
.t-mb-16 { margin-bottom: 16px; }
.t-my-16 { margin-top: 16px; margin-bottom: 16px; }
.t-gap-8  { gap: 8px; }
.t-gap-12 { gap: 12px; }
.t-flex     { display: flex; }
.t-flex-col { flex-direction: column; }
.t-flex-1   { flex: 1; }
.t-items-center { align-items: center; }
.t-justify-between { justify-content: space-between; }
.t-text-center { text-align: center; }
.t-text-muted  { color: var(--t-text-muted); }
.t-text-light  { color: var(--t-text-light); }
.t-text-accent { color: var(--t-accent); }
.t-text-lg  { font-size: 1.25rem; }
.t-text-xl  { font-size: 1.5rem; font-weight: var(--fw-bold); }
.t-w-full   { width: 100%; }
.t-truncate { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.t-truncate-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ============================================
   §33  Backward Compat (old app page classes)
   ============================================ */

/* Old-style item card layout (used by Pack, Production, Returns, StockMove, Audit pages) */
.t-item-card__info { flex: 1; min-width: 0; }
.t-item-card__image {
    width: 64px; height: 64px;
    border-radius: 8px;
    object-fit: cover;
    background: var(--t-bg-input);
    flex-shrink: 0;
}

.t-item-card__qty {
    font-size: 1.5rem;
    font-weight: var(--fw-bold);
    color: var(--t-accent);
    text-align: right;
    white-space: nowrap;
}

/* Old inline flex layout (used when t-item-card has no __body wrapper) */
.t-item-card:not(:has(.t-item-card__body)) {
    display: flex;
    gap: var(--sp-md);
    padding: var(--sp-md);
    align-items: center;
}

/* Old text-input → new t-field compat */
.t-text-input       { display: flex; flex-direction: column; gap: 4px; }
.t-text-input--disabled .t-text-input__field { opacity: 0.5; cursor: not-allowed; }
.t-text-input__label { font-size: var(--fs-xs); font-weight: var(--fw-semibold); color: var(--t-text-muted); text-transform: uppercase; letter-spacing: 0.5px; }
.t-text-input__field {
    height: 3.2rem;
    padding: 0 var(--sp-lg);
    background: var(--t-bg-input);
    border: 2px solid var(--t-border);
    border-radius: var(--r-md);
    color: var(--t-text-light);
    font-size: 1.125rem;
    font-family: inherit;
    outline: none;
    transition: border-color var(--ease-fast);
    -webkit-appearance: none;
}
.t-text-input__field:focus { border-color: var(--t-accent); }
.t-text-input__field::placeholder { color: var(--t-text-muted); opacity: 0.6; }

/* Old range input compat */
.t-range-input {
    -webkit-appearance: none; appearance: none;
    width: 120px; height: 6px;
    background: var(--t-border);
    border-radius: 3px; outline: none;
}
.t-range-input::-webkit-slider-thumb {
    -webkit-appearance: none; appearance: none;
    width: 24px; height: 24px;
    border-radius: var(--r-round);
    background: var(--t-accent);
    cursor: pointer;
}

/* Old t-text-dim → maps to new muted */
.t-text-dim { color: var(--t-text-muted); }

/* Old t-p-16 utility */
.t-p-16 { padding: 16px; }

/* Old progress label */
.t-progress__label {
    display: flex;
    justify-content: space-between;
    font-size: var(--fs-sm);
    color: var(--t-text-muted);
    margin-top: 4px;
}

/* Old location-card compat (alias to new .t-location) */
.t-location-card { display: flex; align-items: center; gap: var(--sp-md); padding: var(--sp-md) var(--sp-lg); background: var(--t-bg-input); border-radius: var(--r-md); margin-bottom: var(--sp-sm); }
.t-location-card i { font-size: 1.4rem; color: var(--t-accent); }
.t-location-card__text { font-size: 1.25rem; font-weight: var(--fw-bold); letter-spacing: 1px; }
