/* ==========================================================================
   AdMedia — Advertiser + Publisher sign up (advertiser-signup.php, publisher-signup.php)
   WEB-93, Nov 2026. Uses new-homepage.css tokens; advertiser form reuses contact.css (ct-*).
   Prefix "su-". The publisher section re-skins publisher-apply.css (nf-*) through its variables.
   ========================================================================== */
.su-hero { padding-bottom: clamp(48px, 6vw, 88px); }
.su-legend { display: flex; align-items: center; gap: 10px; margin: 6px 0 16px; font-family: var(--am-font-head); font-size: 18px; font-weight: 500; color: var(--am-ink); }
.su-legend span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--am-grad); color: #fff; font-size: 13px; }
.su-form .su-legend:not(:first-child) { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--am-line); }
.su-row-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.su-form .ct-submit { margin-top: 10px; }
.su-error { background: #fff0f3; color: #b0003f; }
.su-steps { margin: 0; padding: 0; list-style: none; display: grid; gap: 18px; }
.su-steps li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 14px; }
.su-steps li > span { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; background: var(--am-tint); font-family: var(--am-font-head); font-weight: 600; color: var(--am-red); }
.su-steps strong { display: block; margin-bottom: 2px; font-family: var(--am-font-head); font-weight: 500; font-size: 16px; color: var(--am-ink); }
.su-steps p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--am-text); }
.su-login .am-btn { margin-top: 4px; }
.su-help { margin: 16px 0 0; font-size: 14px; color: var(--am-muted); }
.su-help a { color: var(--am-red); text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 991px) { .su-page .ct-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .su-page .ct-row, .su-row-3 { grid-template-columns: minmax(0, 1fr); gap: 0; } }

/* ---------- Publisher application: hero + nf-* re-skin ---------- */
body.bg-color { font-family: var(--am-font-body); background: #fff; color: var(--am-text); font-size: 16px; }
.su-page--pub {
    --nf-primary: #e7005a;
    --nf-primary-dark: #c4004c;
    --nf-navy: #1b1422;
    --nf-accent: #ff4b00;
    --nf-text: #4b4452;
    --nf-muted: #7b7282;
    --nf-line: #efe4dc;
    --nf-line-soft: #f4ece6;
    --nf-bg: #fff8f3;
    --nf-radius: 14px;
    --nf-radius-sm: 10px;
    --nf-shadow: 0 1px 2px rgba(27, 20, 34, .04), 0 24px 48px -32px rgba(120, 24, 44, .3);
    --nf-shadow-sm: 0 1px 2px rgba(27, 20, 34, .04);
    --nf-focus: 0 0 0 4px rgba(231, 0, 90, .1);
    font-family: var(--am-font-body);
}
.su-hero--pub { padding-bottom: clamp(36px, 4vw, 56px); text-align: center; }
.su-hero__copy { max-width: 760px; margin: 0 auto; }
.su-hero__copy .am-lead { margin-inline: auto; }
.su-hero__facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 22px 0 0; padding: 0; list-style: none; }
.su-hero__facts li { padding: 8px 16px; border-radius: 999px; background: rgba(255, 255, 255, .7); border: 1px solid rgba(255, 255, 255, .95); font-family: var(--am-font-head); font-size: 14px; color: var(--am-ink); }
.su-hero__facts b { font-weight: 600; background: var(--am-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.su-page--pub .nf-main { padding: 0 16px clamp(56px, 7vw, 96px); background: linear-gradient(180deg, var(--am-peach) 0, #fff 340px); }
.su-page--pub .nf-wrap { max-width: 1040px; padding-top: 8px; }
.su-page--pub h2, .su-page--pub h3, .su-page--pub .nf-step-label, .su-page--pub label, .su-page--pub .nf-btn, .su-page--pub legend { font-family: var(--am-font-head); }
.su-page--pub .nf-panel-head h2 { font-weight: 500; letter-spacing: -.01em; }
.su-page--pub .nf-panel { border-radius: 24px; border-color: var(--am-line); }
.su-page--pub .nf-step-dot { font-family: var(--am-font-head); font-weight: 600; }
.su-page--pub .nf-step.is-done .nf-step-dot, .su-page--pub .nf-step.is-active .nf-step-dot { background: var(--am-grad); border-color: transparent; color: #fff; }
.su-page--pub .nf-progress-bar { background: var(--am-grad); }
.su-page--pub input:not([type=checkbox]):not([type=radio]):not([type=file]), .su-page--pub select, .su-page--pub textarea { border-radius: 12px; border-color: var(--am-line); background-color: var(--am-peach-soft); font-family: var(--am-font-body); color: var(--am-ink); }
.su-page--pub input:focus, .su-page--pub select:focus, .su-page--pub textarea:focus { border-color: var(--am-red); background-color: #fff; }
.su-page--pub .nf-btn { border-radius: 999px; font-weight: 500; }
.su-page--pub .nf-btn-primary { background: var(--am-grad); border-color: transparent; box-shadow: var(--am-shadow-btn); }
.su-page--pub .nf-btn-ghost { border-color: var(--am-ink); color: var(--am-ink); background: #fff; }
.su-page--pub .nf-link { color: var(--am-red); }
.su-page--pub input[type=checkbox], .su-page--pub input[type=radio] { accent-color: var(--am-red); }
.su-page--pub .nf-btn-primary:hover { background: var(--am-grad); filter: brightness(.94); }

/* dropdown arrow (brand colour) */
.su-page--pub select { -webkit-appearance: none; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%237b7282' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 12px 8px; padding-right: 38px; }

/* ---------- Searchable country picker (assets/js/country-search.js) ---------- */
.cs-wrap { position: relative; }
.cs-native { position: absolute !important; left: 0; bottom: 0; width: 100% !important; height: 1px !important; min-height: 0 !important; padding: 0 !important; border: 0 !important; opacity: 0; pointer-events: none; }
.cs-wrap .ct-select__chev { display: none; }
.cs-input {
    display: block; width: 100%; height: 46px; margin: 0; padding: 0 40px 0 14px;
    border: 1px solid var(--am-line); border-radius: 12px; background-color: var(--am-peach-soft);
    font-family: var(--am-font-body); font-size: 15px; color: var(--am-ink);
    transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.ct-field .cs-input { height: 42px; }
.cs-input::placeholder { color: #a99e9f; }
.cs-input:focus { outline: 0; border-color: var(--am-red); background-color: #fff; box-shadow: 0 0 0 4px rgba(231, 0, 90, .1); }
.cs-chev { position: absolute; right: 12px; top: 0; height: 46px; width: 22px; cursor: pointer;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%237b7282' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E") no-repeat center / 12px 8px; transition: transform .2s ease; }
.ct-field .cs-chev { height: 42px; }
.cs-wrap.is-open .cs-chev { transform: rotate(180deg); }
.cs-list {
    position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 6px);
    max-height: 264px; margin: 0; padding: 6px; overflow-y: auto; list-style: none;
    border-radius: 14px; background: #fff; border: 1px solid var(--am-line);
    box-shadow: 0 24px 48px -24px rgba(120, 24, 44, .35);
}
.cs-list[hidden] { display: none; }
.cs-list li { margin: 0; padding: 9px 12px; border-radius: 9px; cursor: pointer; font-size: 15px; line-height: 1.3; color: var(--am-ink); list-style: none; }
.cs-list li.is-active { background: var(--am-tint); color: var(--am-red); }
.cs-list li[aria-selected="true"] { font-family: var(--am-font-head); font-weight: 500; }
.cs-list li.cs-empty { cursor: default; color: var(--am-muted); }
.nf-field.is-invalid .cs-input, .ct-field.is-invalid .cs-input { border-color: var(--am-red); background-color: #fff6f8; }

/* ---------- Nov 3: advertiser hero copy centred (matches publisher) ---------- */
.su-page .ct-hero__copy { max-width: 760px; margin-inline: auto; text-align: center; }
.su-page .ct-hero__copy .am-lead { margin-inline: auto; }

/* ---------- Nov 3: publisher inputs/labels match advertiser form (contact.css .ct-field) ---------- */
.su-page--pub .nf-field label, .su-page--pub label { font-size: 14px; font-weight: 500; color: var(--am-ink); }
.su-page--pub .nf-field > label { margin-bottom: 7px; }
.su-page--pub input:not([type=checkbox]):not([type=radio]):not([type=file]):not(.cs-native),
.su-page--pub select:not(.cs-native),
.su-page--pub .cs-input {
    height: 42px; padding: 0 14px; border: 1px solid #e6e1e4; border-radius: 12px; background-color: #fff;
    font-family: var(--am-font-body); font-size: 15px; line-height: normal; color: var(--am-ink);
    transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.su-page--pub select:not(.cs-native) { padding-right: 38px; }
.su-page--pub .cs-input { padding-right: 40px; }
.su-page--pub .cs-chev { height: 42px; }
.su-page--pub textarea { min-height: 104px; padding: 12px 14px; border: 1px solid #e6e1e4; border-radius: 12px; background-color: #fff; font-size: 15px; line-height: 1.55; color: var(--am-ink); }
.su-page--pub input::placeholder, .su-page--pub textarea::placeholder { color: #a99e9f; }
.su-page--pub input:not([type=checkbox]):not([type=radio]):not([type=file]):hover, .su-page--pub select:hover, .su-page--pub textarea:hover { border-color: #d6ced3; }
.su-page--pub input:not([type=checkbox]):not([type=radio]):not([type=file]):focus, .su-page--pub select:focus, .su-page--pub textarea:focus {
    outline: 0; border-color: var(--am-red); background-color: #fff; box-shadow: 0 0 0 4px rgba(231, 0, 90, .1);
}
.su-page--pub .nf-field.is-invalid input, .su-page--pub .nf-field.is-invalid select, .su-page--pub .nf-field.is-invalid textarea, .su-page--pub .nf-field.is-invalid .cs-input { border-color: var(--am-red); background-color: #fff6f8; }
