/* Registration form — matches alhadathevents.com: Tajawal, navy #0A2A4A text,
   light-grey inputs (Fluent-style, 7px radius), teal pill CTAs like the site header.
   Everything is scoped under .ahp-embed so it can live inside any theme page. */
.ahp-embed{--navy:#0a2a4a;--teal:#06b6d4;--teal-d:#0891b2;--muted:#6b7280;--line:#dadbdd;--field:#f1f1f1;--ok:#16a34a;--bad:#dc2626;
  font-family:Tajawal,-apple-system,"Segoe UI",sans-serif;color:var(--navy);font-size:16px;line-height:1.6;text-align:start}
.ahp-embed *{box-sizing:border-box}
.ahp-embed .card{background:#fff;border:1px solid #eef0f3;border-radius:14px;padding:20px;margin-bottom:16px;box-shadow:none}
.ahp-embed .center{text-align:center}
.ahp-embed h1{font-size:24px;font-weight:700;margin:0 0 6px;color:var(--navy)}
.ahp-embed h2{font-size:19px;font-weight:700;margin:0 0 10px;color:var(--navy)}
.ahp-embed .muted{color:var(--muted)}.ahp-embed .small{font-size:14px}
.ahp-embed .hero{text-align:center;margin-bottom:18px}.ahp-embed .hero h1{font-size:26px}.ahp-embed .hero .meta{color:var(--teal-d);font-weight:500}
.ahp-embed .chip{display:inline-block;padding:4px 14px;border-radius:999px;background:#e6fbfe;color:#0e7490;font-weight:700;font-size:13px;margin-top:8px}
.ahp-embed .lang{display:inline-block;margin-top:8px;color:var(--teal-d);font-size:14px;text-decoration:none}
.ahp-embed .fee{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 16px;background:#ecfeff;border:1px solid #a5f3fc;border-radius:12px;padding:14px 16px;margin-bottom:18px}
.ahp-embed .fee b{font-size:22px;color:var(--navy);white-space:nowrap}
.ahp-embed .fee>div:last-child{flex:1 1 180px}
.ahp-embed label.f{display:block;margin-bottom:18px}
.ahp-embed label.f>span{display:block;font-weight:500;font-size:15.2px;margin-bottom:6px;color:var(--navy)}
.ahp-embed label.f>span i{color:var(--bad);font-style:normal}
.ahp-embed .help{color:var(--muted);font-size:13px;margin-top:5px}
.ahp-embed .in{width:100%;border:1px solid var(--line);border-radius:7px;padding:11px 15px;font:inherit;font-size:16px;background:var(--field);color:#303133;outline:none;transition:border-color .2s,box-shadow .2s,background .2s}
.ahp-embed .in:focus{border-color:var(--teal);background:#fff;box-shadow:0 0 0 3px rgba(6,182,212,.15)}
.ahp-embed select.in{appearance:auto}
.ahp-embed .err .in{border-color:var(--bad)}.ahp-embed .err .msg{color:var(--bad);font-size:13px;margin-top:4px}
.ahp-embed .opts{display:flex;flex-wrap:wrap;gap:8px}
.ahp-embed .opt{display:flex;align-items:center;gap:8px;border:1px solid var(--line);background:var(--field);border-radius:7px;padding:10px 14px;cursor:pointer;font-weight:500}
.ahp-embed .opt:has(input:checked){border-color:var(--teal);background:#ecfeff}
.ahp-embed .opt input{accent-color:var(--teal)}
.ahp-embed .consent{display:flex;gap:10px;align-items:flex-start;cursor:pointer;font-size:15px}
.ahp-embed .consent input{margin-top:5px;accent-color:var(--teal);width:18px;height:18px;flex:none}
.ahp-embed .phone{display:flex;gap:8px;direction:ltr}.ahp-embed .phone select{max-width:120px}
.ahp-embed .btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:12px 26px;border-radius:50px;border:1px solid var(--line);background:#fff;color:var(--navy);font:inherit;font-weight:700;font-size:16px;cursor:pointer;text-decoration:none;transition:background .2s,transform .1s}
.ahp-embed .btn:hover{border-color:var(--teal);color:var(--teal-d)}
.ahp-embed .btn.p{background:var(--teal);border-color:var(--teal);color:#fff;width:100%;box-shadow:0 6px 18px rgba(6,182,212,.25)}
.ahp-embed .btn.p:hover{background:var(--teal-d);color:#fff}
.ahp-embed .btn:active{transform:scale(.99)}.ahp-embed .btn:disabled{opacity:.6;cursor:wait}
.ahp-embed .alert{padding:12px 14px;border-radius:10px;margin-bottom:14px;font-size:15px}
.ahp-embed .alert.err{background:#fee2e2;color:#991b1b}.ahp-embed .alert.ok{background:#dcfce7;color:#166534}.ahp-embed .alert.info{background:#ecfeff;color:#0e7490}
.ahp-embed .pre{white-space:pre-line;background:#f8fafc;border:1px solid #eef0f3;border-radius:10px;padding:14px;text-align:start}
.ahp-embed .photo{display:flex;align-items:center;gap:14px}.ahp-embed .photo img{width:84px;height:84px;object-fit:cover;border-radius:12px;border:1px solid var(--line)}
.ahp-embed .hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.ahp-embed .spin{width:34px;height:34px;margin:24px auto;border:4px solid #cffafe;border-top-color:var(--teal);border-radius:50%;animation:ahpspin .8s linear infinite}
@keyframes ahpspin{to{transform:rotate(360deg)}}
.ahp-embed .done-icon{width:72px;height:72px;border-radius:50%;background:#ecfeff;color:var(--teal-d);display:grid;place-items:center;font-size:38px;margin:0 auto 12px}
.ahp-embed .row{display:flex;gap:10px;flex-wrap:wrap;justify-content:center;margin-top:14px}

/* Standalone shell (short link / draft preview) — light page like the site */
body.ahp-reg-page{margin:0;background:#f5f7fa;font-family:Tajawal,sans-serif}
.ahp-reg-top{background:#fff;border-bottom:1px solid #eef0f3;padding:14px 16px;display:flex;justify-content:center}
.ahp-reg-top img{height:44px}
.ahp-reg-wrap{max-width:720px;margin:28px auto 60px;padding:0 16px}
.ahp-reg-wrap>.ahp-embed{background:#fff;border-radius:18px;box-shadow:0 10px 40px rgba(10,42,74,.08);padding:26px}
.ahp-reg-wrap>.ahp-embed .card{border:0;padding:0}
@media (max-width:560px){.ahp-reg-wrap>.ahp-embed{padding:18px}.ahp-embed .fee{flex-direction:column;align-items:flex-start}}

.ahp-embed .cats{display:grid;gap:10px;margin-top:6px}
.ahp-embed .cat{display:flex;align-items:center;gap:14px;width:100%;text-align:start;background:#fff;border:1px solid var(--line);border-radius:12px;padding:14px 16px;cursor:pointer;font:inherit;color:var(--navy);transition:border-color .2s,box-shadow .2s,transform .1s}
.ahp-embed .cat:hover{border-color:var(--teal);box-shadow:0 6px 18px rgba(6,182,212,.15)}
.ahp-embed .cat:active{transform:scale(.99)}
.ahp-embed .cat .ic{width:46px;height:46px;border-radius:12px;background:#ecfeff;display:grid;place-items:center;font-size:22px;flex:none}
.ahp-embed .cat .tx{flex:1;display:flex;flex-direction:column}.ahp-embed .cat .tx b{font-size:17px}.ahp-embed .cat .tx small{color:var(--muted);font-size:14px}
.ahp-embed .cat .go{color:var(--teal-d);font-size:20px;font-weight:700}
.ahp-embed .cat.off{opacity:.55;cursor:not-allowed;background:#f8fafc}
.ahp-embed .cat.off:hover{border-color:var(--line);box-shadow:none}
