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

:root {
  --primary: #1a3c5e;
  --primary-light: #2a5c8e;
  --accent: #c4941a;
  --accent-light: #d4a642;
  --success: #2ecc71;
  --danger: #e74c3c;
  --warning: #f39c12;
  --bg: #f4f1eb;
  --bg-card: #ffffff;
  --text: #1a1a2e;
  --text-muted: #6b7280;
  --border: #e2d9c8;
  --shadow: 0 4px 24px rgba(26,60,94,0.10);
  --shadow-lg: 0 8px 40px rgba(26,60,94,0.16);
  --radius: 16px;
  --radius-sm: 8px;
  --font-display: 'Playfair Display', serif;
  --font-body: 'DM Sans', sans-serif;
  --sidebar-width: 260px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

/* ── UTILITIES ── */
.hidden { display: none !important; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }
.w-full { width: 100%; }
.text-muted { color: var(--text-muted); font-size: 0.875rem; }
.text-sm { font-size: 0.875rem; }
.font-bold { font-weight: 700; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mb-2 { margin-bottom: 16px; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px; border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 0.9rem; font-weight: 600;
  cursor: pointer; border: none; transition: all 0.2s;
  text-decoration: none;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-light); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-light); color: var(--text); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-ghost:hover { background: var(--primary); color: #fff; }
.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover { opacity: 0.85; }
.btn-sm { padding: 6px 14px; font-size: 0.8rem; }
.btn-block { width: 100%; justify-content: center; }

/* ── FORM ELEMENTS ── */
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 600; font-size: 0.875rem; margin-bottom: 6px; color: var(--text); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 11px 14px; border: 2px solid var(--border);
  border-radius: var(--radius-sm); font-family: var(--font-body); font-size: 0.9rem;
  background: #fff; color: var(--text); transition: border-color 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--primary); }
.form-group textarea { resize: vertical; min-height: 90px; }
.form-hint { font-size: 0.78rem; color: var(--text-muted); margin-top: 4px; }

/* ── CARDS ── */
.card {
  background: var(--bg-card); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 24px;
  border: 1px solid var(--border);
}
.card-title {
  font-family: var(--font-display); font-size: 1.2rem;
  font-weight: 700; color: var(--primary); margin-bottom: 16px;
  padding-bottom: 12px; border-bottom: 2px solid var(--border);
}

/* ── BADGE ── */
.badge {
  display: inline-block; padding: 3px 10px; border-radius: 99px;
  font-size: 0.75rem; font-weight: 600;
}
.badge-blue { background: #dbeafe; color: #1e40af; }
.badge-green { background: #dcfce7; color: #166534; }
.badge-yellow { background: #fef9c3; color: #854d0e; }
.badge-red { background: #fee2e2; color: #991b1b; }
.badge-gray { background: #f3f4f6; color: #374151; }

/* ── ALERT ── */
.alert {
  padding: 12px 16px; border-radius: var(--radius-sm);
  font-size: 0.875rem; margin-bottom: 16px; display: flex; align-items: center; gap: 8px;
}
.alert-success { background: #dcfce7; color: #166534; border: 1px solid #bbf7d0; }
.alert-error { background: #fee2e2; color: #991b1b; border: 1px solid #fecaca; }
.alert-info { background: #dbeafe; color: #1e40af; border: 1px solid #bfdbfe; }

/* ── TABLE ── */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th { background: var(--primary); color: #fff; font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; padding: 12px 16px; text-align: left; }
td { padding: 12px 16px; border-bottom: 1px solid var(--border); font-size: 0.875rem; }
tr:hover td { background: #f9f5ef; }

/* ── SIDEBAR LAYOUT ── */
.app-layout {
  display: flex; min-height: 100vh;
}

.sidebar {
  width: var(--sidebar-width); background: var(--primary);
  display: flex; flex-direction: column;
  position: fixed; top: 0; left: 0; height: 100vh;
  overflow-y: auto; z-index: 100;
  transition: transform 0.3s;
}

.sidebar-logo {
  padding: 28px 24px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.sidebar-logo h2 {
  font-family: var(--font-display); color: #fff;
  font-size: 1.3rem; font-weight: 900; line-height: 1.2;
}
.sidebar-logo span { color: var(--accent); }
.sidebar-logo p { color: rgba(255,255,255,0.5); font-size: 0.75rem; margin-top: 4px; }

.sidebar-nav { padding: 16px 12px; flex: 1; }
.nav-label { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: rgba(255,255,255,0.4); padding: 12px 12px 6px; }
.nav-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: var(--radius-sm);
  color: rgba(255,255,255,0.75); font-size: 0.9rem; font-weight: 500;
  cursor: pointer; text-decoration: none; transition: all 0.15s;
  margin-bottom: 2px;
}
.nav-item:hover { background: rgba(255,255,255,0.1); color: #fff; }
.nav-item.active { background: var(--accent); color: #fff; }
.nav-item svg { flex-shrink: 0; }

.sidebar-user {
  padding: 16px; border-top: 1px solid rgba(255,255,255,0.12);
  display: flex; align-items: center; gap: 10px;
}
.user-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--accent); display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; color: #fff; font-size: 0.9rem;
  flex-shrink: 0;
}
.user-info { flex: 1; min-width: 0; }
.user-info strong { display: block; font-size: 0.85rem; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.user-info span { font-size: 0.72rem; color: rgba(255,255,255,0.5); }
.logout-btn { background: none; border: none; cursor: pointer; color: rgba(255,255,255,0.5); padding: 4px; border-radius: 4px; transition: color 0.2s; }
.logout-btn:hover { color: var(--danger); }

/* ── MAIN CONTENT ── */
.main-content {
  margin-left: var(--sidebar-width);
  flex: 1; padding: 32px;
  min-height: 100vh;
}

.page-header {
  margin-bottom: 28px;
}
.page-header h1 {
  font-family: var(--font-display); font-size: 2rem; font-weight: 900;
  color: var(--primary); line-height: 1.1;
}
.page-header p { color: var(--text-muted); margin-top: 4px; }

/* ── STATS GRID ── */
.stats-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px; margin-bottom: 28px;
}
.stat-card {
  background: var(--bg-card); border-radius: var(--radius);
  padding: 20px 24px; box-shadow: var(--shadow);
  border: 1px solid var(--border); display: flex; align-items: center; gap: 16px;
}
.stat-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.stat-icon.blue { background: #dbeafe; color: #1e40af; }
.stat-icon.green { background: #dcfce7; color: #166534; }
.stat-icon.yellow { background: #fef9c3; color: #854d0e; }
.stat-icon.red { background: #fee2e2; color: #991b1b; }
.stat-info strong { font-size: 1.8rem; font-weight: 800; color: var(--primary); font-family: var(--font-display); }
.stat-info span { font-size: 0.8rem; color: var(--text-muted); display: block; }

/* ── DASHBOARD GRID ── */
.dash-grid {
  display: grid; gap: 24px;
  grid-template-columns: 1fr 1fr;
}
.dash-grid .full { grid-column: 1 / -1; }

/* ── TABS ── */
.tabs { display: flex; gap: 4px; margin-bottom: 20px; background: var(--border); padding: 4px; border-radius: var(--radius-sm); width: fit-content; }
.tab-btn {
  padding: 8px 18px; border-radius: 6px; border: none;
  font-family: var(--font-body); font-size: 0.875rem; font-weight: 600;
  cursor: pointer; background: transparent; color: var(--text-muted); transition: all 0.2s;
}
.tab-btn.active { background: #fff; color: var(--primary); box-shadow: var(--shadow); }

/* ── MESSAGES ── */
.message-list { display: flex; flex-direction: column; gap: 12px; max-height: 400px; overflow-y: auto; padding-right: 4px; }
.message-bubble {
  padding: 12px 16px; border-radius: var(--radius-sm);
  font-size: 0.875rem; max-width: 80%;
}
.message-bubble.sent { background: var(--primary); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.message-bubble.received { background: #f3f4f6; color: var(--text); align-self: flex-start; border-bottom-left-radius: 4px; }
.message-bubble .msg-meta { font-size: 0.72rem; opacity: 0.65; margin-top: 4px; }
.message-compose { display: flex; gap: 8px; margin-top: 12px; }
.message-compose input { flex: 1; padding: 10px 14px; border: 2px solid var(--border); border-radius: var(--radius-sm); font-family: var(--font-body); font-size: 0.875rem; outline: none; }
.message-compose input:focus { border-color: var(--primary); }

/* ── ASSIGNMENT ITEM ── */
.assignment-item {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 14px 0; border-bottom: 1px solid var(--border);
}
.assignment-item:last-child { border-bottom: none; }
.assignment-icon { width: 40px; height: 40px; border-radius: 10px; background: #dbeafe; color: #1e40af; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.assignment-meta strong { font-size: 0.9rem; color: var(--text); }
.assignment-meta p { font-size: 0.78rem; color: var(--text-muted); }

/* ── PERFORMANCE CHART PLACEHOLDER ── */
.perf-bar-wrap { display: flex; flex-direction: column; gap: 10px; }
.perf-bar-item {
  /* placeholder for future styling */
  margin-bottom: 8px;
}
.perf-bar-label { display: flex; justify-content: space-between; font-size: 0.8rem; margin-bottom: 4px; }
.perf-bar { background: var(--border); border-radius: 99px; height: 10px; overflow: hidden; }
.perf-bar-fill { height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--primary), var(--accent)); transition: width 0.8s ease; }

/* ── MODAL ── */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.5);
  display: flex; align-items: center; justify-content: center;
  z-index: 200; padding: 16px;
}
.modal {
  background: #fff; border-radius: var(--radius); padding: 32px;
  width: 100%; max-width: 520px; max-height: 90vh; overflow-y: auto;
  box-shadow: var(--shadow-lg);
}
.modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.modal-title { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; color: var(--primary); }
.modal-close { background: none; border: none; font-size: 1.4rem; cursor: pointer; color: var(--text-muted); line-height: 1; }

/* ── LOGIN PAGE ── */
.login-page {
  min-height: 100vh; display: flex;
  background: linear-gradient(135deg, var(--primary) 0%, #0f2440 100%);
}
.login-left {
  flex: 1; display: flex; flex-direction: column; justify-content: center;
  padding: 60px; color: #fff;
}
.login-left h1 { font-family: var(--font-display); font-size: 3rem; font-weight: 900; line-height: 1.1; }
.login-left h1 span { color: var(--accent); }
.login-left p { color: rgba(255,255,255,0.65); margin-top: 16px; font-size: 1.05rem; max-width: 380px; }
.login-features { margin-top: 40px; display: flex; flex-direction: column; gap: 14px; }
.login-feature { display: flex; align-items: center; gap: 12px; font-size: 0.9rem; color: rgba(255,255,255,0.75); }
.login-feature-icon { width: 32px; height: 32px; border-radius: 8px; background: rgba(232,160,32,0.25); display: flex; align-items: center; justify-content: center; color: var(--accent); flex-shrink: 0; }
.login-right {
  width: 440px; background: var(--bg); display: flex;
  align-items: center; justify-content: center; padding: 40px;
}
.login-box { width: 100%; }
.login-box h2 { font-family: var(--font-display); font-size: 1.8rem; font-weight: 900; color: var(--primary); margin-bottom: 6px; }
.login-box p { color: var(--text-muted); font-size: 0.875rem; margin-bottom: 28px; }
.role-toggle { display: flex; gap: 4px; background: var(--border); padding: 4px; border-radius: var(--radius-sm); margin-bottom: 24px; }
.role-btn { flex: 1; padding: 8px; border: none; border-radius: 6px; font-family: var(--font-body); font-weight: 600; font-size: 0.85rem; cursor: pointer; background: transparent; color: var(--text-muted); transition: all 0.2s; }
.role-btn.active { background: var(--primary); color: #fff; }

/* ── LANDING ── */
.landing-nav {
  position: fixed; top: 0; width: 100%; z-index: 100;
  background: rgba(255,255,255,0.95); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  padding: 0 40px; height: 70px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-brand { font-family: var(--font-display); font-size: 1.3rem; font-weight: 900; color: var(--primary); }
.nav-brand span { color: var(--accent); }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { color: var(--text-muted); text-decoration: none; font-size: 0.9rem; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--primary); }

.hero {
  padding: 140px 40px 80px;
  background: linear-gradient(135deg, #f4f1eb 0%, #e8e0d0 100%);
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; right: -100px; top: -100px;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(232,160,32,0.12) 0%, transparent 70%);
}
.hero-content { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-text h1 { font-family: var(--font-display); font-size: 3.5rem; font-weight: 900; line-height: 1.05; color: var(--primary); }
.hero-text h1 span { color: var(--accent); }
.hero-text p { font-size: 1.1rem; color: var(--text-muted); margin-top: 20px; max-width: 480px; }
.hero-cta { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.hero-image-box {
  background: var(--primary); border-radius: 24px; padding: 40px;
  display: flex; flex-direction: column; gap: 16px;
  box-shadow: var(--shadow-lg);
}
.hero-stat { background: rgba(255,255,255,0.08); border-radius: 12px; padding: 16px 20px; display: flex; align-items: center; gap: 14px; }
.hero-stat-icon { font-size: 1.5rem; }
.hero-stat strong { color: #fff; font-size: 1.1rem; }
.hero-stat span { color: rgba(255,255,255,0.5); font-size: 0.78rem; }

.section { padding: 80px 40px; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-label { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--accent); margin-bottom: 10px; }
.section-title { font-family: var(--font-display); font-size: 2.4rem; font-weight: 900; color: var(--primary); margin-bottom: 16px; }
.section-sub { color: var(--text-muted); max-width: 520px; }

.courses-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: 24px; margin-top: 40px; }
.course-card { background: #fff; border-radius: var(--radius); border: 1px solid var(--border); padding: 28px; transition: all 0.25s; }
.course-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.course-grade { display: inline-block; background: var(--primary); color: #fff; font-size: 0.75rem; font-weight: 700; padding: 4px 12px; border-radius: 99px; margin-bottom: 14px; }
.course-card h3 { font-family: var(--font-display); font-size: 1.2rem; color: var(--primary); margin-bottom: 8px; }
.course-card p { color: var(--text-muted); font-size: 0.875rem; }
.course-card .price { font-size: 1.4rem; font-weight: 800; color: var(--accent); margin-top: 16px; font-family: var(--font-display); }
.course-card .price span { font-size: 0.75rem; font-weight: 400; color: var(--text-muted); }

.tutors-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap: 24px; margin-top: 40px; }
.tutor-card { background: #fafafa; border-radius: var(--radius); border: 1px solid var(--border); padding: 28px; text-align: center; transition: all 0.25s; }
.tutor-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.tutor-avatar { width: 80px; height: 80px; border-radius: 50%; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 1.8rem; font-weight: 900; margin: 0 auto 16px; }
.tutor-card h3 { font-family: var(--font-display); font-size: 1.2rem; color: var(--primary); }
.tutor-card .subject { color: var(--accent); font-weight: 600; font-size: 0.875rem; margin-top: 4px; }
.tutor-card p { color: var(--text-muted); font-size: 0.85rem; margin-top: 10px; }

.footer { background: var(--primary); color: rgba(255,255,255,0.7); padding: 40px; text-align: center; }
.footer strong { color: #fff; }

/* ── NOTIFICATION BELL ── */
.notif-count { background: var(--danger); color: #fff; border-radius: 99px; font-size: 0.65rem; font-weight: 700; padding: 1px 5px; position: absolute; top: -4px; right: -4px; }
.notif-rel { position: relative; display: inline-block; }

/* ── MOBILE MENU TOGGLE ── */
.mobile-menu-btn {
  display: none;
  position: fixed; top: 14px; left: 14px; z-index: 300;
  width: 42px; height: 42px; border-radius: 10px;
  background: var(--primary); border: none; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
}
.mobile-menu-btn span {
  display: block; width: 20px; height: 2px;
  background: #fff; border-radius: 2px; transition: all 0.3s;
}
.mobile-menu-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-btn.open span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.sidebar-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.5); z-index: 99;
}
.sidebar-overlay.visible { display: block; }

/* ══════════════════════════════════════
   RESPONSIVE — TABLET (max 900px)
══════════════════════════════════════ */
@media (max-width: 900px) {
  .sidebar { transform: translateX(-100%); transition: transform 0.3s ease; z-index: 100; }
  .sidebar.open { transform: translateX(0); }
  .mobile-menu-btn { display: flex; }
  .main-content { margin-left: 0; padding: 72px 16px 28px; }
  .dash-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .page-header { margin-bottom: 20px; }
  .page-header h1 { font-size: 1.6rem; }
  .page-header.flex { flex-direction: column; align-items: flex-start; gap: 12px; }
  .page-header.flex .btn { width: 100%; justify-content: center; }
  .card { padding: 16px; border-radius: 12px; }
  .card-title { font-size: 1rem; padding-bottom: 10px; }
  .table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  table { min-width: 560px; }
  th, td { padding: 10px 12px; font-size: 0.78rem; white-space: nowrap; }
  .tabs { overflow-x: auto; width: 100%; }
  .btn { font-size: 0.82rem; padding: 9px 14px; }
  .btn-sm { padding: 6px 10px; font-size: 0.76rem; }
  .login-left { display: none; }
  .login-right { width: 100%; padding: 28px 20px; }
  .login-box h2 { font-size: 1.5rem; }
  .stat-card { padding: 14px 16px; gap: 10px; }
  .stat-icon { width: 38px; height: 38px; border-radius: 10px; }
  .stat-info strong { font-size: 1.4rem; }
  .stat-info span { font-size: 0.7rem; }
  .assignment-item { flex-wrap: wrap; gap: 8px; }
  .modal-overlay { padding: 0; align-items: flex-end; }
  .modal { border-radius: 20px 20px 0 0; max-height: 92vh; padding: 20px; }
  .msg-layout { grid-template-columns: 1fr !important; height: auto !important; }
  .chat-layout { grid-template-columns: 1fr !important; height: auto !important; }
  .perf-bar-label { font-size: 0.75rem; }
  .dash-grid .full { grid-column: 1; }
}

/* ══════════════════════════════════════
   RESPONSIVE — MOBILE (max 600px)
══════════════════════════════════════ */
@media (max-width: 600px) {
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat-card { flex-direction: column; text-align: center; padding: 16px 10px; gap: 6px; }
  .stat-icon { margin: 0 auto; width: 36px; height: 36px; }
  .stat-info strong { font-size: 1.6rem; }
  .page-header h1 { font-size: 1.35rem; }
  .card-title { font-size: 0.95rem; }
  .tab-btn { padding: 7px 10px; font-size: 0.74rem; }
  td .flex { flex-wrap: wrap; gap: 4px; }
  .message-bubble { max-width: 90%; font-size: 0.84rem; }
  .form-group input, .form-group select, .form-group textarea { font-size: 16px; }
  .modal { padding: 16px; }
  .modal-title { font-size: 1.15rem; }
  .user-avatar { width: 32px !important; height: 32px !important; font-size: 0.72rem !important; }
}

/* ══════════════════════════════════════
   EMPTY STATE / SPINNER
══════════════════════════════════════ */
.empty-state { text-align: center; padding: 48px 24px; color: var(--text-muted); }
.empty-state p { font-size: 0.9rem; }
.spinner { border: 3px solid var(--border); border-top-color: var(--primary); border-radius: 50%; width: 28px; height: 28px; animation: spin 0.7s linear infinite; margin: 0 auto; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ══════════════════════════════════════
   CONVERSATIONS / MESSAGES
══════════════════════════════════════ */
.conv-list { display: flex; flex-direction: column; gap: 4px; }
.conv-item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: var(--radius-sm); cursor: pointer; transition: background 0.15s; }
.conv-item:hover, .conv-item.active { background: #f3f4f6; }
.conv-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.85rem; flex-shrink: 0; }
.conv-info strong { font-size: 0.875rem; color: var(--text); display: block; }
.conv-info span { font-size: 0.75rem; color: var(--text-muted); }
.unread-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); margin-left: auto; flex-shrink: 0; }

/* FILE DROP */
.file-drop {
  border: 2px dashed var(--border); border-radius: var(--radius-sm);
  padding: 28px; text-align: center; cursor: pointer; transition: all 0.2s; background: #fafafa;
}
.file-drop:hover { border-color: var(--primary); background: #f0f4ff; }
.file-drop p { color: var(--text-muted); font-size: 0.875rem; margin-top: 8px; }

/* ══════════════════════════════════════
   END OF STYLES
══════════════════════════════════════ */
