/* =============================================
   MBG Inventory System — Soft Slate Light Theme
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

/* --- CSS Custom Properties (Design Tokens) --- */
:root {
    /* Primary Pastel Brand Colors */
    --primary-50: #f0f7ff;
    --primary-100: #e0f0fe;
    --primary-200: #bfdbfe;
    --primary-300: #93c5fd;
    --primary-400: #60a5fa;
    --primary-500: #3b82f6;
    --primary-600: #2563eb;
    --primary-700: #1d4ed8;
    --primary-800: #1e40af;
    --primary-900: #1e3a8a;
    
    /* Soft Blue Accents from Mockups */
    --brand-pastel: #cce3f5;
    --brand-light: #eff6fc;
    --brand-dark: #1f2d3d;

    /* Semantic Colors */
    --success: #10b981;
    --success-light: #d1fae5;
    --danger: #ef4444;
    --danger-light: #fee2e2;
    --warning: #f59e0b;
    --warning-light: #fef3c7;
    --info: #3b82f6;
    --info-light: #dbeafe;

    /* Neutral Slate/Grey */
    --neutral-50: #f8fafc;
    --neutral-100: #f1f5f9;
    --neutral-200: #e2e8f0;
    --neutral-300: #cbd5e1;
    --neutral-400: #94a3b8;
    --neutral-500: #64748b;
    --neutral-600: #475569;
    --neutral-700: #334155;
    --neutral-800: #1e293b;
    --neutral-900: #0f172a;

    /* Layout & Geometry */
    --sidebar-width: 260px;
    --header-height: 72px;
    --border-radius: 16px;
    --border-radius-lg: 24px;
    --border-radius-pill: 9999px;
    
    /* Shadows */
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.02);
    --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.04), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.06), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

    /* Typography */
    --font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;

    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset & Base --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-sm);
    color: var(--neutral-700);
    background: #f4f7fa;
    line-height: 1.6;
}

a {
    color: var(--primary-600);
    text-decoration: none;
    transition: color var(--transition-fast);
}
a:hover { color: var(--primary-800); }

/* --- Layout --- */
.layout {
    display: flex;
    min-height: 100vh;
}

/* --- Light Sidebar --- */
.sidebar {
    width: var(--sidebar-width);
    background: #f3f6fa;
    color: var(--neutral-800);
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 40;
    overflow: hidden;
    border-right: 1px solid var(--neutral-200);
    transition: transform var(--transition-base);
    display: flex;
    flex-direction: column;
}

.sidebar-user-profile {
    padding: 1.5rem;
    border-bottom: 1px solid var(--neutral-200);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.sidebar-user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-100);
    color: var(--primary-700);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: var(--font-size-sm);
    flex-shrink: 0;
    overflow: hidden;
}
.sidebar-user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sidebar-user-info {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.sidebar-user-label {
    font-size: 0.625rem;
    font-weight: 600;
    color: var(--neutral-400);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.sidebar-user-name {
    font-size: var(--font-size-sm);
    font-weight: 700;
    color: var(--neutral-900);
}

.sidebar-toggle {
    position: absolute;
    top: 1.5rem;
    right: -12px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: white;
    border: 1px solid var(--neutral-200);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 50;
    box-shadow: var(--shadow-soft);
    transition: all var(--transition-fast);
    color: var(--neutral-500);
}
.sidebar-toggle:hover {
    background: var(--neutral-100);
    color: var(--neutral-900);
}

.sidebar-nav {
    padding: 1.25rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
    overflow-y: auto;
}

.sidebar-section {
    padding: 0.75rem 0.75rem 0.25rem 0.75rem;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--neutral-400);
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: var(--neutral-600);
    font-size: var(--font-size-sm);
    font-weight: 500;
    border-radius: var(--border-radius-pill);
    transition: all var(--transition-fast);
}

.sidebar-link:hover {
    background: rgba(0, 0, 0, 0.03);
    color: var(--neutral-900);
}

.sidebar-link.active {
    background: var(--brand-pastel);
    color: var(--primary-700);
    font-weight: 600;
}

.sidebar-link svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    transition: transform var(--transition-fast);
}
.sidebar-link:hover svg {
    transform: scale(1.05);
}

/* Sidebar Footer (Help + Logout at bottom) */
.sidebar-footer {
    padding: 1rem;
    border-top: 1px solid var(--neutral-200);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-top: auto;
}

.sidebar-logout {
    color: var(--danger) !important;
}
.sidebar-logout:hover {
    background: var(--danger-light) !important;
    color: var(--danger) !important;
}

.main-content {
    margin-left: var(--sidebar-width);
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

/* --- Header & Search Bar --- */
.header {
    height: var(--header-height);
    background: white;
    border-bottom: 1px solid var(--neutral-200);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    position: sticky;
    top: 0;
    z-index: 30;
    box-shadow: var(--shadow-soft);
}

.header-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.header-title {
    font-family: var(--font-family);
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--neutral-900);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

/* Search bar mockup implementation */
.search-wrapper {
    position: relative;
    width: 320px;
}
.search-input {
    width: 100%;
    padding: 0.5rem 1rem 0.5rem 2.5rem;
    border: 1px solid var(--neutral-200);
    border-radius: var(--border-radius-pill);
    background: var(--neutral-50);
    font-size: var(--font-size-sm);
    transition: all var(--transition-fast);
}
.search-input:focus {
    outline: none;
    border-color: var(--primary-300);
    background: white;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.05);
}
.search-icon {
    position: absolute;
    left: 0.875rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--neutral-400);
    pointer-events: none;
}

.header-action-icon {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--neutral-600);
    padding: 0.5rem;
    border-radius: 50%;
    transition: background var(--transition-fast), color var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}
.header-action-icon:hover {
    background: var(--neutral-100);
    color: var(--neutral-900);
}

.notification-bell {
    position: relative;
}

.notification-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    background: var(--danger);
    color: white;
    font-size: 0.625rem;
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 3px;
    border: 2px solid white;
}

/* User Profile Menu */
.user-menu {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.375rem 0.75rem;
    border-radius: var(--border-radius-pill);
    cursor: pointer;
    transition: background var(--transition-fast);
    border: 1px solid var(--neutral-200);
}
.user-menu:hover {
    background: var(--neutral-50);
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary-100);
    color: var(--primary-700);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: var(--font-size-sm);
    overflow: hidden;
}
.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- Content Area --- */
.content {
    padding: 2rem;
    flex: 1;
}

.page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.page-title {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--neutral-900);
    letter-spacing: -0.02em;
}

/* --- Cards --- */
.card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--neutral-200);
    overflow: hidden;
}

.card-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--neutral-200);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card-title {
    font-size: var(--font-size-base);
    font-weight: 700;
    color: var(--neutral-900);
}

.card-body {
    padding: 1.5rem;
}

/* KPI Cards Layout (Soft backgrounds matching mockups) */
.kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.kpi-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--neutral-200);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
    position: relative;
    overflow: hidden;
}

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

/* Customized metric backgrounds */
.kpi-card.proses { background-color: #f0f7ff; border-color: #bfdbfe; }
.kpi-card.selesai { background-color: #f0fdf4; border-color: #bbf7d0; }
.kpi-card.pending { background-color: #faf5ff; border-color: #f3e8ff; }
.kpi-card.danger { background-color: #fef2f2; border-color: #fecaca; }

.kpi-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--neutral-500);
    margin-bottom: 0.5rem;
}

.kpi-value {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--neutral-900);
    line-height: 1.1;
}

/* Stock Status Summary Cards */
.stock-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.stock-summary-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 1.25rem;
    border: 1px solid var(--neutral-200);
    display: flex;
    align-items: center;
    gap: 1rem;
}
.stock-summary-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary-50);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-500);
}
.stock-summary-card.menipis .stock-summary-icon {
    background: var(--danger-light);
    color: var(--danger);
}
.stock-summary-card.habis .stock-summary-icon {
    background: var(--neutral-100);
    color: var(--neutral-400);
}
.stock-summary-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--neutral-900);
    line-height: 1;
}
.stock-summary-desc {
    font-size: 0.75rem;
    color: var(--neutral-400);
}

/* --- Buttons (Fully Rounded Pills) --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    font-size: var(--font-size-sm);
    font-weight: 600;
    border-radius: var(--border-radius-pill);
    border: 1px solid transparent;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-decoration: none;
    line-height: 1.5;
}

.btn-primary {
    background: var(--brand-pastel);
    color: var(--primary-800);
    border: 1px solid var(--primary-200);
}
.btn-primary:hover {
    background: var(--primary-200);
    transform: translateY(-1px);
}

.btn-secondary {
    background: white;
    color: var(--neutral-700);
    border-color: var(--neutral-300);
}
.btn-secondary:hover {
    background: var(--neutral-50);
}

.btn-danger {
    background: var(--danger-light);
    color: var(--danger);
    border-color: #fca5a5;
}
.btn-danger:hover {
    background: #fee2e2;
}

.btn-success {
    background: var(--success-light);
    color: #065f46;
    border-color: #a7f3d0;
}
.btn-success:hover {
    background: #d1fae5;
}

.btn-sm {
    padding: 0.375rem 0.875rem;
    font-size: var(--font-size-xs);
}

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

table {
    width: 100%;
    border-collapse: collapse;
}

thead {
    background: var(--neutral-50);
}

th {
    padding: 1rem 1.5rem;
    text-align: left;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--neutral-500);
    border-bottom: 2px solid var(--neutral-200);
}

td {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--neutral-200);
    font-size: var(--font-size-sm);
    color: var(--neutral-700);
}

tbody tr {
    transition: background var(--transition-fast);
}
tbody tr:hover {
    background: var(--neutral-50);
}

/* --- Forms (Rounded Inputs) --- */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--neutral-800);
    margin-bottom: 0.5rem;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.75rem 1.25rem;
    font-size: var(--font-size-sm);
    border: 1px solid var(--neutral-200);
    border-radius: var(--border-radius);
    background: var(--neutral-50);
    transition: all var(--transition-fast);
    font-family: var(--font-family);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-300);
    background: white;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.05);
}

.form-input.error {
    border-color: var(--danger);
    background-color: #fff5f5;
}

.form-help {
    font-size: var(--font-size-xs);
    color: var(--neutral-400);
    margin-top: 0.375rem;
}

.form-error {
    font-size: var(--font-size-xs);
    color: var(--danger);
    margin-top: 0.375rem;
    font-weight: 500;
}

/* --- Settings Sub-Tabs --- */
.tabs {
    display: flex;
    border-bottom: 1px solid var(--neutral-200);
    margin-bottom: 2rem;
    gap: 0.5rem;
}

.tab {
    padding: 0.875rem 1.5rem;
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--neutral-500);
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    cursor: pointer;
    background: none;
    border-top: none;
    border-left: none;
    border-right: none;
    transition: all var(--transition-fast);
}

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

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

/* --- Badges/Status --- */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    font-size: var(--font-size-xs);
    font-weight: 600;
    border-radius: var(--border-radius-pill);
    line-height: 1;
}

.badge-success { background: var(--success-light); color: #065f46; }
.badge-danger { background: var(--danger-light); color: #991b1b; }
.badge-warning { background: var(--warning-light); color: #92400e; }
.badge-info { background: var(--info-light); color: #1e40af; }

/* --- Toast Notifications --- */
.toast-container {
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.toast {
    padding: 1rem 1.25rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    font-size: var(--font-size-sm);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    animation: slideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    min-width: 320px;
    border-left: 4px solid transparent;
}

.toast-success { background: white; color: var(--neutral-800); border-left-color: var(--success); }
.toast-error { background: white; color: var(--neutral-800); border-left-color: var(--danger); }
.toast-warning { background: white; color: var(--neutral-800); border-left-color: var(--warning); }
.toast-info { background: white; color: var(--neutral-800); border-left-color: var(--primary-500); }

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* --- Modals --- */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(4px);
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal {
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    width: 90%;
    max-width: 600px;
    max-height: 85vh;
    overflow-y: auto;
    border: 1px solid var(--neutral-200);
}

.modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--neutral-200);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-title {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--neutral-900);
}

.modal-body { padding: 1.5rem; }

.modal-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--neutral-200);
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
}

/* --- Custom Calendar Widget --- */
.calendar-card {
    background: white;
    border-radius: var(--border-radius);
    border: 1px solid var(--neutral-200);
    padding: 1.5rem;
}
.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
}
.calendar-month {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--neutral-900);
}
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.5rem;
    text-align: center;
}
.calendar-day-name {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--neutral-400);
    padding-bottom: 0.5rem;
}
.calendar-cell {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 50%;
    cursor: pointer;
    transition: all var(--transition-fast);
    color: var(--neutral-700);
}
.calendar-cell:hover:not(.empty) {
    background: var(--neutral-100);
}
.calendar-cell.active-day {
    background: var(--primary-600) !important;
    color: white !important;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(59, 130, 246, 0.3);
}
.calendar-cell.orange-highlight {
    background: #ffedd5;
    color: #ea580c;
    font-weight: 600;
}
.calendar-cell.yellow-highlight {
    background: #fef9c3;
    color: #ca8a04;
    font-weight: 600;
}

/* --- Schedule/Recent Transactions Sidebar (Mockup Right Panel) --- */
.schedule-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.schedule-item {
    padding: 1rem;
    border-radius: var(--border-radius);
    background: var(--neutral-50);
    border-left: 4px solid var(--primary-400);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}
.schedule-item.success { border-left-color: var(--success); }
.schedule-item.warning { border-left-color: var(--warning); }
.schedule-item.danger { border-left-color: var(--danger); }

.schedule-title {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--neutral-900);
}
.schedule-meta {
    font-size: 0.75rem;
    color: var(--neutral-500);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* --- Dashed Logo Upload Box --- */
.upload-logo-box {
    border: 2px dashed var(--neutral-300);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    background: var(--neutral-50);
    transition: all var(--transition-fast);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}
.upload-logo-box:hover {
    border-color: var(--primary-400);
    background: var(--primary-50)/10;
}
.upload-logo-icon {
    font-size: 1.5rem;
    color: var(--neutral-400);
}

/* --- Login Page オーバーホール --- */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f4f7fa;
    padding: 2rem;
}

.login-card {
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 440px;
    padding: 3rem 2.5rem;
    border: 1px solid var(--neutral-200);
}

.login-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.login-header h1 {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--neutral-900);
    margin-bottom: 0.5rem;
}

.login-header p {
    color: var(--neutral-400);
    font-size: var(--font-size-sm);
}

.login-btn {
    width: 100%;
    padding: 0.875rem;
    font-size: var(--font-size-base);
    font-weight: 700;
    margin-top: 1rem;
    background: var(--brand-pastel);
    color: var(--primary-800);
    border: 1px solid var(--primary-200);
}
.login-btn:hover {
    background: var(--primary-200);
}

/* --- Utilities --- */
.text-right { text-align: right; }
.text-center { text-align: center; }
.text-success { color: var(--success); }
.text-danger { color: var(--danger); }
.text-warning { color: var(--warning); }
.text-muted { color: var(--neutral-400); }
.font-mono { font-family: 'JetBrains Mono', monospace; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-6 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.flex { display: flex; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }
.hidden { display: none; }
.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }

@media (min-width: 1024px) {
    .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
