/* 🏝️ Vacation Portal – thenet.at Transfer-Style Design */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  --bg: #f5f8ff;
  --surface: #ffffff;
  --text: #122033;
  --muted: #5f6f89;
  --line: #dbe5f5;
  --brand: #0d5bd7;
  --brand2: #0b3f99;
  --accent: #0fbf9f;
  --dark: #081a3a;
  --navy: #0a1d44;
  --navy-light: #122c5e;
  --danger: #e53e3e;
  --warning: #dd6b20;
  --success: #38a169;
  --info: #3182ce;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
  --shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.04);
  --shadow-lg: 0 10px 15px rgba(0,0,0,0.08), 0 4px 6px rgba(0,0,0,0.04);
  --shadow-xl: 0 20px 25px rgba(0,0,0,0.1), 0 8px 10px rgba(0,0,0,0.04);
  --radius: 14px;
  --radius-sm: 8px;
  --radius-lg: 20px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  margin: 0;
  line-height: 1.6;
}

/* ===== LAYOUT ===== */
.layout-wrapper { display: flex; min-height: 100vh; }

/* ===== SIDEBAR ===== */
.sidebar {
  width: 260px;
  background: var(--surface);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  z-index: 100;
  transition: transform 0.3s ease;
}
.sidebar-logo {
  padding: 20px 24px 16px;
  border-bottom: 1px solid var(--line);
}
.sidebar-logo a {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.sidebar-logo .logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
}
.sidebar-logo .logo-text {
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.5px;
}
.sidebar-logo .logo-text span { color: var(--accent); }
.sidebar-nav { flex: 1; padding: 12px 8px; overflow-y: auto; }
.sidebar-section {
  padding: 12px 16px 4px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  border-radius: 10px;
  transition: all 0.15s ease;
  margin-bottom: 2px;
}
.nav-item i {
  width: 20px;
  text-align: center;
  font-size: 16px;
  flex-shrink: 0;
}
.nav-item:hover {
  background: var(--bg);
  color: var(--brand);
}
.nav-item.active {
  background: #eef2ff;
  color: var(--brand);
  font-weight: 600;
}
.nav-item.active i { color: var(--brand); }

/* ===== SIDEBAR USER FOOTER ===== */
.sidebar-footer {
  padding: 16px;
  border-top: 1px solid var(--line);
}
.sidebar-user {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 10px;
  background: var(--bg);
}
.sidebar-user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}
.sidebar-user-info { flex: 1; min-width: 0; }
.sidebar-user-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sidebar-user-role {
  font-size: 11px;
  color: var(--muted);
}
.sidebar-user .dropdown-toggle {
  color: var(--muted);
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
  transition: background 0.15s;
}
.sidebar-user .dropdown-toggle:hover { background: var(--line); }

/* ===== SIDEBAR TOGGLE ===== */
.sidebar-toggle {
  display: none;
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 101;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--text);
}

/* ===== OVERLAY ===== */
.sidebar-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.3);
  z-index: 99;
}

/* ===== TOPBAR ===== */
.topbar {
  background: var(--navy);
  padding: 0 32px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 50;
}
.topbar-left { display: flex; align-items: center; gap: 16px; }
.topbar-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: rgba(255,255,255,0.6);
}
.topbar-breadcrumb a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
}
.topbar-breadcrumb a:hover { color: #fff; }
.topbar-breadcrumb .current {
  color: #fff;
  font-weight: 600;
}
.topbar-right { display: flex; align-items: center; gap: 12px; }

/* ===== LANG SWITCHER ===== */
.lang-switcher {
  display: flex;
  gap: 2px;
  background: rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 3px;
}
.lang-btn {
  padding: 5px 10px;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: rgba(255,255,255,0.5);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
  text-decoration: none;
}
.lang-btn:hover { color: rgba(255,255,255,0.8); }
.lang-btn.active {
  background: rgba(255,255,255,0.15);
  color: #fff;
}
.topbar-logout {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 13px;
  transition: all 0.15s;
}
.topbar-logout:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
}

/* ===== MAIN CONTENT ===== */
.main-content {
  flex: 1;
  margin-left: 260px;
  min-height: 100vh;
}
.page-content {
  padding: 28px 32px;
  max-width: 1280px;
}

/* ===== PAGE HEADER ===== */
.page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}
.page-header h1 {
  font-size: 24px;
  font-weight: 700;
  margin: 0;
  color: var(--text);
  letter-spacing: -0.3px;
}
.page-header p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 14px;
}
.page-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

/* ===== CARDS ===== */
.card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  transition: box-shadow 0.2s, border-color 0.2s;
}
.card-hover:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--brand);
}
.card-header {
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  font-weight: 600;
  font-size: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.card-body { padding: 20px; }

/* ===== STAT CARDS ===== */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}
.stat-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}
.stat-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}
.stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
}
.stat-card.brand::before { background: var(--brand); }
.stat-card.accent::before { background: var(--accent); }
.stat-card.info::before { background: var(--info); }
.stat-card.danger::before { background: var(--danger); }
.stat-card.warning::before { background: var(--warning); }
.stat-card.success::before { background: var(--success); }
.stat-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  margin-bottom: 14px;
}
.stat-card.brand .stat-icon { background: #eef2ff; color: var(--brand); }
.stat-card.accent .stat-icon { background: #e6fffa; color: var(--accent); }
.stat-card.info .stat-icon { background: #ebf8ff; color: var(--info); }
.stat-card.danger .stat-icon { background: #fff5f5; color: var(--danger); }
.stat-card.warning .stat-icon { background: #fffaf0; color: var(--warning); }
.stat-card.success .stat-icon { background: #f0fff4; color: var(--success); }
.stat-num { font-size: 28px; font-weight: 800; line-height: 1; letter-spacing: -0.5px; }
.stat-label { font-size: 13px; color: var(--muted); margin-top: 6px; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 18px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 600;
  cursor: pointer; transition: all 0.15s ease;
  border: 1px solid transparent; text-decoration: none;
  line-height: 1.4; white-space: nowrap;
}
.btn:focus { outline: 2px solid var(--brand); outline-offset: 2px; }
.btn-primary { background: var(--brand); color: #fff; border-color: var(--brand); }
.btn-primary:hover { background: var(--brand2); box-shadow: var(--shadow-md); }
.btn-accent { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-accent:hover { background: #0da88b; }
.btn-outline { background: transparent; color: var(--brand); border-color: var(--brand); }
.btn-outline:hover { background: #eef2ff; }
.btn-ghost { background: transparent; color: var(--muted); border-color: transparent; }
.btn-ghost:hover { background: var(--bg); color: var(--text); }
.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover { background: #c53030; }
.btn-sm { padding: 6px 12px; font-size: 13px; }
.btn-lg { padding: 12px 28px; font-size: 16px; }
.btn-icon { width: 36px; height: 36px; padding: 0; justify-content: center; }

/* ===== FORM ===== */
.form-group { margin-bottom: 18px; }
.form-label {
  display: block; font-size: 13px;
  font-weight: 600; color: var(--text);
  margin-bottom: 6px;
}
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 11px 14px;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font-size: 14px; font-family: inherit; color: var(--text);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  background: var(--surface);
}
.form-input::placeholder, .form-textarea::placeholder { color: #b0bccd; }
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none; border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(13, 91, 215, 0.12);
}
.form-textarea { min-height: 100px; resize: vertical; }
.form-hint { font-size: 12px; color: var(--muted); margin-top: 4px; }
.form-error { font-size: 12px; color: var(--danger); margin-top: 4px; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ===== BADGES ===== */
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 10px; border-radius: 9999px;
  font-size: 12px; font-weight: 600;
  white-space: nowrap;
}
.badge-planning { background: #fefcbf; color: #975a16; }
.badge-booked { background: #bee3f8; color: #2a4365; }
.badge-ongoing { background: #c6f6d5; color: #276749; }
.badge-completed { background: #edf2f7; color: #4a5568; }
.badge-cancelled { background: #fed7d7; color: #9b2c2c; }
.badge-admin { background: #e9d8fd; color: #6b46c1; }
.badge-user { background: #bee3f8; color: #2b6cb0; }
.badge-success { background: #c6f6d5; color: #276749; }
.badge-warning { background: #fefcbf; color: #975a16; }
.badge-danger { background: #fed7d7; color: #9b2c2c; }
.badge-info { background: #bee3f8; color: #2a4365; }

/* ===== FLASH MESSAGES ===== */
.flash-messages {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 420px;
}
.flash {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-lg);
  animation: slideIn 0.3s ease;
}
.flash i { font-size: 16px; flex-shrink: 0; }
.flash .flash-close {
  margin-left: auto;
  cursor: pointer;
  opacity: 0.6;
  font-size: 18px;
  line-height: 1;
}
.flash .flash-close:hover { opacity: 1; }
.flash.success { background: #f0fff4; color: #276749; border: 1px solid #c6f6d5; }
.flash.danger, .flash.error { background: #fff5f5; color: #9b2c2c; border: 1px solid #fed7d7; }
.flash.warning { background: #fffaf0; color: #975a16; border: 1px solid #feebc8; }
.flash.info { background: #ebf8ff; color: #2a4365; border: 1px solid #bee3f8; }
@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* ===== MODAL ===== */
.modal-overlay {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(8, 26, 58, 0.4);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  z-index: 1000; padding: 20px;
  opacity: 0; visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
}
.modal-overlay.show { opacity: 1; visibility: visible; }
.modal-content {
  background: var(--surface);
  border-radius: var(--radius-lg);
  max-width: 560px; width: 100%;
  max-height: 85vh; overflow-y: auto;
  box-shadow: var(--shadow-xl);
  transform: scale(0.95) translateY(10px);
  transition: transform 0.2s ease;
}
.modal-overlay.show .modal-content { transform: scale(1) translateY(0); }
.modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  background: var(--surface);
  z-index: 1;
}
.modal-header h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
}
.modal-close {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 20px;
  transition: background 0.15s;
}
.modal-close:hover { background: var(--bg); color: var(--text); }
.modal-body { padding: 24px; }
.modal-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  position: sticky;
  bottom: 0;
  background: var(--surface);
}

/* ===== TABLE ===== */
.table-wrapper { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); }
table.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  background: var(--surface);
}
table.data-table th {
  text-align: left;
  padding: 12px 16px;
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
table.data-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--text);
}
table.data-table tr:last-child td { border-bottom: none; }
table.data-table tr:hover td { background: #f8faff; }
table.data-table tr.clickable { cursor: pointer; }

/* ===== GRID ===== */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

/* ===== WIZARD ===== */
.wizard {
  max-width: 800px;
  margin: 0 auto;
}
.wizard-progress {
  display: flex;
  gap: 0;
  margin-bottom: 32px;
  background: var(--line);
  border-radius: 9999px;
  height: 6px;
  overflow: hidden;
}
.wizard-step-indicator {
  flex: 1;
  height: 100%;
  transition: width 0.5s ease, background 0.3s ease;
}
.wizard-step-indicator.active { background: var(--brand); }
.wizard-step-indicator.done { background: var(--accent); }
.wizard-step {
  display: none;
  animation: fadeIn 0.35s ease;
}
.wizard-step.active { display: block; }
.wizard-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 24px;
  gap: 12px;
}

/* ===== OPTION CARDS ===== */
.option-card {
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  cursor: pointer;
  transition: all 0.2s ease;
  background: var(--surface);
}
.option-card:hover { border-color: var(--brand); box-shadow: var(--shadow-md); }
.option-card.selected {
  border-color: var(--brand);
  background: #f0f4ff;
  box-shadow: 0 0 0 1px var(--brand);
}
.option-card .price {
  font-size: 20px;
  font-weight: 700;
  color: var(--brand);
}
.option-card .rating { color: #dd6b20; }
.option-card .saving {
  font-size: 12px;
  background: #c6f6d5;
  color: #276749;
  padding: 2px 8px;
  border-radius: 6px;
  font-weight: 600;
}

/* ===== EMPTY STATE ===== */
.empty-state {
  text-align: center;
  padding: 60px 24px;
}
.empty-state i {
  font-size: 48px;
  color: var(--muted);
  margin-bottom: 16px;
  opacity: 0.5;
}
.empty-state h3 {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 18px;
}
.empty-state p {
  margin: 0 0 20px;
  color: #b0bccd;
  font-size: 14px;
}

/* ===== GALLERY ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
  background: var(--line);
  transition: transform 0.2s;
}
.gallery-item:hover { transform: scale(1.02); }
.gallery-item img, .gallery-item video {
  width: 100%; height: 100%;
  object-fit: cover;
}
.gallery-item .overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 12px;
  background: linear-gradient(transparent, rgba(8,26,58,0.7));
  color: #fff;
  font-size: 12px;
  opacity: 0;
  transition: opacity 0.2s;
}
.gallery-item:hover .overlay { opacity: 1; }
.gallery-item .delete-btn {
  position: absolute;
  top: 8px; right: 8px;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(0,0,0,0.5);
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s;
}
.gallery-item:hover .delete-btn { opacity: 1; }
.gallery-item .delete-btn:hover { background: rgba(229,62,62,0.8); }

/* ===== UPLOAD ZONE ===== */
.upload-zone {
  border: 2px dashed var(--line);
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  background: var(--surface);
}
.upload-zone:hover, .upload-zone.dragover {
  border-color: var(--brand);
  background: #f0f4ff;
}
.upload-zone i { font-size: 36px; color: var(--muted); margin-bottom: 8px; }
.upload-zone strong { color: var(--text); }
.upload-zone p { font-size: 13px; color: var(--muted); margin: 4px 0 0; }

/* ===== LOGIN PAGE ===== */
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--dark) 100%);
  padding: 20px;
}
.login-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 40px;
  width: 100%;
  max-width: 420px;
  box-shadow: var(--shadow-xl);
}
.login-logo {
  text-align: center;
  margin-bottom: 32px;
}
.login-logo .logo-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 28px;
  margin-bottom: 12px;
}
.login-logo h1 {
  font-size: 22px;
  font-weight: 800;
  margin: 0;
  color: var(--text);
}
.login-logo p {
  color: var(--muted);
  font-size: 14px;
  margin: 4px 0 0;
}

/* ===== CHAT ===== */
.chat-container { display: flex; gap: 20px; }
.chat-main { flex: 1; min-width: 0; }
.chat-sidebar { width: 280px; flex-shrink: 0; }
.chat-messages {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  height: 450px;
  overflow-y: auto;
  padding: 20px;
  margin-bottom: 16px;
}
.chat-msg { margin-bottom: 16px; }
.chat-msg.user { display: flex; justify-content: flex-end; }
.chat-msg.ai { display: flex; justify-content: flex-start; }
.chat-bubble {
  max-width: 75%;
  padding: 12px 18px;
  border-radius: 18px;
  font-size: 14px;
  line-height: 1.5;
  white-space: pre-wrap;
}
.chat-msg.user .chat-bubble {
  background: var(--brand);
  color: #fff;
  border-bottom-right-radius: 4px;
}
.chat-msg.ai .chat-bubble {
  background: var(--bg);
  color: var(--text);
  border-bottom-left-radius: 4px;
  border: 1px solid var(--line);
}
.chat-input-bar {
  display: flex;
  gap: 10px;
}
.chat-input-bar input {
  flex: 1;
  padding: 12px 16px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  font-size: 15px;
  font-family: inherit;
}
.chat-input-bar input:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(13,91,215,0.12);
}
.suggestion-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.suggestion-chip {
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--brand);
  border-radius: 9999px;
  padding: 6px 16px;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.15s;
}
.suggestion-chip:hover {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}
.conv-item {
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 13px;
  margin-bottom: 4px;
  transition: background 0.15s;
}
.conv-item:hover { background: var(--bg); }
.conv-item.active { background: #eef2ff; font-weight: 600; color: var(--brand); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .chat-sidebar { display: none; }
}
@media (max-width: 768px) {
  .sidebar { transform: translateX(-100%); }
  .sidebar.open { transform: translateX(0); }
  .sidebar-toggle { display: flex; }
  .sidebar-overlay.open { display: block; }
  .main-content { margin-left: 0; }
  .topbar { padding: 0 16px; padding-left: 60px; }
  .page-content { padding: 20px 16px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .chat-container { flex-direction: column; }
  .chat-sidebar { width: 100%; display: block; }
  .page-header { flex-direction: column; align-items: flex-start; }
  .page-actions { width: 100%; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .stat-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .login-card { padding: 24px; }
}

/* ===== ANIMATIONS ===== */
.fade-in { animation: fadeIn 0.3s ease; }
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== UTILITY ===== */
.text-brand { color: var(--brand); }
.text-accent { color: var(--accent); }
.text-muted { color: var(--muted); }
.text-danger { color: var(--danger); }
.text-success { color: var(--success); }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-1 { gap: 4px; } .gap-2 { gap: 8px; } .gap-3 { gap: 12px; } .gap-4 { gap: 16px; }
.mt-2 { margin-top: 8px; } .mt-4 { margin-top: 16px; } .mt-6 { margin-top: 24px; }
.mb-4 { margin-bottom: 16px; }
.text-center { text-align: center; }
.w-full { width: 100%; }
