:root {
  --bg: #0b0f1a;
  --card: rgba(255, 255, 255, 0.06);
  --card2: rgba(255, 255, 255, 0.10);
  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.66);
  --border: rgba(255, 255, 255, 0.14);
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  --accent: #7c5cff;
  --accent2: #2dd4bf;
  --danger: #ff4d6d;
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: radial-gradient(1200px 700px at 15% 10%, rgba(124, 92, 255, 0.28), transparent 60%),
    radial-gradient(900px 600px at 85% 35%, rgba(45, 212, 191, 0.22), transparent 55%),
    radial-gradient(900px 650px at 40% 95%, rgba(124, 92, 255, 0.15), transparent 55%),
    var(--bg);
}

.page {
  min-height: 100%;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 28px 18px 22px;
  max-width: 920px;
  margin: 0 auto;
  gap: 16px;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.logo {
  width: 46px;
  height: 46px;
  position: relative;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-weight: 800;
  letter-spacing: 0.6px;
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.9), rgba(45, 212, 191, 0.7));
  box-shadow: 0 18px 50px rgba(124, 92, 255, 0.25);
  overflow: hidden;
}

.logo-img {
  width: 100%;
  height: 100%;
  padding: 6px;
  object-fit: contain;
  display: block;
  /* Force logo to render white (works well for dark/colored marks) */
  filter: brightness(0) invert(1) drop-shadow(0 10px 22px rgba(0, 0, 0, 0.35)) !important;
}

.logo-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
}

.brand-title {
  font-weight: 700;
  font-size: 14px;
  line-height: 1.1;
}

.brand-subtitle {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

.card {
  background: linear-gradient(180deg, var(--card), rgba(255, 255, 255, 0.03));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 22px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.title {
  font-size: 28px;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}

.subtitle {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.55;
}

.form {
  display: grid;
  gap: 14px;
}

.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 760px) {
  .grid {
    grid-template-columns: 1fr 1fr;
  }
  .span-2 {
    grid-column: span 2;
  }
}

.field {
  display: grid;
  gap: 8px;
}

.label {
  font-weight: 600;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.82);
}

.hint {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 12.5px;
}

.input,
.textarea {
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  padding: 12px 12px;
  color: var(--text);
  outline: none;
  transition: border-color 150ms ease, background 150ms ease;
}

.select {
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  padding: 12px 10px;
  color: var(--text);
  outline: none;
}

.phone-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 10px;
}

.check {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.5;
}

.check input {
  margin-top: 2px;
  accent-color: var(--accent);
}

.volunteer-section {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 10px;
  margin-top: 6px;
  display: grid;
  gap: 8px;
}

.section-title {
  font-size: 12.5px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.input::placeholder,
.textarea::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.input:focus,
.textarea:focus {
  border-color: rgba(124, 92, 255, 0.65);
  background: rgba(255, 255, 255, 0.06);
}

.fieldset {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 12px 12px 10px;
  background: rgba(255, 255, 255, 0.03);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  user-select: none;
  transition: transform 120ms ease, border-color 120ms ease, background 120ms ease;
}

.chip:hover {
  transform: translateY(-1px);
  border-color: rgba(124, 92, 255, 0.35);
}

.chip input {
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
}

.actions {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: flex-start;
  margin-top: 4px;
}

.button {
  border: none;
  border-radius: 14px;
  padding: 12px 14px;
  font-weight: 700;
  letter-spacing: 0.2px;
  color: #0b0f1a;
  background: linear-gradient(135deg, rgba(124, 92, 255, 1), rgba(45, 212, 191, 1));
  cursor: pointer;
  transition: transform 120ms ease, filter 120ms ease;
}

.button:disabled {
  cursor: not-allowed;
  filter: grayscale(0.3) brightness(0.85);
}

.button:hover:not(:disabled) {
  transform: translateY(-1px);
}

.link {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.link:hover {
  color: rgba(255, 255, 255, 0.95);
  border-bottom-color: rgba(255, 255, 255, 0.45);
}

.status {
  min-height: 22px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.80);
}

.status.error {
  color: rgba(255, 77, 109, 0.95);
}

.status.success {
  color: rgba(45, 212, 191, 0.95);
}

.footer {
  padding-top: 8px;
  font-size: 12.5px;
  color: var(--muted);
}

.muted {
  color: var(--muted);
}


