:root {
  --ink: #101828;
  --muted: #667085;
  --blue: #2e6cff;
  --blue-2: #1f58df;
  --blue-3: #0f3fb4;
  --card: #eef1f6;
  --panel: #f6f7fb;
  --line: #d6dbe5;
  --dark: #2b2d33;
  --shadow: 0 20px 60px rgba(12, 26, 75, 0.15);
  --radius-lg: 20px;
  --radius-md: 12px;
}

* { box-sizing: border-box; }

body {
  font-family: "Archivo", "Helvetica Neue", Arial, sans-serif;
  background: radial-gradient(1200px 600px at 10% 10%, #e8f0ff 0%, #f7f8fb 40%, #f3f4f8 100%);
  color: var(--ink);
}

.login-shell { min-height: 100vh; }

.brand-panel {
  background: linear-gradient(160deg, #f5f7ff 0%, #e6eeff 55%, #dfe7ff 100%);
  padding: 64px;
  position: relative;
  overflow: hidden;
}

.brand-panel::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -60px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46, 108, 255, 0.35) 0%, rgba(46, 108, 255, 0) 70%);
}

.brand-title {
  font-family: "Archivo Black", "Archivo", Arial, sans-serif;
  font-size: 54px;
  letter-spacing: 0.04em;
  color: var(--blue);
  line-height: 1.05;
}

.brand-sub {
  font-size: 20px;
  font-weight: 600;
  color: var(--muted);
  margin-top: 18px;
  max-width: 420px;
}

.brand-mark {
  font-size: 24px;
  letter-spacing: 0.2em;
  color: #2a4db8;
  text-transform: uppercase;
  margin-top: 12px;
}

.brand-footer {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #5a6bb2;
  font-weight: 700;
}

.login-card {
  max-width: 420px;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.login-header {
  background: linear-gradient(135deg, #2e6cff 0%, #5a8cff 100%);
  color: white;
  padding: 20px 24px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
}

.login-body {
  padding: 24px;
}

.server-badge {
  font-size: 13px;
  font-weight: 600;
  color: #344054;
  background: #f3f4f6;
  border: 1px solid #e4e7ec;
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 16px;
}

.login-footer {
  color: #6b7280;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.04em;
  background: transparent;
  border: none;
}

.error-banner {
  background: #fff2f0;
  border: 1px solid #ffd9d4;
  color: #b42318;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 14px;
  margin-bottom: 14px;
}

.dashboard-shell {
  min-height: 100vh;
  background: #f7f8fb;
}

.brand-mini {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: 0.08em;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue-3);
  font-weight: 700;
  font-size: 12px;
}

.brand-subtitle {
  font-weight: 600;
  color: #667085;
  letter-spacing: 0;
}

.subheader {
  background: #3b3d44;
  color: white;
}

.subheader .chip {
  padding: 8px 14px;
  border-radius: 999px;
  background: #4b4f57;
  font-weight: 700;
  font-size: 12px;
}

.subheader .chip.active {
  background: #2e6cff;
}

.chip-toggle { font-weight: 700; border-radius: 999px; }

.filter-input {
  font-weight: 600;
  min-width: 220px;
}

.side-panel {
  background: #e8e9ee;
  border-radius: 18px;
  padding: 16px;
  border: 1px solid #d5d8e1;
}

.side-title {
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 12px;
}

.module-card {
  background: #dfe2ea;
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 16px;
}

.module-card h3 {
  margin: 0 0 8px;
  background: #2e6cff;
  color: white;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 16px;
  text-align: center;
}

.module-card p {
  font-size: 13px;
  color: #101828;
  min-height: 70px;
}

.module-card .cta {
  display: flex;
  justify-content: center;
}

.module-card .cta button {
  border: none;
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: #2e6cff;
  color: white;
  font-size: 30px;
  font-weight: 700;
}

.content-panel {
  background: white;
  border-radius: 18px;
  border: 1px solid #e4e7ec;
  min-height: 520px;
  color: #6b7280;
  font-weight: 600;
}

.table-shell {
  width: 100%;
  height: 100%;
  padding: 18px;
}

.table-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.table-title {
  font-weight: 700;
  color: #111827;
}

.table-meta {
  font-size: 12px;
  color: #667085;
}

.table-wrap {
  background: #f7f8fb;
  border-radius: 12px;
  padding: 12px;
  border: 1px solid #e4e7ec;
}

.data-table {
  font-size: 13px;
}

.data-table th {
  text-align: left;
  color: #475467;
  font-weight: 700;
  padding: 10px 8px;
  border-bottom: 1px solid #d0d5dd;
}

.data-table td {
  padding: 10px 8px;
  border-bottom: 1px solid #e4e7ec;
  color: #101828;
}

.table-empty {
  text-align: center;
  padding: 20px;
  color: #98a2b3;
}

.state-pill {
  font-weight: 700;
}

.vcs-progress {
  height: 6px;
  background: #e4e7ec;
}

.progress-label {
  font-size: 12px;
  color: #475467;
  margin-top: 4px;
}

@media (max-width: 1024px) {
  .brand-panel { padding: 40px; }
  .filter-input { width: 100%; min-width: 0; }
}
