/* Find Cart Premium CSS Design System */
:root {
    --primary-dark: #1E293B; /* Slate 800 */
    --primary-slate: #334155; /* Slate 700 */
    --accent-blue: #3B82F6; /* Indigo Blue */
    --accent-blue-light: rgba(59, 130, 246, 0.08);
    --bg-light: #F8FAFC;
    --border-light: #E2E8F0;
    
    /* Department HSL Colors */
    --color-warehouse: #3B82F6;
    --color-assembly: #F59E0B;
    --color-qc: #8B5CF6;
    --color-shipping: #10B981;
    --color-checkedout: #64748B;
    
    --font-primary: 'Inter', 'Sarabun', sans-serif;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-light);
    color: #1e293b;
    overflow-x: hidden;
    line-height: 1.5;
}

.app-container {
    display: flex;
    min-height: 100vh;
    width: 100vw;
}

/* Sidebar Navigation */
.sidebar {
    width: 270px;
    background-color: var(--primary-dark);
    display: flex;
    flex-direction: column;
    color: #94a3b8;
    border-right: 1px solid #334155;
    flex-shrink: 0;
}

.sidebar-header {
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid #334155;
}

.logo-box {
    background-color: var(--accent-blue-light);
    border: 1.5px solid var(--accent-blue);
    padding: 6px;
    border-radius: 8px;
    color: var(--accent-blue);
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon {
    width: 24px;
    height: 24px;
}

.logo-text h1 {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
}

.logo-text span {
    font-size: 11px;
    color: #64748b;
}

.sidebar-menu {
    padding: 20px 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex-grow: 1;
}

.menu-item {
    background: none;
    border: 1px solid transparent;
    padding: 12px 16px;
    border-radius: 8px;
    color: #94a3b8;
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    text-align: left;
    transition: var(--transition-smooth);
    width: 100%;
}

.menu-item:hover {
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.05);
}

.menu-item.active {
    color: #ffffff;
    background-color: var(--accent-blue-light);
    border-color: rgba(59, 130, 246, 0.2);
}

.menu-item.active svg {
    color: var(--accent-blue);
}

.menu-icon {
    width: 18px;
    height: 18px;
    transition: var(--transition-smooth);
}

.sidebar-footer {
    padding: 16px;
    border-top: 1px solid #334155;
}

.btn-reset {
    background-color: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    font-family: var(--font-primary);
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    transition: var(--transition-smooth);
}

.btn-reset:hover {
    background-color: #ef4444;
    color: #ffffff;
}

.btn-reset svg {
    width: 16px;
    height: 16px;
}

/* Main Content Layout */
.main-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow-y: auto;
}

.main-header {
    background-color: #ffffff;
    border-bottom: 1px solid var(--border-light);
    padding: 18px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.main-header h2 {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-dark);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.status-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 20px;
    background-color: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: #047857;
    font-size: 11px;
    font-weight: 600;
}

.pulse-dot {
    width: 7px;
    height: 7px;
    background-color: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

.cart-counter {
    font-size: 13px;
    color: #64748b;
    font-weight: 500;
}

.cart-counter strong {
    color: var(--primary-dark);
}

.content-body {
    padding: 24px;
    flex-grow: 1;
    overflow-y: auto;
}

/* Alert Banner */
.scanner-alert {
    background-color: var(--accent-blue-light);
    border: 1.5px dashed var(--accent-blue);
    border-radius: 12px;
    padding: 14px 20px;
    margin: 0 24px 20px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: var(--transition-smooth);
}

.alert-icon {
    width: 24px;
    height: 24px;
    color: var(--accent-blue);
}

.alert-text {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.alert-text strong {
    color: #1e3a8a;
    font-size: 13px;
    font-weight: 700;
}

.alert-text span {
    color: #2563eb;
    font-size: 11px;
}

.alert-dot {
    width: 8px;
    height: 8px;
    background-color: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 6px #10b981;
}

/* Page Section Navigation */
.page-section {
    display: none;
    animation: fadeIn 0.3s ease;
}

.page-section.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Stats Row Dashboard */
.stats-row {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.stat-card {
    flex: 1;
    min-width: 240px;
    background-color: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.stat-icon {
    padding: 12px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon svg {
    width: 24px;
    height: 24px;
}

.icon-blue { background-color: rgba(59, 130, 246, 0.1); color: #3b82f6; }
.icon-grey { background-color: rgba(100, 116, 139, 0.1); color: #64748b; }
.icon-green { background-color: rgba(16, 185, 129, 0.1); color: #10b981; }

.stat-info span {
    font-size: 12px;
    color: #64748b;
    font-weight: 500;
}

.stat-info h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-top: 2px;
}

/* Smart Parking Grid & Section layouts */
.dashboard-grid-layout {
    display: flex;
    gap: 16px;
    height: calc(100vh - 280px);
    min-height: 520px;
    overflow-x: auto;
    padding-bottom: 8px;
    width: 100%;
}

.parking-section {
    flex: 2;
    min-width: 380px;
    background-color: #ffffff;
    border-radius: 16px;
    border: 1px solid var(--border-light);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.parking-section.section-narrow {
    flex: 1;
    min-width: 250px;
    max-width: 320px;
    background-color: #f1f5f9;
}

.section-header {
    background-color: #ffffff;
    padding: 14px 18px;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
}

.section-header h4 {
    font-size: 13px;
    color: var(--primary-dark);
}

.section-header.border-orange { border-bottom: 2.5px solid var(--color-assembly); }
.section-header.border-purple { border-bottom: 2.5px solid var(--color-qc); }
.section-header.border-grey { border-bottom: 2.5px solid var(--color-checkedout); }

.badge {
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 20px;
}

.bg-blue { background-color: rgba(59, 130, 246, 0.15); color: #2563eb; }
.bg-orange { background-color: rgba(245, 158, 11, 0.15); color: #d97706; }
.bg-purple { background-color: rgba(139, 92, 246, 0.15); color: #7c3aed; }
.bg-green { background-color: rgba(16, 185, 129, 0.15); color: #059669; }
.bg-grey { background-color: rgba(100, 116, 139, 0.15); color: #475569; }

.parking-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding: 16px;
    overflow-y: auto;
    flex-grow: 1;
    background-color: #f8fafc;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
}

.parking-grid.grid-5x5 {
    grid-template-columns: repeat(5, 1fr);
}

/* Individual Parking Slots */
.parking-slot {
    background-color: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    aspect-ratio: 1.1 / 1;
    transition: var(--transition-smooth);
    box-shadow: 0 1px 3px rgba(0,0,0,0.01);
}

.parking-slot:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
}

.slot-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.slot-number {
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    font-family: monospace;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.status-dot.vacant {
    background-color: #10b981;
    box-shadow: 0 0 6px rgba(16, 185, 129, 0.5);
}

.status-dot.occupied {
    background-color: #ef4444;
    box-shadow: 0 0 6px rgba(239, 68, 68, 0.5);
}

.slot-cart-name {
    font-size: 10px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-top: 6px;
    word-break: break-all;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.2;
}

.slot-cart-empty {
    font-size: 9px;
    color: #94a3b8;
    font-style: italic;
    margin-top: auto;
    margin-bottom: auto;
    align-self: center;
}

.checked-out-list {
    padding: 12px;
    flex-grow: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Kanban Cards styling */
.cart-card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 14px;
    border: 1px solid var(--border-light);
    box-shadow: 0 1px 3px rgba(0,0,0,0.02);
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: var(--transition-smooth);
}

.cart-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
}

.cart-card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 13px;
    color: var(--primary-dark);
}

.cart-card-icon {
    width: 16px;
    height: 16px;
    color: #64748b;
}

.cart-card-barcodes {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.barcode-badge {
    font-family: monospace;
    font-size: 9px;
    background-color: #f8fafc;
    border: 0.5px solid #cbd5e1;
    padding: 2px 5px;
    border-radius: 4px;
    color: #475569;
    font-weight: 600;
}

.cart-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #f1f5f9;
    padding-top: 8px;
    font-size: 10px;
    color: #94a3b8;
}

.cart-card-footer span {
    font-weight: 700;
    color: #475569;
}

/* Responsive Grid layouts */
.grid-2-cols {
    display: grid;
    grid-template-columns: 4.5fr 5.5fr;
    gap: 24px;
}

@media(max-width: 1024px) {
    .grid-2-cols {
        grid-template-columns: 1fr;
    }
}

.panel {
    background-color: #ffffff;
    border-radius: 16px;
    border: 1px solid var(--border-light);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.panel-header {
    padding: 16px 24px;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.panel-header h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary-dark);
}

.panel-body {
    padding: 24px;
}

/* Scanner view animation */
.scanner-view-container {
    width: 100%;
    margin-bottom: 16px;
}

.scanner-camera {
    aspect-ratio: 4 / 3;
    background-color: #0b0f19;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #334155;
    transition: var(--transition-smooth);
}

.scanner-camera.camera-off {
    background-color: #1e293b;
}

.scanner-camera.camera-off .scanner-laser,
.scanner-camera.camera-off .scanner-overlay-text svg,
.scanner-camera.camera-off .scanner-overlay-text span {
    display: none;
}

.scanner-camera.camera-off::before {
    content: "กล้องปิดใช้งานอยู่";
    color: #64748b;
    font-size: 14px;
    font-weight: 500;
}

.scanner-laser {
    position: absolute;
    top: 10%;
    left: 20px;
    right: 20px;
    height: 3px;
    background-color: #ef4444;
    box-shadow: 0 0 10px #ef4444, 0 0 2px #ef4444;
    animation: scanAnimation 2s ease-in-out infinite alternate;
    z-index: 10;
}

@keyframes scanAnimation {
    0% { top: 10%; }
    100% { top: 90%; }
}

.scanner-overlay-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
    z-index: 2;
}

.scanner-overlay-text span {
    color: rgba(255,255,255,0.7);
    font-size: 12px;
}

.scanner-overlay-text small {
    color: rgba(255,255,255,0.4);
    font-size: 10px;
}

/* Control Panel Configurations */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
    margin-bottom: 8px;
}

.action-toggles {
    display: flex;
    gap: 12px;
}

.toggle-btn {
    flex: 1;
    background: none;
    border: 1.5px solid #cbd5e1;
    padding: 14px;
    border-radius: 12px;
    cursor: pointer;
    font-family: var(--font-primary);
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition-smooth);
    color: #475569;
}

.toggle-btn:hover {
    background-color: #f8fafc;
}

.toggle-btn.active[data-action="ENTER"] {
    border-color: var(--accent-blue);
    background-color: var(--accent-blue-light);
    color: var(--accent-blue);
}

.toggle-btn.active[data-action="EXIT"] {
    border-color: #64748b;
    background-color: rgba(100, 116, 139, 0.08);
    color: #475569;
}

.dept-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.dept-chip {
    background-color: #f1f5f9;
    border: 1px solid transparent;
    padding: 8px 14px;
    border-radius: 20px;
    font-family: var(--font-primary);
    font-size: 12px;
    font-weight: 700;
    color: #475569;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.dept-chip.active[data-dept="Dryer"] { background-color: var(--color-assembly); color: #fff; }
.dept-chip.active[data-dept="Inspection"] { background-color: var(--color-qc); color: #fff; }

.input-action-row {
    display: flex;
    gap: 12px;
}

.input-action-row input {
    flex-grow: 1;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    padding: 12px 16px;
    font-family: monospace;
    font-size: 14px;
    transition: var(--transition-smooth);
}

.input-action-row input:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.btn-primary {
    background-color: var(--accent-blue);
    color: #ffffff;
    border: none;
    padding: 12px 24px;
    border-radius: 10px;
    font-family: var(--font-primary);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-primary:hover {
    background-color: #2563eb;
}

.btn-icon {
    background: none;
    border: none;
    cursor: pointer;
    color: #64748b;
    padding: 6px;
    border-radius: 6px;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-icon:hover {
    background-color: #f1f5f9;
    color: var(--primary-dark);
}

.btn-icon svg {
    width: 20px;
    height: 20px;
}

/* Simulated Scan Quick Action panel */
.simulated-scans {
    border-top: 1px solid var(--border-light);
    padding-top: 16px;
}

.section-label {
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    margin-bottom: 10px;
}

.chips-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.chip-btn {
    background-color: #f1f5f9;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    padding: 6px 12px;
    font-family: var(--font-primary);
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    color: #475569;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition-smooth);
}

.chip-btn::before {
    content: "⚡";
    color: #f59e0b;
}

.chip-btn:hover {
    background-color: #e2e8f0;
}

/* Feedback result Card */
.result-card {
    margin-top: 24px;
    border-radius: 12px;
    padding: 16px;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.result-card.hidden {
    display: none;
}

.result-card.success {
    background-color: #ecfdf5;
    border: 1px solid #a7f3d0;
}

.result-card.error {
    background-color: #fef2f2;
    border: 1px solid #fca5a5;
}

.result-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 13px;
    margin-bottom: 12px;
}

.result-card.success .result-header { color: #065f46; }
.result-card.error .result-header { color: #991b1b; }

.result-badge-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.result-card.success .result-badge-icon::before {
    content: "✓";
    font-weight: 900;
}

.result-card.error .result-badge-icon::before {
    content: "✗";
    font-weight: 900;
}

.result-card.success .result-badge-icon { background-color: #10b981; color: #fff; }
.result-card.error .result-badge-icon { background-color: #ef4444; color: #fff; }

.result-details {
    padding-top: 10px;
    border-top: 1px dashed rgba(0,0,0,0.06);
    font-size: 12px;
}

.result-card.success .result-details { color: #047857; }
.result-card.error .result-details { color: #b91c1c; }

/* History and Search Layout */
.history-controls {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.view-tabs {
    display: flex;
    border-bottom: 1px solid var(--border-light);
    gap: 16px;
}

.tab-btn {
    background: none;
    border: none;
    border-bottom: 2.5px solid transparent;
    padding: 12px 6px;
    cursor: pointer;
    font-family: var(--font-primary);
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    transition: var(--transition-smooth);
}

.tab-btn:hover {
    color: var(--primary-dark);
}

.tab-btn.active {
    color: var(--primary-dark);
    border-bottom-color: var(--primary-dark);
}

.filters-row {
    display: flex;
    gap: 16px;
}

.search-box {
    flex-grow: 1;
    background-color: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}

.search-box input {
    width: 100%;
    border: none;
    background: none;
    padding: 12px 16px;
    font-family: var(--font-primary);
    font-size: 13px;
}

.search-box input:focus {
    outline: none;
}

.select-box {
    background-color: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 0 16px;
    display: flex;
    align-items: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}

.select-box select {
    border: none;
    background: none;
    font-family: var(--font-primary);
    font-size: 13px;
    font-weight: 700;
    color: var(--primary-slate);
    padding: 12px 0;
    outline: none;
    cursor: pointer;
}

/* History Data Tables */
.table-container {
    overflow-x: auto;
}

.table-container.hidden {
    display: none;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.data-table th {
    background-color: #f8fafc;
    padding: 16px 24px;
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    border-bottom: 1.5px solid var(--border-light);
}

.data-table td {
    padding: 16px 24px;
    font-size: 13px;
    border-bottom: 1px solid var(--border-light);
    color: #334155;
}

.data-table tr:hover td {
    background-color: #f8fafc;
}

.data-table code {
    font-family: monospace;
    background-color: #f1f5f9;
    padding: 3px 6px;
    border-radius: 4px;
    border: 0.5px solid #cbd5e1;
    font-size: 11px;
    font-weight: 600;
}

/* Dialog Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
    opacity: 1;
    transition: var(--transition-smooth);
}

.modal-overlay.hidden {
    display: none;
}

.modal-card {
    background-color: #ffffff;
    border-radius: 16px;
    width: 460px;
    max-width: 90%;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    animation: modalSlideUp 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modalSlideUp {
    from { transform: translateY(20px) scale(0.95); opacity: 0; }
    to { transform: translateY(0) scale(1); opacity: 1; }
}

.modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-dark);
}

.btn-close-modal {
    background: none;
    border: none;
    font-size: 24px;
    color: #94a3b8;
    cursor: pointer;
}

.modal-body {
    padding: 24px;
}

.modal-description {
    font-size: 13px;
    color: #475569;
    margin-bottom: 18px;
    line-height: 1.4;
}

.modal-body input {
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 13px;
    margin-top: 4px;
}

.modal-body input:focus {
    outline: none;
    border-color: var(--accent-blue);
}

.flex-row-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn-text-action {
    background: none;
    border: none;
    color: var(--accent-blue);
    font-family: var(--font-primary);
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
}

.modal-barcode-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
}

.btn-remove-barcode {
    background: none;
    border: none;
    color: #ef4444;
    font-size: 18px;
    cursor: pointer;
    padding: 4px;
}

.modal-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--border-light);
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.btn-secondary {
    background-color: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
    padding: 10px 18px;
    border-radius: 8px;
    font-family: var(--font-primary);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-secondary:hover {
    background-color: #e2e8f0;
}

.empty-state {
    padding: 60px 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.empty-state.hidden {
    display: none;
}

.empty-state-icon {
    width: 48px;
    height: 48px;
    color: #cbd5e1;
}

.empty-state h4 {
    font-size: 14px;
    color: var(--primary-dark);
    font-weight: 700;
}

.empty-state p {
    font-size: 12px;
    color: #94a3b8;
}

.mt-4 { margin-top: 16px; }
.p-0 { padding: 0 !important; }
.bg-grey-light { background-color: #f8fafc; }
.border-b-none { border-bottom: none !important; }
.hidden { display: none !important; }
.flex-column { display: flex; flex-direction: column; }
.gap-2 { gap: 8px; }
