[v-cloak] {
  display: none;
}

:root {
  color-scheme: light;
  --ink: #14213d;
  --muted: #64748b;
  --line: #e5eaf0;
  --canvas: #f7f9fc;
  --navy: #071b36;
  --navy-soft: #0d294b;
  --mint: #34d399;
}

* {
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
    'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  background: var(--canvas);
  color: var(--ink);
  margin: 0;
  overflow: hidden;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
}

.app-sidebar {
  background:
    radial-gradient(circle at 30% 0%, rgba(26, 82, 120, 0.42), transparent 30rem),
    linear-gradient(180deg, #061a35 0%, #071d3b 100%);
}

.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.025);
}

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

.panel-table th {
  background: #fbfcfe;
  color: #64748b;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 12px 16px;
  text-align: left;
  white-space: nowrap;
}

.panel-table td {
  border-top: 1px solid #eef2f6;
  color: #334155;
  font-size: 13px;
  padding: 13px 16px;
  vertical-align: middle;
}

.panel-table tbody tr {
  transition: background-color 160ms ease;
}

.panel-table tbody tr:hover {
  background: #fbfdff;
}

.field {
  background: #fff;
  border: 1px solid #dbe3ec;
  border-radius: 9px;
  color: #334155;
  font-size: 13px;
  height: 40px;
  outline: none;
  padding: 0 12px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.field:focus {
  border-color: #60a5fa;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
}

.btn {
  align-items: center;
  border-radius: 9px;
  display: inline-flex;
  font-size: 13px;
  font-weight: 600;
  gap: 7px;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, opacity 160ms ease;
}

.btn-primary {
  background: #0f766e;
  color: #fff;
}

.btn-primary:hover {
  background: #0d625c;
}

.btn-secondary {
  background: #fff;
  border: 1px solid #dbe3ec;
  color: #475569;
}

.btn-secondary:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
}

.btn-danger {
  background: #dc2626;
  color: #fff;
}

.btn-danger:hover {
  background: #b91c1c;
}

.status-dot {
  border-radius: 999px;
  display: inline-block;
  height: 8px;
  width: 8px;
}

.status-online {
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.12);
}

.status-offline {
  background: #94a3b8;
}

.status-warning {
  background: #f59e0b;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
