/* VICARE CRM — Design System */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,400&family=DM+Mono:wght@400;500&display=swap');

:root {
  --teal:        #0F6E56;
  --teal-lt:     #1D9E75;
  --teal-pale:   #5DCAA5;
  --teal-bg:     #E1F5EE;
  --teal-bg2:    #9FE1CB;
  --navy:        #0D2137;
  --slate:       #1E3A52;
  --slate-lt:    #2D5070;
  --blue:        #185FA5;
  --blue-bg:     #E6F1FB;
  --amber:       #BA7517;
  --amber-bg:    #FAEEDA;
  --coral:       #993C1D;
  --coral-bg:    #FAECE7;
  --purple:      #534AB7;
  --purple-bg:   #EEEDFE;
  --red:         #A32D2D;
  --red-bg:      #FCEBEB;
  --green:       #3B6D11;
  --green-bg:    #EAF3DE;
  --text:        #0D2137;
  --text-2:      #3D5166;
  --text-3:      #6B7A8D;
  --border:      #D4DDE6;
  --border-2:    #B8C6D4;
  --surface:     #F4F7FA;
  --surface-2:   #EBF0F5;
  --white:       #FFFFFF;
  --sidebar-w:   220px;
  --topbar-h:    60px;
  --radius:      10px;
  --radius-lg:   14px;
  --shadow-sm:   0 1px 4px rgba(0,0,0,0.07);
  --shadow:      0 4px 16px rgba(0,0,0,0.09);
  --shadow-lg:   0 12px 40px rgba(0,0,0,0.14);
  --font:        'DM Sans', sans-serif;
  --mono:        'DM Mono', monospace;
  --transition:  0.18s ease;
}

*, *::before, *::after { box-sizing:border-box; margin:0; padding:0; }
html { height:100%; }
body {
  font-family: var(--font);
  background: var(--surface);
  color: var(--text);
  height:100%;
  -webkit-font-smoothing:antialiased;
}
a { color: inherit; text-decoration:none; }
button { font-family: var(--font); cursor:pointer; }
input, select, textarea { font-family: var(--font); }

/* ── LAYOUT ── */
.app-shell { display:flex; height:100vh; overflow:hidden; }

/* ── SIDEBAR ── */
.sidebar {
  width: var(--sidebar-w);
  min-width: var(--sidebar-w);
  background: var(--navy);
  display:flex;
  flex-direction:column;
  overflow-y:auto;
  overflow-x:hidden;
  position:relative;
  z-index:100;
}
.sidebar-logo {
  padding:20px 20px 16px;
  border-bottom:1px solid rgba(255,255,255,0.08);
  display:flex;align-items:center;gap:10px;
}
.logo-icon {
  width:36px;height:36px;
  background:var(--teal);
  border-radius:9px;
  display:flex;align-items:center;justify-content:center;
  flex-shrink:0;
}
.logo-icon svg { width:20px;height:20px;stroke:#fff;fill:none;stroke-width:2; }
.logo-text { flex:1;min-width:0; }
.logo-name { font-size:15px;font-weight:600;color:#fff;letter-spacing:-0.3px;line-height:1.2; }
.logo-ver  { font-size:10px;color:rgba(255,255,255,0.45);letter-spacing:0.5px;text-transform:uppercase; }

.nav-section {
  font-size:9px;font-weight:600;color:rgba(255,255,255,0.3);
  letter-spacing:1.2px;text-transform:uppercase;
  padding:18px 20px 6px;
}
.nav-item {
  display:flex;align-items:center;gap:10px;
  padding:9px 20px;
  font-size:13px;font-weight:400;
  color:rgba(255,255,255,0.55);
  cursor:pointer;
  transition:color var(--transition), background var(--transition);
  position:relative;
  border-radius:0;
  white-space:nowrap;
}
.nav-item svg { width:16px;height:16px;stroke:currentColor;fill:none;stroke-width:1.8;flex-shrink:0; }
.nav-item:hover { color:rgba(255,255,255,0.9);background:rgba(255,255,255,0.05); }
.nav-item.active {
  color:#fff;
  background:rgba(29,158,117,0.18);
}
.nav-item.active::before {
  content:'';position:absolute;left:0;top:0;bottom:0;
  width:3px;background:var(--teal-lt);border-radius:0 2px 2px 0;
}
.nav-badge {
  margin-left:auto;
  background:var(--teal-lt);color:#fff;
  font-size:10px;font-weight:600;
  padding:1px 6px;border-radius:20px;
  min-width:18px;text-align:center;
}
.sidebar-bottom {
  margin-top:auto;
  border-top:1px solid rgba(255,255,255,0.08);
  padding:16px 20px;
}
.user-mini {
  display:flex;align-items:center;gap:10px;cursor:pointer;
}
.user-mini:hover .user-mini-name { color:#fff; }
.user-avatar-sm {
  width:32px;height:32px;border-radius:50%;
  background:var(--teal);
  display:flex;align-items:center;justify-content:center;
  font-size:11px;font-weight:600;color:#fff;flex-shrink:0;
}
.user-mini-name { font-size:13px;color:rgba(255,255,255,0.7);font-weight:500;transition:color var(--transition); }
.user-mini-role { font-size:11px;color:rgba(255,255,255,0.35); }
.logout-btn {
  margin-left:auto;background:none;border:none;
  color:rgba(255,255,255,0.35);padding:4px;
  transition:color var(--transition);
}
.logout-btn:hover { color:rgba(255,255,255,0.8); }
.logout-btn svg { width:16px;height:16px;stroke:currentColor;fill:none;stroke-width:2; }

/* ── MAIN ── */
.main { flex:1;display:flex;flex-direction:column;overflow:hidden;min-width:0; }

/* ── TOPBAR ── */
.topbar {
  height:var(--topbar-h);
  background:var(--white);
  border-bottom:1px solid var(--border);
  display:flex;align-items:center;
  padding:0 24px;gap:16px;
  flex-shrink:0;
}
.topbar-title { font-size:17px;font-weight:600;color:var(--navy);letter-spacing:-0.3px;flex:1; }
.topbar-subtitle { font-size:12px;color:var(--text-3);font-weight:400;margin-left:6px; }
.topbar-actions { display:flex;align-items:center;gap:8px; }
.topbar-search {
  display:flex;align-items:center;gap:8px;
  background:var(--surface);border:1px solid var(--border);
  border-radius:8px;padding:7px 12px;
  width:220px;transition:border var(--transition),width var(--transition);
}
.topbar-search:focus-within { border-color:var(--teal);width:260px; }
.topbar-search svg { width:14px;height:14px;stroke:var(--text-3);fill:none;stroke-width:2;flex-shrink:0; }
.topbar-search input { border:none;background:transparent;outline:none;font-size:13px;color:var(--text);width:100%; }
.topbar-search input::placeholder { color:var(--text-3); }
.icon-btn {
  width:36px;height:36px;
  display:flex;align-items:center;justify-content:center;
  border:1px solid var(--border);border-radius:8px;
  background:var(--white);
  color:var(--text-3);
  transition:all var(--transition);
  position:relative;
}
.icon-btn svg { width:16px;height:16px;stroke:currentColor;fill:none;stroke-width:1.8; }
.icon-btn:hover { border-color:var(--teal);color:var(--teal);background:var(--teal-bg); }
.notif-dot {
  position:absolute;top:6px;right:6px;
  width:7px;height:7px;background:#E24B4A;border-radius:50%;
  border:1.5px solid var(--white);
}

/* ── CONTENT ── */
.content { flex:1;overflow-y:auto;padding:24px; }
.page { display:none; }
.page.active { display:block; animation:fadein 0.2s ease; }
@keyframes fadein { from{opacity:0;transform:translateY(4px)} to{opacity:1;transform:translateY(0)} }

/* ── BUTTONS ── */
.btn {
  display:inline-flex;align-items:center;gap:6px;
  padding:8px 16px;font-size:13px;font-weight:500;
  border-radius:8px;border:none;transition:all var(--transition);
  white-space:nowrap;
}
.btn svg { width:14px;height:14px;stroke:currentColor;fill:none;stroke-width:2; }
.btn-primary { background:var(--teal);color:#fff; }
.btn-primary:hover { background:var(--teal-lt); }
.btn-secondary { background:var(--white);color:var(--text-2);border:1px solid var(--border); }
.btn-secondary:hover { border-color:var(--border-2);background:var(--surface); }
.btn-danger { background:var(--red-bg);color:var(--red);border:1px solid #f0c0c0; }
.btn-danger:hover { background:#f9dcdc; }
.btn-sm { padding:5px 10px;font-size:12px; }
.btn-lg { padding:11px 22px;font-size:14px;border-radius:10px; }

/* ── CARDS ── */
.card {
  background:var(--white);
  border:1px solid var(--border);
  border-radius:var(--radius-lg);
  padding:20px;
}
.card-header {
  display:flex;align-items:center;justify-content:space-between;
  margin-bottom:16px;
}
.card-title { font-size:14px;font-weight:600;color:var(--navy); }
.card-sub   { font-size:12px;color:var(--text-3);margin-top:2px; }

/* ── METRICS ROW ── */
.metrics-row { display:grid;gap:14px;margin-bottom:22px; }
.metrics-row.cols-4 { grid-template-columns:repeat(4,1fr); }
.metrics-row.cols-3 { grid-template-columns:repeat(3,1fr); }
.metric-card {
  background:var(--white);border:1px solid var(--border);
  border-radius:var(--radius-lg);padding:18px 20px;
  transition:box-shadow var(--transition);
}
.metric-card:hover { box-shadow:var(--shadow); }
.metric-label { font-size:11px;font-weight:500;color:var(--text-3);text-transform:uppercase;letter-spacing:0.5px;margin-bottom:6px; }
.metric-value { font-size:26px;font-weight:600;color:var(--navy);letter-spacing:-0.5px;line-height:1; }
.metric-change { font-size:12px;margin-top:6px;display:flex;align-items:center;gap:4px; }
.metric-change.up   { color:var(--teal); }
.metric-change.down { color:var(--red); }
.metric-change svg  { width:13px;height:13px;stroke:currentColor;fill:none;stroke-width:2.5; }
.metric-icon {
  float:right;margin-top:-4px;
  width:36px;height:36px;border-radius:9px;
  display:flex;align-items:center;justify-content:center;
}
.metric-icon svg { width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:2; }

/* ── TAGS / BADGES ── */
.tag {
  display:inline-flex;align-items:center;gap:4px;
  font-size:11px;font-weight:500;
  padding:2px 8px;border-radius:20px;
  white-space:nowrap;
}
.tag-teal   { background:var(--teal-bg);   color:var(--teal);   }
.tag-blue   { background:var(--blue-bg);   color:var(--blue);   }
.tag-amber  { background:var(--amber-bg);  color:var(--amber);  }
.tag-coral  { background:var(--coral-bg);  color:var(--coral);  }
.tag-purple { background:var(--purple-bg); color:var(--purple); }
.tag-green  { background:var(--green-bg);  color:var(--green);  }
.tag-red    { background:var(--red-bg);    color:var(--red);    }
.tag-gray   { background:var(--surface-2); color:var(--text-2); }

.status-dot {
  display:inline-flex;align-items:center;gap:5px;
  font-size:12px;font-weight:500;
}
.status-dot::before {
  content:'';width:7px;height:7px;border-radius:50%;flex-shrink:0;
}
.status-dot.ativo    { color:var(--teal);  } .status-dot.ativo::before   { background:var(--teal-lt); }
.status-dot.prospect { color:var(--blue);  } .status-dot.prospect::before{ background:var(--blue); }
.status-dot.negoc    { color:var(--amber); } .status-dot.negoc::before   { background:var(--amber); }
.status-dot.inativo  { color:var(--text-3);} .status-dot.inativo::before { background:var(--border-2); }
.status-dot.perdido  { color:var(--red);   } .status-dot.perdido::before  { background:var(--red); }

/* ── TABLE ── */
.table-wrap { overflow-x:auto;border-radius:var(--radius-lg);border:1px solid var(--border); }
table { width:100%;border-collapse:collapse;font-size:13px; }
thead th {
  text-align:left;padding:10px 14px;
  font-size:11px;font-weight:600;color:var(--text-3);
  text-transform:uppercase;letter-spacing:0.5px;
  background:var(--surface);
  border-bottom:1px solid var(--border);
  white-space:nowrap;
}
tbody td {
  padding:12px 14px;border-bottom:1px solid var(--border);
  color:var(--text-2);vertical-align:middle;
}
tbody tr:last-child td { border-bottom:none; }
tbody tr:hover td { background:var(--surface); }
tbody tr { transition:background var(--transition);cursor:pointer; }

/* ── AVATAR ── */
.avatar {
  width:32px;height:32px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  font-size:11px;font-weight:600;flex-shrink:0;
}
.av-teal   { background:var(--teal-bg);   color:var(--teal);   }
.av-blue   { background:var(--blue-bg);   color:var(--blue);   }
.av-purple { background:var(--purple-bg); color:var(--purple); }
.av-amber  { background:var(--amber-bg);  color:var(--amber);  }
.av-coral  { background:var(--coral-bg);  color:var(--coral);  }
.av-green  { background:var(--green-bg);  color:var(--green);  }
.av-lg { width:44px;height:44px;font-size:14px; }
.av-xl { width:56px;height:56px;font-size:18px;border-radius:14px; }

/* ── FORM ── */
.form-group { margin-bottom:16px; }
.form-label {
  display:block;font-size:12px;font-weight:500;
  color:var(--text-2);margin-bottom:6px;
}
.form-input, .form-select, .form-textarea {
  width:100%;padding:9px 12px;
  font-size:13px;font-family:var(--font);
  background:var(--surface);border:1px solid var(--border);
  border-radius:8px;color:var(--text);outline:none;
  transition:border var(--transition),box-shadow var(--transition);
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color:var(--teal);
  box-shadow:0 0 0 3px rgba(15,110,86,0.1);
  background:var(--white);
}
.form-textarea { resize:vertical;min-height:80px;line-height:1.5; }
.form-row { display:grid;grid-template-columns:1fr 1fr;gap:14px; }
.form-row-3 { display:grid;grid-template-columns:1fr 1fr 1fr;gap:14px; }

/* ── PROGRESS BAR ── */
.progress { height:5px;background:var(--surface-2);border-radius:3px;overflow:hidden; }
.progress-bar { height:100%;border-radius:3px;transition:width 0.4s ease; }

/* ── MODAL ── */
.modal-overlay {
  display:none;position:fixed;inset:0;
  background:rgba(13,33,55,0.45);backdrop-filter:blur(3px);
  z-index:1000;align-items:center;justify-content:center;padding:20px;
}
.modal-overlay.open { display:flex; }
.modal {
  background:var(--white);border-radius:var(--radius-lg);
  padding:28px;width:100%;max-width:520px;
  max-height:90vh;overflow-y:auto;
  box-shadow:var(--shadow-lg);
  animation:modal-in 0.2s ease;
}
.modal-lg { max-width:700px; }
@keyframes modal-in { from{opacity:0;transform:scale(0.97)translateY(8px)} to{opacity:1;transform:scale(1)translateY(0)} }
.modal-header {
  display:flex;align-items:center;justify-content:space-between;
  margin-bottom:22px;
}
.modal-title { font-size:17px;font-weight:600;color:var(--navy); }
.modal-close {
  width:28px;height:28px;border-radius:6px;
  background:none;border:none;
  color:var(--text-3);font-size:18px;line-height:1;
  display:flex;align-items:center;justify-content:center;
  transition:all var(--transition);
}
.modal-close:hover { background:var(--surface-2);color:var(--text); }
.modal-footer { display:flex;gap:10px;justify-content:flex-end;margin-top:24px;padding-top:20px;border-top:1px solid var(--border); }

/* ── TOAST ── */
#toast-container {
  position:fixed;bottom:24px;right:24px;
  display:flex;flex-direction:column;gap:8px;
  z-index:2000;
}
.toast {
  background:var(--navy);color:#fff;
  padding:12px 18px;border-radius:10px;
  font-size:13px;display:flex;align-items:center;gap:10px;
  box-shadow:var(--shadow-lg);
  animation:toast-in 0.3s ease;
  max-width:320px;
}
.toast.success { background:#0F5F3A; }
.toast.error   { background:#8B1A1A; }
.toast.warn    { background:#7A5200; }
.toast svg { width:16px;height:16px;stroke:currentColor;fill:none;stroke-width:2;flex-shrink:0; }
@keyframes toast-in { from{opacity:0;transform:translateX(20px)} to{opacity:1;transform:translateX(0)} }

/* ── EMPTY STATE ── */
.empty-state {
  text-align:center;padding:60px 20px;color:var(--text-3);
}
.empty-state svg { width:48px;height:48px;stroke:var(--border-2);fill:none;stroke-width:1.5;margin-bottom:16px; }
.empty-state h3 { font-size:15px;font-weight:500;color:var(--text-2);margin-bottom:6px; }
.empty-state p  { font-size:13px;line-height:1.6; }

/* ── TOOLTIP ── */
[data-tip] { position:relative; }
[data-tip]::after {
  content:attr(data-tip);
  position:absolute;bottom:calc(100% + 6px);left:50%;transform:translateX(-50%);
  background:var(--navy);color:#fff;font-size:11px;
  padding:4px 10px;border-radius:6px;white-space:nowrap;
  pointer-events:none;opacity:0;transition:opacity 0.15s;
  z-index:999;
}
[data-tip]:hover::after { opacity:1; }

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width:5px;height:5px; }
::-webkit-scrollbar-track { background:transparent; }
::-webkit-scrollbar-thumb { background:var(--border);border-radius:3px; }
::-webkit-scrollbar-thumb:hover { background:var(--border-2); }

/* ── SECTION HEADER ── */
.section-header { display:flex;align-items:center;justify-content:space-between;margin-bottom:18px; }
.section-title  { font-size:16px;font-weight:600;color:var(--navy); }

/* ── GRID HELPERS ── */
.grid-2 { display:grid;grid-template-columns:1fr 1fr;gap:16px; }
.grid-3 { display:grid;grid-template-columns:1fr 1fr 1fr;gap:16px; }
.flex   { display:flex; }
.flex-col { display:flex;flex-direction:column; }
.gap-8  { gap:8px; }
.gap-12 { gap:12px; }
.gap-16 { gap:16px; }
.items-center { align-items:center; }
.justify-between { justify-content:space-between; }
.ml-auto { margin-left:auto; }
.mt-8  { margin-top:8px; }
.mt-16 { margin-top:16px; }
.mb-16 { margin-bottom:16px; }
.w-full{ width:100%; }
.text-muted { color:var(--text-3);font-size:12px; }
.text-sm { font-size:12px; }
.font-mono { font-family:var(--mono); }
.truncate { overflow:hidden;text-overflow:ellipsis;white-space:nowrap; }

/* ── ACTIVITY TIMELINE ── */
.timeline { display:flex;flex-direction:column; }
.tl-item { display:flex;gap:14px;padding:14px 0;border-bottom:1px solid var(--border); }
.tl-item:last-child { border-bottom:none; }
.tl-icon-wrap { display:flex;flex-direction:column;align-items:center;gap:0; }
.tl-icon {
  width:34px;height:34px;min-width:34px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;
}
.tl-icon svg { width:15px;height:15px;stroke:currentColor;fill:none;stroke-width:2; }
.tl-line { width:1px;flex:1;background:var(--border);margin:4px 0; }
.tl-body { flex:1;min-width:0; }
.tl-title { font-size:13px;font-weight:500;color:var(--text);margin-bottom:3px; }
.tl-desc { font-size:12px;color:var(--text-3);line-height:1.5; }
.tl-meta { display:flex;align-items:center;gap:10px;margin-top:6px;font-size:11px;color:var(--text-3); }

/* ── PIPELINE BOARD ── */
.pipeline-board { display:grid;grid-template-columns:repeat(5,1fr);gap:12px;height:calc(100vh - 140px);min-height:500px; }
.pipeline-col { background:var(--surface);border-radius:var(--radius-lg);border:1px solid var(--border);display:flex;flex-direction:column; }
.pipeline-col-header { padding:12px 14px;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between; }
.pipeline-col-title { font-size:12px;font-weight:600;color:var(--navy); }
.pipeline-count { font-size:10px;font-weight:600;background:var(--surface-2);color:var(--text-3);border-radius:20px;padding:1px 8px; }
.pipeline-col-value { font-size:10px;color:var(--text-3);margin-top:2px; }
.pipeline-cards { flex:1;overflow-y:auto;padding:10px;display:flex;flex-direction:column;gap:8px; }
.lead-card {
  background:var(--white);border:1px solid var(--border);
  border-radius:var(--radius);padding:12px;
  cursor:pointer;transition:all var(--transition);
}
.lead-card:hover { border-color:var(--teal-pale);box-shadow:var(--shadow-sm);transform:translateY(-1px); }
.lead-card.priority { border-left:3px solid var(--amber); }
.lead-card.won      { border-left:3px solid var(--teal); }
.lead-card.lost     { border-left:3px solid var(--red);opacity:0.7; }
.lead-card-name { font-size:12px;font-weight:600;color:var(--navy);margin-bottom:2px; }
.lead-card-spec { font-size:11px;color:var(--text-3);margin-bottom:8px; }
.lead-card-tags { display:flex;gap:4px;flex-wrap:wrap;margin-bottom:8px; }
.lead-card-footer { display:flex;align-items:center;justify-content:space-between; }
.lead-card-value { font-size:12px;font-weight:600;color:var(--teal); }
.lead-card-date  { font-size:10px;color:var(--text-3); }

/* ── CHART BARS ── */
.bar-chart { display:flex;flex-direction:column;gap:10px; }
.bar-row { display:flex;align-items:center;gap:10px; }
.bar-label { font-size:12px;color:var(--text-3);width:110px;text-align:right;flex-shrink:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis; }
.bar-track { flex:1;height:22px;background:var(--surface-2);border-radius:4px;overflow:hidden; }
.bar-fill { height:100%;border-radius:4px;display:flex;align-items:center;justify-content:flex-end;padding-right:8px;transition:width 0.5s ease; }
.bar-fill span { font-size:10px;color:#fff;font-weight:600; }

/* ── FUNNEL ── */
.funnel { display:flex;flex-direction:column;gap:6px; }
.funnel-row { display:flex;align-items:center;gap:10px; }
.funnel-bar {
  height:30px;border-radius:4px;
  display:flex;align-items:center;padding:0 12px;
  font-size:11px;font-weight:600;color:#fff;
  transition:width 0.5s ease;white-space:nowrap;overflow:hidden;
}
.funnel-pct { font-size:11px;color:var(--text-3);width:36px;text-align:right;flex-shrink:0; }

/* ── REPORT TABLE ── */
.report-table { width:100%;border-collapse:collapse;font-size:13px; }
.report-table th { text-align:left;padding:8px 12px;font-size:11px;font-weight:600;color:var(--text-3);text-transform:uppercase;letter-spacing:0.5px;border-bottom:2px solid var(--border); }
.report-table td { padding:11px 12px;border-bottom:1px solid var(--border);color:var(--text-2); }
.report-table tr:last-child td { border-bottom:none; }
.report-table tr:hover td { background:var(--surface); }

/* ── CAMPAIGN CARD ── */
.campaign-card { background:var(--white);border:1px solid var(--border);border-radius:var(--radius-lg);padding:20px; }
.camp-header { display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:8px; }
.camp-title { font-size:14px;font-weight:600;color:var(--navy);margin-bottom:4px; }
.camp-desc { font-size:12px;color:var(--text-3);line-height:1.5;margin-bottom:14px; }
.camp-stats { display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:14px; }
.camp-stat-val { font-size:18px;font-weight:600;color:var(--navy); }
.camp-stat-lbl { font-size:10px;color:var(--text-3);text-transform:uppercase;letter-spacing:0.3px; }
.camp-footer { display:flex;align-items:center;justify-content:space-between;margin-top:12px;font-size:11px;color:var(--text-3); }

/* ── TABS ── */
.tabs { display:flex;gap:2px;border-bottom:2px solid var(--border);margin-bottom:20px; }
.tab-item {
  padding:8px 16px;font-size:13px;font-weight:500;
  color:var(--text-3);cursor:pointer;
  border-bottom:2px solid transparent;margin-bottom:-2px;
  transition:all var(--transition);
}
.tab-item:hover { color:var(--text); }
.tab-item.active { color:var(--teal);border-bottom-color:var(--teal); }

/* ── NOTIFICATIONS PANEL ── */
.notif-panel {
  position:absolute;right:16px;top:56px;
  width:360px;background:var(--white);
  border:1px solid var(--border);border-radius:var(--radius-lg);
  box-shadow:var(--shadow-lg);z-index:500;
  display:none;
}
.notif-panel.open { display:block;animation:modal-in 0.15s ease; }
.notif-header { padding:14px 18px;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between; }
.notif-item { padding:12px 18px;border-bottom:1px solid var(--border);display:flex;gap:12px;cursor:pointer;transition:background var(--transition); }
.notif-item:hover { background:var(--surface); }
.notif-item.unread { background:#F0FAF5; }
.notif-item:last-child { border-bottom:none; }

/* ── PROFILE DROPDOWN ── */
.profile-dropdown {
  position:absolute;right:16px;top:56px;
  width:220px;background:var(--white);
  border:1px solid var(--border);border-radius:var(--radius-lg);
  box-shadow:var(--shadow-lg);z-index:500;
  display:none;overflow:hidden;
}
.profile-dropdown.open { display:block;animation:modal-in 0.15s ease; }
.profile-dropdown-header { padding:14px 16px;border-bottom:1px solid var(--border); }
.profile-dropdown-item { display:flex;align-items:center;gap:10px;padding:10px 16px;font-size:13px;color:var(--text-2);cursor:pointer;transition:background var(--transition); }
.profile-dropdown-item:hover { background:var(--surface); }
.profile-dropdown-item svg { width:15px;height:15px;stroke:var(--text-3);fill:none;stroke-width:2; }
.profile-dropdown-item.danger { color:var(--red); }
.profile-dropdown-item.danger svg { stroke:var(--red); }
