:root {
  --bg: #03040a;
  --card: #071021;
  --muted: #98a0b0;
  --accent: #5ae3ff;
  --accent-2: #7b61ff;
  --primary: #0b63ff;
  --danger: #ff5c6c;
  --warn: #ffb86b;
  font-family: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  height: 100%;
  background: var(--bg);
  color: #e7f3ff;
  overflow-x: hidden;
  font-family: 'Inter', sans-serif;
}

/* STAR CANVAS */
canvas#starfield {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
}

/* CENTER WRAP */
.center-wrap {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
}

/* LOGIN CARD */
.card {
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 16px;
  padding: 32px;
  width: 400px;
  max-width: 90%;
  box-shadow: 0 0 40px rgba(0,0,0,0.6);
  text-align: center;
  animation: fadeIn 1.2s ease forwards;
}

.top-icon { display: flex; justify-content: center; }
.server-icon {
  width: 70px; height: 70px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 25px rgba(90,227,255,0.4);
}

.title {
  margin-top: 16px;
  font-size: 28px;
  color: #fff;
}
.subtitle {
  color: var(--muted);
  font-size: 14px;
  margin: 10px 0 20px;
}

.form { text-align: left; display: flex; flex-direction: column; gap: 14px; }
.form label { color: var(--muted); font-size: 13px; }

.form input {
  padding: 12px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.02);
  color: #fff;
  outline: none;
}
.form input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 6px rgba(90,227,255,0.3);
}

.btn {
  margin-top: 10px;
  padding: 12px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: 0.25s;
}
.btn.primary {
  background: linear-gradient(90deg, var(--accent-2), var(--accent));
  color: #071021;
}
.btn.primary:hover { transform: translateY(-2px); }

.hint { color: var(--muted); font-size: 13px; margin-top: 10px; }
.chip {
  background: rgba(255,255,255,0.1);
  padding: 2px 6px;
  border-radius: 6px;
}

/* PANEL STYLES */
.panel-header {
  position: fixed;
  top: 20px; left: 50%; transform: translateX(-50%);
  width: calc(100% - 40px);
  max-width: 1100px;
  display: flex; justify-content: space-between; align-items: center;
  z-index: 2;
}
.logo { font-weight: 800; letter-spacing: 2px; color: var(--accent); font-size: 18px; }
.header-actions { display: flex; gap: 10px; }

.panel-main {
  position: relative; z-index: 2;
  display: flex; gap: 20px;
  max-width: 1100px; margin: 120px auto; padding: 0 16px;
  align-items: flex-start;
}
.panel-left { width: 340px; min-width: 260px; }
.panel-right { flex: 1; }

.panel-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  border-radius: 12px; padding: 18px;
  border: 1px solid rgba(255,255,255,0.03);
  box-shadow: 0 8px 30px rgba(0,0,0,0.6);
}

.stations-list { display: flex; flex-direction: column; gap: 12px; margin-top: 10px; }

.station {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px; border-radius: 10px;
  background: rgba(255,255,255,0.03);
}
.station .left { display: flex; align-items: center; gap: 10px; }
.station .dot { width: 10px; height: 10px; border-radius: 50%; }
.status-open { background: linear-gradient(90deg,#2ee6a3,#2ec0e6); }
.status-closed { background: linear-gradient(90deg,#6b7280,#3b3f4a); }

@keyframes fadeIn { from {opacity:0; transform:translateY(20px);} to {opacity:1; transform:none;} }
