/* Public request page for end customers: very large, very simple, phone-first. */
@font-face { font-family: "Plex Arabic"; font-weight: 400; font-display: swap; src: url("../fonts/plex-arabic-400.woff2") format("woff2"); }
@font-face { font-family: "Plex Arabic"; font-weight: 700; font-display: swap; src: url("../fonts/plex-arabic-700.woff2") format("woff2"); }

:root { --bg: #f7f6f2; --card: #fff; --text: #17201d; --muted: #5f6763; --brand: #0e6b5c; --line: #dedbd1; --bad: #b91c1c; --ok: #15803d; }
@media (prefers-color-scheme: dark) {
  :root { --bg: #111413; --card: #1b201e; --text: #edf0ee; --muted: #a2aaa6; --brand: #34b39b; --line: #2f3632; }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: "Plex Arabic", Tahoma, system-ui, sans-serif; font-size: 20px; line-height: 1.6; }
.wrap { max-width: 560px; margin: 0 auto; padding: 20px 16px 48px; }
.company { text-align: center; padding: 8px 0 18px; }
.company .logo { width: 64px; height: 64px; border-radius: 18px; background: var(--brand); color: #fff; display: grid; place-items: center; font-size: 30px; font-weight: 700; margin: 0 auto 10px; }
.company h1 { font-size: 24px; margin: 0; }
.step { text-align: center; color: var(--muted); font-size: 17px; margin-bottom: 6px; }
h2 { font-size: 26px; text-align: center; margin: 0 0 18px; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 150px; padding: 16px 10px; background: var(--card); border: 2px solid var(--line); border-radius: 20px; color: var(--text); text-decoration: none; text-align: center; font-weight: 700; font-size: 20px; }
.tile:active, .tile:focus { border-color: var(--brand); outline: none; }
.tile .icon { width: 84px; height: 84px; border-radius: 24px; background: #e2f1ec; color: var(--brand); display: grid; place-items: center; }
.tile .icon .svc-icon { width: 50px; height: 50px; }
.tile .icon img.svc-img { width: 84px; height: 84px; border-radius: 24px; object-fit: cover; }
.tile small { font-weight: 400; color: var(--muted); font-size: 15px; }
@media (max-width: 360px) { .tiles { grid-template-columns: 1fr; } }
.chosen { display: flex; align-items: center; gap: 12px; background: var(--card); border: 2px solid var(--brand); border-radius: 18px; padding: 12px 16px; margin-bottom: 18px; }
.chosen .icon { width: 56px; height: 56px; border-radius: 16px; background: #e2f1ec; color: var(--brand); display: grid; place-items: center; flex: none; }
.chosen .icon .svc-icon { width: 34px; height: 34px; }
.chosen .icon img.svc-img { width: 56px; height: 56px; border-radius: 16px; object-fit: cover; }
.chosen a { margin-inline-start: auto; font-size: 16px; color: var(--brand); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; margin-bottom: 6px; }
.field input, .field textarea { width: 100%; font: inherit; font-size: 21px; padding: 14px 16px; border: 2px solid var(--line); border-radius: 14px; background: var(--card); color: var(--text); }
.field input:focus, .field textarea:focus { border-color: var(--brand); outline: none; }
.field .err { color: var(--bad); font-size: 17px; margin-top: 4px; }
.photo { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 16px; border: 2px dashed var(--line); border-radius: 14px; background: var(--card); cursor: pointer; font-weight: 700; }
.photo input { display: none; }
.photo-name { font-size: 16px; color: var(--muted); text-align: center; margin-top: 6px; }
.big-btn { display: block; width: 100%; padding: 18px; font: inherit; font-size: 23px; font-weight: 700; border: 0; border-radius: 16px; background: var(--brand); color: #fff; cursor: pointer; text-align: center; text-decoration: none; }
.big-btn:active { filter: brightness(.95); }
.big-btn.wa { background: #128c7e; }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.done { text-align: center; padding-top: 30px; }
.done .check { color: var(--ok); }
.done .check .i { width: 104px; height: 104px; stroke-width: 1.5; }
.done .number { font-size: 22px; background: var(--card); border: 2px solid var(--line); border-radius: 14px; padding: 12px; margin: 16px 0 24px; }
.note { color: var(--muted); font-size: 16px; text-align: center; margin-top: 20px; }
.errorbox { background: #fee2e2; color: var(--bad); padding: 12px 16px; border-radius: 12px; margin-bottom: 16px; font-size: 18px; }

.i { width: 1.1em; height: 1.1em; vertical-align: -0.18em; flex: none; }
.field label .i { color: var(--brand); margin-inline-end: 4px; }
.photo .i { width: 1.4em; height: 1.4em; color: var(--brand); }
.big-btn .i { width: 1.1em; height: 1.1em; }
@media (prefers-color-scheme: dark) { .tile .icon, .chosen .icon { background: #173a33; } }
