body {
  margin: 0;
  background:
    radial-gradient(circle at 20% 0%, rgba(0, 238, 255, .22), transparent 32%),
    radial-gradient(circle at 80% 20%, rgba(123, 97, 255, .22), transparent 34%),
    #030711;
  color: #eaffff;
  font-family: Arial, sans-serif;
}

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 34px;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 26px;
}

h1 {
  margin: 0;
  font-size: 42px;
  letter-spacing: 1px;
}

h2 {
  color: #7cf9ff;
  margin-top: 0;
}

a {
  color: #7cf9ff;
  text-decoration: none;
}

.logout, .button {
  border: 1px solid rgba(124, 249, 255, .45);
  padding: 10px 16px;
  border-radius: 12px;
}

.disabled {
  opacity: .5;
  pointer-events: none;
}

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.card, .login-card {
  background: rgba(6, 18, 35, .86);
  border: 1px solid rgba(0, 238, 255, .35);
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 0 40px rgba(0, 238, 255, .12);
  margin-bottom: 18px;
  backdrop-filter: blur(10px);
}

.status, .online {
  color: #39ffb6;
  font-weight: bold;
}

.offline {
  color: #657a88;
}

.big {
  font-size: 54px;
  color: #fff;
}

.row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th, td {
  border-bottom: 1px solid rgba(255,255,255,.12);
  padding: 12px;
  text-align: left;
}

pre {
  white-space: pre-wrap;
  color: #b6faff;
  overflow-x: auto;
}

.login-card {
  max-width: 380px;
  margin: 12vh auto;
}

input, button {
  width: 100%;
  box-sizing: border-box;
  padding: 14px;
  margin-top: 12px;
  border-radius: 12px;
  border: 1px solid #1eeaff55;
  background: #071527;
  color: #fff;
}

button {
  background: linear-gradient(90deg, #00eaff, #7b61ff);
  color: #001;
  font-weight: bold;
  cursor: pointer;
}

.nav {
  display: flex;
  gap: 10px;
  align-items: center;
}

.alert {
  padding: 12px 14px;
  border-radius: 12px;
  margin: 12px 0;
}

.alert.error {
  background: rgba(255, 60, 90, .14);
  border: 1px solid rgba(255, 60, 90, .4);
  color: #ff9aaa;
}

.alert.success {
  background: rgba(57, 255, 182, .12);
  border: 1px solid rgba(57, 255, 182, .35);
  color: #39ffb6;
}

.narrow {
  max-width: 520px;
}

.mini {
  display: inline-block;
  padding: 7px 10px;
  margin-right: 6px;
  border: 1px solid rgba(124, 249, 255, .35);
  border-radius: 10px;
  font-size: 13px;
}

.qr-card {
  text-align: center;
  max-width: 520px;
  margin: 0 auto;
}

.qr-img {
  background: white;
  padding: 16px;
  border-radius: 20px;
  max-width: 320px;
  width: 100%;
  box-shadow: 0 0 36px rgba(0, 238, 255, .22);
}

.actions {
  white-space: nowrap;
}

.inline-form {
  display: inline-block;
  margin: 0;
}

.inline-form button {
  width: auto;
  margin: 0 6px 0 0;
}

.danger {
  background: rgba(255, 60, 90, .9);
  color: #fff;
  border-color: rgba(255, 60, 90, .9);
}

.danger-soft {
  background: rgba(255, 170, 60, .18);
  color: #ffd29b;
  border-color: rgba(255, 170, 60, .45);
}

.success-soft {
  background: rgba(57, 255, 182, .15);
  color: #39ffb6;
  border-color: rgba(57, 255, 182, .45);
}

.bar {
  width: 100%;
  height: 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.1);
  overflow: hidden;
  margin-top: 14px;
}

.bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #00eaff, #7b61ff);
  border-radius: 999px;
}
