:root {
  --bg: #07020d;

  --bg-soft: #10061c;

  --panel: rgba(17, 5, 28, 0.92);

  --panel-2: rgba(22, 8, 40, 0.92);

  --border: rgba(146, 79, 255, 0.18);

  --border-strong: rgba(176, 79, 255, 0.42);

  --primary: #6948ff;

  --primary-2: #6500e8;

  --text: #f4f0ff;

  --muted: #8b7eaa;

  --danger: #ff5f6d;

  --success: #4ef3a1;

  --warning: #ffd166;

  --shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  margin: 0;

  min-height: 100vh;

  color: var(--text);

  font-family: "Orbitron", system-ui, sans-serif;

  background:
    radial-gradient(
      circle at 18% 12%,
      rgba(182, 72, 255, 0.12),
      transparent 34%
    ),
    radial-gradient(
      circle at 82% 68%,
      rgba(128, 0, 232, 0.08),
      transparent 32%
    ),
    linear-gradient(145deg, #050108 0%, #0e0419 45%, #04010b 100%);
}

body::before {
  content: "";

  position: fixed;

  inset: 0;

  pointer-events: none;

  opacity: 0.2;

  background-image:
    linear-gradient(rgba(176, 79, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(176, 79, 255, 0.08) 1px, transparent 1px);

  background-size: 44px 44px;

  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent 92%);
}

button,
input,
select {
  font: inherit;
}

a {
  color: inherit;
}

.public-page {
  display: grid;
  place-items: center;
  padding: 28px;
}

.scroll-page {
  place-items: start center;
}

.public-shell {
  width: min(760px, 100%);
  position: relative;
  z-index: 1;
}

.brand-card,
.login-card,
.message-card,
.privacy-card {
  border: 1px solid var(--border);

  background: linear-gradient(
    155deg,
    rgba(22, 8, 40, 0.96),
    rgba(8, 2, 15, 0.96)
  );

  box-shadow:
    var(--shadow),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);

  border-radius: 22px;

  padding: clamp(28px, 6vw, 60px);

  position: relative;

  overflow: hidden;
}

.brand-card::after,
.login-card::after,
.message-card::after,
.privacy-card::after {
  content: "";

  position: absolute;

  width: 260px;

  height: 260px;

  border-radius: 50%;

  right: -130px;

  top: -130px;

  background: rgba(176, 79, 255, 0.11);

  filter: blur(14px);
}

.brand-mark {
  width: 96px;

  height: 96px;

  border: 1px solid var(--border-strong);

  display: grid;

  place-items: center;

  font-size: 36px;

  font-weight: 900;

  color: var(--primary);

  border-radius: 26px;

  box-shadow:
    inset 0 0 30px rgba(176, 79, 255, 0.12),
    0 0 36px rgba(176, 79, 255, 0.12);

  margin-bottom: 28px;

  background: linear-gradient(
    145deg,
    rgba(176, 79, 255, 0.08),
    rgba(255, 255, 255, 0.01)
  );
}

.brand-mark.small {
  width: 68px;
  height: 68px;
  font-size: 25px;
  border-radius: 18px;
}

.brand-mark.tiny {
  width: 42px;
  height: 42px;
  font-size: 17px;
  border-radius: 12px;
  margin: 0;
  flex: 0 0 auto;
}

.public-brand {
  display: flex;

  align-items: center;

  gap: 16px;

  width: fit-content;

  margin-bottom: 38px;

  position: relative;

  z-index: 1;
}

.public-brand-icon {
  width: 82px;

  height: 58px;

  position: relative;

  display: grid;

  place-items: center;
}

.brand-symbol {
  position: relative;

  z-index: 2;

  font-size: 30px;

  line-height: 1;

  font-weight: 900;

  letter-spacing: -5px;

  color: var(--text);

  text-shadow: 0 0 18px rgba(176, 79, 255, 0.34);
}

.brand-symbol span {
  color: var(--primary);
}

.brand-line {
  position: absolute;

  top: 50%;

  width: 29px;

  height: 2px;

  background: linear-gradient(90deg, transparent, var(--primary));

  box-shadow: 0 0 12px rgba(176, 79, 255, 0.45);
}

.brand-line-left {
  left: 0;
  transform: rotate(-48deg);
  transform-origin: right center;
}

.brand-line-right {
  right: 0;
  transform: rotate(48deg);
  transform-origin: left center;
  background: linear-gradient(90deg, var(--primary), transparent);
}

.public-brand-copy {
  display: grid;
  gap: 2px;
}

.public-brand-copy strong {
  font-size: 19px;

  line-height: 1;

  letter-spacing: 4px;

  color: var(--text);
}

.public-brand-copy strong span {
  color: var(--primary);
}

.public-brand-copy small {
  color: var(--muted);

  font-size: 8px;

  letter-spacing: 5px;

  font-weight: 700;
}

.eyebrow {
  color: var(--primary);
  font-size: 11px;
  letter-spacing: 3px;
  font-weight: 700;
  margin-bottom: 10px;
}

h1,
h2,
p {
  margin-top: 0;
}

.brand-card h1 {
  font-size: clamp(38px, 8vw, 72px);
  line-height: 1.02;
  margin-bottom: 24px;
}

.brand-card h1 span {
  color: var(--primary);
}

.lead {
  color: #cdbce7;
  line-height: 1.8;
  max-width: 610px;
}

.muted {
  color: var(--muted);
  line-height: 1.65;
}

.compact {
  font-size: 12px;
  margin-bottom: 0;
}

.consent-form {
  margin-top: 34px;
}

.data-notice {
  display: flex;

  gap: 14px;

  align-items: flex-start;

  color: #bda8d8;

  font-size: 11px;

  line-height: 1.7;

  padding: 18px;

  border: 1px solid var(--border);

  background: rgba(0, 0, 0, 0.18);

  border-radius: 14px;

  margin-bottom: 20px;
}

.data-notice p {
  margin: 0;
}

.data-notice-icon {
  width: 28px;

  height: 28px;

  flex: 0 0 28px;

  display: grid;

  place-items: center;

  border-radius: 50%;

  border: 1px solid var(--border-strong);

  color: var(--primary);

  background: rgba(176, 79, 255, 0.08);

  font-size: 12px;

  font-weight: 900;

  box-shadow: 0 0 18px rgba(176, 79, 255, 0.1);
}

.public-footer {
  margin-top: 34px;

  padding-top: 20px;

  border-top: 1px solid rgba(176, 79, 255, 0.1);

  color: #756487;

  font-size: 9px;

  letter-spacing: 2px;

  text-align: center;

  text-transform: uppercase;
}

.public-footer strong {
  color: var(--primary);
}

.privacy-note {
  margin-top: 22px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}

.privacy-note a,
.text-link {
  display: inline-block;
  color: var(--primary);
  margin-top: 8px;
  text-decoration: none;
}

.privacy-shell {
  width: min(900px, 100%);
  padding: 24px 0;
  position: relative;
  z-index: 1;
}

.privacy-card {
  line-height: 1.85;
}

.privacy-card h1 {
  font-size: clamp(30px, 5vw, 48px);
}

.privacy-card h2 {
  color: var(--primary);
  margin-top: 30px;
  font-size: 16px;
}

.stack-form {
  display: grid;
  gap: 18px;
  margin: 26px 0 16px;
}

label > span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  margin-bottom: 8px;
  letter-spacing: 1px;
}

input,
select {
  width: 100%;

  border: 1px solid var(--border);

  background: #0c0316;

  color: var(--text);

  min-height: 46px;

  padding: 0 14px;

  border-radius: 11px;

  outline: none;
}

input:focus,
select:focus {
  border-color: var(--primary);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.02),
    0 0 0 3px rgba(176, 79, 255, 0.08),
    0 14px 30px rgba(0, 0, 0, 0.26);
}

.btn {
  border: 1px solid transparent;

  border-radius: 10px;

  min-height: 42px;

  padding: 0 18px;

  cursor: pointer;

  text-decoration: none;

  display: inline-flex;

  align-items: center;

  justify-content: center;

  font-size: 11px;

  font-weight: 800;

  letter-spacing: 1px;

  text-transform: uppercase;

  transition: 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

.btn-large {
  min-height: 54px;
  width: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #f4f0ff;
  box-shadow: 0 0 28px rgba(176, 79, 255, 0.18);
}

.btn-secondary {
  background: rgba(176, 79, 255, 0.08);
  color: var(--primary);
  border-color: var(--border-strong);
}

.btn-ghost {
  background: transparent;
  color: var(--muted);
  border-color: rgba(255, 255, 255, 0.09);
}

.btn-danger {
  background: rgba(255, 95, 109, 0.1);
  color: var(--danger);
  border-color: rgba(255, 95, 109, 0.28);
}

.alert {
  padding: 14px 16px;
  border-radius: 11px;
  margin: 18px 0;
  font-size: 12px;
  line-height: 1.5;
}

.alert-danger {
  color: #ffd7db;
  background: rgba(255, 95, 109, 0.09);
  border: 1px solid rgba(255, 95, 109, 0.26);
}

.status-icon {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 34px;
  font-weight: 900;
  margin-bottom: 24px;
}

.success-card .status-icon {
  color: var(--success);
  border: 1px solid rgba(78, 243, 161, 0.35);
  background: rgba(78, 243, 161, 0.08);
}

.error-card .status-icon {
  color: var(--danger);
  border: 1px solid rgba(255, 95, 109, 0.35);
  background: rgba(255, 95, 109, 0.08);
}

.dashboard-layout {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  position: relative;
  z-index: 1;
}

.sidebar {
  position: sticky;

  top: 0;

  height: 100vh;

  border-right: 1px solid var(--border);

  background: rgba(10, 3, 18, 0.92);

  backdrop-filter: blur(18px);

  padding: 24px 18px;

  display: flex;

  flex-direction: column;
}

.sidebar-brand {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 4px 6px 28px;
}

.sidebar-brand strong {
  display: block;
  letter-spacing: 2px;
}

.sidebar-brand strong span {
  color: var(--primary);
}

.sidebar-brand small {
  display: block;
  color: var(--muted);
  font-size: 8px;
  margin-top: 4px;
  letter-spacing: 1.6px;
}

.sidebar-nav {
  display: grid;
  gap: 8px;
}

.nav-button,
.nav-link {
  width: 100%;

  min-height: 44px;

  background: transparent;

  color: var(--muted);

  border: 1px solid transparent;

  border-radius: 10px;

  padding: 0 14px;

  text-align: left;

  cursor: pointer;

  text-decoration: none;

  display: flex;

  align-items: center;

  font-size: 11px;

  letter-spacing: 0.8px;
}

.nav-button:hover,
.nav-button.active,
.nav-link:hover {
  color: var(--text);
  background: rgba(176, 79, 255, 0.08);
  border-color: var(--border);
}

.nav-button.active {
  color: var(--primary);
}

.sidebar-footer {
  margin-top: auto;
  display: grid;
  gap: 8px;
}

.sidebar-footer form {
  margin: 0;
}

.nav-link.danger {
  color: #ff8d98;
}

.dashboard-main {
  padding: 28px;
  min-width: 0;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.topbar h1 {
  margin: 0;
  font-size: clamp(26px, 4vw, 38px);
}

.system-pill {
  border: 1px solid rgba(78, 243, 161, 0.22);
  background: rgba(78, 243, 161, 0.06);
  color: var(--success);
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 10px;
}

.pulse-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  margin-right: 7px;
  box-shadow: 0 0 10px var(--success);
}

.dashboard-view {
  display: none;
}

.dashboard-view.active {
  display: block;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 18px;
}

.stat-card,
.panel,
.server-card {
  background: linear-gradient(
    145deg,
    rgba(22, 8, 40, 0.9),
    rgba(10, 3, 18, 0.94)
  );

  border: 1px solid var(--border);

  border-radius: 16px;

  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.22);
}

.stat-card {
  padding: 20px;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.stat-card span,
.stat-card small {
  color: var(--muted);
  font-size: 10px;
}

.stat-card strong {
  font-size: 34px;
  color: var(--primary);
}

.stat-card.success strong {
  color: var(--success);
}

.stat-card.danger strong {
  color: var(--danger);
}

.panel {
  padding: 20px;
  margin-bottom: 18px;
}

.content-grid {
  display: grid;
  gap: 18px;
}

.two-columns {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.panel-heading h2 {
  margin: 0;
  font-size: 17px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 150px;
  gap: 12px;
  margin-bottom: 14px;
}

.progress-shell {
  height: 9px;
  border-radius: 999px;
  background: #0a0213;
  overflow: hidden;
  border: 1px solid rgba(176, 79, 255, 0.12);
}

.progress-bar {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--primary-2), var(--primary));
  transition: width 0.25s ease;
}

.progress-label {
  color: var(--muted);
  font-size: 10px;
  margin-top: 9px;
}

.terminal-panel {
  padding-bottom: 16px;
}

.terminal {
  height: 270px;
  overflow: auto;
  background: #07010c;
  border: 1px solid rgba(176, 79, 255, 0.1);
  border-radius: 12px;
  padding: 14px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.terminal-line {
  font-size: 12px;
  line-height: 1.65;
  color: #baa8d1;
  word-break: break-word;
}

.terminal-line.success {
  color: var(--success);
}

.terminal-line.error {
  color: var(--danger);
}

.terminal-line.info {
  color: var(--primary);
}

.terminal-line.warning {
  color: var(--warning);
}

.table-scroll {
  overflow-x: auto;
  border: 1px solid rgba(176, 79, 255, 0.09);
  border-radius: 12px;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

th,
td {
  padding: 13px 14px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 10px;
  vertical-align: middle;
}

th {
  color: var(--muted);
  background: rgba(0, 0, 0, 0.16);
  letter-spacing: 0.8px;
}

td {
  color: #ddcff0;
}

tr:last-child td {
  border-bottom: 0;
}

.empty-cell,
.empty-state {
  color: var(--muted);
  text-align: center;
  padding: 30px;
}

.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 9px;
  background: rgba(176, 79, 255, 0.08);
  color: var(--primary);
  border: 1px solid var(--border);
}

.badge-finished,
.badge-authorized {
  color: var(--success);
  background: rgba(78, 243, 161, 0.07);
  border-color: rgba(78, 243, 161, 0.22);
}

.badge-failed,
.badge-invalid {
  color: var(--danger);
  background: rgba(255, 95, 109, 0.07);
  border-color: rgba(255, 95, 109, 0.22);
}

.badge-running {
  color: var(--warning);
  background: rgba(255, 209, 102, 0.07);
  border-color: rgba(255, 209, 102, 0.22);
}

.filter-row {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 180px auto;
  gap: 12px;
  margin-bottom: 14px;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 10px;
}

.action-row {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}

.action-row .btn {
  min-height: 34px;
  padding: 0 10px;
  font-size: 8px;
}

.server-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.server-card {
  padding: 16px;
}

.server-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.server-header strong,
.server-header small {
  display: block;
}

.server-header small {
  color: var(--muted);
  font-size: 9px;
  margin-top: 4px;
}

.server-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  object-fit: cover;
}

.server-icon.fallback {
  display: grid;
  place-items: center;
  background: rgba(176, 79, 255, 0.09);
  color: var(--primary);
  font-weight: 800;
}

.server-meta {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 10px;
  margin-bottom: 14px;
}

.server-meta strong {
  color: var(--text);
}

.server-members {
  margin-top: 14px;
  max-height: 300px;
  overflow: auto;
  border-top: 1px solid var(--border);
  padding-top: 12px;
}

.member-line {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 9px;
}

.member-line small {
  color: var(--muted);
  display: block;
  margin-top: 3px;
}

.toast-container {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 100;
  display: grid;
  gap: 10px;
  width: min(360px, calc(100vw - 44px));
}

.toast {
  border: 1px solid var(--border);
  background: rgba(12, 4, 22, 0.98);
  padding: 14px 16px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  font-size: 11px;
  line-height: 1.55;
  animation: toast-in 0.2s ease;
}

.toast.success {
  border-color: rgba(78, 243, 161, 0.3);
  color: #caffdf;
}

.toast.error {
  border-color: rgba(255, 95, 109, 0.3);
  color: #ffd8dc;
}

@keyframes toast-in {
  from {
    transform: translateY(8px);
    opacity: 0;
  }
}

@media (max-width: 1100px) {
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .two-columns,
  .server-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  .dashboard-layout {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: relative;
    height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .sidebar-nav {
    grid-template-columns: repeat(4, 1fr);
    overflow-x: auto;
  }

  .nav-button {
    justify-content: center;
    padding: 0 10px;
  }

  .sidebar-footer {
    grid-template-columns: 1fr 1fr;
    margin-top: 18px;
  }

  .dashboard-main {
    padding: 18px;
  }

  .topbar {
    align-items: flex-start;
    gap: 12px;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .filter-row,
  .form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .public-page {
    padding: 14px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .sidebar-nav {
    grid-template-columns: repeat(2, 1fr);
  }

  .panel-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .system-pill {
    display: none;
  }
}

@media (max-width: 560px) {
  .public-brand {
    gap: 10px;
    margin-bottom: 30px;
  }

  .public-brand-icon {
    width: 64px;
    height: 48px;
  }

  .brand-symbol {
    font-size: 25px;
  }

  .public-brand-copy strong {
    font-size: 15px;
    letter-spacing: 3px;
  }

  .public-brand-copy small {
    font-size: 7px;
    letter-spacing: 3px;
  }

  .data-notice {
    font-size: 10px;
    padding: 15px;
  }
}

/* Clean custom select styling */

.select-shell {
  position: relative;

  display: block;
}

.select-shell::before {
  content: "";

  position: absolute;

  top: 50%;

  right: 54px;

  width: 1px;

  height: 24px;

  background: linear-gradient(
    180deg,
    transparent,
    rgba(176, 79, 255, 0.28),
    transparent
  );

  transform: translateY(-50%);

  pointer-events: none;
}

.select-shell::after {
  content: "";

  position: absolute;

  top: 50%;

  right: 22px;

  width: 10px;

  height: 10px;

  border-right: 2px solid var(--primary);

  border-bottom: 2px solid var(--primary);

  transform: translateY(-65%) rotate(45deg);

  pointer-events: none;

  filter: drop-shadow(0 0 6px rgba(176, 79, 255, 0.18));
}

select,
.select-clean {
  -webkit-appearance: none;

  -moz-appearance: none;

  appearance: none;

  background-image: none !important;

  padding-right: 72px;

  cursor: pointer;
}

select::-ms-expand,
.select-clean::-ms-expand {
  display: none;
}

select option,
.select-clean option {
  background: #0d0318;

  color: var(--text);
}

/* =========================================================

   DARK CITY // CXNTRA ORBITRON SYSTEM THEME

   ========================================================= */

html,
body,
button,
input,
select,
textarea,
option,
optgroup,
table,
th,
td,
label,
a,
p,
span,
small,
strong,
h1,
h2,
h3,
code,
pre,
.terminal,
.terminal-line {
  font-family: "Orbitron", system-ui, sans-serif !important;

  font-optical-sizing: auto;
}

input::placeholder,
textarea::placeholder {
  font-family: "Orbitron", system-ui, sans-serif;

  letter-spacing: 0.5px;
}

body {
  letter-spacing: 0.15px;
}

:root {
  --tech-cut: 12px;

  --tech-cut-small: 7px;

  --cxntra-glow: rgba(176, 79, 255, 0.2);
}

/* Technische, kantige Grundform statt weicher Standardboxen */

.brand-card,
.login-card,
.message-card,
.privacy-card,
.panel,
.stat-card,
.server-card,
.dialog-card {
  border-radius: 0;

  clip-path: polygon(
    0 var(--tech-cut),
    var(--tech-cut) 0,

    calc(100% - var(--tech-cut)) 0,

    100% var(--tech-cut),
    100% calc(100% - var(--tech-cut)),
    calc(100% - var(--tech-cut)) 100%,

    var(--tech-cut) 100%,

    0 calc(100% - var(--tech-cut))
  );
}

.btn,
input,
select,
.nav-button,
.nav-link,
.badge,
.system-pill,
.cxntra-chip,
.table-scroll,
.progress-shell,
.terminal,
.server-icon {
  border-radius: 0;

  clip-path: polygon(
    0 var(--tech-cut-small),
    var(--tech-cut-small) 0,

    calc(100% - var(--tech-cut-small)) 0,

    100% var(--tech-cut-small),
    100% calc(100% - var(--tech-cut-small)),
    calc(100% - var(--tech-cut-small)) 100%,

    var(--tech-cut-small) 100%,

    0 calc(100% - var(--tech-cut-small))
  );
}

.btn,
.nav-button,
.nav-link,
input,
select {
  letter-spacing: 1px;
}

input,
select {
  min-height: 52px;

  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 42%),
    linear-gradient(90deg, rgba(176, 79, 255, 0.05), transparent 30%), #0a0213;

  border-color: rgba(176, 79, 255, 0.24);

  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.015),
    0 8px 22px rgba(0, 0, 0, 0.18);
}

input:hover,
select:hover {
  border-color: rgba(176, 79, 255, 0.5);

  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.02),
    0 10px 26px rgba(0, 0, 0, 0.24),
    0 0 0 1px rgba(176, 79, 255, 0.06);
}

.btn {
  min-height: 44px;

  position: relative;

  overflow: hidden;
}

.btn::after {
  content: "";

  position: absolute;

  top: 0;

  left: -100%;

  width: 60%;

  height: 100%;

  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.17),
    transparent
  );

  transform: skewX(-22deg);

  transition: left 0.35s ease;

  pointer-events: none;
}

.btn:hover::after {
  left: 150%;
}

.btn-primary {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.15), transparent 45%),
    linear-gradient(135deg, var(--primary), var(--primary-2));
}

.btn-secondary {
  background: linear-gradient(
    90deg,
    rgba(176, 79, 255, 0.1),
    rgba(176, 79, 255, 0.035)
  );
}

/* Textmarke ohne TL-Kästchen */

.public-brand-text {
  width: 100%;

  justify-content: space-between;

  gap: 24px;

  padding-bottom: 18px;

  border-bottom: 1px solid rgba(176, 79, 255, 0.16);
}

.public-brand-text::after {
  content: "";

  position: absolute;

  left: 0;

  bottom: -1px;

  width: 92px;

  height: 2px;

  background: var(--primary);

  box-shadow: 0 0 18px var(--cxntra-glow);
}

.public-brand-copy strong,
.compact-brand strong,
.sidebar-brand-copy strong {
  text-transform: uppercase;

  font-weight: 900;

  letter-spacing: 4px;
}

.public-brand-copy strong span,
.compact-brand strong span,
.sidebar-brand-copy strong span {
  color: var(--primary);
}

.public-brand-copy small,
.compact-brand small,
.sidebar-brand-copy small {
  display: block;

  margin-top: 7px;

  color: var(--muted);

  text-transform: uppercase;

  letter-spacing: 3px;

  font-size: 7px;

  font-weight: 600;
}

.brand-system-tag,
.cxntra-chip {
  color: #bda9d5;

  border: 1px solid rgba(176, 79, 255, 0.18);

  background: rgba(176, 79, 255, 0.04);

  padding: 8px 11px;

  font-size: 7px;

  letter-spacing: 1.7px;

  text-transform: uppercase;

  white-space: nowrap;
}

.compact-brand {
  width: fit-content;

  margin-bottom: 30px;

  padding-left: 14px;

  border-left: 2px solid var(--primary);
}

.compact-brand strong {
  font-size: 19px;
}

/* Dezentes Cxntra-Systembranding */

.system-signature,
.dialog-signature {
  color: #6d5b7d;

  font-size: 7px;

  line-height: 1.6;

  letter-spacing: 1.5px;

  text-transform: uppercase;
}

.system-signature strong,
.dialog-signature strong {
  color: var(--primary);

  font-weight: 700;
}

.card-signature {
  margin-top: 28px;

  padding-top: 16px;

  border-top: 1px solid rgba(176, 79, 255, 0.1);

  text-align: right;
}

.sidebar-brand {
  position: relative;

  justify-content: space-between;

  border-bottom: 1px solid rgba(176, 79, 255, 0.12);

  margin-bottom: 18px;
}

.sidebar-brand-copy strong {
  font-size: 14px;
}

.brand-accent {
  width: 30px;

  height: 9px;

  border-top: 1px solid var(--primary);

  border-right: 1px solid var(--primary);

  transform: skewX(-28deg);

  opacity: 0.75;
}

.sidebar-footer .system-signature {
  padding: 14px 10px 8px;

  border-top: 1px solid rgba(176, 79, 255, 0.09);
}

.topbar-actions {
  display: flex;

  align-items: center;

  gap: 10px;
}

.cxntra-chip {
  color: var(--primary);

  border-color: rgba(176, 79, 255, 0.28);
}

.dashboard-watermark {
  position: fixed;

  right: -22px;

  bottom: 40px;

  z-index: 0;

  color: rgba(176, 79, 255, 0.018);

  font-size: clamp(80px, 14vw, 220px);

  font-weight: 900;

  letter-spacing: 14px;

  transform: rotate(-90deg) translateX(25%);

  transform-origin: right bottom;

  user-select: none;

  pointer-events: none;
}

.dashboard-layout,
.toast-container,
.tech-dialog {
  position: relative;

  z-index: 1;
}

/* Tabellen und Benutzeraktionen */

[data-view="users"] table {
  min-width: 1080px;
}

.user-action-hint {
  margin: -3px 0 14px;
}

.action-row .btn-primary {
  color: #f4f0ff;
}

.action-row .single-pull-button {
  min-width: 74px;
}

/* Orbitron-Live-Terminal ohne fremde Monospace-Schrift */

.terminal {
  font-family: "Orbitron", system-ui, sans-serif !important;

  letter-spacing: 0.35px;
}

.terminal-line {
  font-family: "Orbitron", system-ui, sans-serif !important;

  font-size: 9px;
}

/* Einzel-Pull Dialog */

.tech-dialog {
  width: min(560px, calc(100vw - 30px));

  padding: 0;

  border: 0;

  background: transparent;

  color: var(--text);
}

.tech-dialog::backdrop {
  background: rgba(7, 1, 12, 0.84);

  backdrop-filter: blur(8px);
}

.dialog-card {
  position: relative;

  margin: 0;

  padding: 32px;

  border: 1px solid rgba(176, 79, 255, 0.34);

  background: linear-gradient(
    140deg,
    rgba(28, 9, 48, 0.98),
    rgba(9, 2, 17, 0.99)
  );

  box-shadow:
    0 30px 100px rgba(0, 0, 0, 0.75),
    inset 0 0 45px rgba(176, 79, 255, 0.04);
}

.dialog-card::before {
  content: "";

  position: absolute;

  top: 0;

  left: 34px;

  width: 120px;

  height: 2px;

  background: var(--primary);

  box-shadow: 0 0 18px rgba(176, 79, 255, 0.45);
}

.dialog-card h2 {
  margin-bottom: 22px;

  font-size: 20px;

  letter-spacing: 1px;
}

.dialog-close {
  position: absolute;

  top: 14px;

  right: 17px;

  width: 34px;

  height: 34px;

  border: 1px solid rgba(176, 79, 255, 0.18);

  background: rgba(176, 79, 255, 0.04);

  color: var(--muted);

  cursor: pointer;

  font-size: 20px;
}

.single-user-target {
  display: grid;

  gap: 6px;

  margin-bottom: 18px;

  padding: 16px;

  border-left: 2px solid var(--primary);

  background: rgba(176, 79, 255, 0.045);
}

.single-user-target span {
  color: var(--muted);

  font-size: 8px;

  letter-spacing: 1.4px;

  text-transform: uppercase;
}

.single-user-target strong {
  color: var(--text);

  font-size: 14px;
}

.single-user-target small {
  color: var(--primary);

  font-size: 9px;

  letter-spacing: 1px;
}

.dialog-actions {
  display: grid;

  grid-template-columns: 1fr 1.35fr;

  gap: 10px;

  margin-top: 22px;
}

.dialog-signature {
  margin-top: 20px;

  text-align: right;
}

@media (max-width: 780px) {
  .topbar-actions {
    align-items: flex-end;
    flex-direction: column-reverse;
  }

  .cxntra-chip {
    display: none;
  }

  .sidebar-footer .system-signature {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .public-brand-text {
    align-items: flex-start;
    flex-direction: column;
  }

  .brand-system-tag {
    align-self: flex-start;
  }

  .dialog-card {
    padding: 28px 20px 22px;
  }

  .dialog-actions {
    grid-template-columns: 1fr;
  }

  .public-brand-copy strong {
    font-size: 17px;
  }
}

.tech-dialog {
  position: fixed;

  inset: 0;

  margin: auto;
}

/* =========================================================
   LIGHTER PURPLE TUNING
   Auf Wunsch heller gemacht / besser angepasst
   ========================================================= */

:root {
  --bg: #160a24;
  --bg-soft: #211034;
  --panel: rgba(42, 20, 66, 0.94);
  --panel-2: rgba(56, 27, 86, 0.94);
  --border: rgba(170, 104, 255, 0.24);
  --border-strong: rgba(196, 126, 255, 0.48);
  --primary: #9b6dff;
  --primary-2: #7b34ff;
  --text: #faf7ff;
  --muted: #c2b4e3;
  --shadow: 0 24px 80px rgba(18, 8, 36, 0.34);
  --cxntra-glow: rgba(170, 104, 255, 0.28);
}

html {
  background: var(--bg);
}

body {
  background:
    radial-gradient(
      circle at 18% 12%,
      rgba(194, 120, 255, 0.2),
      transparent 34%
    ),
    radial-gradient(
      circle at 82% 68%,
      rgba(124, 52, 255, 0.15),
      transparent 32%
    ),
    linear-gradient(145deg, #16091f 0%, #24103a 46%, #12071d 100%);
}

body::before {
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(170, 104, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(170, 104, 255, 0.1) 1px, transparent 1px);
}

.brand-card,
.login-card,
.message-card,
.privacy-card {
  background: linear-gradient(
    155deg,
    rgba(47, 22, 74, 0.97),
    rgba(23, 10, 37, 0.96)
  );
  box-shadow:
    var(--shadow),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.brand-card::after,
.login-card::after,
.message-card::after,
.privacy-card::after {
  background: rgba(196, 126, 255, 0.18);
  filter: blur(18px);
}

.data-notice {
  color: #d4c8f1;
  border-color: rgba(170, 104, 255, 0.22);
  background: rgba(255, 255, 255, 0.035);
}

.data-notice-icon,
.brand-mark {
  box-shadow:
    inset 0 0 30px rgba(170, 104, 255, 0.16),
    0 0 32px rgba(170, 104, 255, 0.16);
}

.lead {
  color: #ddd0fb;
}

.public-footer,
.system-signature,
.dialog-signature {
  color: #9789bc;
}

.privacy-note,
.muted,
.public-brand-copy small,
.compact-brand small,
.sidebar-brand small,
.sidebar-brand-copy small,
.server-header small,
.member-line small,
.progress-label,
.stat-card span,
.stat-card small,
.topbar .muted,
.user-action-hint {
  color: var(--muted);
}

input,
select {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 42%),
    linear-gradient(90deg, rgba(170, 104, 255, 0.08), transparent 32%), #1a0c28;
  border-color: rgba(170, 104, 255, 0.28);
  color: var(--text);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.02),
    0 8px 22px rgba(16, 6, 28, 0.18);
}

input:hover,
select:hover,
input:focus,
select:focus {
  border-color: rgba(196, 126, 255, 0.6);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.03),
    0 0 0 3px rgba(170, 104, 255, 0.12),
    0 12px 28px rgba(16, 6, 28, 0.22);
}

.btn-primary {
  color: #14061f;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent 45%),
    linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: 0 0 28px rgba(170, 104, 255, 0.24);
}

.btn-secondary {
  background: linear-gradient(
    90deg,
    rgba(170, 104, 255, 0.16),
    rgba(170, 104, 255, 0.07)
  );
  color: #eadfff;
  border-color: rgba(196, 126, 255, 0.34);
}

.btn-ghost {
  color: #d5c7f4;
  border-color: rgba(196, 126, 255, 0.16);
  background: rgba(255, 255, 255, 0.02);
}

.sidebar {
  background: rgba(24, 10, 39, 0.94);
  backdrop-filter: blur(18px);
}

.nav-button,
.nav-link {
  color: #c8b7eb;
}

.nav-button:hover,
.nav-button.active,
.nav-link:hover {
  color: var(--text);
  background: rgba(170, 104, 255, 0.12);
  border-color: rgba(170, 104, 255, 0.22);
}

.stat-card,
.panel,
.server-card {
  background: linear-gradient(
    145deg,
    rgba(44, 21, 69, 0.92),
    rgba(24, 10, 39, 0.96)
  );
  border-color: rgba(170, 104, 255, 0.18);
  box-shadow: 0 16px 45px rgba(18, 8, 36, 0.22);
}

.progress-shell {
  background: rgba(18, 6, 31, 0.92);
  border-color: rgba(170, 104, 255, 0.18);
}

.progress-bar {
  background: linear-gradient(90deg, #6c26ff, #b07cff);
}

.terminal {
  background: #1a0b28;
  border-color: rgba(170, 104, 255, 0.16);
}

.terminal-line {
  color: #dfd3fb;
}

.table-scroll {
  border-color: rgba(170, 104, 255, 0.12);
}

th {
  color: #c9b9ea;
  background: rgba(255, 255, 255, 0.04);
}

td {
  color: #f1ebff;
}

.badge {
  background: rgba(170, 104, 255, 0.1);
  color: #eadfff;
  border-color: rgba(170, 104, 255, 0.2);
}

.toast {
  background: rgba(33, 14, 53, 0.98);
}

.dialog-card {
  border-color: rgba(196, 126, 255, 0.36);
  background: linear-gradient(
    140deg,
    rgba(53, 24, 82, 0.98),
    rgba(23, 10, 37, 0.99)
  );
  box-shadow:
    0 30px 100px rgba(16, 6, 28, 0.48),
    inset 0 0 45px rgba(170, 104, 255, 0.06);
}

.dialog-close {
  border-color: rgba(170, 104, 255, 0.22);
  background: rgba(170, 104, 255, 0.08);
  color: #d7caf6;
}

.single-user-target {
  background: rgba(170, 104, 255, 0.08);
}

.select-shell::before {
  background: linear-gradient(
    180deg,
    transparent,
    rgba(170, 104, 255, 0.32),
    transparent
  );
}

.select-shell::after {
  border-right-color: var(--primary);
  border-bottom-color: var(--primary);
  filter: drop-shadow(0 0 7px rgba(170, 104, 255, 0.28));
}

.dashboard-watermark {
  color: rgba(170, 104, 255, 0.03);
}

/* =========================================================
   LOGO MATCH TUNING
   An das hochgeladene Logo angepasst
   Deep purple / vivid violet / clean glow
   ========================================================= */

:root {
  --bg: #0a0215;
  --bg-soft: #150628;
  --panel: rgba(28, 10, 52, 0.95);
  --panel-2: rgba(49, 17, 86, 0.95);
  --border: rgba(129, 52, 255, 0.24);
  --border-strong: rgba(167, 96, 255, 0.46);
  --primary: #7b25ff;
  --primary-2: #5b0fd6;
  --text: #f7f1ff;
  --muted: #bba9de;
  --shadow: 0 24px 80px rgba(14, 3, 28, 0.42);
  --cxntra-glow: rgba(129, 52, 255, 0.28);
}

html {
  background: var(--bg);
}

body {
  background:
    radial-gradient(
      circle at 50% 48%,
      rgba(88, 11, 214, 0.22),
      transparent 34%
    ),
    radial-gradient(
      circle at 28% 20%,
      rgba(130, 53, 255, 0.18),
      transparent 30%
    ),
    radial-gradient(
      circle at 74% 70%,
      rgba(103, 21, 240, 0.14),
      transparent 28%
    ),
    linear-gradient(145deg, #07010d 0%, #120321 44%, #0a0215 100%);
}

body::before {
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(129, 52, 255, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(129, 52, 255, 0.09) 1px, transparent 1px);
}

.brand-card,
.login-card,
.message-card,
.privacy-card {
  background: linear-gradient(
    155deg,
    rgba(43, 14, 78, 0.97),
    rgba(19, 6, 36, 0.97)
  );
  border-color: rgba(129, 52, 255, 0.22);
}

.brand-card::after,
.login-card::after,
.message-card::after,
.privacy-card::after {
  background: rgba(123, 37, 255, 0.18);
}

.brand-mark,
.data-notice-icon {
  color: var(--text);
  border-color: var(--border-strong);
  background: linear-gradient(
    145deg,
    rgba(123, 37, 255, 0.18),
    rgba(255, 255, 255, 0.015)
  );
  box-shadow:
    inset 0 0 30px rgba(123, 37, 255, 0.18),
    0 0 34px rgba(123, 37, 255, 0.16);
}

.brand-symbol {
  text-shadow: 0 0 18px rgba(123, 37, 255, 0.42);
}

.brand-line,
.public-brand-text::after,
.dialog-card::before {
  background: linear-gradient(90deg, transparent, var(--primary));
  box-shadow: 0 0 16px rgba(123, 37, 255, 0.34);
}

.brand-line-right {
  background: linear-gradient(90deg, var(--primary), transparent);
}

.lead {
  color: #ddd1f8;
}

.data-notice {
  color: #d8cbf3;
  border-color: rgba(129, 52, 255, 0.22);
  background: rgba(123, 37, 255, 0.06);
}

.public-footer,
.system-signature,
.dialog-signature {
  color: #8f7ab9;
}

input,
select {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 42%),
    linear-gradient(90deg, rgba(123, 37, 255, 0.09), transparent 32%), #18092d;
  border-color: rgba(129, 52, 255, 0.28);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.02),
    0 8px 22px rgba(12, 2, 24, 0.2);
}

input:hover,
select:hover,
input:focus,
select:focus {
  border-color: rgba(167, 96, 255, 0.62);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.03),
    0 0 0 3px rgba(123, 37, 255, 0.12),
    0 12px 28px rgba(12, 2, 24, 0.24);
}

.btn-primary {
  color: #13051f;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent 45%),
    linear-gradient(135deg, #8b3cff, #5b0fd6);
  box-shadow: 0 0 30px rgba(123, 37, 255, 0.24);
}

.btn-secondary {
  background: linear-gradient(
    90deg,
    rgba(123, 37, 255, 0.16),
    rgba(123, 37, 255, 0.06)
  );
  color: #efe6ff;
  border-color: rgba(167, 96, 255, 0.34);
}

.btn-ghost {
  color: #d8ccf3;
  border-color: rgba(167, 96, 255, 0.16);
  background: rgba(255, 255, 255, 0.02);
}

.sidebar {
  background: rgba(19, 7, 36, 0.95);
  border-right-color: rgba(129, 52, 255, 0.18);
}

.sidebar-brand {
  border-bottom-color: rgba(129, 52, 255, 0.14);
}

.nav-button,
.nav-link {
  color: #c9b8ea;
}

.nav-button:hover,
.nav-button.active,
.nav-link:hover {
  color: var(--text);
  background: rgba(123, 37, 255, 0.12);
  border-color: rgba(129, 52, 255, 0.22);
}

.nav-button.active {
  color: #cfaeff;
}

.stat-card,
.panel,
.server-card {
  background: linear-gradient(
    145deg,
    rgba(38, 13, 69, 0.94),
    rgba(19, 7, 36, 0.97)
  );
  border-color: rgba(129, 52, 255, 0.18);
  box-shadow: 0 16px 45px rgba(14, 3, 28, 0.26);
}

.stat-card strong {
  color: #bc8bff;
}

.progress-shell {
  background: rgba(15, 4, 28, 0.92);
  border-color: rgba(129, 52, 255, 0.16);
}

.progress-bar {
  background: linear-gradient(90deg, #5410c9, #8f45ff);
}

.terminal {
  background: #120420;
  border-color: rgba(129, 52, 255, 0.16);
}

.terminal-line {
  color: #e6dbff;
}

.terminal-line.info {
  color: #bc8bff;
}

.table-scroll {
  border-color: rgba(129, 52, 255, 0.12);
}

th {
  color: #cebdf1;
  background: rgba(123, 37, 255, 0.06);
}

td {
  color: #f3edff;
}

.badge {
  background: rgba(123, 37, 255, 0.1);
  color: #efe5ff;
  border-color: rgba(129, 52, 255, 0.2);
}

.toast {
  border-color: rgba(129, 52, 255, 0.18);
  background: rgba(24, 8, 43, 0.98);
}

.dialog-card {
  border-color: rgba(167, 96, 255, 0.34);
  background: linear-gradient(
    140deg,
    rgba(46, 16, 82, 0.98),
    rgba(20, 7, 37, 0.99)
  );
  box-shadow:
    0 30px 100px rgba(12, 2, 24, 0.52),
    inset 0 0 45px rgba(123, 37, 255, 0.07);
}

.dialog-close {
  border-color: rgba(129, 52, 255, 0.22);
  background: rgba(123, 37, 255, 0.08);
  color: #dcccfa;
}

.single-user-target {
  border-left-color: var(--primary);
  background: rgba(123, 37, 255, 0.08);
}

.select-shell::before {
  background: linear-gradient(
    180deg,
    transparent,
    rgba(123, 37, 255, 0.34),
    transparent
  );
}

.select-shell::after {
  filter: drop-shadow(0 0 8px rgba(123, 37, 255, 0.32));
}

.dashboard-watermark {
  color: rgba(123, 37, 255, 0.035);
}
