:root {
  --bg: #f4f6f3;
  --panel: #ffffff;
  --panel-soft: #f9faf7;
  --text: #1a2029;
  --muted: #667383;
  --faint: #8a95a3;
  --line: #dce4de;
  --line-strong: #c9d5cd;
  --green: #128767;
  --green-soft: #e7f4ef;
  --blue: #245f9d;
  --red: #bc4141;
  --yellow: #d59a2f;
  --shadow: 0 18px 55px rgba(20, 29, 38, 0.08);
  --radius: 8px;
  font-family: Inter, Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  background: var(--bg);
  color: var(--text);
  margin: 0;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

.app-root {
  min-height: 100vh;
}

.hidden {
  display: none !important;
}

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

.eyebrow {
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 8px;
  text-transform: uppercase;
}

.text-button {
  background: transparent;
  border: 0;
  color: var(--green);
  font-weight: 800;
  padding: 0;
}

.primary-button,
.secondary-button,
.danger-button {
  align-items: center;
  border-radius: var(--radius);
  display: inline-flex;
  font-weight: 800;
  gap: 8px;
  justify-content: center;
  min-height: 42px;
  padding: 10px 14px;
}

.primary-button {
  background: var(--text);
  border: 1px solid var(--text);
  color: #ffffff;
}

.secondary-button {
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--text);
}

.danger-button {
  background: #fff4f4;
  border: 1px solid #e6b8b8;
  color: var(--red);
}

.primary-button:disabled,
.secondary-button:disabled,
.danger-button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.status-badge {
  background: var(--green-soft);
  border: 1px solid rgba(18, 135, 103, 0.18);
  border-radius: 999px;
  color: var(--green);
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  padding: 5px 9px;
}

.toast-host {
  bottom: 18px;
  display: grid;
  gap: 10px;
  position: fixed;
  right: 18px;
  z-index: 50;
}

.toast {
  background: var(--text);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  color: #ffffff;
  font-weight: 700;
  max-width: 360px;
  padding: 12px 14px;
}

.toast.error {
  background: var(--red);
}

.toast.success {
  background: var(--green);
}
