/* ============================================================
   HR Portal — Main Stylesheet (CONDO CPFM Template)
   Font: Sarabun (Thai)
   Theme: Navy Blue #1e3a8a
   ============================================================ */
:root {
  --primary:       #1e3a8a;
  --primary-mid:   #1e40af;
  --primary-light: #dbeafe;
  --primary-pale:  #eff6ff;
  --secondary:     #3b82f6;
  --accent:        #60a5fa;
  --success:       #16a34a;
  --danger:        #dc2626;
  --warning:       #d97706;
  --info:          #0891b2;
  --sidebar-w:     260px;
  --topbar-h:      52px;
  --bg:            #f0f4f8;
  --bg-card:       #ffffff;
  --border:        #e2e8f0;
  --border-light:  #f1f5f9;
  --text-main:     #1e293b;
  --text-muted:    #64748b;
  --text-light:    #94a3b8;
  --radius:        12px;
  --radius-sm:     8px;
  --shadow:        0 1px 3px rgba(0,0,0,.07), 0 2px 8px rgba(0,0,0,.04);
  --shadow-md:     0 4px 20px rgba(0,0,0,.09);
  --transition:    .15s ease;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 15px; scroll-behavior: smooth; }
body { font-family: 'Sarabun', sans-serif; background: var(--bg); color: var(--text-main); display: flex; min-height: 100vh; line-height: 1.6; }
a { color: var(--primary); text-decoration: none; }

/* ============================================================ SIDEBAR */
.sidebar {
  width: var(--sidebar-w); background: var(--primary);
  color: #bfdbfe; display: flex; flex-direction: column;
  position: fixed; top: 0; left: 0; bottom: 0; z-index: 100;
  overflow-y: auto; transition: transform var(--transition);
}
.sidebar-brand {
  display: flex; align-items: center; gap: 10px;
  padding: 18px 20px; border-bottom: 1px solid rgba(255,255,255,.1);
}
.brand-icon {
  width: 32px; height: 32px; background: rgba(255,255,255,.15);
  border-radius: 8px; display: grid; place-items: center; flex-shrink: 0;
}
.brand-icon svg { width: 18px; height: 18px; fill: #fff; }
.brand-name { font-size: 14px; font-weight: 700; color: #fff; letter-spacing: .02em; }

.sidebar-user {
  display: flex; align-items: center; gap: 10px;
  margin: 10px 12px; padding: 10px 12px;
  background: rgba(255,255,255,.08); border-radius: 10px;
}
.user-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  object-fit: cover; border: 2px solid rgba(255,255,255,.3); flex-shrink: 0;
}
.user-name { font-size: 12px; font-weight: 600; color: #fff; }
.user-role { font-size: 10px; color: #93c5fd; }

.sidebar-nav { list-style: none; padding: 4px 0; flex: 1; }
.nav-label {
  padding: 14px 20px 5px; font-size: 10px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: #93c5fd;
}
.nav-link {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 20px; color: #bfdbfe; font-size: 13px;
  cursor: pointer; border-left: 3px solid transparent; transition: all var(--transition);
}
.nav-link svg { width: 16px; height: 16px; opacity: .75; flex-shrink: 0; }
.nav-link:hover { background: rgba(255,255,255,.07); color: #fff; }
.nav-link.active { background: rgba(255,255,255,.1); color: #fff; border-left-color: #60a5fa; font-weight: 600; }
.nav-link.active svg { opacity: 1; }
.badge-dot { width: 7px; height: 7px; background: #f59e0b; border-radius: 50%; margin-left: auto; }
.sidebar-footer { padding: 12px; border-top: 1px solid rgba(255,255,255,.08); }
.logout-btn { display: flex; align-items: center; gap: 8px; padding: 9px 14px; color: #fca5a5; font-size: 13px; border-radius: 8px; width: 100%; transition: background var(--transition); background: none; border: none; cursor: pointer; font-family: 'Sarabun', sans-serif; }
.logout-btn:hover { background: rgba(239,68,68,.15); }

/* ============================================================ MAIN WRAPPER */
.main-wrapper { margin-left: var(--sidebar-w); flex: 1; display: flex; flex-direction: column; min-height: 100vh; }
.topbar {
  height: var(--topbar-h); background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 12px; padding: 0 24px;
  position: sticky; top: 0; z-index: 90;
}
.sidebar-toggle { background: none; border: none; cursor: pointer; color: var(--text-muted); font-size: 18px; display: none; }
.topbar-title { font-size: 14px; font-weight: 600; color: var(--text-main); flex: 1; }
.topbar-actions { display: flex; align-items: center; gap: 8px; }
.topbar-btn { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: var(--text-muted); font-size: 15px; position: relative; transition: background var(--transition); cursor: pointer; }
.topbar-btn:hover { background: var(--bg); }
.notif-count { position: absolute; top: 5px; right: 5px; background: var(--danger); color: #fff; font-size: 9px; font-weight: 700; width: 14px; height: 14px; border-radius: 50%; display: grid; place-items: center; border: 2px solid #fff; }
.topbar-avatar img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; border: 2px solid var(--border); }
.page-content { padding: 20px 24px; flex: 1; }

/* ============================================================ WELCOME BANNER */
.welcome-banner {
  background: var(--primary); border-radius: 14px;
  padding: 22px 28px; margin-bottom: 20px; position: relative; overflow: hidden;
}
.wb-deco { position: absolute; border-radius: 50%; pointer-events: none; }
.wb-deco1 { right: -10px; top: -30px; width: 130px; height: 130px; background: rgba(255,255,255,.06); }
.wb-deco2 { right: 80px; bottom: -50px; width: 110px; height: 110px; background: rgba(255,255,255,.04); }
.wb-deco3 { right: 30px; top: 10px; width: 60px; height: 60px; background: rgba(96,165,250,.15); }
.wb-hi { font-size: 21px; font-weight: 700; color: #fff; margin-bottom: 4px; }
.wb-sub { font-size: 13px; color: #93c5fd; }

/* ============================================================ TABS */
.page-tabs { display: flex; border-bottom: 2px solid var(--border); margin-bottom: 20px; }
.page-tab {
  display: flex; align-items: center; gap: 7px;
  padding: 10px 18px; font-size: 13px; color: var(--text-muted);
  cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -2px;
  transition: all var(--transition); white-space: nowrap; font-family: 'Sarabun', sans-serif;
}
.page-tab svg { width: 14px; height: 14px; flex-shrink: 0; }
.page-tab:hover { color: var(--primary); }
.page-tab.active { color: var(--primary); border-bottom-color: var(--primary); font-weight: 600; }

/* ============================================================ SECTION HEADER */
.section-head { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 18px; }
.sh-icon { width: 48px; height: 48px; background: var(--primary-light); border-radius: 12px; display: grid; place-items: center; flex-shrink: 0; }
.sh-icon svg { width: 24px; height: 24px; fill: var(--primary); }
.badge-row { display: flex; gap: 6px; margin-bottom: 6px; }
.badge-live { display: inline-flex; align-items: center; gap: 5px; background: #dcfce7; border: 1px solid #86efac; border-radius: 20px; padding: 2px 10px; font-size: 11px; font-weight: 700; color: #15803d; }
.badge-live-dot { width: 6px; height: 6px; background: #16a34a; border-radius: 50%; animation: bdot 2s infinite; }
@keyframes bdot { 0%,100%{opacity:1} 50%{opacity:.3} }
.badge-mo { display: inline-flex; align-items: center; gap: 5px; background: var(--primary-light); border: 1px solid #93c5fd; border-radius: 20px; padding: 2px 10px; font-size: 11px; font-weight: 700; color: #1d4ed8; }
.sh-title { font-size: 20px; font-weight: 700; color: var(--text-main); margin-bottom: 3px; }
.sh-sub { font-size: 13px; color: var(--text-muted); }

/* ============================================================ FILTER CARDS */
.filters-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 18px; }
.filter-card { background: var(--bg-card); border-radius: 10px; border: 1px solid var(--border); padding: 12px 16px; }
.filter-label { font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text-light); margin-bottom: 6px; }
.filter-val { display: flex; align-items: center; justify-content: space-between; font-size: 14px; font-weight: 500; color: var(--text-main); }
.filter-val select { border: none; outline: none; font-size: 14px; font-weight: 500; color: var(--text-main); background: transparent; cursor: pointer; flex: 1; font-family: 'Sarabun', sans-serif; }

/* ============================================================ STAT CARDS */
.stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 20px; }
.stats-row-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 20px; }
.stat-card { background: var(--bg-card); border-radius: 12px; border: 1px solid var(--border); padding: 18px; }
.stat-label { font-size: 12px; color: var(--text-muted); margin-bottom: 6px; }
.stat-num { font-size: 24px; font-weight: 700; color: var(--text-main); font-variant-numeric: tabular-nums; line-height: 1.1; margin-bottom: 8px; }
.stat-num.green  { color: var(--success); }
.stat-num.amber  { color: var(--warning); }
.stat-num.red    { color: var(--danger); }
.stat-num.blue   { color: var(--primary); }
.stat-bar { height: 5px; background: var(--border-light); border-radius: 20px; overflow: hidden; margin-bottom: 6px; }
.stat-fill { height: 5px; border-radius: 20px; }
.stat-note { font-size: 11px; color: var(--text-light); }

/* ============================================================ CARDS */
.card { background: var(--bg-card); border-radius: var(--radius); border: 1px solid var(--border); overflow: hidden; margin-bottom: 16px; box-shadow: var(--shadow); }
.card-header { padding: 13px 18px; border-bottom: 1px solid var(--border-light); display: flex; align-items: center; justify-content: space-between; }
.card-title { font-size: 13px; font-weight: 600; color: var(--text-main); display: flex; align-items: center; gap: 8px; }
.card-title svg { width: 16px; height: 16px; fill: var(--primary); }
.card-body { padding: 16px 18px; }

/* ============================================================ TABLE */
.table-wrapper { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 12px; }
th { text-align: left; padding: 9px 12px; font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--text-light); background: #f8fafc; border-bottom: 1px solid var(--border-light); }
td { padding: 10px 12px; border-bottom: 1px solid #f8fafc; color: #374151; }
tr:last-child td { border-bottom: none; }
tr:hover td { background: #fafafa; }

/* ============================================================ BADGES/PILLS */
.badge { display: inline-flex; align-items: center; gap: 3px; padding: 2px 9px; border-radius: 20px; font-size: 11px; font-weight: 600; }
.badge-primary { background: var(--primary-pale); color: var(--primary); }
.badge-success  { background: #dcfce7; color: #15803d; }
.badge-danger   { background: #fee2e2; color: #b91c1c; }
.badge-warning  { background: #fef9c3; color: #854d0e; }
.badge-info     { background: #dbeafe; color: #1d4ed8; }
.badge-purple   { background: #f3e8ff; color: #7c3aed; }
.badge-muted    { background: var(--border-light); color: var(--text-muted); }

/* ============================================================ FORMS */
.form-group { display: flex; flex-direction: column; gap: 5px; margin-bottom: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 0; }
.form-row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
.form-label { font-size: 12px; font-weight: 600; color: #374151; }
.form-label .req { color: var(--danger); margin-left: 2px; }
.form-control {
  width: 100%; padding: 9px 12px; border: 1px solid #d1d5db; border-radius: var(--radius-sm);
  font-size: 13px; font-family: 'Sarabun', sans-serif; color: var(--text-main);
  background: #fff; outline: none; transition: border .15s;
}
.form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(30,58,138,.08); }
textarea.form-control { resize: vertical; min-height: 80px; }
.form-hint { font-size: 11px; color: var(--text-light); margin-top: 3px; }

/* Content type selector */
.content-type-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 14px; }
.ct-btn { border: 1.5px solid var(--border); border-radius: 10px; padding: 12px 8px; text-align: center; cursor: pointer; transition: all .15s; }
.ct-btn:hover { border-color: #93c5fd; background: var(--primary-pale); }
.ct-btn.active { border-color: var(--primary); background: var(--primary-pale); }
.ct-btn svg { width: 20px; height: 20px; display: block; margin: 0 auto 5px; fill: #64748b; }
.ct-btn.active svg { fill: var(--primary); }
.ct-btn span { font-size: 11px; font-weight: 600; color: #64748b; }
.ct-btn.active span { color: var(--primary); }

/* Upload zone */
.upload-zone { border: 2px dashed #d1d5db; border-radius: 10px; padding: 28px 20px; text-align: center; cursor: pointer; background: #fafafa; transition: all .15s; }
.upload-zone:hover { border-color: #93c5fd; background: var(--primary-pale); }
.upload-icon { width: 44px; height: 44px; background: var(--primary-light); border-radius: 10px; display: grid; place-items: center; margin: 0 auto 10px; }
.upload-icon svg { width: 22px; height: 22px; fill: var(--primary); }

/* Step bar */
.step-bar { display: flex; gap: 3px; margin-bottom: 6px; }
.step-seg { flex: 1; height: 4px; border-radius: 4px; background: var(--border); }
.step-seg.done { background: var(--primary); }
.step-seg.cur  { background: var(--accent); }
.step-labels { display: flex; justify-content: space-between; margin-bottom: 18px; }
.step-labels span { font-size: 11px; color: var(--text-light); }
.step-labels span.cur { color: var(--primary); font-weight: 600; }

/* Quiz */
.quiz-item { background: #f8fafc; border-radius: 8px; padding: 12px; margin-bottom: 10px; border: 1px solid var(--border); }
.quiz-item-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.quiz-label { font-size: 12px; font-weight: 600; color: #374151; }
.quiz-del { width: 24px; height: 24px; background: #fee2e2; border: none; border-radius: 6px; display: grid; place-items: center; cursor: pointer; }
.quiz-del svg { width: 12px; height: 12px; fill: var(--danger); }
.answer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.answer-row { display: flex; align-items: center; gap: 7px; }
.answer-row input[type=radio] { width: 14px; height: 14px; accent-color: var(--primary); flex-shrink: 0; }
.add-question { display: flex; align-items: center; gap: 6px; padding: 8px 14px; border: 1.5px dashed #93c5fd; border-radius: 8px; background: var(--primary-pale); font-size: 12px; font-weight: 600; color: #1d4ed8; cursor: pointer; width: 100%; justify-content: center; margin-top: 4px; font-family: 'Sarabun', sans-serif; }

/* ============================================================ BUTTONS */
.btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 18px; border-radius: var(--radius-sm); font-size: 13px; font-weight: 600; font-family: 'Sarabun', sans-serif; cursor: pointer; border: none; transition: all var(--transition); white-space: nowrap; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-mid); }
.btn-success { background: var(--success); color: #fff; }
.btn-success:hover { background: #15803d; }
.btn-danger  { background: var(--danger); color: #fff; }
.btn-danger:hover  { background: #b91c1c; }
.btn-outline { background: #fff; color: #374151; border: 1px solid var(--border); }
.btn-outline:hover { background: var(--border-light); }
.btn-sm { padding: 5px 12px; font-size: 12px; }
.btn-lg { padding: 10px 24px; font-size: 14px; }
.btn svg { width: 14px; height: 14px; fill: currentColor; }
.btn-row { display: flex; justify-content: flex-end; gap: 10px; padding-top: 14px; border-top: 1px solid var(--border-light); margin-top: 6px; }

/* ============================================================ PROGRESS */
.progress-bar { width: 100%; height: 6px; background: var(--border); border-radius: 20px; overflow: hidden; }
.progress-fill { height: 6px; border-radius: 20px; background: var(--primary); transition: width .4s; }
.progress-fill.green { background: var(--success); }
.progress-fill.amber { background: var(--warning); }

/* Hour circle */
.hour-circle-wrap { position: relative; width: 120px; height: 120px; margin: 0 auto; }
.hc-svg { transform: rotate(-90deg); }
.hc-bg   { fill: none; stroke: var(--border); stroke-width: 10; }
.hc-fill { fill: none; stroke: var(--primary); stroke-width: 10; stroke-linecap: round; transition: stroke-dashoffset .6s; }
.hc-text { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.hc-val  { font-size: 22px; font-weight: 700; color: var(--primary); line-height: 1; }
.hc-unit { font-size: 11px; color: var(--text-muted); }

/* ============================================================ COURSE CARDS */
.course-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; margin-bottom: 16px; }
.course-card { background: var(--bg-card); border-radius: var(--radius); border: 1px solid var(--border); overflow: hidden; transition: box-shadow .15s; }
.course-card:hover { box-shadow: var(--shadow-md); }
.course-img { height: 120px; display: flex; align-items: center; justify-content: center; font-size: 40px; position: relative; }
.course-mandatory { position: absolute; top: 8px; right: 8px; background: var(--danger); color: #fff; font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 4px; }
.course-body { padding: 14px; }
.course-cat { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 4px; }
.course-title { font-size: 14px; font-weight: 600; color: var(--text-main); margin-bottom: 6px; }
.course-meta { font-size: 11px; color: var(--text-light); display: flex; gap: 10px; margin-bottom: 12px; }

/* ============================================================ NEWS */
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; margin-bottom: 16px; }
.news-card { background: var(--bg-card); border-radius: var(--radius); border: 1px solid var(--border); overflow: hidden; cursor: pointer; transition: box-shadow .15s; }
.news-card:hover { box-shadow: var(--shadow-md); }
.news-img { height: 140px; display: flex; align-items: center; justify-content: center; font-size: 48px; }
.news-body { padding: 14px; }
.news-cat { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 4px; }
.news-title { font-size: 14px; font-weight: 600; color: var(--text-main); margin-bottom: 6px; line-height: 1.4; }
.news-meta { font-size: 11px; color: var(--text-light); display: flex; gap: 10px; }
.news-pinned { background: #f59e0b; color: #fff; font-size: 10px; font-weight: 700; padding: 1px 6px; border-radius: 3px; margin-left: 6px; }

/* ============================================================ PROFILE */
.profile-banner { height: 60px; background: var(--primary); border-radius: 10px 10px 0 0; }
.profile-avatar { width: 60px; height: 60px; border-radius: 50%; background: var(--primary); border: 3px solid #fff; display: flex; align-items: center; justify-content: center; font-size: 22px; color: #fff; font-weight: 700; margin: -30px auto 10px; object-fit: cover; }
.profile-info-row { display: flex; align-items: center; gap: 8px; padding: 7px 14px; font-size: 12px; color: var(--text-muted); border-top: 1px solid var(--border-light); }
.profile-info-row svg { width: 13px; height: 13px; fill: var(--text-light); flex-shrink: 0; }

/* ============================================================ APPROVAL */
.approval-item { padding: 16px; border-bottom: 1px solid var(--border-light); }
.approval-item:last-child { border-bottom: none; }
.approval-title { font-size: 14px; font-weight: 600; color: var(--text-main); margin-bottom: 6px; }
.approval-meta { font-size: 12px; color: var(--text-muted); display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 10px; }
.approval-actions { display: flex; gap: 8px; }

/* ============================================================ CERT CARD */
.cert-card { border: 2px solid #f59e0b; border-radius: 12px; overflow: hidden; }
.cert-header { padding: 28px 20px; text-align: center; }
.cert-body { padding: 14px; background: #fff; text-align: center; }

/* ============================================================ FLASH */
.flash-alert { padding: 10px 20px; font-size: 13px; display: flex; align-items: center; gap: 8px; animation: slideDown .3s ease; }
.flash-success { background: #ecfdf5; color: #065f46; border-bottom: 2px solid #10b981; }
.flash-danger  { background: #fef2f2; color: #991b1b; border-bottom: 2px solid #ef4444; }
.flash-warning { background: #fffbeb; color: #92400e; border-bottom: 2px solid #f59e0b; }
.flash-alert button { margin-left: auto; background: none; border: none; cursor: pointer; color: inherit; opacity: .6; font-size: 14px; }
@keyframes slideDown { from { transform: translateY(-8px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

/* ============================================================ LOGIN */
.login-page { min-height: 100vh; background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #1e3a8a 100%); display: flex; align-items: center; justify-content: center; padding: 20px; width: 100%; }
.login-box { background: #fff; border-radius: 16px; padding: 36px 32px; width: 100%; max-width: 380px; box-shadow: 0 20px 60px rgba(0,0,0,.25); }
.login-logo { text-align: center; margin-bottom: 24px; }
.login-logo-icon { width: 56px; height: 56px; background: var(--primary); border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 10px; }
.login-logo-icon svg { width: 28px; height: 28px; fill: #fff; }
.login-title { font-size: 18px; font-weight: 700; color: var(--text-main); }
.login-sub { font-size: 12px; color: var(--text-light); margin-top: 3px; }
.login-error { background: #fef2f2; border: 1px solid #fecaca; border-radius: 8px; padding: 10px 14px; font-size: 13px; color: var(--danger); margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.inp-icon-wrap { position: relative; }
.inp-icon-wrap svg { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); width: 15px; height: 15px; fill: var(--text-light); }
.inp-icon-wrap .form-control { padding-left: 34px; }
.pw-wrap { position: relative; }
.pw-toggle { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); background: none; border: none; cursor: pointer; padding: 0; }
.pw-toggle svg { width: 15px; height: 15px; fill: var(--text-light); }

/* ============================================================ OVERLAY & MOBILE */
.sidebar-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 99; }
@media (max-width: 900px) {
  .sidebar { transform: translateX(-100%); }
  .sidebar.open { transform: translateX(0); }
  .sidebar-overlay.open { display: block; }
  .main-wrapper { margin-left: 0; }
  .sidebar-toggle { display: block; }
  .form-row, .form-row-3 { grid-template-columns: 1fr; }
  .stats-row, .stats-row-4, .filters-row { grid-template-columns: 1fr 1fr; }
  .page-content { padding: 14px; }
}
@media (max-width: 600px) {
  .stats-row, .stats-row-4, .filters-row, .course-grid, .news-grid { grid-template-columns: 1fr; }
  .page-tabs { overflow-x: auto; }
}

/* ============================================================ UTILITIES */
.flex { display: flex; }
.flex-center { display: flex; align-items: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.w-full { width: 100%; }
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.text-sm { font-size: 13px; }
.font-bold { font-weight: 700; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 12px; }
.mt-4 { margin-top: 16px; }
.mb-2 { margin-bottom: 8px; }
.mb-4 { margin-bottom: 16px; }
.empty-state { text-align: center; padding: 48px 20px; color: var(--text-muted); }
.empty-state i { font-size: 40px; opacity: .2; display: block; margin-bottom: 12px; }
