:root {
    --primary: #6366f1;
    --bg-color: #020617;
    /* Even darker */
    --card-bg: #0f172a;
    --text-main: #f8fafc;
    --text-dim: #94a3b8;
    --accent: #10b981;
    --border: #1e293b;
    --input-bg: #1e293b;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    min-height: 100vh;
    overflow-x: hidden;
    touch-action: manipulation;
}

.app-container {
    max-width: 480px;
    margin: 0 auto;
    padding: 0;
    /* Full width mobile feel */
    min-height: 100vh;
}

header {
    padding: calc(50px + env(safe-area-inset-top, 0px)) 20px 15px;
    text-align: center;
}

h1 {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    color: #ffffff;
}

.search-sticky {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--bg-color);
    padding: 10px 16px 20px;
    border-bottom: 1px solid var(--border);
}

.search-input-group {
    background: var(--input-bg);
    border-radius: 14px;
    display: flex;
    align-items: center;
    padding: 0 16px;
    border: 1px solid var(--border);
}

.search-input-group i {
    color: var(--text-dim);
}

input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 14px 12px;
    color: var(--text-main);
    font-size: 16px;
}

input:focus {
    outline: none;
}

/* List View Style */
.results-list {
    padding: 0;
}

.list-item {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    transition: background 0.2s;
}

.list-item:active {
    background: rgba(255, 255, 255, 0.05);
}

.item-left {
    flex-grow: 1;
}

.item-brand {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text-main);
}

.item-sub {
    font-size: 0.85rem;
    color: var(--text-dim);
    display: flex;
    gap: 12px;
}

.item-right {
    text-align: right;
}

.plate-badge {
    background: #e2e8f0;
    color: #0f172a;
    padding: 4px 10px;
    border-radius: 6px;
    font-family: 'Courier New', monospace;
    font-weight: 800;
    font-size: 0.9rem;
    border: 1.5px solid #1e293b;
    display: inline-block;
}

.warehouse-tag {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    margin-top: 4px;
    display: block;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-dim);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 0px;
    /* Hide scrollbar for extreme mobile feel */
}