/* FILE: assets/css/base.css */

/* =========================
   ROOT VARIABLES
========================= */

:root {
  --bg: #05070a;
  --panel: #0b1220;
  --panel-2: #111827;
  --line: rgba(255,255,255,.08);
  --text: #f2f6ff;
  --muted: #94a3b8;
  --blue: #2f81f7;
  --red: #ff3b30;
  --green: #16a34a;
  --yellow: #ffcc00;
}

/* =========================
   RESET
========================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  background: var(--bg);
}

body {
  background:
    radial-gradient(circle at top, rgba(17,24,39,.9), rgba(5,7,10,1)),
    var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  line-height: 1.45;
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: #7db7ff;
  text-decoration: none;
}

a:hover {
  color: #ffffff;
}

h1, h2, h3, h4 {
  margin: 0;
  line-height: 1.15;
}

p {
  margin: 0;
}

/* =========================
   SHARED FORM ELEMENTS
========================= */

label {
  display: block;
  color: var(--muted);
  margin: 14px 0 6px;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #05070a;
  color: var(--text);
  padding: 12px;
  border-radius: 10px;
  font-size: 15px;
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(47,129,247,.7);
  box-shadow: 0 0 0 3px rgba(47,129,247,.15);
}

textarea {
  resize: vertical;
}

/* =========================
   SHARED BUTTONS
========================= */

.btn {
  margin-top: 16px;
  border: 0;
  background: var(--blue);
  color: #fff;
  padding: 12px 18px;
  border-radius: 10px;
  font-weight: 800;
  cursor: pointer;
}

.btn:hover {
  filter: brightness(1.08);
}

.btn.danger {
  background: var(--red);
}

.btn.ghost {
  background: transparent;
  border: 1px solid var(--line);
}

.mini {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  border-radius: 8px;
  padding: 7px 10px;
  cursor: pointer;
  font-size: 13px;
}

.mini:hover {
  background: rgba(255,255,255,.04);
}

/* =========================
   SHARED UTILITIES
========================= */

.hidden {
  display: none !important;
}

.msg {
  color: var(--muted);
  margin-top: 12px;
  font-size: 13px;
}

.empty {
  padding: 42px;
  text-align: center;
  color: var(--muted);
  border: 1px dashed var(--line);
  border-radius: 16px;
}

.card,
.notice {
  border: 1px solid var(--line);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.015));
  box-shadow: 0 10px 28px rgba(0,0,0,.22);
}

/* =========================
   SCROLLBAR
========================= */

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: #0b1220;
}

::-webkit-scrollbar-thumb {
  background: rgba(125,183,255,.35);
  border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(125,183,255,.55);
}