/* ═══════════════════════════════════════════════════════════════════════════
   Awareness-seminar registration (/blackboard) — SUPPLEMENT to tabuk.css.
   The page loads the main-site design system first, so palette, typography,
   spacing, .wrap/.sec measurements, buttons and the header/footer (including
   .logo-head / .logo-foot sizing) all come from the site. Only the pieces the
   site has no component for live here: the seminar picker, the single
   registration form and the success card.
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── header: the site bar, with a muted context line where the CTAs sit ── */
.bb-head__tag{font-weight:700;font-size:.95rem;color:var(--muted);padding-inline-start:16px;
  border-inline-start:1px solid var(--line);line-height:1.3}

/* ── hero ── */
.bb-hero{background:linear-gradient(135deg,var(--navy) 0%,var(--brand-strong) 58%,var(--brand) 100%);
  color:#fff;padding:clamp(44px,6vw,72px) 0 clamp(76px,10vw,120px);position:relative;overflow:hidden}
.bb-hero::before{content:"";position:absolute;inset-inline-end:-120px;top:-140px;width:420px;height:420px;
  border-radius:50%;border:64px solid rgba(255,255,255,.05)}
.bb-hero::after{content:"";position:absolute;inset-inline-start:-80px;bottom:-160px;width:320px;height:320px;
  border-radius:50%;background:radial-gradient(circle,rgba(201,155,63,.26),transparent 68%)}
.bb-hero .wrap{position:relative;z-index:1;text-align:center}
.bb-hero__ey{display:inline-flex;align-items:center;gap:8px;font-size:.85rem;font-weight:700;
  color:var(--sand);margin-bottom:14px}
.bb-hero__ey::before,.bb-hero__ey::after{content:"";width:22px;height:2px;background:var(--sand);border-radius:2px}
.bb-hero__t{font-size:clamp(1.6rem,3.4vw,2.4rem);font-weight:700;line-height:1.4;text-shadow:0 2px 14px rgba(0,0,0,.18)}
.bb-hero__steps{list-style:none;margin:28px auto 0;padding:0;display:flex;justify-content:center;gap:12px;flex-wrap:wrap}
.bb-hero__steps li{display:flex;align-items:center;gap:10px;background:rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.18);border-radius:999px;padding:8px 16px 8px 8px;font-size:.9rem;font-weight:600}
.bb-hero__steps b{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;
  background:var(--sand);color:var(--navy);font-size:.85rem}

/* ── the registration panel rides up over the hero (site card language) ── */
.bb-main{padding-bottom:clamp(48px,6vw,80px)}
.bb-main .wrap{position:relative;z-index:2;margin-top:calc(-1 * clamp(48px,7vw,84px))}
.bb-panel{background:var(--surface);border:1px solid var(--line);border-radius:18px;
  box-shadow:var(--shadow-lg);padding:clamp(20px,3vw,36px)}

/* ── numbered steps ── */
.bb-step{display:flex;align-items:center;gap:14px;margin:0 0 18px}
.bb-step__n{flex:none;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;
  background:var(--brand);color:#fff;font-weight:700;font-size:.95rem}
.bb-step__t{font-size:1.18rem;font-weight:700;color:var(--ink);line-height:1.4}
.bb-step__d{margin:2px 0 0;color:var(--muted);font-size:.9rem;line-height:1.7}

/* ── seminar pickers ── */
.bb-picks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-bottom:28px}
.bb-pick{position:relative;display:flex;flex-direction:column;border:2px solid var(--line);border-radius:14px;
  background:var(--wash);cursor:pointer;overflow:hidden;transition:border-color .18s,box-shadow .18s,transform .18s}
.bb-pick:hover{transform:translateY(-2px);box-shadow:var(--shadow)}
.bb-pick input{position:absolute;opacity:0;inset:0;margin:0;cursor:pointer}
.bb-pick.is-selected{border-color:var(--accent);background:var(--surface);box-shadow:var(--shadow-lg)}
.bb-pick__head{display:flex;align-items:center;justify-content:space-between;padding:14px 18px;color:#fff;
  background:linear-gradient(135deg,var(--accent),color-mix(in srgb,var(--accent) 72%,#000))}
.bb-pick__ic{width:52px;height:52px;border-radius:14px;display:grid;place-items:center;
  background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.26)}
.bb-pick__check{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;
  background:rgba(255,255,255,.22);color:transparent;transition:background .18s,color .18s}
.bb-pick.is-selected .bb-pick__check{background:#fff;color:var(--accent)}
.bb-pick__body{display:flex;flex-direction:column;gap:10px;padding:16px 18px 18px}
.bb-pick__t{font-size:1.24rem;font-weight:700;color:var(--ink);line-height:1.5}
.bb-pick__meta{display:flex;flex-wrap:wrap;gap:8px}
.bb-pick__meta span{display:inline-flex;align-items:center;gap:6px;font-size:.82rem;font-weight:600;
  color:var(--muted);background:var(--surface);border:1px solid var(--line);border-radius:999px;padding:4px 10px}

/* ── the single form ── */
.bb-form1{border-top:1px dashed var(--line);padding-top:24px}
.bb-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-bottom:26px}
.bb-grid:last-child{margin-bottom:0}
.bb-field{display:flex;flex-direction:column;gap:6px;min-width:0}
.bb-field--full{grid-column:1/-1}
.bb-label{font-size:.88rem;font-weight:700;color:var(--ink)}
.bb-in,.bb-sel{position:relative;min-width:0}
.bb-in__ic,.bb-sel__ic{position:absolute;inset-inline-start:14px;top:50%;transform:translateY(-50%);
  color:var(--muted);pointer-events:none}
.bb-input{width:100%;min-width:0;height:50px;border:1px solid var(--line);border-radius:10px;background:var(--wash);
  padding-inline:44px 14px;font:inherit;font-size:.96rem;color:var(--ink);
  transition:border-color .15s,box-shadow .15s,background .15s}
.bb-input::placeholder{color:#9BAEBF}
.bb-input:focus{outline:none;border-color:var(--brand);background:var(--surface);box-shadow:0 0 0 4px rgba(32,116,184,.14)}
.bb-select{appearance:none;-webkit-appearance:none;cursor:pointer;padding-inline-end:40px;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%235B768E' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:left 14px center}
.bb-phone{display:flex;direction:ltr;min-width:0}
.bb-phone__cc{flex:none;display:grid;place-items:center;padding-inline:12px;border:1px solid var(--line);
  border-right:0;border-radius:10px 0 0 10px;background:var(--tint);font-weight:700;font-size:.9rem;color:var(--muted)}
.bb-phone .bb-input{border-radius:0 10px 10px 0;padding-inline:14px}
.bb-err{color:#B42318;font-size:.82rem;font-weight:600}
.bb-alert{background:#FDECEA;color:#B42318;border:1px solid #F5C6C0;border-radius:10px;
  padding:12px 16px;margin-bottom:20px;font-weight:600}
/* honeypot: hidden the accessible way — NOT parked at left:-9999px, which in an RTL page extends the scrollable width by
   ~10,000 px (phones zoomed the whole page out to fit it) */
.bb-hp{position:absolute;inset-inline-start:0;top:0;width:1px;height:1px;margin:-1px;padding:0;border:0;opacity:0;overflow:hidden;
  clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;pointer-events:none}
.bb-submit{margin-top:4px}
.bb-btn{width:100%;max-width:420px;margin-inline:auto;height:52px;border:0;border-radius:12px;cursor:pointer;
  font:inherit;font-weight:700;font-size:1rem;color:#fff;background:var(--brand);
  box-shadow:0 10px 24px rgba(32,116,184,.24);transition:background .18s,transform .15s,box-shadow .15s;
  display:flex;align-items:center;justify-content:center;text-decoration:none}
.bb-btn:hover:not(:disabled){background:var(--brand-strong);transform:translateY(-1px)}
.bb-btn:disabled{background:#D3DEE7;color:#7C93A6;box-shadow:none;cursor:not-allowed}
.bb-privacy{display:flex;align-items:flex-start;justify-content:center;gap:8px;margin:12px auto 0;max-width:620px;
  font-size:.8rem;line-height:1.9;color:var(--muted);text-align:center}
.bb-privacy svg{flex:none;margin-top:5px}
/* support & enquiries e-mail under the form: a quiet line, the address is the only link */
.bb-support{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:6px 8px;margin:14px auto 0;padding-top:12px;
  max-width:620px;border-top:1px dashed #D3DEE7;font-size:.86rem;line-height:1.8;color:var(--muted)}
.bb-support svg{flex:none;color:var(--brand)}
.bb-support a{color:var(--brand);font-weight:700;text-decoration:none;unicode-bidi:isolate}
.bb-support a:hover{text-decoration:underline}

/* ── success page ── */
.bb-wrap--narrow{max-width:760px;margin-inline:auto;padding-inline:24px}
.bb-hero--short{padding:clamp(36px,5vw,56px) 0 clamp(72px,9vw,104px)}
.bb-done{background:var(--surface);border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow-lg);
  padding:clamp(26px,4vw,44px);text-align:center;position:relative;overflow:hidden}
.bb-done::before{content:"";position:absolute;inset-inline:0;top:0;height:5px;
  background:linear-gradient(90deg,var(--sand),var(--sand-deep),var(--brand))}
.bb-done__ic{width:72px;height:72px;border-radius:50%;display:grid;place-items:center;margin:0 auto 18px;
  background:var(--green-bg);color:var(--green)}
.bb-done__greet{margin:0 0 4px;font-size:1.3rem;font-weight:700;color:var(--ink)}
.bb-done__msg{margin:6px 0;color:var(--ink);font-size:1.04rem;line-height:1.9}
.bb-done__ref{display:inline-block;margin:8px auto 10px;padding:12px 26px;border-radius:12px;background:var(--navy);
  color:#fff;font-size:1.5rem;font-weight:700;letter-spacing:.06em;max-width:100%;word-break:break-all;
  box-shadow:0 12px 28px rgba(12,59,97,.22)}
.bb-done__sum{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:26px 0 0;
  padding:18px 0 0;border-top:1px dashed var(--line);text-align:start}
.bb-done__sum div{background:var(--wash);border:1px solid var(--line);border-radius:12px;padding:12px 14px}
.bb-done__sum dt{font-size:.78rem;color:var(--muted);font-weight:600;margin-bottom:4px}
.bb-done__sum dd{margin:0;font-weight:700;color:var(--ink);font-size:.92rem;line-height:1.6}
.bb-done__note{margin:18px 0 0;color:var(--muted);font-size:.88rem}
.bb-btn--inline{width:auto;padding-inline:30px;margin-top:22px}

/* ── responsive: no horizontal overflow, single column on small screens ── */
body.bb{overflow-x:clip}
.bb-panel,.bb-picks,.bb-grid,.bb-pick,.bb-pick__body,.bb-done{min-width:0}
.bb-pick__t,.bb-step__t,.bb-step__d,.bb-done__sum dd,.bb-hero__t{overflow-wrap:anywhere}
@media (max-width:900px){.bb-picks{grid-template-columns:1fr}}
@media (max-width:760px){.bb-grid{grid-template-columns:1fr}}
@media (max-width:640px){
  .bb-head__tag{display:none}
  .bb-hero{padding:32px 0 76px}
  .bb-hero__steps{flex-direction:column;align-items:stretch;gap:8px}
  .bb-hero__steps li{justify-content:flex-start;font-size:.86rem}
  .bb-main .wrap{margin-top:-56px}
  .bb-panel{padding:16px 14px 20px;border-radius:14px}
  .bb-step{gap:10px;margin-bottom:14px}
  .bb-step__n{width:30px;height:30px;font-size:.85rem}
  .bb-step__t{font-size:1.06rem}
  .bb-pick__t{font-size:1.08rem}
  .bb-input{height:48px}
  .bb-done__ref{font-size:1.2rem;padding:10px 16px}
  .bb-done__sum{grid-template-columns:1fr}
  .bb-btn--inline{width:100%}
}
@media (prefers-reduced-motion:reduce){.bb-pick,.bb-btn{transition:none}}
.bb-main .bb-wrap--narrow{position:relative;z-index:2;margin-top:calc(-1 * clamp(48px,7vw,84px))}
@media (max-width:640px){.bb-main .bb-wrap--narrow{margin-top:-56px;padding-inline:16px}}

/* link-free footer: one centred identity column instead of the site’s four */
.bb-footer-in{grid-template-columns:1fr;justify-items:center;text-align:center}
.bb-footer-in .about-txt{max-width:520px;margin-inline:auto}
.bb-contact{display:flex;flex-wrap:wrap;justify-content:center;gap:10px 28px;margin:14px 0 0;padding:0;list-style:none}
.bb-contact li{align-items:center}
.bb-contact svg{margin-top:0}
/* the copyright bar carries the single line only — centre it (the site keeps space-between for its payment row) */
.bb .footer-bar{justify-content:center;text-align:center}
/* header: logo + context line, then the in-funnel nav (registration ⇄ certificate) at the far end */
.bb-head .site-head-in{gap:16px}
.bb-nav{display:flex;align-items:center;gap:8px;margin-inline-start:auto}
.bb-nav__a{display:inline-flex;align-items:center;gap:8px;height:42px;padding-inline:16px;border-radius:999px;
  font-weight:700;font-size:.9rem;color:var(--ink);text-decoration:none;white-space:nowrap;
  border:1px solid var(--line);background:var(--surface);transition:background .15s,border-color .15s,color .15s,transform .15s}
.bb-nav__a svg{flex:none;color:var(--brand)}
.bb-nav__a:hover{border-color:var(--brand);color:var(--brand)}
.bb-nav__a.is-active{border-color:var(--brand);color:var(--brand);background:var(--wash)}
.bb-nav__a--cta{background:var(--navy);border-color:var(--navy);color:#fff;box-shadow:0 8px 20px rgba(12,59,97,.18)}
.bb-nav__a--cta svg{color:var(--sand)}
.bb-nav__a--cta:hover{background:var(--brand-strong);border-color:var(--brand-strong);color:#fff;transform:translateY(-1px)}
.bb-nav__a--cta.is-active{background:var(--navy);border-color:var(--sand);color:#fff;box-shadow:0 0 0 3px rgba(201,155,63,.28)}
.bb-nav__short{display:none}
@media (max-width:640px){
  .bb-nav{gap:6px}
  .bb-nav__a{height:38px;padding-inline:11px;font-size:.84rem;gap:6px}
  .bb-nav__full{display:none}
  .bb-nav__short{display:inline}
}
@media (max-width:420px){
  .bb-nav__a:not(.bb-nav__a--cta){padding-inline:10px}
  .bb-nav__a:not(.bb-nav__a--cta) .bb-nav__short{display:none}
}
@media (prefers-reduced-motion:reduce){.bb-nav__a{transition:none}}

/* certificate page */
.bb-cert .bb-step__n svg{color:#fff}
.bb-cert .bb-field{max-width:460px;margin:0 auto 22px}
.bb-cert .bb-input{font-size:1.1rem;letter-spacing:.08em;text-align:center;padding-inline:44px}
.bb-cert__mail{display:inline-block;margin:10px auto 4px;padding:12px 22px;border-radius:12px;background:var(--wash);
  border:1px solid var(--line);font-weight:700;font-size:1.1rem;color:var(--navy);max-width:100%;word-break:break-all}
