/* Sign Up (owner 2026-11-22, QA demo) - TENDERPublisher app registration look on the website.
   Palette: #153E43 ink, #378B95 teal, #F5833D orange (white text), #F7F5EF page. Fonts: the site's (tg-typography.css).
   Light / dark: [data-theme] on .su and on the sheet wrapper. Mobile first; RTL / LTR from dir. */
.su, .su-sheet-wrap {
  --su-ink: #153E43; --su-teal: #378B95; --su-teal-d: #2B6F77; --su-teal-t: rgba(55,139,149,.10); --su-orange: #F5833D; --su-orange-d: #E2702A;
  --su-page: #F7F5EF; --su-surface: #FFFFFF; --su-line: #DDE3E6; --su-text: #2F3638; --su-muted: #5B6367; --su-err: #C2410C; --su-err-t: #FFF4ED;
  --su-ok: #98CE44; --su-shadow: 0 10px 30px rgba(21,62,67,.08), 0 2px 6px rgba(21,62,67,.05);
}
.su[data-theme="dark"], .su-sheet-wrap[data-theme="dark"] {
  --su-ink: #E8F1F2; --su-teal: #5FB3BC; --su-teal-d: #7CC4CC; --su-teal-t: rgba(95,179,188,.14);
  --su-page: #0F1F22; --su-surface: #16292D; --su-line: #2A4146; --su-text: #E4ECED; --su-muted: #A3B4B7; --su-err: #FDBA8C; --su-err-t: rgba(245,131,61,.12);
  --su-shadow: 0 10px 30px rgba(0,0,0,.35);
}
.su { background: var(--su-page); color: var(--su-text); padding: 24px 16px 48px; min-height: 70vh; transition: background-color .2s; }
.su *, .su-sheet-wrap * { box-sizing: border-box; }
/* the site's old global button rule (style.min.css: height 34px, line-height 34px, nowrap, green background) does not apply here;
   :where keeps this reset weaker than the .su-* classes below */
.su :where(button:not(.cs-cc-btn)), .su-sheet-wrap :where(button) { height: auto; line-height: 1.35; white-space: normal; background: none; color: inherit; padding: 0; }
.su-card { max-width: 560px; margin: 0 auto; background: var(--su-surface); border: 1px solid var(--su-line); border-radius: 20px; box-shadow: var(--su-shadow); padding: 20px 18px 24px; }
.su-hidden { display: none !important; }
.su-noscript { text-align: center; max-width: 560px; margin: 16px auto 0; }

/* header + steps */
.su-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.su-brand { font-weight: 700; color: var(--su-teal); font-size: 14px; letter-spacing: .2px; }
.su-icon-btn { width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--su-line); background: var(--su-surface); color: var(--su-muted); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; flex: none; }
.su-icon-btn:hover, .su-icon-btn:focus-visible { color: var(--su-teal); border-color: var(--su-teal); outline: none; }
.su-steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 0; padding: 0; }
.su-steps li { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.su-bar { height: 6px; border-radius: 6px; background: var(--su-line); transition: background-color .25s; }
.su-steps li.is-done .su-bar, .su-steps li.is-current .su-bar { background: var(--su-teal); }
.su-step-label { font-size: 11px; color: var(--su-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.su-steps li.is-current .su-step-label { color: var(--su-teal); font-weight: 600; }
.su-step-of { margin: 8px 0 0; font-size: 12px; color: var(--su-muted); }
.su-title { font-size: 22px; line-height: 1.35; font-weight: 700; color: var(--su-ink); margin: 18px 0 6px; text-align: center; }
.su-sub { font-size: 14px; line-height: 1.6; color: var(--su-muted); margin: 0 0 18px; text-align: center; }
.su-center { text-align: center; display: block; margin-left: auto; margin-right: auto; }

/* country groups */
.su-groups { display: grid; gap: 10px; margin-bottom: 12px; }
.su-group, .su-interest { width: 100%; display: flex; align-items: center; gap: 12px; padding: 14px; border: 1px solid var(--su-line); border-radius: 14px; background: var(--su-surface); color: var(--su-text); text-align: start; cursor: pointer; transition: border-color .15s, background-color .15s, box-shadow .15s; font: inherit; }
.su-interest { cursor: default; margin-bottom: 12px; }
.su-group:hover { border-color: var(--su-teal); }
.su-group:focus-visible { outline: 2px solid var(--su-teal); outline-offset: 2px; }
.su-group.is-on, .su-group.is-part { border: 1.5px solid var(--su-teal); background: var(--su-teal-t); }
.su-group-icon { width: 42px; height: 42px; border-radius: 12px; background: var(--su-teal-t); color: var(--su-teal); display: inline-flex; align-items: center; justify-content: center; flex: none; font-size: 18px; }
.su-group-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.su-group-text strong { font-size: 15px; color: var(--su-ink); font-weight: 600; }
.su-group-text small { font-size: 12.5px; color: var(--su-muted); line-height: 1.45; }
.su-check { width: 24px; height: 24px; border-radius: 7px; border: 1.5px solid var(--su-line); display: inline-flex; align-items: center; justify-content: center; flex: none; font-size: 12px; color: #fff; }
.su-group.is-on .su-check, .su-group.is-part .su-check { background: var(--su-teal); border-color: var(--su-teal); }
.su-group-icon--img { background: transparent; width: 48px; height: 48px; }
.su-group-icon--img img { width: 44px; height: 44px; object-fit: contain; display: block; }
.su-mini .su-flags img { width: 18px; height: 18px; }

/* summary of the selection */
.su-summary, .su-mini { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 12px 14px; border-radius: 12px; background: var(--su-teal-t); margin-bottom: 12px; }
.su-summary-count, .su-mini span:first-child { font-size: 13.5px; font-weight: 600; color: var(--su-ink); }
.su-mini { margin: 4px 0 12px; font-size: 12.5px; }
.su-flags { display: inline-flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.su-flags img { width: 20px; height: 20px; border-radius: 4px; box-shadow: 0 0 0 1px rgba(0,0,0,.08); object-fit: contain; }   /* square flags, never cropped */
.su-more { font-size: 12px; font-weight: 600; color: var(--su-teal); padding: 0 4px; }

/* buttons */
.su-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 18px; border-radius: 12px; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; border: 1.3px solid transparent; text-decoration: none; transition: background-color .15s, border-color .15s, color .15s, opacity .15s; }
.su-btn:focus-visible { outline: 2px solid var(--su-teal); outline-offset: 2px; }
.su-btn[disabled] { opacity: .5; cursor: not-allowed; }
.su-btn-primary { background: var(--su-orange); color: #fff; }
.su-btn-primary:hover:not([disabled]) { background: var(--su-orange-d); color: #fff; text-decoration: none; }
.su-btn-outline { background: transparent; border-color: var(--su-teal); color: var(--su-teal); }
.su-btn-outline:hover { background: var(--su-teal-t); color: var(--su-teal); text-decoration: none; }
.su-btn-ghost { background: transparent; border-color: var(--su-line); color: var(--su-text); }
.su-btn-ghost:hover { border-color: var(--su-teal); color: var(--su-teal); }
.su-btn-tonal { background: var(--su-teal-t); color: var(--su-teal); }
.su-btn-block { width: 100%; }
.su-actions { margin-top: 18px; }
.su-actions-2 { display: grid; grid-template-columns: auto 1fr; gap: 10px; }
.su-link { background: none; border: 0; padding: 4px 2px; color: var(--su-teal); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; text-decoration: none; }
.su-link:hover, .su-link:focus-visible { text-decoration: underline; outline: none; }
.su-foot { text-align: center; font-size: 14px; color: var(--su-muted); margin: 16px 0 0; }
.su-foot a { color: var(--su-teal); font-weight: 600; }
.su-note { font-size: 12.5px; color: var(--su-muted); line-height: 1.6; margin: 12px 0 0; }
.su-note i { color: var(--su-teal); }
.su-banner { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: var(--su-err-t); color: var(--su-err); font-size: 13.5px; line-height: 1.55; margin-top: 14px; }

/* form */
.su-form { display: grid; gap: 14px; }
.su-field label { display: block; font-size: 13.5px; font-weight: 600; color: var(--su-ink); margin-bottom: 6px; }
.su-field input, .su-field select, .su-search input { width: 100%; min-height: 48px; padding: 0 14px; border: 1px solid var(--su-line); border-radius: 12px; background: var(--su-surface); color: var(--su-text); font: inherit; font-size: 15px; transition: border-color .15s, box-shadow .15s; }
.su-field input:focus, .su-field select:focus, .su-search input:focus { outline: none; border-color: var(--su-teal); box-shadow: 0 0 0 3px var(--su-teal-t); }
.su-field.has-err input, .su-field.has-err select { border-color: var(--su-err); }
.su-hint { font-size: 12px; color: var(--su-muted); margin: 6px 0 0; }
.su-err { font-size: 12.5px; color: var(--su-err); margin: 6px 0 0; }
.su-phone { display: grid; grid-template-columns: 132px 1fr; gap: 8px; }
.su-phone select { padding: 0 10px; text-overflow: ellipsis; }
.su-pw { position: relative; }
.su-pw input { padding-right: 52px; }
.su-eye { position: absolute; top: 0; right: 0; width: 48px; height: 48px; border: 0; background: none; color: var(--su-muted); cursor: pointer; border-radius: 0 12px 12px 0; }
.su-eye:hover, .su-eye:focus-visible { color: var(--su-teal); outline: none; }

/* interests + terms */
.su-terms { display: flex; align-items: flex-start; gap: 10px; margin: 16px 0 0; font-size: 13.5px; line-height: 1.6; color: var(--su-text); cursor: pointer; }
.su-terms input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--su-teal); flex: none; }
.su-terms a { color: var(--su-teal); font-weight: 600; }

/* code */
.su-otp { display: flex; justify-content: center; gap: 8px; margin: 6px 0 4px; }
.su-otp input { width: 46px; height: 56px; text-align: center; font-size: 22px; font-weight: 700; border: 1px solid var(--su-line); border-radius: 12px; background: var(--su-surface); color: var(--su-ink); font-family: inherit; }
.su-otp input:focus { outline: none; border-color: var(--su-teal); box-shadow: 0 0 0 3px var(--su-teal-t); }
.su-resend, .su-switch { text-align: center; font-size: 13.5px; color: var(--su-muted); margin: 14px 0 0; }
.su-switch { margin-top: 4px; }

/* results (account exists / blocked / done) */
.su-result { display: flex; flex-direction: column; align-items: stretch; gap: 10px; text-align: center; padding: 10px 0 6px; }
.su-result .su-title { margin-top: 6px; }
.su-result-icon { width: 72px; height: 72px; border-radius: 50%; margin: 6px auto 0; display: inline-flex; align-items: center; justify-content: center; font-size: 28px; background: var(--su-teal-t); color: var(--su-teal); }
.su-result-icon.is-ok { background: rgba(152,206,68,.18); color: #5E8F1C; }
.su-result-icon.is-warn { background: var(--su-err-t); color: var(--su-err); }
.su-result .su-spinner { margin: 6px auto; }

/* loading */
.su-loading { display: flex; justify-content: center; padding: 60px 0; }
.su-spinner { display: inline-block; width: 28px; height: 28px; border-radius: 50%; border: 3px solid var(--su-teal-t); border-top-color: var(--su-teal); animation: su-spin .8s linear infinite; }
.su-spinner-sm { width: 16px; height: 16px; border-width: 2px; border-color: rgba(255,255,255,.4); border-top-color: #fff; }
@keyframes su-spin { to { transform: rotate(360deg); } }

/* sheets (countries / interests): bottom sheet on phones, centred dialog on larger screens */
html.su-lock, html.su-lock body { overflow: hidden; }
.su-sheet-wrap { position: fixed; inset: 0; z-index: 10050; background: rgba(15,31,34,.55); display: flex; align-items: flex-end; justify-content: center; }
.su-sheet { width: 100%; max-height: 92vh; display: flex; flex-direction: column; background: var(--su-surface); color: var(--su-text); border-radius: 20px 20px 0 0; box-shadow: var(--su-shadow); animation: su-up .22s ease-out; }
@keyframes su-up { from { transform: translateY(24px); opacity: .6; } to { transform: none; opacity: 1; } }
.su-sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 16px 8px; }
.su-sheet-head h2 { margin: 0; font-size: 17px; font-weight: 700; color: var(--su-ink); }
.su-sheet-head h2 small { font-size: 12.5px; font-weight: 500; color: var(--su-muted); margin-inline-start: 6px; }
.su-search { position: relative; margin: 0 16px 10px; }
.su-search i { position: absolute; top: 50%; transform: translateY(-50%); inset-inline-start: 14px; color: var(--su-muted); font-size: 14px; pointer-events: none; }
.su-search input { padding-inline-start: 40px; }
.su-sheet-tools { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 0 16px 10px; }
.su-sheet-tools .su-btn { min-height: 42px; font-size: 14px; }
.su-sheet-body { overflow-y: auto; padding: 0 16px; flex: 1; -webkit-overflow-scrolling: touch; }
.su-sheet-foot { display: flex; gap: 8px; padding: 12px 16px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--su-line); }
.su-sheet-foot .su-btn-primary { flex: 1; }
.su-row { display: flex; align-items: center; gap: 12px; padding: 12px 10px; border-radius: 10px; cursor: pointer; font-size: 14.5px; color: var(--su-text); margin: 0; }
.su-row:hover { background: var(--su-teal-t); }
.su-row input, .su-tri input { width: 20px; height: 20px; accent-color: var(--su-teal); flex: none; margin: 0; }
.su-row img { width: 24px; height: 24px; border-radius: 4px; box-shadow: 0 0 0 1px rgba(0,0,0,.08); object-fit: contain; flex: none; }
.su-row.is-on { font-weight: 600; }
.su-empty { text-align: center; color: var(--su-muted); padding: 24px 0; }
.su-tree-group { border: 1px solid var(--su-line); border-radius: 12px; margin-bottom: 8px; overflow: hidden; }
.su-tree-head { display: flex; align-items: center; gap: 8px; padding: 10px 10px 10px 12px; }
.su-tree-head small { color: var(--su-muted); font-size: 12px; white-space: nowrap; }
.su-tree-group .su-icon-btn { width: 32px; height: 32px; border: 0; }
.su-tree-group .su-icon-btn i { transition: transform .2s; }
.su-tree-group.is-open .su-icon-btn i { transform: rotate(180deg); }
.su-tri { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; margin: 0; cursor: pointer; font-size: 14.5px; font-weight: 600; color: var(--su-ink); }
.su-tree-kids { border-top: 1px solid var(--su-line); padding: 4px 8px 6px; padding-inline-start: 26px; }
.su-tree-kids .su-row { padding: 9px 8px; font-size: 14px; }

/* RTL: password eye on the left of the box is not needed - the box is always LTR (dir="ltr" on .su-pw) */
[dir="rtl"] .su-group, [dir="rtl"] .su-interest { text-align: right; }

/* larger screens */
@media (min-width: 600px) {
  .su { padding: 40px 24px 64px; }
  .su-card { padding: 28px 32px 32px; }
  .su-title { font-size: 26px; }
  .su-sheet-wrap { align-items: center; padding: 24px; }
  .su-sheet { max-width: 560px; max-height: 84vh; border-radius: 20px; }
  .su-otp input { width: 52px; height: 60px; }
}
@media (max-width: 360px) {
  .su-otp { gap: 5px; }
  .su-otp input { width: 40px; height: 50px; font-size: 20px; }
  .su-phone { grid-template-columns: 108px 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .su-sheet, .su-spinner { animation: none; }
}

/* mobile: the site's country selector (country-selector.css, as on PaymentMethod.aspx) in the Sign Up field style */
.su-cs-wrap { position: relative; }
.su .su-cs .cs-phone-group { border: 1px solid var(--su-line); border-radius: 12px; background: var(--su-surface); min-height: 48px; overflow: visible; transition: border-color .15s, box-shadow .15s; }
.su .su-cs .cs-phone-group:focus-within { border-color: var(--su-teal); box-shadow: 0 0 0 3px var(--su-teal-t); }
.su .su-cs.has-err .cs-phone-group { border-color: var(--su-err); }
.su .su-cs .cs-cc-btn { height: auto; min-height: 46px; line-height: 1; padding: 0 12px; border-right: 1px solid var(--su-line); border-radius: 12px 0 0 12px; background: transparent; white-space: nowrap; }
.su .su-cs .cs-cc-btn .cs-cc-flag { object-fit: contain !important; border-radius: 4px; }
.su .su-cs .cs-cc-btn .cs-cc-code { color: var(--su-ink); font-size: 14px; }
.su .su-cs .cs-phone-group input.cs-phone-input { border: 0; box-shadow: none; min-height: 46px; border-radius: 0 12px 12px 0; padding: 0 14px; font-size: 15px; background: transparent; color: var(--su-text); }
.su .su-cs .cs-cc-dropdown { z-index: 30; }
.su .su-cs .cs-cc-search input { min-height: 40px; border-radius: 10px; }
.su[data-theme="dark"] .su-cs .cs-cc-dropdown { background: var(--su-surface); color: var(--su-text); border-color: var(--su-line); }
