@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700;800&display=swap');

:root {
  --bg: #fbf6ef;
  --card: #ffffff;
  --ink: #2b211a;
  --muted: #7a6a5d;
  --line: #eadfd2;
  --brand: #b4532a;
  --brand-dark: #8f3f1d;
  --brand-soft: #f7e6dc;
  --green: #2f8a4c;
  --green-soft: #e3f3e8;
  --amber: #b9770e;
  --amber-soft: #fbf0d9;
  --red: #c0392b;
  --red-soft: #fbe3e0;
  --wa: #1fa855;
  --radius: 18px;
  --shadow: 0 2px 10px rgba(60, 35, 15, 0.08);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; }
body {
  font-family: 'Cairo', 'Segoe UI', Tahoma, sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 18px;
  line-height: 1.5;
}
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
input, textarea, select {
  width: 100%;
  border: 2px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  background: #fff;
  font-size: 20px;
  outline: none;
}
input:focus, textarea:focus, select:focus { border-color: var(--brand); }
label { display: block; font-weight: 700; margin: 18px 0 6px; }
.hint { color: var(--muted); font-size: 15px; font-weight: 400; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 24px; border-radius: 16px;
  font-weight: 800; font-size: 20px;
  background: var(--brand); color: #fff;
  transition: transform .08s, background .15s;
  text-decoration: none;
}
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn.block { width: 100%; }
.btn.big { min-height: 66px; font-size: 22px; }
.btn.light { background: var(--brand-soft); color: var(--brand-dark); }
.btn.green { background: var(--green); }
.btn.wa { background: var(--wa); }
.btn.ghost { background: #fff; color: var(--ink); border: 2px solid var(--line); }
.btn.red { background: var(--red-soft); color: var(--red); }

.toast {
  position: fixed; inset-inline: 16px; bottom: 24px; z-index: 100;
  margin: 0 auto; max-width: 520px;
  background: var(--ink); color: #fff; border-radius: 16px;
  padding: 16px 20px; font-weight: 700; text-align: center;
  box-shadow: 0 8px 30px rgba(0,0,0,.25);
  animation: pop .2s ease-out;
}
.toast.error { background: var(--red); }
@keyframes pop { from { transform: translateY(20px); opacity: 0; } }
.hidden { display: none !important; }
