/* ==========================================================================
   Регистрација на училиште (registracija.ebiblioteka.mk) - редизајн 28.11.2026, дизајн-систем „Г“.
   Изгледот е истиот со најавата на апликацијата (assets/css/ui.css: .eb-auth, .eb-wall, .eb-langs, .eb-input,
   .eb-btn--primary, .eb-note, .eb-steps) и со новиот сајт (знакот, Nunito, преливот, копчето). Токените и правилата
   се препишани тука: на серверот образецот е ограничен на својата папка (open_basedir), па фонтовите, иконите,
   кориците и стилот мора да се во неа. При промена во ui.css - истата вредност и тука.
   Селекторите што ги користат скриптата и тестовите остануваат: .form-group[data-field] .input-wrap .input-icon
   .toggle-pw .field-hint .field-error .has-error .response-msg--* #formResponse #submitBtn .btn-other-school
   ========================================================================== */

/* ---------- Nunito (OFL, nunito-OFL.txt), променлив фонт 200-1000 ---------- */
@font-face { font-family: "Nunito"; font-style: normal; font-display: swap; font-weight: 200 1000;
  src: url("../fonts/nunito-cyrillic-wght-normal.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
/* Т16 (29.11.2026): турските ğ ş İ (и ć č đ š ž) се во Latin Extended - без овој дел се цртаа со резервен фонт */
@font-face { font-family: "Nunito"; font-style: normal; font-display: swap; font-weight: 200 1000;
  src: url("../fonts/nunito-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Nunito"; font-style: normal; font-display: swap; font-weight: 200 1000;
  src: url("../fonts/nunito-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------- Phosphor 2.1.1 regular (MIT, phosphor-LICENSE.txt) ----------
   Како во апликацијата (ops/ui/build-phosphor-subset.js): два @font-face со исто име - целиот фонт (147 KB) за целиот
   PUA и подмножеството само со иконите од оваа страница (4 KB), декларирано ПОСЛЕ, со unicode-range само за нив.
   Прелистувачот го симнува само подмножеството; икона што ја нема во него се зема од целиот фонт (се гледа, само
   побавно). Нова икона: правилото .ph-* подолу, па подмножеството наново (кодовите се оние од правилата):
     py -m fontTools.subset phosphor-regular.woff2 --unicodes=U+E058,... --flavor=woff2 --layout-features='*'
        --no-hinting --output-file=phosphor-regular.sub.woff2   (и unicode-range подолу, и ?v=) */
@font-face { font-family: "Phosphor"; src: url("../fonts/phosphor-regular.woff2") format("woff2"); font-weight: normal; font-style: normal; font-display: block; unicode-range: U+E000-F8FF; }
@font-face { font-family: "Phosphor"; src: url("../fonts/phosphor-regular.sub.woff2?v=1") format("woff2"); font-weight: normal; font-style: normal; font-display: block;
  unicode-range: U+E058, U+E06C, U+E758, U+E102, U+E182, U+E184, U+E19A, U+E1E0, U+E214, U+E216, U+E218, U+E220, U+E224, U+E276, U+E2B8, U+E6F6, U+E2C8, U+E2CE, U+E2D6, U+E2FA, U+E316, U+EE3A, U+E3B8, U+E73E, U+E4C2, U+E4C4, U+E4E0, U+E4E2; }
.ph { font-family: "Phosphor" !important; speak: never; font-style: normal; font-weight: normal; font-variant: normal; text-transform: none; line-height: 1; letter-spacing: 0; font-feature-settings: "liga"; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
.ph-arrow-left::before { content: "\e058"; }
.ph-arrow-right::before { content: "\e06c"; }
.ph-books::before { content: "\e758"; }
.ph-buildings::before { content: "\e102"; }
.ph-check::before { content: "\e182"; }
.ph-check-circle::before { content: "\e184"; }
.ph-clock::before { content: "\e19a"; }
.ph-device-mobile::before { content: "\e1e0"; }
.ph-envelope::before { content: "\e214"; }
.ph-envelope-open::before { content: "\e216"; }
.ph-envelope-simple::before { content: "\e218"; }
.ph-eye::before { content: "\e220"; }
.ph-eye-slash::before { content: "\e224"; }
.ph-gift::before { content: "\e276"; }
.ph-hourglass-medium::before { content: "\e2b8"; }
.ph-identification-badge::before { content: "\e6f6"; }
.ph-identification-card::before { content: "\e2c8"; }
.ph-info::before { content: "\e2ce"; }
.ph-key::before { content: "\e2d6"; }
.ph-lock::before { content: "\e2fa"; }
.ph-map-pin::before { content: "\e316"; }
.ph-map-pin-area::before { content: "\ee3a"; }
.ph-phone::before { content: "\e3b8"; }
.ph-student::before { content: "\e73e"; }
.ph-user::before { content: "\e4c2"; }
.ph-user-circle::before { content: "\e4c4"; }
.ph-warning::before { content: "\e4e0"; }
.ph-warning-circle::before { content: "\e4e2"; }

/* ---------- Токени (вредностите од ui.css) ---------- */
:root {
  --eb-b1: #3e80f9; --eb-b2: #6142ff; --eb-b3: #27cea7;
  --eb-grad: linear-gradient(135deg, #3e80f9 0%, #5466ff 58%, #6142ff 100%);
  --eb-bg: #f4f6fc; --eb-card: #fff; --eb-line: #e4e9f5; --eb-line-2: #d3daec; --eb-hover: #f2f5fc;
  --eb-ink: #0f1b4c; --eb-ink-2: #3a4573; --eb-ink-3: #55618f; --eb-ink-4: #6b7599;
  --eb-soft-b: #eef3ff; --eb-soft-v: #efecff; --eb-soft-m: #e8faf4;
  --eb-red: #d93a40; --eb-red-ink: #b4232a; --eb-red-soft: #fff0f0;
  --eb-amber: #9a5c00; --eb-amber-soft: #fff4dc; --eb-green: #0b8463;
  --eb-blue-ink: #2f63e0;
  --eb-r: 13px; --eb-r-xl: 24px; --eb-r-pill: 999px;
  --eb-sh: 0 1px 2px rgba(15,27,76,.04), 0 10px 30px -18px rgba(15,27,76,.18);
  --eb-sh-card: 0 1px 2px rgba(15,27,76,.05), 0 30px 70px -36px rgba(15,27,76,.42), 0 0 0 1px rgba(15,27,76,.04);
  --eb-sh-brand: 0 12px 24px -12px rgba(97,66,255,.8);
  --eb-ring: 0 0 0 4px rgba(62,128,249,.16);
  --eb-font: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ---------- Основа (html[data-ui="new"] од ui.css) ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 15px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; color: #1b2559; font: 600 1rem/1.5 var(--eb-font); font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; background: var(--eb-bg);
}
h1, h2, p { margin: 0; }
h1, h2 { color: var(--eb-ink); font-weight: 800; line-height: 1.2; letter-spacing: -.01em; }
a { color: var(--eb-b2); font-weight: 700; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
a[class]:hover { text-decoration: none; }
button, input { font: inherit; color: inherit; }
img { max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 2.5px solid var(--eb-b1); outline-offset: 2px; }
::selection { background: #d5dfff; }
.su-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.su-skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: var(--eb-r); background: var(--eb-ink); color: #fff !important; font: 800 .9rem var(--eb-font); }
.su-skip:focus { top: 12px; }
#signupCard:focus { outline: none; }

/* ==========================================================================
   Распоред (како .eb-auth): лево ѕид од корици, десно картичката со образецот
   ========================================================================== */
.su { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 56fr) minmax(560px, 44fr); }

/* ---------- Ѕид од корици (.eb-wall) ---------- */
.su-wall { position: sticky; top: 0; height: 100vh; overflow: hidden; isolation: isolate; background: #1d2a6b; color: #fff; }
.su-wall__track { position: absolute; top: 50%; left: 50%; width: 1800px; display: flex; flex-direction: column; gap: 22px; transform: translate(-50%, -50%) rotate(-9deg); }
.su-wall__row { display: flex; justify-content: center; gap: 22px; }
.su-wall__row:nth-child(even) { transform: translateX(-96px); }
.su-wall__row img { width: clamp(112px, 8.2vw, 158px); height: auto; aspect-ratio: 180 / 258; flex: none; display: block; border-radius: 8px; object-fit: cover; background: rgba(255,255,255,.1); box-shadow: 0 2px 4px rgba(5,10,40,.25), 0 20px 34px -16px rgba(5,10,40,.75); }
/* преливот од најавата, малку погуст во средината: над кориците тука има повеќе текст */
.su-wall::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(31,52,160,.95) 0%, rgba(62,128,249,.84) 28%, rgba(84,102,255,.46) 52%, rgba(97,66,255,.16) 76%, rgba(39,206,167,.30) 100%); }
.su-wall__in { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; padding: 48px 56px 40px; }
.su-wall__copy { max-width: 600px; }
.su-brand { display: inline-flex; align-items: center; gap: 10px; color: #fff !important; text-decoration: none !important; }
.su-brand img { width: 40px; height: 40px; padding: 5px; border-radius: 12px; background: #fff; box-shadow: 0 10px 24px -14px rgba(10,10,60,.6); display: block; }
.su-brand b { font: 800 1.5rem/1 var(--eb-font); letter-spacing: -.02em; }
.su-eyebrow { display: flex; align-items: center; gap: 10px; margin-top: 26px; color: rgba(255,255,255,.9); font: 800 .78rem/1.2 var(--eb-font); letter-spacing: .09em; text-transform: uppercase; text-shadow: 0 1px 10px rgba(10,15,60,.35); }
.su-eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: 2px; background: var(--eb-b3); }
.su-title { margin-top: 14px; color: #fff; font: 800 clamp(1.9rem, 2.4vw, 2.3rem)/1.17 var(--eb-font); letter-spacing: -.025em; text-wrap: balance; text-shadow: 0 2px 18px rgba(10,15,60,.35); }
.su-free { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; padding: 8px 15px 8px 11px; border-radius: var(--eb-r-pill); background: rgba(15,27,76,.34); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.32); color: #fff; font: 800 .95rem/1.2 var(--eb-font); }
.su-free i { font-size: 1.15rem; color: #b8f5e4; }
/* долу: стаклено поле над кориците (текстот секогаш на темна подлога) */
.su-wall__panel { max-width: 600px; padding: 20px 22px; border-radius: 22px; background: rgba(15,27,76,.66); -webkit-backdrop-filter: blur(14px) saturate(1.15); backdrop-filter: blur(14px) saturate(1.15); box-shadow: inset 0 0 0 1px rgba(255,255,255,.16), 0 30px 60px -30px rgba(5,10,40,.8); }
.su-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.su-points li { display: flex; align-items: center; gap: 12px; color: #fff; font: 700 1rem/1.35 var(--eb-font); }
.su-points li > i { width: 30px; height: 30px; flex: none; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.14); box-shadow: inset 0 0 0 1px rgba(255,255,255,.26); font-size: 1rem; color: #fff; }
.su-points a { color: #fff; font-weight: 800; text-decoration: underline; text-decoration-color: rgba(255,255,255,.5); text-underline-offset: 3px; }
.su-points a:hover { text-decoration-color: #fff; }
.su-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.16); }
.su-stat b { display: block; font: 900 1.65rem/1 var(--eb-font); letter-spacing: -.02em; }
.su-stat span { display: block; margin-top: 6px; color: rgba(255,255,255,.88); font: 700 .86rem/1.3 var(--eb-font); }
@media (min-width: 1200px) and (max-height: 760px) { .su-stats { display: none; } .su-wall__in { padding-top: 36px; padding-bottom: 28px; } }
@media (min-width: 1200px) and (max-height: 600px) { .su-wall__panel { display: none; } }

/* ---------- Десно (.eb-auth__main) ---------- */
.su-main { min-width: 0; display: flex; flex-direction: column; padding: 22px 32px 24px; }
.su-top { display: flex; justify-content: flex-end; gap: 8px; }
.su-langs { display: inline-flex; gap: 2px; padding: 3px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px var(--eb-line), var(--eb-sh); }
.su-langs a { padding: 7px 12px; border-radius: 9px; color: var(--eb-ink-3) !important; font: 800 .86rem var(--eb-font); text-decoration: none !important; }
.su-langs a:hover { background: var(--eb-hover); color: var(--eb-ink) !important; }
.su-langs [aria-current="true"] { background: var(--eb-ink); color: #fff !important; }
.su-center { flex: 1; display: flex; justify-content: center; align-items: flex-start; padding: 22px 0 8px; }

.su-card {
  --pad: 36px;
  width: 100%; max-width: 560px; padding: 32px var(--pad) 30px; border-radius: var(--eb-r-xl); background: var(--eb-card); box-shadow: var(--eb-sh-card);
}
.su-app { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; color: var(--eb-ink-3); font: 800 .88rem var(--eb-font); }
.su-app img { width: 22px; height: 22px; display: block; }
.su-app b { font-weight: 800; color: var(--eb-ink-2); } .su-app b span { color: var(--eb-b1); }
.su-head h1 { font: 900 1.85rem/1.15 var(--eb-font); letter-spacing: -.025em; }
.su-head p { margin-top: 6px; color: var(--eb-ink-3); font: 600 .95rem/1.5 var(--eb-font); }
.su-head p.su-head__free { display: none; }

/* Лента со деловите (како .eb-steps): лепи се горе додека се пополнува, дел е готов кога неговите полиња се во ред */
.su-progress {
  position: sticky; top: 0; z-index: 5;
  margin: 20px calc(-1 * var(--pad)) 0; padding: 10px calc(var(--pad) - 8px);
  background: #fff; border-top: 1px solid var(--eb-line); border-bottom: 1px solid var(--eb-line);
}
.su-progress ol { list-style: none; margin: 0; padding: 0; display: flex; justify-content: space-between; gap: 2px; }
.su-progress li { min-width: 0; flex: 0 1 auto; }
.su-progress a { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 6px 10px 6px 6px; border-radius: 12px; color: var(--eb-ink-2) !important; font: 800 .86rem/1.2 var(--eb-font); text-decoration: none !important; white-space: nowrap; transition: background .15s, color .15s; }
.su-progress a:hover { background: var(--eb-hover); }
.su-progress__t { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.su-progress__n { width: 26px; height: 26px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--eb-bg); color: var(--eb-ink-3); font: 900 .85rem/1 var(--eb-font); transition: background .2s, color .2s, box-shadow .2s; }
.su-progress__n i { display: none; font-size: .95rem; }
.su-progress li.is-current a { background: var(--eb-soft-v); color: var(--eb-ink) !important; }
.su-progress li.is-current .su-progress__n { background: var(--eb-grad); color: #fff; }
/* готов дел: зелено со штиклирање (#0b8463: 4,9:1 со белото - тиркизната #27cea7 од .eb-steps е под 3:1) */
.su-progress li.is-done .su-progress__n { background: var(--eb-green); color: #fff; }
.su-progress li.is-done .su-progress__n b { display: none; }
.su-progress li.is-done .su-progress__n i { display: block; }

/* ---------- Делови на образецот ---------- */
.su-group { padding: 24px 0 4px; scroll-margin-top: 76px; }
.su-group + .su-group { border-top: 1px solid var(--eb-line); }
.su-group h2 { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; font: 800 1.12rem/1.25 var(--eb-font); }
.su-group__n { width: 28px; height: 28px; flex: none; display: grid; place-items: center; border-radius: 9px; background: var(--eb-soft-v); color: var(--eb-b2); font: 900 .88rem/1 var(--eb-font); }
.su-group__lead { margin: -8px 0 16px; color: var(--eb-ink-3); font: 600 .92rem/1.45 var(--eb-font); }

.form-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 14px; }
.form-group { min-width: 0; margin-bottom: 16px; }
/* полињата: .eb-auth .eb-label / .eb-input / .eb-inwrap / .eb-pw */
.form-group label { display: block; margin-bottom: 7px; color: var(--eb-ink-2); font: 800 .92rem/1.3 var(--eb-font); }
.form-group .input-wrap { position: relative; }
.form-group input {
  display: block; width: 100%; min-height: 52px; padding: 10px 14px 10px 42px;
  border: 0; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--eb-line-2);
  color: var(--eb-ink); font: 700 1rem/1.4 var(--eb-font); outline: 0; transition: box-shadow .15s;
}
.form-group input::placeholder { color: var(--eb-ink-4); font-weight: 600; opacity: 1; } /* #6b7599: 4,5:1 (во апликацијата #8f98b8, 2,9:1) */
.form-group input:hover { box-shadow: inset 0 0 0 1.5px #b9c3dc; }
.form-group input:focus { box-shadow: inset 0 0 0 2px var(--eb-b1), var(--eb-ring); }
.form-group .input-wrap--pw input { padding-right: 50px; }
.form-group .input-icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); display: flex; color: var(--eb-ink-3); font-size: 1.1rem; pointer-events: none; transition: color .15s; }
.form-group input:focus ~ .input-icon { color: var(--eb-b1); }
.toggle-pw { position: absolute; right: 7px; top: 50%; transform: translateY(-50%); z-index: 2; width: 38px; height: 38px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 10px; background: transparent; color: var(--eb-ink-3); font-size: 1.2rem; cursor: pointer; }
.toggle-pw:hover { background: var(--eb-hover); color: var(--eb-ink); }
.field-hint { display: block; margin-top: 5px; color: var(--eb-ink-3); font: 600 .8rem/1.4 var(--eb-font); }
.field-error { display: none; margin-top: 5px; color: var(--eb-red-ink); font: 700 .82rem/1.4 var(--eb-font); }
.form-group.has-error input { box-shadow: inset 0 0 0 2px var(--eb-red), 0 0 0 4px rgba(217,58,64,.12); }
.form-group.has-error input:focus { box-shadow: inset 0 0 0 2px var(--eb-red), 0 0 0 5px rgba(217,58,64,.26); } /* фокусот се гледа и на погрешно поле */
.form-group.has-error .input-icon { color: var(--eb-red); }
.form-group.has-error .field-error { display: block; }
.form-group.has-error .field-hint { display: none; } /* пораката го заменува упатството под полето */

/* ---------- Согласност и копче (.eb-btn--primary.eb-btn--lg.eb-btn--block, стрелката како на сајтот) ---------- */
.su-send { padding-top: 22px; border-top: 1px solid var(--eb-line); }
.su-consent { margin: 0 0 14px; color: var(--eb-ink-3); font: 600 .88rem/1.5 var(--eb-font); text-align: center; }
.btn-submit {
  display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 54px; padding: 0 24px;
  border: 0; border-radius: 15px; background: var(--eb-grad); color: #fff; box-shadow: var(--eb-sh-brand);
  font: 800 1.05rem/1 var(--eb-font); cursor: pointer; transition: transform .15s, box-shadow .15s;
  -webkit-tap-highlight-color: transparent;
}
.btn-submit > i { font-size: 1.15rem; transition: transform .2s cubic-bezier(.2,.8,.2,1); }
.btn-submit:hover { transform: translateY(-1px); box-shadow: 0 14px 26px -12px rgba(97,66,255,.9); }
.btn-submit:hover > i { transform: translateX(3px); }
.btn-submit:active { transform: translateY(1px); }
.btn-submit:disabled { opacity: .8; cursor: progress; transform: none; }
.su-trust { display: none; list-style: none; margin: 16px 0 0; padding: 0; gap: 8px; }
.su-trust li { display: flex; align-items: center; gap: 9px; color: var(--eb-ink-2); font: 700 .88rem/1.35 var(--eb-font); }
.su-trust i { flex: none; font-size: 1.1rem; color: var(--eb-green); }

/* ---------- Одговори (.eb-note од апликацијата; класите ги пишува скриптата) ---------- */
#formResponse:has(.response-msg) { margin-bottom: 16px; }
.response-msg { display: block; padding: 14px 16px 16px; border-radius: 16px; background: var(--eb-soft-b); color: #2a3f8a; font: 600 .92rem/1.5 var(--eb-font); animation: su-rise .3s cubic-bezier(.22,1,.36,1) both; }
.response-msg__h { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.response-msg__ic { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: 11px; background: #fff; color: var(--eb-b1); font-size: 1.2rem; box-shadow: 0 1px 2px rgba(15,27,76,.06); }
.response-msg__t { display: block; min-width: 0; color: inherit; font: 900 .98rem/1.3 var(--eb-font); }
.response-msg > p { overflow-wrap: anywhere; }
.response-msg--error { background: var(--eb-red-soft); color: #8a2227; }
.response-msg--error .response-msg__ic { color: var(--eb-red); }
.response-msg--warning { background: var(--eb-amber-soft); color: #6b4100; }
.response-msg--warning .response-msg__ic { color: var(--eb-amber); }
/* копчињата во пораката (.eb-btn) */
.response-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.btn-other-school, .btn-help {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 9px 14px;
  border: 0; border-radius: var(--eb-r); background: #fff; color: var(--eb-ink) !important; box-shadow: inset 0 0 0 1px var(--eb-line-2);
  font: 800 .9rem/1.25 var(--eb-font); text-align: center; text-decoration: none !important; cursor: pointer; transition: background .15s, box-shadow .15s, color .15s;
}
.btn-help > i, .btn-other-school > i { font-size: 1.1rem; }
.btn-other-school:hover, .btn-help:hover, .btn-help[aria-expanded="true"] { background: var(--eb-soft-b); box-shadow: inset 0 0 0 1.5px rgba(62,128,249,.4); color: var(--eb-b1) !important; }
.response-actions > * { flex: 1 1 200px; }
.response-actions > :only-child { flex: 0 1 auto; }
.btn-other-school { background: var(--eb-ink); color: #fff !important; box-shadow: 0 12px 24px -16px rgba(15,27,76,.9); }
.btn-other-school:hover { background: #1b2a6b; color: #fff !important; box-shadow: 0 12px 24px -16px rgba(15,27,76,.9); }
.response-help { margin-top: 10px; padding: 12px 14px; border-radius: 12px; background: #fff; color: var(--eb-ink-2); font: 600 .9rem/1.5 var(--eb-font); }

/* Успех: пораката го заменува образецот (.eb-auth__state + чекори како .eb-pipe) */
.su-card.is-sent .su-head, .su-card.is-sent .su-progress, .su-card.is-sent .su-group, .su-card.is-sent .su-send > :not(#formResponse) { display: none; }
.su-card.is-sent .su-send { padding-top: 0; border-top: 0; }
.su-card.is-sent #formResponse { margin: 0; }
.response-msg--success { display: block; padding: 4px 0 0; background: none; color: var(--eb-ink-2); font: 600 1rem/1.55 var(--eb-font); }
.su-done__icon { width: 60px; height: 60px; margin-bottom: 16px; display: grid; place-items: center; border-radius: 18px; background: var(--eb-soft-m); color: var(--eb-green); font-size: 1.9rem; }
.response-msg--success h2 { margin-bottom: 8px; font: 900 1.6rem/1.2 var(--eb-font); letter-spacing: -.02em; }
.su-done__lead b { color: var(--eb-ink); font-weight: 800; overflow-wrap: anywhere; }
.su-done__steps { list-style: none; margin: 18px 0 0; padding: 6px; display: grid; gap: 2px; border-radius: 18px; background: var(--eb-bg); }
.su-done__steps li { display: flex; align-items: flex-start; gap: 12px; padding: 10px 12px; border-radius: 13px; }
.su-done__steps li.is-now { background: #fff; box-shadow: 0 1px 2px rgba(15,27,76,.05), 0 10px 24px -18px rgba(15,27,76,.4); }
.su-done__n { width: 32px; height: 32px; flex: none; display: grid; place-items: center; border-radius: 50%; background: #fff; color: var(--eb-ink-3); box-shadow: inset 0 0 0 1.5px var(--eb-line-2); font-size: 1.05rem; }
.su-done__steps li.is-done .su-done__n { background: var(--eb-green); color: #fff; box-shadow: none; }
.su-done__steps li.is-now .su-done__n { background: var(--eb-grad); color: #fff; box-shadow: 0 0 0 4px rgba(97,66,255,.14); }
.su-done__steps b { display: block; margin-top: 4px; color: var(--eb-ink); font: 800 .98rem/1.3 var(--eb-font); }
.su-done__steps small { display: block; margin-top: 2px; color: var(--eb-ink-3); font: 600 .86rem/1.45 var(--eb-font); }
.su-done__fix { margin-top: 16px; color: var(--eb-ink-3); font-size: .92rem; }
.su-done__fix a { white-space: nowrap; }
.su-done__back { margin-top: 18px; width: 100%; min-height: 48px; }

.spinner { display: inline-block; width: 18px; height: 18px; flex: none; border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; border-radius: 50%; animation: su-spin .7s linear infinite; }
@keyframes su-spin { to { transform: rotate(360deg); } }
@keyframes su-rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- Под картичката (.eb-auth__foot) ---------- */
.su-foot { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 22px; padding-top: 14px; color: var(--eb-ink-3); font: 700 .95rem/1.5 var(--eb-font); text-align: center; }
.su-foot a { color: var(--eb-ink-2) !important; font-weight: 800; white-space: nowrap; }
.su-foot a:hover { color: var(--eb-b1) !important; }
.su-foot i { margin-right: 4px; color: var(--eb-b1); vertical-align: -2px; }

/* ==========================================================================
   Таблет (до 1199px, како најавата): ѕидот е лента над картичката, картичката малку влегува во неа
   ========================================================================== */
@media (max-width: 1199px) {
  .su { grid-template-columns: 1fr; grid-template-rows: auto 1fr; position: relative; }
  .su-wall { position: relative; height: 300px; }
  .su-wall__track { width: 1900px; }
  .su-wall::after { background: linear-gradient(180deg, rgba(31,52,160,.95) 0%, rgba(62,128,249,.80) 30%, rgba(84,102,255,.34) 62%, rgba(97,66,255,.10) 82%, rgba(39,206,167,.26) 100%); }
  .su-wall__in { padding: 28px 200px 0 32px; justify-content: flex-start; }
  .su-eyebrow, .su-free, .su-wall__panel { display: none; }
  .su-title { margin-top: 14px; max-width: 640px; font-size: 1.6rem; }
  .su-main { padding: 0 24px 22px; }
  .su-top { position: absolute; top: 22px; right: 24px; z-index: 3; }
  .su-center { padding: 0 0 18px; margin-top: -84px; position: relative; z-index: 2; }
  .su-card { max-width: 600px; }
  .su-app { display: none; } /* знакот е веќе во лентата со корици */
  .su-head p.su-head__free { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 12px; padding: 4px 11px 4px 8px; border-radius: var(--eb-r-pill); background: var(--eb-soft-m); color: #097a5c; /* 4,9:1 на нежнозеленото (како на сајтот) */ font: 800 .84rem/1.35 var(--eb-font); }
  .su-head p.su-head__free i { font-size: 1rem; }
  .su-trust { display: grid; }
}

/* Телефон (до 767px): тесна лента корици со знакот, картичката под неа, без хоризонтално лизгање */
@media (max-width: 767px) {
  .su-wall { height: 156px; }
  .su-wall__track { width: 1200px; gap: 14px; }
  .su-wall__row { gap: 14px; }
  .su-wall__row img { width: 96px; border-radius: 6px; }
  .su-wall__row:nth-child(even) { transform: translateX(-56px); }
  .su-wall__in { padding: 18px 16px 0; }
  .su-brand img { width: 34px; height: 34px; }
  .su-brand b { font-size: 1.25rem; }
  .su-title { display: none; } /* на телефон само знакот над кориците */
  .su-top { top: 18px; right: 16px; }
  .su-main { padding: 0 16px 18px; }
  .su-center { margin-top: -26px; }
  .su-card { --pad: 18px; padding: 24px var(--pad) 22px; border-radius: 20px; }
  .su-head h1 { font-size: 1.5rem; }
  .su-progress { padding: 8px 10px; }
  .su-progress ol { grid-template-columns: repeat(4, auto); justify-content: space-between; }
  .su-progress a { gap: 6px; padding: 5px 6px; }
  .su-progress__t { display: none; }
  .su-progress li.is-current .su-progress__t { display: inline; }
  .form-row { grid-template-columns: minmax(0, 1fr); }
  /* полињата најмалку 16 px: со помал текст iOS го зголемува целиот екран при допир на полето */
  .form-group input { font-size: 16px; }
  .response-msg { padding: 12px 12px 14px; }
  .response-actions > :only-child { flex: 1 1 auto; }
  .su-foot { gap: 4px 16px; font-size: .9rem; }
}
@media (max-width: 359px) {
  .su-progress li.is-current .su-progress__t { display: none; }
  .su-langs a { padding: 7px 9px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .btn-submit:hover, .btn-submit:hover > i { transform: none; }
  .spinner { animation: su-spin 1.6s linear infinite !important; } /* вртелешката останува - инаку не се гледа дека се праќа */
}
