/* ═══════════════════════════════════════════════════════════════
   Site@rtIA CRM – AlumDesign
   Main Stylesheet
   ═══════════════════════════════════════════════════════════════ */

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

/* ── CSS Variables / Themes ── */
:root {
  --sidebar-width: 260px;
  --topbar-height: 60px;
  --radius: 12px;
  --radius-sm: 8px;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.14);
  --font-main: 'Inter', sans-serif;
  --font-title: 'Playfair Display', serif;
}

/* ── Theme Colors ── */
[data-theme="dark-blue"] {
  --primary: #1a2b4a;
  --primary-light: #243860;
  --primary-dark: #0f1a2e;
  --accent: #4a90e2;
  --accent-hover: #357abd;
  --sidebar-bg: #0f1a2e;
  --sidebar-text: #b8c7e0;
  --sidebar-active: #4a90e2;
  --topbar-bg: #1a2b4a;
}
[data-theme="navy"] {
  --primary: #001f5b;
  --primary-light: #002a7a;
  --primary-dark: #001440;
  --accent: #0095ff;
  --accent-hover: #0080e0;
  --sidebar-bg: #001440;
  --sidebar-text: #a8c0e8;
  --sidebar-active: #0095ff;
  --topbar-bg: #001f5b;
}
[data-theme="emerald"] {
  --primary: #0a3d2e;
  --primary-light: #0e5240;
  --primary-dark: #062418;
  --accent: #00c87a;
  --accent-hover: #00a866;
  --sidebar-bg: #062418;
  --sidebar-text: #7ecfb0;
  --sidebar-active: #00c87a;
  --topbar-bg: #0a3d2e;
}
[data-theme="slate"] {
  --primary: #2d3748;
  --primary-light: #3d4f6a;
  --primary-dark: #1a202c;
  --accent: #667eea;
  --accent-hover: #5a6fd6;
  --sidebar-bg: #1a202c;
  --sidebar-text: #a0aec0;
  --sidebar-active: #667eea;
  --topbar-bg: #2d3748;
}
[data-theme="purple"] {
  --primary: #3b0764;
  --primary-light: #4c0a80;
  --primary-dark: #250342;
  --accent: #a855f7;
  --accent-hover: #9333ea;
  --sidebar-bg: #250342;
  --sidebar-text: #d8b4fe;
  --sidebar-active: #a855f7;
  --topbar-bg: #3b0764;
}
[data-theme="crimson"] {
  --primary: #4a0a14;
  --primary-light: #6b1020;
  --primary-dark: #2d0509;
  --accent: #ef4444;
  --accent-hover: #dc2626;
  --sidebar-bg: #2d0509;
  --sidebar-text: #fca5a5;
  --sidebar-active: #ef4444;
  --topbar-bg: #4a0a14;
}
[data-theme="amber"] {
  --primary: #451a03;
  --primary-light: #5c2408;
  --primary-dark: #2d1002;
  --accent: #f59e0b;
  --accent-hover: #d97706;
  --sidebar-bg: #2d1002;
  --sidebar-text: #fcd34d;
  --sidebar-active: #f59e0b;
  --topbar-bg: #451a03;
}
[data-theme="teal"] {
  --primary: #0f3443;
  --primary-light: #164e63;
  --primary-dark: #062032;
  --accent: #06b6d4;
  --accent-hover: #0891b2;
  --sidebar-bg: #062032;
  --sidebar-text: #7dd3fc;
  --sidebar-active: #06b6d4;
  --topbar-bg: #0f3443;
}

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

html { font-size: 14px; scroll-behavior: smooth; }

body {
  font-family: var(--font-main);
  background: #f0f4f8;
  color: #2d3748;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ── Layout ── */
.app-wrapper {
  display: flex;
  min-height: 100vh;
}

/* ── Sidebar ── */
.sidebar {
  width: var(--sidebar-width);
  min-height: 100vh;
  background: var(--sidebar-bg);
  display: flex;
  flex-direction: column;
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  z-index: 100;
  transition: var(--transition);
  box-shadow: 4px 0 20px rgba(0,0,0,0.2);
}

.sidebar-logo {
  padding: 24px 20px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.sidebar-logo .logo-text {
  font-family: var(--font-title);
  font-size: 1.5rem;
  color: #fff;
  letter-spacing: 0.5px;
}
.sidebar-logo .logo-sub {
  font-size: 0.72rem;
  color: var(--sidebar-text);
  opacity: 0.8;
  margin-top: 2px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.sidebar-user {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.sidebar-user .avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
  font-size: 1rem;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid rgba(255,255,255,0.2);
}
.sidebar-user .avatar img { width: 100%; height: 100%; object-fit: cover; }
.sidebar-user .user-info .user-name {
  color: #fff;
  font-weight: 600;
  font-size: 0.85rem;
  line-height: 1.2;
}
.sidebar-user .user-info .user-role {
  font-size: 0.7rem;
  color: var(--sidebar-text);
  opacity: 0.8;
}

.sidebar-nav {
  flex: 1;
  overflow-y: auto;
  padding: 12px 0;
}
.sidebar-nav::-webkit-scrollbar { width: 4px; }
.sidebar-nav::-webkit-scrollbar-track { background: transparent; }
.sidebar-nav::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 2px; }

.nav-section {
  padding: 8px 12px 4px;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--sidebar-text);
  opacity: 0.5;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  color: var(--sidebar-text);
  text-decoration: none;
  border-radius: 8px;
  margin: 2px 8px;
  font-size: 0.85rem;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}
.nav-item:hover {
  background: rgba(255,255,255,0.08);
  color: #fff;
  text-decoration: none;
}
.nav-item.active {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.nav-item .nav-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.nav-item .badge {
  margin-left: auto;
  background: rgba(255,255,255,0.2);
  color: #fff;
  font-size: 0.65rem;
  padding: 2px 7px;
  border-radius: 20px;
  font-weight: 600;
}
.nav-item.active .badge { background: rgba(255,255,255,0.3); }

.sidebar-footer {
  padding: 16px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.sidebar-footer .nav-item { margin: 0; }

/* ── Main Content ── */
.main-content {
  flex: 1;
  margin-left: var(--sidebar-width);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ── Topbar ── */
.topbar {
  height: var(--topbar-height);
  background: #fff;
  display: flex;
  align-items: center;
  padding: 0 28px;
  position: sticky;
  top: 0;
  z-index: 99;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  gap: 16px;
}
.topbar-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1a2b4a;
  flex: 1;
}
.topbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.topbar-btn {
  width: 38px;
  height: 38px;
  border: none;
  background: #f0f4f8;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #4a5568;
  transition: var(--transition);
  position: relative;
  text-decoration: none;
}
.topbar-btn:hover {
  background: var(--accent, #4a90e2);
  color: #fff;
}
.topbar-btn .notify-dot {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 8px;
  height: 8px;
  background: #ef4444;
  border-radius: 50%;
  border: 2px solid #fff;
}

.lang-switcher .dropdown-toggle {
  background: #f0f4f8;
  border: none;
  border-radius: 10px;
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #4a5568;
  cursor: pointer;
  transition: var(--transition);
}
.lang-switcher .dropdown-toggle:hover { background: #e2e8f0; }
.lang-switcher .dropdown-menu {
  border: none;
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  min-width: 120px;
}

/* ── Page Content ── */
.page-content {
  flex: 1;
  padding: 28px;
}

.page-header {
  margin-bottom: 28px;
}
.page-header h1 {
  font-family: var(--font-title);
  font-size: 1.75rem;
  color: #1a2b4a;
  font-weight: 700;
}
.page-header .breadcrumb {
  font-size: 0.8rem;
  color: #718096;
  margin-top: 4px;
}
.page-header .breadcrumb a { color: var(--accent, #4a90e2); text-decoration: none; }

/* ── Cards ── */
.card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: none;
  overflow: hidden;
}
.card-header {
  background: transparent;
  border-bottom: 1px solid #e2e8f0;
  padding: 18px 24px;
  font-weight: 600;
  font-size: 0.95rem;
  color: #2d3748;
}
.card-body { padding: 24px; }

/* ── Stats Cards ── */
.stat-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 20px 24px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}
.stat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, var(--accent, #4a90e2), var(--accent-hover, #357abd));
}
.stat-card .stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent, #4a90e2), var(--accent-hover, #357abd));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.3rem;
  margin-bottom: 14px;
}
.stat-card .stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: #1a2b4a;
  line-height: 1;
  margin-bottom: 4px;
}
.stat-card .stat-label {
  font-size: 0.8rem;
  color: #718096;
  font-weight: 500;
}

/* ── Buttons ── */
.btn {
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 0.85rem;
  padding: 8px 18px;
  transition: var(--transition);
  border: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent, #4a90e2), var(--accent-hover, #357abd));
  color: #fff;
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--accent-hover, #357abd), var(--accent, #4a90e2));
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(74, 144, 226, 0.4);
}
.btn-outline-primary {
  border: 1.5px solid var(--accent, #4a90e2);
  color: var(--accent, #4a90e2);
  background: transparent;
}
.btn-outline-primary:hover {
  background: var(--accent, #4a90e2);
  color: #fff;
}
.btn-sm { padding: 5px 12px; font-size: 0.78rem; }
.btn-icon {
  width: 34px;
  height: 34px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
}

/* ── Tables ── */
.table-container {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.table {
  margin: 0;
  font-size: 0.85rem;
}
.table thead th {
  background: #f8fafc;
  color: #4a5568;
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 12px 16px;
  border-bottom: 2px solid #e2e8f0;
  white-space: nowrap;
}
.table tbody tr {
  transition: var(--transition);
  border-bottom: 1px solid #f0f4f8;
}
.table tbody tr:hover { background: #f8fafc; }
.table tbody td {
  padding: 12px 16px;
  vertical-align: middle;
  color: #2d3748;
}
.table tbody tr:last-child { border-bottom: none; }

/* ── Status Badges ── */
.badge-status {
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.badge-draft { background: #e2e8f0; color: #4a5568; }
.badge-pending { background: #fef3c7; color: #92400e; }
.badge-validated { background: #d1fae5; color: #065f46; }
.badge-rejected { background: #fee2e2; color: #991b1b; }
.badge-invoiced { background: #dbeafe; color: #1e40af; }

/* Professional Status */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}
.status-acier { background: #e2e8f0; color: #2d3748; }
.status-bronze { background: #fde68a; color: #78350f; }
.status-argent { background: #e0e7ff; color: #3730a3; }
.status-or { background: #fef9c3; color: #713f12; border: 1px solid #fbbf24; }
.status-pending { background: #f3f4f6; color: #6b7280; }

/* ── Forms ── */
.form-control, .form-select {
  border-radius: var(--radius-sm);
  border: 1.5px solid #e2e8f0;
  padding: 9px 14px;
  font-size: 0.875rem;
  transition: var(--transition);
  font-family: var(--font-main);
  color: #2d3748;
  background: #fff;
}
.form-control:focus, .form-select:focus {
  border-color: var(--accent, #4a90e2);
  box-shadow: 0 0 0 3px rgba(74,144,226,0.15);
  outline: none;
}
.form-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: #4a5568;
  margin-bottom: 6px;
}
.form-text { font-size: 0.75rem; color: #718096; }
.invalid-feedback { font-size: 0.76rem; }

/* ── Alerts ── */
.alert {
  border-radius: var(--radius-sm);
  border: none;
  font-size: 0.875rem;
  padding: 12px 18px;
}
.alert-success { background: #d1fae5; color: #065f46; }
.alert-danger { background: #fee2e2; color: #991b1b; }
.alert-warning { background: #fef3c7; color: #92400e; }
.alert-info { background: #dbeafe; color: #1e40af; }

/* ── Chat Widget ── */
.chat-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
}
.chat-toggle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent, #4a90e2), var(--accent-hover, #357abd));
  border: none;
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  position: relative;
}
.chat-toggle:hover { transform: scale(1.08); box-shadow: 0 6px 28px rgba(0,0,0,0.3); }
.chat-toggle .unread-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #ef4444;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
}

.chat-panel {
  position: fixed;
  bottom: 90px;
  right: 24px;
  width: 360px;
  height: 480px;
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  display: none;
  flex-direction: column;
  overflow: hidden;
  z-index: 999;
}
.chat-panel.open { display: flex; }
.chat-panel-header {
  padding: 16px 20px;
  background: linear-gradient(135deg, var(--primary, #1a2b4a), var(--primary-light, #243860));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.chat-panel-header h6 { margin: 0; font-weight: 700; font-size: 0.9rem; }
.chat-contact-list {
  flex: 1;
  overflow-y: auto;
  padding: 8px 0;
}
.chat-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  color: #2d3748;
}
.chat-contact-item:hover { background: #f8fafc; }
.chat-contact-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent, #4a90e2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  flex-shrink: 0;
}
.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  background: #f8fafc;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.chat-msg {
  max-width: 75%;
  display: flex;
  flex-direction: column;
}
.chat-msg.mine { align-self: flex-end; align-items: flex-end; }
.chat-msg.theirs { align-self: flex-start; align-items: flex-start; }
.chat-msg .msg-bubble {
  padding: 8px 14px;
  border-radius: 16px;
  font-size: 0.85rem;
  line-height: 1.5;
}
.chat-msg.mine .msg-bubble {
  background: linear-gradient(135deg, var(--accent, #4a90e2), var(--accent-hover, #357abd));
  color: #fff;
  border-bottom-right-radius: 4px;
}
.chat-msg.theirs .msg-bubble {
  background: #fff;
  color: #2d3748;
  border-bottom-left-radius: 4px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}
.chat-msg .msg-time { font-size: 0.68rem; color: #a0aec0; margin-top: 3px; }
.chat-input-area {
  padding: 12px 16px;
  background: #fff;
  border-top: 1px solid #e2e8f0;
  display: flex;
  gap: 10px;
}
.chat-input {
  flex: 1;
  border: 1.5px solid #e2e8f0;
  border-radius: 24px;
  padding: 8px 16px;
  font-size: 0.85rem;
  outline: none;
  font-family: var(--font-main);
}
.chat-input:focus { border-color: var(--accent, #4a90e2); }
.chat-send-btn {
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 50%;
  background: var(--accent, #4a90e2);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.chat-send-btn:hover { background: var(--accent-hover, #357abd); }

/* ── Discount Matrix ── */
.discount-matrix table { width: 100%; }
.discount-matrix th {
  background: #f8fafc;
  padding: 8px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #4a5568;
  text-align: center;
  border: 1px solid #e2e8f0;
}
.discount-matrix td {
  padding: 8px 12px;
  border: 1px solid #e2e8f0;
  text-align: center;
  font-size: 0.82rem;
}
.discount-matrix .product-name {
  font-weight: 600;
  text-align: left;
  background: #f8fafc;
}

/* ── Color Swatches ── */
.color-swatch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: #f8fafc;
  border-radius: 20px;
  font-size: 0.78rem;
}
.color-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1.5px solid rgba(0,0,0,0.1);
  flex-shrink: 0;
}
.color-palette {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

/* ── Product Card (Catalogue) ── */
.product-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  cursor: pointer;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.product-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.product-card .card-body { padding: 16px; }
.product-card .product-ref {
  font-size: 0.72rem;
  color: #718096;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.product-card .product-name {
  font-weight: 600;
  font-size: 0.92rem;
  color: #1a2b4a;
  margin: 4px 0;
}
.product-card .product-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent, #4a90e2);
}
.product-card .product-original-price {
  font-size: 0.78rem;
  color: #a0aec0;
  text-decoration: line-through;
}

/* ── Quote Builder ── */
.quote-line-row { position: relative; }
.quote-line-row .remove-line {
  position: absolute;
  right: -10px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  background: #fee2e2;
  color: #ef4444;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Pagination ── */
.pagination .page-link {
  border-radius: var(--radius-sm);
  border-color: #e2e8f0;
  color: var(--accent, #4a90e2);
  margin: 0 2px;
  font-size: 0.82rem;
}
.pagination .page-item.active .page-link {
  background: var(--accent, #4a90e2);
  border-color: var(--accent, #4a90e2);
}

/* ── Responsive ── */
@media (max-width: 992px) {
  .sidebar { transform: translateX(-100%); }
  .sidebar.open { transform: translateX(0); }
  .main-content { margin-left: 0; }
  .chat-panel { width: 320px; }
}

/* ── Login Page ── */
.login-wrapper {
  min-height: 100vh;
  background: linear-gradient(135deg, #0f1a2e 0%, #1a2b4a 40%, #243860 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.login-card {
  background: #fff;
  border-radius: 20px;
  padding: 40px;
  width: 100%;
  max-width: 440px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.login-logo {
  text-align: center;
  margin-bottom: 32px;
}
.login-logo h1 {
  font-family: var(--font-title);
  font-size: 2rem;
  color: #1a2b4a;
  font-weight: 700;
}
.login-logo p {
  color: #718096;
  font-size: 0.85rem;
  margin-top: 4px;
}
.login-divider {
  text-align: center;
  margin: 24px 0;
  position: relative;
}
.login-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: #e2e8f0;
}
.login-divider span {
  background: #fff;
  padding: 0 12px;
  color: #a0aec0;
  font-size: 0.78rem;
  position: relative;
}

/* ── Print ── */
@media print {
  .sidebar, .topbar, .chat-widget { display: none !important; }
  .main-content { margin-left: 0; }
  .page-content { padding: 0; }
}

/* ── Animations ── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-in { animation: fadeInUp 0.35s ease; }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: #f0f4f8; }
::-webkit-scrollbar-thumb { background: #cbd5e0; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #a0aec0; }
