/* Send portal — clean, minimal, faint green-phosphor accent to match
   savorydesigns.xyz. Mobile-first; it's used from a phone bookmark. */
:root {
  --bg: #0a0e0a;
  --panel: #11160f;
  --ink: #e8ffe8;
  --dim: #7d917d;
  --accent: #7CFF6B;
  --accent-dim: #2f5a2c;
  --danger: #ff6b6b;
  --radius: 10px;
  --mono: "SFMono-Regular", ui-monospace, "Cascadia Code", Consolas, monospace;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 16px;
  line-height: 1.5;
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.card {
  width: 100%;
  max-width: 460px;
  background: var(--panel);
  border: 1px solid var(--accent-dim);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: 0 0 40px rgba(124, 255, 107, 0.05);
}

h1 {
  font-size: 1.15rem;
  margin: 0 0 4px;
  letter-spacing: 0.04em;
}
.sub { color: var(--dim); font-size: 0.85rem; margin: 0 0 22px; }

label { display: block; font-size: 0.8rem; color: var(--dim); margin: 16px 0 6px; }

input[type="password"],
input[type="text"],
select,
textarea {
  width: 100%;
  background: #0c110b;
  color: var(--ink);
  border: 1px solid var(--accent-dim);
  border-radius: 8px;
  padding: 12px;
  font-family: var(--mono);
  font-size: 1rem;
  resize: vertical;
}
input:focus, textarea:focus { outline: none; border-color: var(--accent); }

textarea { min-height: 110px; }

.row { display: flex; justify-content: space-between; align-items: baseline; }
.counter { color: var(--dim); font-size: 0.75rem; }
.counter.over { color: var(--danger); }

.segment { display: flex; gap: 8px; }
.segment button {
  flex: 1;
  background: #0c110b;
  color: var(--dim);
  border: 1px solid var(--accent-dim);
  border-radius: 8px;
  padding: 12px;
  font-family: var(--mono);
  font-size: 0.95rem;
  cursor: pointer;
}
.segment button.active {
  color: var(--bg);
  background: var(--accent);
  border-color: var(--accent);
  font-weight: 600;
}

button.primary {
  width: 100%;
  margin-top: 20px;
  background: var(--accent);
  color: var(--bg);
  border: none;
  border-radius: 8px;
  padding: 14px;
  font-family: var(--mono);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
}
button.primary:disabled { opacity: 0.5; cursor: not-allowed; }

.status { margin-top: 16px; min-height: 1.4em; font-size: 0.85rem; }
.status.ok { color: var(--accent); }
.status.err { color: var(--danger); }

.hidden { display: none; }

.last {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px dashed var(--accent-dim);
  color: var(--dim);
  font-size: 0.8rem;
}
.last b { color: var(--ink); font-weight: 600; }
