:root{
  --bg: #0b1020;
  --card: #141a2b;
  --muted: #7a88a5;
  --text: #e8ecf8;
  --primary: #6c9cff;
  --primary-dark: #4b7bd3;
  --focus: 0 0 0 3px rgba(108,156,255,.5);
  --radius: 12px;
}

/*
{ box-sizing: border-box; }
html, body { height: 100%; margin: 0; background: radial-gradient(circle at 20% -10%, rgba(108,156,255,.15), transparent 40%), radial-gradient(circle at 100% 0%, rgba(255,140,0,.08), transparent 40%), var(--bg); color: var(--text); font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
*/

.container {
  color: var(--text); font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  max-width: 100%;
  margin: 2rem auto;
  padding: 0 1rem;
}

h1 {
  font-size: 2.25rem;
  margin-bottom: .75rem;
  text-align: center;
  letter-spacing: .5px;
}

.note { color: var(--muted); font-size: .95rem; text-align: center; margin-bottom: 1rem; }

form {
  background: rgba(20,26,43,.92);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  padding: 1.25rem 1.25rem 1.5rem;
  box-shadow: 0 10px 25px rgba(0,0,0,.25);
}

.field-group {
  border: none;
  margin-bottom: 1rem;
  padding: 0;
}

.field-group legend {
  padding: .25rem 0;
  font-weight: 600;
  color: #e8f0ff;
  border-bottom: 1px solid rgba(255,255,255,.08);
  margin-bottom: .75rem;
  display: block;
}

.field {
  display: block;
  margin-bottom: .75rem;
  display: flex;
  flex-direction: column;
}

.field label {
  font-weight: 600;
  margin-bottom: .25rem;
  color: #e8f0ff;
}

.field input,
.field textarea {
  /*width: 100%;*/
  padding: .75rem .85rem;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 8px;
  background: rgba(4,10,25,.6);
  color: #eaf2ff;
  font: inherit;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}

.field input::placeholder,
.field textarea::placeholder { color: #9bb3d9; }

.field input:focus,
.field textarea:focus {
  border-color: #89b4ff;
  box-shadow: var(--focus);
}

.textarea-field textarea {
  min-height: 120px;
  resize: vertical;
}

.form-actions{
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  margin-top: .5rem;
}

.form-actions .btn {
  border: none;
  border-radius: 999px;
  padding: .75rem 1.25rem;
  font-size: 1rem;
  cursor: pointer;
  transition: transform .05s ease-in-out;
}

.form-actions .btn:active { transform: scale(.98); }

.form-actions .btn-primary{
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25);
}

.form-actions .btn-secondary {
  background: rgba(255,255,255,.08);
  color: #e8f0ff;
  border: 1px solid rgba(255,255,255,.2);
}

.status {
  margin-top: .75rem;
  min-height: 1.2em;
  font-family: monospace;
  color: #e6f6d6;
  background: rgba(0,0,0,.25);
  padding: .5rem 0.75rem;
  border-radius: 6px;
}

@media (max-width: 640px) {
  .container { margin: 2rem auto; }
  h1 { font-size: 1.75rem; }
}
