/* =========================================================
   BEAM Toolkit — Θέμα 2026 (refresh, συμβατό με Business Brain)
   Φορτώνεται μετά τα styles.css / enhance.css / toolkit-backend.css
   ========================================================= */
:root {
  --primary: #0d9488;
  --primary-hover: #0f766e;
  --primary-light: #ecfdf5;
  --primary-border: #99f6e4;
  --secondary: #334155;
  --accent: #6366f1;
  --dark: #0b1f3a;
  --surface: #ffffff;
  --surface-alt: #f4f7fb;
  --border: #e2e8f0;
  --border-light: #eef2f7;
  --text-main: #0f172a;
  --text-muted: #55657a;
  --text-light: #8b9bb0;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .05);
  --shadow: 0 6px 18px -6px rgba(15, 23, 42, .14), 0 2px 6px -2px rgba(15, 23, 42, .06);
  --shadow-md: 0 16px 40px -18px rgba(15, 23, 42, .25);
  --shadow-lg: 0 30px 60px -24px rgba(15, 23, 42, .30);
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body {
  background: radial-gradient(1200px 600px at 100% -10%, #d9f2ef 0%, transparent 55%),
              radial-gradient(900px 500px at -10% 110%, #e4ecfb 0%, transparent 50%),
              #f2f6fa;
  color: var(--text-main);
  letter-spacing: .005em;
}

/* Sidebar — navy βάθος με teal ενεργό */
.sidebar {
  background: linear-gradient(180deg, #081a30 0%, #0d2745 55%, #0b223c 100%);
  border-right: 1px solid rgba(255,255,255,.06);
  box-shadow: 18px 0 50px -30px rgba(2, 6, 23, .8);
}
.sidebar-header { border-bottom: 1px solid rgba(255,255,255,.07); }
.brand-badge {
  background: linear-gradient(135deg, rgba(13,148,136,.35), rgba(56,189,248,.18));
  border: 1px solid rgba(125,211,252,.35);
  color: #a5f3ef !important;
  letter-spacing: .08em;
}
.brand-title { color: #f8fafc; }
.brand-title span { color: #5eead4; }
.brand-subtitle { color: #93a9c2 !important; }
.nav-item {
  color: #b9c8db;
  border-radius: 12px;
  margin: 3px 10px;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}
.nav-item:hover { background: rgba(255,255,255,.07); color: #fff; }
.nav-item.active {
  background: linear-gradient(135deg, #0d9488, #0f766e);
  color: #fff;
  box-shadow: 0 10px 24px -12px rgba(13,148,136,.9);
}
.sidebar-footer, .sidebar-partner-box, .partner-tier-box { border-top-color: rgba(255,255,255,.08); }

/* Top bar */
.topbar, .app-header, .main-header {
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 6px 24px -22px rgba(15,23,42,.5);
}
.page-title, h1, h2 { letter-spacing: -.02em; color: #0b1f3a; }
.page-subtitle { color: var(--text-muted); }

/* Cards */
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.card:hover { box-shadow: var(--shadow); }
.card-header {
  background: linear-gradient(180deg, #fbfdff, #f5f8fc);
  border-bottom: 1px solid var(--border-light);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  padding: 14px 18px;
}
.card-title { font-weight: 800; color: #0b1f3a; letter-spacing: -.01em; }
.card-title-icon {
  background: linear-gradient(135deg, #e6fffb, #eaf2ff);
  border: 1px solid #d3f4ef;
  border-radius: 10px;
}
.section-title, .card-subtitle { color: var(--text-muted); }

/* Buttons */
.btn, button.btn {
  border-radius: 12px;
  font-weight: 700;
  letter-spacing: .005em;
  transition: transform .12s ease, box-shadow .18s ease, background .18s ease;
}
.btn-primary {
  background: linear-gradient(135deg, #0d9488, #0f766e);
  border-color: #0f766e;
  color: #fff;
  box-shadow: 0 10px 22px -14px rgba(13,148,136,.9);
}
.btn-primary:hover { background: linear-gradient(135deg, #0f766e, #115e59); transform: translateY(-1px); }
.btn-outline-secondary, .btn-secondary { border-radius: 12px; }
.btn:active { transform: translateY(0) scale(.99); }

/* Tabs / nav pills inside app */
.tab-btn, .subtab, .pill-tab, .option-pill {
  border-radius: 12px;
  border: 1px solid var(--border);
  transition: all .16s ease;
}
.tab-btn.active, .option-pill.selected {
  background: linear-gradient(135deg, #0d9488, #0f766e) !important;
  border-color: #0f766e !important;
  color: #fff !important;
}
.option-pill:hover { border-color: var(--primary-border); background: #f7fffd; }

/* Inputs */
input, select, textarea, .form-control, .form-select {
  border-radius: 11px !important;
  border-color: #d7e1ee !important;
  transition: border-color .15s ease, box-shadow .15s ease;
}
input:focus, select:focus, textarea:focus, .form-control:focus, .form-select:focus {
  border-color: #0d9488 !important;
  box-shadow: 0 0 0 4px rgba(13,148,136,.12) !important;
  outline: none;
}

/* Tables */
table { border-radius: var(--radius); overflow: hidden; }
thead th {
  background: #f3f7fb;
  color: #44556b;
  font-weight: 800;
  letter-spacing: .03em;
  text-transform: uppercase;
  font-size: .72rem;
}
tbody tr { transition: background .15s ease; }
tbody tr:hover { background: #f8fcff; }

/* Badges & chips */
.badge, .pill { border-radius: 999px; font-weight: 700; }
.badge-green { background: #dcfce7; color: #166534; }
.badge-purple { background: #ede9fe; color: #5b21b6; }
.badge-blue { background: #dbeafe; color: #1e40af; }

/* Sidebar mobile / topbar buttons */
.sidebar-toggle, .menu-toggle, .topbar-btn {
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

/* Live pricing banner (προαιρετικό, αν υπάρχει) */
.live-pricing-note {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: .78rem; font-weight: 700; color: #0f766e;
  background: #ecfdf5; border: 1px solid #99f6e4; border-radius: 999px;
  padding: 5px 12px;
}

/* Scrollbars */
* { scrollbar-width: thin; scrollbar-color: #c7d4e4 transparent; }
*::-webkit-scrollbar { width: 9px; height: 9px; }
*::-webkit-scrollbar-thumb { background: #c7d4e4; border-radius: 99px; }
*::-webkit-scrollbar-thumb:hover { background: #a9bcd3; }

@media (max-width: 820px) {
  .card { border-radius: 16px; }
  .card-header { padding: 12px 14px; }
}
