:root { --ink:#13201f; --muted:#5d6b69; --line:#dfe6e4; --bg:#f6f8f7; --card:#fff; --brand:#0f3d3a; --accent:#c8963e; --bad:#a33a2b; --ok:#2d6a4f; }
* { box-sizing: border-box; }
body { margin:0; font-family: "Segoe UI", Tahoma, "Noto Kufi Arabic", sans-serif; background:var(--bg); color:var(--ink); line-height:1.6; }
header { background:var(--brand); color:#fff; padding:14px 18px; display:flex; justify-content:space-between; align-items:center; position:sticky; top:0; z-index:5; }
header b { font-size:17px; letter-spacing:.3px; }
header button { background:transparent; color:#fff; border:1px solid #ffffff55; padding:6px 12px; border-radius:8px; cursor:pointer; font:inherit; font-size:13px; }
main { max-width:760px; margin:0 auto; padding:18px 14px 80px; }
h1 { font-size:22px; margin:6px 0 4px; } h2 { font-size:18px; margin:22px 0 8px; } h3 { font-size:16px; margin:0 0 6px; }
p.sub { color:var(--muted); margin:0 0 16px; }
.card { background:var(--card); border:1px solid var(--line); border-radius:14px; padding:16px; margin:12px 0; }
label { display:block; font-weight:600; font-size:14px; margin:12px 0 4px; }
.hint { color:var(--muted); font-size:12.5px; font-weight:400; }
input, textarea, select { width:100%; padding:11px 12px; border:1px solid var(--line); border-radius:10px; font:inherit; background:#fff; }
textarea { min-height:90px; resize:vertical; }
.row { display:flex; gap:10px; } .row > * { flex:1; }
.btn { display:inline-block; background:var(--brand); color:#fff; border:0; padding:12px 18px; border-radius:10px; font:inherit; font-weight:700; cursor:pointer; margin-top:14px; }
.btn.alt { background:#fff; color:var(--brand); border:1px solid var(--brand); }
.btn.gold { background:var(--accent); }
.btn[disabled] { opacity:.55; cursor:wait; }
.msg { padding:10px 12px; border-radius:10px; margin:10px 0; font-size:14px; }
.msg.err { background:#fbeceb; color:var(--bad); } .msg.ok { background:#e8f3ec; color:var(--ok); } .msg.info { background:#eef3f8; color:#2a4a6b; }
.pill { display:inline-block; font-size:12px; padding:2px 9px; border-radius:20px; background:#eef2f1; color:var(--muted); margin-inline-start:6px; }
.pill.sim { background:#fff4e0; color:#8a5a00; }
.list .item { display:flex; justify-content:space-between; align-items:center; gap:10px; padding:12px 0; border-top:1px solid var(--line); cursor:pointer; }
.list .item:first-child { border-top:0; }
.bundles { display:grid; gap:12px; }
.bundle .k { color:var(--muted); font-size:12.5px; } .bundle .v { margin:2px 0 8px; }
.money { font-weight:700; color:var(--brand); }
.preview { border:1px dashed var(--accent); border-radius:14px; padding:16px; background:#fffdf8; }
.preview .hero { font-size:20px; font-weight:800; margin-bottom:6px; }
.preview ul { padding-inline-start:20px; margin:8px 0; }
.spinner { display:inline-block; width:14px; height:14px; border:2px solid #fff8; border-top-color:#fff; border-radius:50%; animation:spin 1s linear infinite; vertical-align:-2px; margin-inline-end:6px; }
@keyframes spin { to { transform:rotate(360deg); } }
.back { background:none; border:0; color:var(--brand); font:inherit; cursor:pointer; padding:0; margin-bottom:6px; }
.fake-btn { pointer-events:none; }
.warn { color:var(--bad); }
