/* Custom tweaks layered over Tailwind utility classes. */
body {
  background: radial-gradient(circle at 20% 20%, rgba(16, 185, 129, 0.08), transparent 25%),
              radial-gradient(circle at 80% 0%, rgba(59, 130, 246, 0.08), transparent 25%),
              #020617;
}

.card {
  backdrop-filter: blur(6px);
}

* {
  box-sizing: border-box;
}

.page {
  color: #e6edf3;
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  min-height: 100vh;
}

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 24px 18px;
}

.header h1 {
  font-size: 28px;
  margin: 0 0 4px;
}

.header p {
  color: #8b949e;
  margin: 0 0 16px;
}

.card {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid #1f2937;
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field label {
  color: #cbd5e1;
  font-size: 14px;
}

.field input,
.field select {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #334155;
  background: rgba(2, 6, 23, 0.8);
  color: #e6edf3;
}

.field input:focus,
.field select:focus {
  outline: 2px solid #10b981;
  border-color: #10b981;
}

.row {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.grow {
  flex: 1;
}

.checkboxes {
  display: flex;
  gap: 16px;
  color: #e2e8f0;
  font-size: 14px;
}

.checkboxes input {
  margin-right: 6px;
}

button {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 10px;
  background: #10b981;
  color: #0b1220;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.1s ease;
}

button:hover {
  background: #34d399;
}

button:active {
  transform: translateY(1px);
}

.muted {
  color: #94a3b8;
  margin-top: 8px;
  white-space: pre-wrap;
  font-family: "SFMono-Regular", "Consolas", "Liberation Mono", monospace;
}

.toast {
  position: fixed;
  top: 18px;
  right: 18px;
  padding: 12px 14px;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid #1f2937;
  color: #e6edf3;
  border-radius: 10px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
  max-width: 360px;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 180ms ease, transform 180ms ease;
  pointer-events: none;
  z-index: 999;
}

.toast.success {
  border-color: #1f7a4d;
  background: rgba(16, 34, 26, 0.95);
  color: #bbf7d0;
}

.toast.error {
  border-color: #a83232;
  background: rgba(39, 18, 22, 0.95);
  color: #fecdd3;
}

.toast[aria-hidden="false"] {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Responsive tweaks */
@media (max-width: 640px) {
  .container {
    padding: 16px 12px;
  }
  .header h1 {
    font-size: 22px;
  }
  .card {
    padding: 14px;
  }
  .row {
    gap: 8px;
  }
  .checkboxes {
    flex-direction: column;
    gap: 8px;
  }
}
