/* PegasusXI form pages (GM application / success) — site theme */
:root {
  --form-bg: #080b14;
  --card-bg: linear-gradient(165deg, rgba(22, 30, 48, 0.96), rgba(10, 14, 24, 0.98));
  --text: #e4e8f0;
  --muted: #8a92a8;
  --border: rgba(140, 170, 220, 0.18);
  --accent: #c9a032;
  --accent-hover: #a8851e;
  --crystal: #7cc5e8;
  --error: #e05555;
  --radius: 12px;
  --shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  --font-display: "Cinzel", Georgia, serif;
  --font-body: "Satoshi", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  color: var(--text);
  background:
    radial-gradient(ellipse 90% 55% at 50% -10%, rgba(124, 197, 232, 0.1), transparent 55%),
    var(--form-bg);
  padding: 12px 16px 48px;
}

.wrap {
  max-width: 640px;
  margin: 0 auto;
}

.top-bar {
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  border-radius: var(--radius) var(--radius) 0 0;
  margin-bottom: -1px;
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow);
  padding: 24px 24px 16px;
}

.title {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin: 0 0 12px;
  line-height: 1.3;
  color: var(--text);
}

.lede {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.95rem;
}

.note {
  margin: 16px 0 0;
  padding: 12px 14px;
  background: rgba(124, 197, 232, 0.08);
  border-left: 3px solid var(--crystal);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.note strong { color: var(--text); }

.meta {
  margin: 20px 0 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.req { color: var(--error); }

.field {
  margin-top: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.field:last-of-type {
  border-bottom: none;
  padding-bottom: 8px;
}

label.main {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.hint {
  font-size: 0.8rem;
  color: var(--muted);
  margin: 4px 0 0;
}

input[type="text"],
input[type="email"],
textarea,
select {
  width: 100%;
  max-width: 100%;
  padding: 10px 12px;
  font: inherit;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(8, 12, 22, 0.9);
  color: var(--text);
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: rgba(201, 160, 50, 0.55);
  box-shadow: 0 0 0 3px rgba(201, 160, 50, 0.12);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.radio-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.radio-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.radio-row input { margin-top: 3px; }
.radio-row label { font-weight: 400; cursor: pointer; }

.actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
  padding-top: 8px;
}

button[type="submit"],
.btn,
.btn-primary {
  appearance: none;
  border: 1px solid rgba(201, 160, 50, 0.45);
  border-radius: 999px;
  padding: 0.7rem 1.35rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  color: #f3e6b8;
  cursor: pointer;
  background: rgba(201, 160, 50, 0.18);
}

button[type="submit"]:hover,
.btn:hover,
.btn-primary:hover {
  background: rgba(201, 160, 50, 0.28);
}

button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

a { color: var(--crystal); }
a:hover { color: #b8e4f7; }

.hero h1 {
  font-family: var(--font-display);
  color: var(--accent);
}

.success-actions a {
  color: var(--crystal);
  font-weight: 600;
}

code {
  font-family: ui-monospace, monospace;
  color: var(--crystal);
}
