/* ===============================
   FONT (consistent everywhere)
================================ */
/* Якщо не хочеш зовнішні шрифти — просто видали цей @import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root{
  --bgA:#060a12;
  --bgB:#0b1220;
  --bgC:#0f1b35;

  --card: rgba(255,255,255,.07);
  --stroke: rgba(255,255,255,.14);

  --text:#e8eefc;
  --muted: rgba(232,238,252,.72);

  --accent:#7c5cff;
  --accent2:#22d3ee;

  --shadow: 0 18px 55px rgba(0,0,0,.45);
  --shadow2: 0 14px 28px rgba(0,0,0,.35);

  --radius: 20px;
}

/* ===============================
   RESET + TYPO CONSISTENCY
================================ */
*{ box-sizing:border-box; }

html, body{
  margin:0;
  padding:0;
  min-height:100%;
  color:var(--text);
  background:
    radial-gradient(1200px 700px at 18% 12%, rgba(124,92,255,.22), transparent 60%),
    radial-gradient(900px 600px at 88% 28%, rgba(34,211,238,.18), transparent 55%),
    linear-gradient(180deg, var(--bgA) 0%, var(--bgB) 55%, var(--bgC) 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* важливо: щоб inputs/buttons/select були тим самим шрифтом */
button, input, select, textarea {
  font-family: inherit;
  font-size: 16px;
}

/* Links */
a{ color:#8bb6ff; text-decoration:none; }
a:hover{ text-decoration:underline; }

/* Headings */
h1,h2,h3{ letter-spacing:-0.02em; }
h1{ margin:0 0 12px; font-size:44px; line-height:1.08; font-weight:800; }
h2{ margin:14px 0 10px; font-size:22px; font-weight:800; }
p{ margin:0 0 10px; }

/* Helpers */
.muted{ color:var(--muted); }
.small{ font-size:13px; color:var(--muted); }
.dot{ opacity:.8; }

/* ===============================
   LAYOUT
================================ */
.wrap{
  max-width: 1200px;
  margin: 0 auto;
  padding: 26px 20px 70px;
}

/* ===============================
   TOP BAR / HEADER
================================ */
.top, .topbar{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:18px;
  margin-bottom:18px;
}

.brand{ display:flex; align-items:center; gap:12px; }
.brandLogo{ height:44px; width:auto; display:block; }

.topRight, .topbarRight{
  display:flex;
  flex-direction:row;
  gap:12px;
  align-items:center;
  flex-wrap:wrap;
  justify-content:flex-end;
}

/* Pills */
.pill, .pillTop{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: rgba(255,255,255,.05);
  color: rgba(232,238,252,.82);
  font-size: 13px;
  font-weight: 600;
  backdrop-filter: blur(10px);
}

/* ===============================
   CARDS
================================ */
.card, .mainCard, .colCard, .cardMini{
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
  backdrop-filter: blur(12px);
}

.hr, hr{
  border:0;
  border-top:1px solid rgba(255,255,255,.12);
  margin:18px 0;
}

/* Sections grid */
.twoCols, .grid2{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
@media(max-width: 980px){
  .twoCols, .grid2{ grid-template-columns: 1fr; }
  .topRight, .topbarRight{ justify-content:flex-start; }
  h1{ font-size:36px; }
}

/* ===============================
   FORMS (pretty + consistent)
================================ */
label{
  display:block;
  margin-bottom:7px;
  font-weight:700;
  font-size:14px;
  color: rgba(232,238,252,.86);
}

input, select, textarea, .select{
  width:100%;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.05);
  color: var(--text);
  outline:none;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}

input::placeholder{ color: rgba(232,238,252,.45); }

input:focus, select:focus, textarea:focus, .select:focus{
  border-color: rgba(34,211,238,.55);
  box-shadow: 0 0 0 4px rgba(34,211,238,.12);
  background: rgba(255,255,255,.06);
}

option{ color:#0b1220; }

/* ===============================
   BUTTONS (make them pop)
================================ */
.btnRow{
  display:flex;
  gap: 12px;
  margin-top: 16px;
  flex-wrap: wrap;
  align-items:center;
}

.btnPrimary, .btnSecondary, .btnGhost, .btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding: 12px 18px;
  border-radius: 14px;
  font-weight: 800;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.05);
  color: var(--text);
  cursor:pointer;
  white-space:nowrap;
  transition: transform .08s ease, filter .15s ease, box-shadow .15s ease, background .15s ease;
  text-decoration:none;
}

.btnPrimary{
  border: 0;
  color: #071022;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  box-shadow: 0 10px 24px rgba(34,211,238,.14);
}
.btnPrimary:hover{
  transform: translateY(-1px);
  filter: brightness(1.03);
  box-shadow: 0 14px 30px rgba(124,92,255,.16), 0 10px 24px rgba(34,211,238,.14);
}
.btnPrimary:active{ transform: translateY(0px); }

.btnSecondary:hover, .btnGhost:hover, .btn:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.07);
  box-shadow: var(--shadow2);
}
.btnSecondary:active, .btnGhost:active, .btn:active{ transform: translateY(0px); }

/* ===============================
   QUICK PICK CHIPS (make them nice)
================================ */
.chips{ display:flex; gap:10px; flex-wrap:wrap; margin-top:12px; }
.chip{
  border:1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.05);
  color: rgba(232,238,252,.9);
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .08s ease, background .15s ease, box-shadow .15s ease;
}
.chip:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.07);
  box-shadow: var(--shadow2);
}

/* ===============================
   OPTIONAL: better bullet list
================================ */
ul{ margin: 10px 0 0 18px; }
li{ margin: 6px 0; }

