/* === SiMSET Showroom CSS === */
/* Design: Premium dark showroom · Medical Catalog · Real-time availability */

:root {
    --bg: #080e17;
    --bg-card: #0d1624;
    --bg-card2: #101c2e;
    --border: rgba(255, 255, 255, 0.07);
    --border-hover: rgba(37, 117, 184, 0.4);
    --blue: #2575b8;
    --blue-light: #4a9fd4;
    --text: #e8edf5;
    --text-2: #8ba0ba;
    --text-3: #4e6a8a;
    --font: 'Inter', 'Noto Sans Thai', sans-serif;
    --r: 12px;
    --r-lg: 18px;
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    --tr: 0.2s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== NAV ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    padding: 14px 0;
    transition: background var(--tr), border-color var(--tr), backdrop-filter var(--tr);
}

.nav.scrolled {
    background: rgba(8, 14, 23, 0.9);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #1a4b7a, #2575b8);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.nav-name {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    color: var(--text);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.live-pill {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(22, 163, 74, 0.12);
    border: 1px solid rgba(22, 163, 74, 0.25);
    border-radius: 99px;
    padding: 4px 12px;
    font-size: 0.72rem;
    font-weight: 700;
    color: #22c55e;
    letter-spacing: 0.08em;
}

.live-dot-pulse {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22c55e;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(0.8);
    }
}

.nav-time {
    font-size: 0.75rem;
    color: var(--text-3);
}

/* ===== HERO ===== */
.hero {
    position: relative;
    padding: 130px 0 0;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    flex-direction: column;
}

.hero-bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(37, 117, 184, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37, 117, 184, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, black 40%, transparent 100%);
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}

.hero-glow-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(37, 117, 184, 0.12), transparent 70%);
    top: -100px;
    left: -100px;
}

.hero-glow-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(74, 159, 212, 0.08), transparent 70%);
    top: 100px;
    right: -80px;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(37, 117, 184, 0.1);
    border: 1px solid rgba(37, 117, 184, 0.25);
    border-radius: 99px;
    padding: 6px 16px;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--blue-light);
    margin-bottom: 28px;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
    color: var(--text);
}

.hero-accent {
    background: linear-gradient(135deg, #4a9fd4, #60d9f1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 1.05rem;
    color: var(--text-2);
    line-height: 1.8;
    margin-bottom: 48px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Stats */
.hero-stats {
    display: inline-flex;
    align-items: center;
    gap: 0;
    background: rgba(13, 22, 36, 0.8);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 20px 40px;
    backdrop-filter: blur(12px);
    margin-bottom: 40px;
    box-shadow: var(--shadow);
}

.hero-stat {
    padding: 0 32px;
    text-align: center;
}

.hero-stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text);
    line-height: 1;
    margin-bottom: 6px;
    letter-spacing: -0.03em;
}

.hero-stat-value.ready {
    color: #22c55e;
}

.hero-stat-label {
    font-size: 0.76rem;
    color: var(--text-3);
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #1a4b7a, #2575b8);
    color: #fff;
    text-decoration: none;
    padding: 13px 28px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--tr);
    box-shadow: 0 8px 24px rgba(37, 117, 184, 0.3);
    margin-bottom: 60px;
}

.hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(37, 117, 184, 0.45);
}

/* Category Bar */
.category-bar {
    display: flex;
    gap: 12px;
    justify-content: center;
    padding: 24px 0;
    position: relative;
    z-index: 1;
}

.cat-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: rgba(13, 22, 36, 0.6);
    color: var(--text-2);
    font-family: var(--font);
    font-size: 0.88rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--tr);
    backdrop-filter: blur(8px);
}

.cat-btn:hover {
    border-color: var(--border-hover);
    color: var(--text);
    background: rgba(37, 117, 184, 0.08);
}

.cat-btn.active {
    border-color: rgba(37, 117, 184, 0.5);
    background: rgba(37, 117, 184, 0.14);
    color: var(--blue-light);
    font-weight: 600;
}

.cat-icon {
    font-size: 1.1rem;
}

/* ===== CATALOG SECTION ===== */
.catalog-section {
    padding: 40px 0 80px;
    position: relative;
}

/* Filter Bar */
.filter-bar-sticky {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: rgba(10, 16, 27, 0.95);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 14px 20px;
    backdrop-filter: blur(16px);
    position: sticky;
    top: 68px;
    z-index: 100;
    margin-bottom: 20px;
}

.filter-left,
.filter-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.search-box {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 8px 14px;
    min-width: 260px;
    color: var(--text-3);
    transition: var(--tr);
}

.search-box:focus-within {
    border-color: var(--border-hover);
    color: var(--text);
}

.search-box input {
    border: none;
    background: transparent;
    color: var(--text);
    font-family: var(--font);
    font-size: 0.85rem;
    outline: none;
    flex: 1;
}

.search-box input::placeholder {
    color: var(--text-3);
}

.search-clear {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: var(--text-3);
    cursor: pointer;
    font-size: 0.8rem;
}

.status-filters {
    display: flex;
    gap: 6px;
}

.sf-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 6px 14px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text-2);
    font-family: var(--font);
    font-size: 0.78rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--tr);
}

.sf-btn:hover {
    border-color: var(--border-hover);
    color: var(--text);
}

.sf-btn.active {
    background: rgba(255, 255, 255, 0.07);
    color: var(--text);
    border-color: rgba(255, 255, 255, 0.12);
}

.sf-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.sf-dot.ready {
    background: #22c55e;
}

.sf-dot.warn {
    background: #f59e0b;
}

.sf-dot.bad {
    background: #ef4444;
}

.view-btns {
    display: flex;
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
}

.view-btn {
    padding: 7px 12px;
    border: none;
    background: transparent;
    color: var(--text-3);
    cursor: pointer;
    transition: var(--tr);
    display: flex;
    align-items: center;
}

.view-btn+.view-btn {
    border-left: 1px solid var(--border);
}

.view-btn.active {
    background: rgba(37, 117, 184, 0.15);
    color: var(--blue-light);
}

.view-btn:hover:not(.active) {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
}

.result-bar {
    margin-bottom: 24px;
}

.result-count {
    font-size: 0.8rem;
    color: var(--text-3);
    font-weight: 500;
    letter-spacing: 0.04em;
}

/* ===== INDIVIDUAL PRODUCT CARDS ===== */
.showroom-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: transform var(--tr), border-color var(--tr), box-shadow var(--tr);
    cursor: default;
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    opacity: 0;
    transition: opacity var(--tr);
}

.product-card.age-accent-adult::before {
    background: linear-gradient(90deg, #f97316, #fb923c);
}

.product-card.age-accent-child::before {
    background: linear-gradient(90deg, #eab308, #fde047);
}

.product-card.age-accent-infant::before {
    background: linear-gradient(90deg, #3b82f6, #60a5fa);
}

.product-card.age-accent-other::before {
    background: linear-gradient(90deg, #6366f1, #818cf8);
}

.product-card:hover {
    border-color: var(--border-hover);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5), 0 0 20px rgba(37, 117, 184, 0.06);
    transform: translateY(-3px);
}

.product-card:hover::before {
    opacity: 1;
}

.product-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.product-age-badge {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.product-age-badge.adult {
    background: rgba(249, 115, 22, 0.12);
    border: 1px solid rgba(249, 115, 22, 0.2);
}

.product-age-badge.child {
    background: rgba(234, 179, 8, 0.12);
    border: 1px solid rgba(234, 179, 8, 0.2);
}

.product-age-badge.infant {
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.product-age-badge.other {
    background: rgba(99, 102, 241, 0.12);
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.product-body {
    flex: 1;
}

.product-name {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text);
    line-height: 1.4;
    margin-bottom: 5px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-code {
    font-size: 0.72rem;
    color: var(--text-3);
    font-family: 'Inter', monospace;
    margin-bottom: 10px;
}

.card-caps {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.cap-tag {
    background: rgba(37, 117, 184, 0.1);
    border: 1px solid rgba(37, 117, 184, 0.18);
    border-radius: 5px;
    padding: 2px 8px;
    font-size: 0.67rem;
    color: var(--blue-light);
    font-weight: 500;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px solid var(--border);
    gap: 8px;
}

.product-location {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.72rem;
    color: var(--text-3);
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.quick-view-btn {
    flex-shrink: 0;
    background: rgba(37, 117, 184, 0.1);
    border: 1px solid rgba(37, 117, 184, 0.2);
    border-radius: 7px;
    color: var(--blue-light);
    font-size: 0.75rem;
    font-weight: 600;
    font-family: var(--font);
    padding: 6px 12px;
    cursor: pointer;
    transition: var(--tr);
    white-space: nowrap;
}

.quick-view-btn:hover {
    background: rgba(37, 117, 184, 0.2);
    border-color: rgba(37, 117, 184, 0.4);
}

/* Status Pills */
.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border-radius: 6px;
    padding: 3px 10px;
    font-size: 0.7rem;
    font-weight: 600;
}

.status-pill::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
}

.status-pill.ready {
    background: rgba(22, 163, 74, 0.12);
    color: #4ade80;
    border: 1px solid rgba(22, 163, 74, 0.2);
}

.status-pill.ready::before {
    background: #22c55e;
}

.status-pill.in-use {
    background: rgba(37, 117, 184, 0.12);
    color: #60a5fa;
    border: 1px solid rgba(37, 117, 184, 0.2);
}

.status-pill.in-use::before {
    background: #60a5fa;
}

.status-pill.warn {
    background: rgba(245, 158, 11, 0.12);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.status-pill.warn::before {
    background: #f59e0b;
}

.status-pill.bad {
    background: rgba(239, 68, 68, 0.12);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.status-pill.bad::before {
    background: #ef4444;
}

/* ===== GROUPED VIEW ===== */
.grouped-grid {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.group-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    overflow: hidden;
    transition: border-color var(--tr);
}

.group-card:hover {
    border-color: rgba(255, 255, 255, 0.1);
}

.group-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    cursor: pointer;
    user-select: none;
}

.group-age-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.group-age-icon.adult {
    background: rgba(249, 115, 22, 0.12);
    border: 1px solid rgba(249, 115, 22, 0.2);
}

.group-age-icon.child {
    background: rgba(234, 179, 8, 0.12);
    border: 1px solid rgba(234, 179, 8, 0.2);
}

.group-age-icon.infant {
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.group-age-icon.other {
    background: rgba(99, 102, 241, 0.12);
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.group-info {
    flex: 1;
    min-width: 0;
}

.group-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.group-meta {
    font-size: 0.75rem;
    color: var(--text-3);
    margin-top: 3px;
}

.group-right {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.group-count {
    text-align: center;
}

.count-ready {
    font-size: 1.1rem;
    font-weight: 700;
    color: #22c55e;
}

.count-total {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-3);
}

.count-label {
    font-size: 0.65rem;
    color: var(--text-3);
    letter-spacing: 0.04em;
}

.expand-chevron {
    color: var(--text-3);
    transition: transform 0.25s ease;
}

.group-card.expanded .expand-chevron {
    transform: rotate(180deg);
}

.group-card-body {
    display: none;
    padding: 0 24px 20px;
    border-top: 1px solid var(--border);
}

.group-card.expanded .group-card-body {
    display: block;
}

.unit-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 16px;
}

.unit-chip {
    display: flex;
    align-items: center;
    gap: 7px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 7px 12px;
    cursor: pointer;
    transition: var(--tr);
    font-size: 0.78rem;
}

.unit-chip:hover {
    border-color: var(--border-hover);
    background: rgba(37, 117, 184, 0.07);
}

.unit-chip-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
}

.unit-chip-dot.ready {
    background: #22c55e;
}

.unit-chip-dot.in-use {
    background: #60a5fa;
}

.unit-chip-dot.warn {
    background: #f59e0b;
}

.unit-chip-dot.bad {
    background: #ef4444;
}

.unit-chip-dot.other {
    background: var(--text-3);
}

.unit-chip-sap {
    font-family: 'Inter', monospace;
    color: var(--text);
    font-weight: 500;
}

.unit-chip-loc {
    color: var(--text-3);
    font-size: 0.72rem;
}

/* ===== QUICK VIEW DRAWER ===== */
.drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(5, 10, 20, 0.7);
    backdrop-filter: blur(4px);
    z-index: 300;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.drawer-overlay.visible {
    opacity: 1;
    pointer-events: all;
}

.drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(420px, 95vw);
    background: linear-gradient(160deg, #0d1624, #080e17);
    border-left: 1px solid var(--border);
    z-index: 400;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.drawer.open {
    transform: translateX(0);
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.6);
}

.drawer-header {
    padding: 24px 24px 20px;
    border-bottom: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: sticky;
    top: 0;
    background: rgba(13, 22, 36, 0.95);
    backdrop-filter: blur(12px);
    z-index: 1;
}

.drawer-close {
    align-self: flex-end;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-2);
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--tr);
}

.drawer-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text);
}

.drawer-title-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
}

.drawer-age-badge {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.drawer-age-badge.adult {
    background: rgba(249, 115, 22, 0.12);
    border: 1px solid rgba(249, 115, 22, 0.2);
}

.drawer-age-badge.child {
    background: rgba(234, 179, 8, 0.12);
    border: 1px solid rgba(234, 179, 8, 0.2);
}

.drawer-age-badge.infant {
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.drawer-age-badge.other {
    background: rgba(99, 102, 241, 0.12);
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.drawer-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.4;
}

.drawer-sap {
    font-size: 0.75rem;
    color: var(--text-3);
    font-family: monospace;
    margin-top: 2px;
}

.drawer-body {
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.drawer-section {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.drawer-section-title {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-3);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 4px;
}

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

.drawer-key {
    font-size: 0.8rem;
    color: var(--text-3);
}

.drawer-val {
    font-size: 0.85rem;
    color: var(--text);
    font-weight: 500;
    text-align: right;
}

.drawer-caps {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.cap-tag-lg {
    background: rgba(37, 117, 184, 0.1);
    border: 1px solid rgba(37, 117, 184, 0.2);
    border-radius: 7px;
    padding: 5px 12px;
    font-size: 0.8rem;
    color: var(--blue-light);
    font-weight: 500;
}

.drawer-note {
    font-size: 0.85rem;
    color: var(--text-2);
    line-height: 1.7;
}

/* ===== LOADING / EMPTY ===== */
.loading-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 80px 0;
    color: var(--text-3);
    font-size: 0.9rem;
}

.loader-ring {
    width: 36px;
    height: 36px;
    border: 3px solid rgba(37, 117, 184, 0.15);
    border-top-color: var(--blue-light);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.load-error {
    color: #f87171;
    font-size: 0.9rem;
    text-align: center;
}

.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 80px 0;
    text-align: center;
    color: var(--text-3);
}

.empty-ico {
    font-size: 3rem;
    margin-bottom: 8px;
}

.empty-state h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-2);
}

.empty-state p {
    font-size: 0.85rem;
}

/* ===== FOOTER ===== */
.footer {
    border-top: 1px solid var(--border);
    padding: 32px 0;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-2);
}

.footer-note {
    font-size: 0.75rem;
    color: var(--text-3);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero-stats {
        padding: 16px 20px;
        flex-wrap: wrap;
        gap: 12px;
    }

    .hero-stat {
        padding: 0 16px;
    }

    .hero-stat-divider {
        display: none;
    }

    .filter-bar-sticky {
        flex-wrap: wrap;
        gap: 10px;
    }

    .filter-left {
        width: 100%;
    }

    .search-box {
        min-width: 0;
        width: 100%;
    }

    .status-filters {
        flex-wrap: wrap;
    }

    .category-bar {
        flex-wrap: wrap;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }
}