:root {
  color-scheme: light dark;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #0b0c10;
  color: #f2f6ff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at top, rgba(48, 102, 190, 0.15), transparent 70%);
  padding: 2rem clamp(1rem, 4vw, 3rem) 3rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

header {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  align-items: stretch;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.85rem;
  margin: 0;
  color: #58c4dc;
}

header h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0.2rem 0;
}

.subtitle {
  margin: 0;
  color: rgba(242, 246, 255, 0.75);
  line-height: 1.6;
}

.status-card {
  flex: 1;
  min-width: 260px;
  border-radius: 16px;
  padding: 1.5rem;
  background: rgba(11, 19, 43, 0.8);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(104, 199, 255, 0.2);
}

.status-card .label {
  text-transform: uppercase;
  color: rgba(242, 246, 255, 0.8);
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
}

.status-card .value {
  font-size: 1.1rem;
  margin: 0.4rem 0;
  word-break: break-all;
}

.status {
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  font-size: 0.85rem;
  display: inline-block;
}

.status-success {
  background: rgba(44, 201, 144, 0.2);
  color: #44ffbd;
}

.status-error {
  background: rgba(255, 103, 103, 0.15);
  color: #ff8da1;
}

.status-warning {
  background: rgba(255, 196, 0, 0.2);
  color: #ffd479;
}

.status-muted {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
}

main {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.panel {
  border-radius: 16px;
  padding: 1.5rem;
  background: rgba(12, 16, 32, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 60px rgba(3, 8, 20, 0.45);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.panel h2 {
  margin: 0;
}

.panel-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
}

form {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

label {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
}

input {
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  color: inherit;
}

button {
  border: none;
  border-radius: 999px;
  padding: 0.7rem 1.4rem;
  background: linear-gradient(120deg, #52d5ff, #5277ff);
  color: #05142b;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

button:hover {
  transform: translateY(-1px);
  opacity: 0.95;
}

button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.grid-list {
  display: grid;
  gap: 0.75rem;
}

.grid-list.empty {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
}

.card {
  border-radius: 12px;
  padding: 1rem;
  background: rgba(24, 32, 56, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.card header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

.pill {
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: rgba(82, 119, 255, 0.15);
  color: #9fb4ff;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1rem;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
}
