/* ================= BuJob.uz — палитра =================
   Основной #0A1430 · второй #0297DE · акцент #FC734D (меняйте в :root ниже) */
:root {
  --pat: rgba(255,255,255,.7);
  --bg: #f4f7fb; --card: #ffffff; --header-bg: rgba(255,255,255,.86);
  --ink: #0A1430; --mute: #64748b; --line: #e2e8f0; --soft: #eef2f8;
  --acc: #0297DE; --acc-h: #0279B5; --acc-ink: #ffffff; --acc-soft: rgba(2,151,222,.12);
  --err: #ef4444; --ok: #16a34a; --hot: #E8562F; --pop: #FC734D;
  --sh: 0 1px 2px rgba(10,20,48,.04), 0 8px 24px -12px rgba(10,20,48,.14);
  --sh-h: 0 2px 4px rgba(10,20,48,.05), 0 18px 40px -16px rgba(10,20,48,.28);
  --ease: cubic-bezier(.2,.8,.2,1);

  /* форма входа: светлая версия, как была */
  --neo-bg: #e8e8e8; --neo-light: #ffffff; --neo-dark: #c3c3c3;
  --neo-text: #3a3a3a; --neo-muted: #8b8b8b; --neo-accent: #0297DE;
  --size: min(520px, 92vw);

  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
[data-theme="dark"] {
  --pat: rgba(255,255,255,.03);
  --bg: #060D22; --card: #0A1430; --header-bg: rgba(10,20,48,.86);
  --ink: #f8fafc; --mute: #9AA8C9; --line: #1B2B57; --soft: #101D42;
  --acc: #0297DE; --acc-h: #38B6EC; --acc-soft: rgba(2,151,222,.16);
  --sh: 0 1px 2px rgba(0,0,0,.4); --sh-h: 0 18px 40px -16px rgba(0,0,0,.75);

  /* форма входа: тёмная неоморфная версия */
  --neo-bg: #262a33; --neo-light: #333844; --neo-dark: #181b21;
  --neo-text: #e6e9ef; --neo-muted: #8c93a1; --neo-accent: #0297DE;
}
html { scroll-padding-top: env(safe-area-inset-top, 0px); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 15.5px/1.55 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  overflow-x: hidden; -webkit-font-smoothing: antialiased; transition: background-color .35s, color .35s;
}
body.lock { overflow: hidden; }
img { max-width: 100%; }
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.hidden { display: none !important; }

/* ---------- анимации ---------- */
@keyframes up { from { opacity: 0; transform: translateY(14px); } }
@keyframes fade { from { opacity: 0; } }
@keyframes sheetIn { from { opacity: 0; transform: translateY(28px) scale(.98); } }
@keyframes drawerIn { from { opacity: 0; transform: translateX(48px); } }
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, 16px); } }
@keyframes float { to { transform: translate(40px, 30px) scale(1.12); } }
#v-home, #v-profile, #v-admin { animation: fade .45s var(--ease); }

/* ---------- шапка ---------- */
header { background: var(--header-bg); border-bottom: 1px solid var(--line); -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px); position: -webkit-sticky; position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5; }
.bar { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { background: none !important; border: 0; padding: 0; min-height: 0; display: flex; align-items: center; cursor: pointer; transition: transform .25s var(--ease); }
.logo:hover { transform: scale(1.04); }
.logo-img { height: 32px; width: auto; display: block; object-fit: contain; }
nav { display: flex; align-items: center; }
nav > * { margin-left: 6px; }
nav button { min-height: 38px; padding: 0 14px; background: transparent; color: var(--ink); font-weight: 500; font-size: 14.5px; border-radius: 10px; border-color: transparent; }
nav button:hover { background: var(--soft); }
nav .cta { background: #0A1430; border: 1px solid #243566; color: #fff; padding: 0 16px; font-weight: 600; }
nav .cta:hover { background: #14224A; }
[data-theme="dark"] nav .cta { background: #14224A; }
[data-theme="dark"] nav .cta:hover { background: #1B2B57; }
nav .lang { border: 1px solid var(--line); }
#menuBtn { position: relative; }
#menuBtn[data-n]:not([data-n=""])::after { content: attr(data-n); position: absolute; top: -6px; right: -6px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--pop); color: #0A1430; font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px var(--acc-soft); } }
.ava { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; vertical-align: middle; margin-right: 6px; }

/* ---------- типографика ---------- */
h1 { font-size: clamp(32px, 5.4vw, 58px); line-height: 1.06; margin: 0 0 14px; letter-spacing: -.035em; font-weight: 700; }
h2 { margin: 0 0 14px; font-size: 18px; font-weight: 650; letter-spacing: -.015em; }
a { color: var(--acc); }
.lead { color: var(--mute); font-size: clamp(16px, 2vw, 19px); margin: 0 0 28px; max-width: 40ch; }

/* ---------- формы ---------- */
button, input, select, textarea { font: inherit; -webkit-appearance: none; appearance: none; }
button { cursor: pointer; border: 1px solid transparent; border-radius: 12px; padding: 0 20px; min-height: 46px; background: var(--acc); color: var(--acc-ink); font-weight: 600; transition: background .2s, transform .15s var(--ease), box-shadow .2s, color .2s; }
button:hover { background: var(--acc-h); }
button:active { transform: scale(.97); }
button:disabled { opacity: .5; cursor: default; }
button.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
button.ghost:hover { background: var(--soft); }
button.ghost.on { background: var(--acc-soft); color: var(--acc); border-color: var(--acc); }
.abtn { display: flex; align-items: center; justify-content: center; min-height: 46px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); text-decoration: none; font-weight: 600; background: var(--card); transition: background .2s, transform .15s; }
.abtn:hover { background: var(--soft); }
.abtn:active { transform: scale(.98); }
input, select, textarea { color: var(--ink); background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; width: 100%; font-size: 16px; min-height: 46px; transition: border-color .2s, box-shadow .25s; }
select option { background: var(--card); color: var(--ink); }
select { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%236b7280' stroke-width='2'><path d='M1 1l5 5 5-5'/></svg>"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
input[type=checkbox] { width: 20px; height: 20px; min-height: 0; padding: 0; accent-color: var(--acc); -webkit-appearance: checkbox; appearance: auto; flex: none; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--acc); box-shadow: 0 0 0 4px var(--acc-soft); }
button:focus-visible, a:focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; }

/* ---------- карточки ---------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 22px; box-shadow: var(--sh); }
#pExtra .card { margin-top: 16px; }
.card h2 { margin-bottom: 12px; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 24px 0 0; }
.hero h1, .hero .lead, .hero .search, .hero .stats, .hero .chips { animation: up .7s var(--ease) backwards; }
.hero .lead { animation-delay: .08s; }
.hero .search { animation-delay: .16s; }
.hero .stats { animation-delay: .24s; }
.hero #chips { animation-delay: .3s; }
.search { display: grid; gap: 8px; background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 8px; box-shadow: var(--sh-h); transition: box-shadow .3s, transform .3s var(--ease); }
.search:focus-within { transform: translateY(-2px); box-shadow: 0 0 0 4px var(--acc-soft), var(--sh-h); }
.search input, .search select { border-color: transparent; background-color: var(--soft); }
.search input:focus, .search select:focus { box-shadow: none; border-color: transparent; background-color: var(--card); }
@media (min-width: 700px) { .search { grid-template-columns: 1fr auto auto; } }
.stats { display: flex; flex-wrap: wrap; gap: 6px 32px; color: var(--mute); font-size: 14px; margin-top: 24px; }
.stats b { color: var(--ink); font-size: 22px; font-weight: 700; margin-right: 6px; letter-spacing: -.02em; }
.chips { display: flex; overflow-x: auto; padding: 16px 0 4px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.chips > * { margin-right: 8px; }
.chips.wrap { flex-wrap: wrap; overflow: visible; padding-top: 4px; }
.chips.wrap > * { margin-bottom: 8px; }
.chip { flex: none; min-height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink); font-size: 14px; font-weight: 500; }
.chip:hover { background: var(--soft); transform: translateY(-1px); }
.chip.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* ---------- список вакансий ---------- */
.grid { display: grid; gap: 20px; padding: 28px 0 56px; }
@media (min-width: 900px) { #jobs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; } #jobs .job { margin-bottom: 0; } #jobs .empty { grid-column: 1 / -1; } }
.grid > div.card { background: none; border: 0; box-shadow: none; padding: 0; }
.fl { display: flex; align-items: center; padding: 8px 0; cursor: pointer; }
.fl span { margin-left: 10px; }
.lh { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.lh select { width: auto; min-height: 40px; padding: 8px 36px 8px 12px; font-size: 14px; margin-left: 12px; }
.job { display: flex; position: relative; padding: 18px 0; border-top: 1px solid var(--line); cursor: pointer; }
.job:first-of-type { border-top: 0; }
#jobs .job { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 20px; margin-bottom: 12px; box-shadow: var(--sh); transform: perspective(900px) rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg)); transition: transform .18s ease-out, box-shadow .35s, border-color .25s; animation: up .5s var(--ease) backwards; overflow: hidden; }
#jobs .job:first-of-type { border-top: 1px solid var(--line); }
#jobs .job:hover { box-shadow: var(--sh-h); border-color: var(--acc); }
#jobs .job:nth-child(2) { animation-delay: .04s; } #jobs .job:nth-child(3) { animation-delay: .08s; } #jobs .job:nth-child(4) { animation-delay: .12s; }
#jobs .job:nth-child(5) { animation-delay: .16s; } #jobs .job:nth-child(6) { animation-delay: .2s; } #jobs .job:nth-child(n+7) { animation-delay: .24s; }
.job:hover h3 { color: var(--acc); }
.thumb { flex: none; width: 60px; height: 60px; border-radius: 14px; background: var(--soft); display: grid; place-items: center; font-size: 26px; object-fit: cover; margin-right: 16px; transition: transform .35s var(--ease); }
.job:hover .thumb { transform: scale(1.06) rotate(-3deg); }
.jb { display: grid; gap: 5px; min-width: 0; flex: 1; }
.job h3 { margin: 0; font-size: 18px; font-weight: 650; letter-spacing: -.015em; padding-right: 46px; transition: color .2s; }
.sal { font-weight: 700; font-size: 16px; font-variant-numeric: tabular-nums; }
.meta { color: var(--mute); font-size: 14px; }
.tag { display: inline-block; background: var(--soft); border-radius: 8px; padding: 2px 10px; font-size: 13px; margin: 0 6px 4px 0; font-weight: 500; }
.tag.pending { color: var(--hot); background: rgba(252,115,77,.14); }
.tag.ok { color: var(--ok); background: rgba(18,161,80,.12); }
.tag.no { color: var(--err); background: rgba(214,45,32,.12); }
.mp { font-size: 14px; font-weight: 600; text-decoration: none; color: var(--acc); width: fit-content; }
.mp:hover { text-decoration: underline; text-underline-offset: 3px; }
.fav { position: absolute; right: 0; top: 16px; width: 38px; min-height: 38px; padding: 0; border-radius: 50%; background: transparent; color: var(--mute); border: 1px solid var(--line); font-size: 15px; }
#jobs .fav { right: 16px; top: 16px; }
.fav:hover { background: rgba(252,115,77,.12); color: var(--pop); transform: scale(1.1); }
.fav.on { color: var(--pop); border-color: var(--pop); background: rgba(252,115,77,.12); }
.empty { color: var(--mute); padding: 24px 0; text-align: center; }

/* ---------- формы, диалоги ---------- */
.form { display: grid; gap: 14px; }
.form label { display: grid; gap: 6px; font-size: 14px; color: var(--mute); }
.form label.fl { display: flex; }
.row2 { display: grid; gap: 14px; }
@media (min-width: 560px) { .row2 { grid-template-columns: 1fr 1fr; } }
.err { color: var(--err); font-size: 14px; }
.photo { display: flex; align-items: center; }
.photo img { width: 72px; height: 72px; border-radius: 14px; object-fit: cover; background: var(--soft); margin-right: 14px; }
.photo img[src=""], .photo img:not([src]) { display: none; }
.modal { position: fixed; inset: 0; background: rgba(6,13,34,.6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); display: none; align-items: flex-end; justify-content: center; z-index: 50; }
.modal.open { display: flex; animation: fade .25s ease; }
.sheet { background: var(--card); color: var(--ink); width: 100%; max-width: 540px; max-height: 92%; overflow-y: auto; -webkit-overflow-scrolling: touch; border-radius: 24px 24px 0 0; padding: 26px 22px calc(26px + env(safe-area-inset-bottom, 0px)); animation: sheetIn .4s var(--ease); }
@media (min-width: 600px) { .modal { align-items: center; } .sheet { border-radius: 24px; } }
.sheet .form > button { width: 100%; }
.big { margin-bottom: 14px; }
.big .thumb { width: 100%; height: 160px; font-size: 56px; margin: 0; border-radius: 16px; }
.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); background: var(--ink); color: var(--bg); padding: 12px 20px; border-radius: 12px; font-size: 14px; font-weight: 500; z-index: 99; max-width: 90%; box-shadow: 0 12px 32px rgba(0,0,0,.25); animation: toastIn .4s var(--ease); }

/* ---------- меню-шторка ---------- */
#dMenu { align-items: stretch; justify-content: flex-end; }
.drawer { width: min(400px, 100%); background: var(--card); padding: 16px 28px 40px; display: flex; flex-direction: column; overflow-y: auto; animation: drawerIn .45s var(--ease); }
.drawer .x { align-self: flex-end; width: 40px; min-height: 40px; padding: 0; }
#mList { margin-top: 20px; }
#mList button { display: flex; justify-content: space-between; align-items: center; width: 100%; text-align: left; background: none; color: var(--ink); border: 0; border-bottom: 1px solid var(--line); border-radius: 0; min-height: 0; padding: 20px 0; font-size: 20px; font-weight: 600; letter-spacing: -.01em; transition: padding .3s var(--ease), color .2s; }
#mList button::after { content: "→"; opacity: 0; transform: translateX(-8px); transition: .3s var(--ease); color: var(--acc); }
#mList button:hover { background: none; color: var(--acc); padding-left: 8px; }
#mList button:hover::after { opacity: 1; transform: none; }

/* ---------- профиль ---------- */
.prof { display: flex; align-items: center; flex-wrap: wrap; }
.prof img { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; background: var(--soft); margin-right: 18px; }
.kv { display: grid; gap: 8px; margin-top: 18px; }
.kv div { display: flex; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 8px; }
.kv span:first-child { color: var(--mute); margin-right: 12px; }
.pbar { height: 6px; border-radius: 99px; background: var(--soft); overflow: hidden; margin-top: 8px; }
.pbar i { display: block; height: 100%; background: linear-gradient(90deg,#0A3A6B,var(--acc)); border-radius: 99px; animation: grow 1s var(--ease) both; transform-origin: left; }
@keyframes grow { from { transform: scaleX(0); } }

/* ---------- админ-панель ---------- */
.arow { align-items: flex-start; cursor: default; }
.arow:hover h3 { color: inherit; }
.arow:hover .thumb { transform: none; }
.acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.acts button { min-height: 38px; font-size: 14px; }

footer { border-top: 1px solid var(--line); padding: 26px 0 34px; color: var(--mute); font-size: 14px; background: var(--card); }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition-duration: .01s !important; scroll-behavior: auto !important; } }


/* ---------- круче: анимации ---------- */
@property --a { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes spin { to { --a: 360deg; } }
@keyframes shine { to { background-position: -220% 0; } }
.search { position: relative; }
.search::after { content: ""; position: absolute; inset: -2px; border-radius: 22px; padding: 2px; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: conic-gradient(from var(--a), transparent 0 62%, #0A3A6B 75%, var(--acc) 90%, transparent);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); animation: spin 3s linear infinite; }
.search:focus-within::after { opacity: 1; }
#jobs .job::before, #recs .job::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(420px circle at var(--mx,50%) var(--my,50%), var(--acc-soft), transparent 60%); }
#jobs .job:hover::before, #recs .job:hover::before { opacity: 1; }
.job .jb, .job .thumb { position: relative; z-index: 1; }
.fav { z-index: 2; }
#go, #apply, .sheet .form > button:not(.ghost) { position: relative; overflow: hidden; }
#go::after, #apply::after, .sheet .form > button:not(.ghost)::after { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.4), transparent); transform: skewX(-20deg); transition: left .7s var(--ease); pointer-events: none; }
#go:hover::after, #apply:hover::after, .sheet .form > button:not(.ghost):hover::after { left: 130%; }
.bar { transition: height .3s var(--ease); }
header { transition: box-shadow .3s; }
header.sc { box-shadow: 0 8px 28px -14px rgba(10,20,48,.35); }
header.sc .bar { height: 54px; }
.stats > span { animation: up .6s var(--ease) backwards; }
.stats > span:nth-child(2) { animation-delay: .1s; } .stats > span:nth-child(3) { animation-delay: .2s; }

/* ---------- шапка как на hh.ru ---------- */
.bar .left { display: flex; align-items: center; gap: 18px; }
.seg { position: relative; display: grid; grid-template-columns: 1fr 1fr; padding: 4px; background: var(--soft); border: 1px solid var(--line); border-radius: 16px; min-width: min(380px, 38vw); }
.seg::before { content: ""; position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); background: var(--card); border-radius: 12px; box-shadow: 0 1px 3px rgba(10,20,48,.18), 0 6px 16px -8px rgba(10,20,48,.25); transition: transform .5s var(--ease); }
.seg[data-a="1"]::before { transform: translateX(100%); }
.sg { position: relative; z-index: 1; background: transparent; color: var(--mute); border: 0; border-radius: 12px; min-height: 40px; padding: 0 16px; font-size: 15px; font-weight: 500; transition: color .3s; }
.sg:hover { background: transparent; color: var(--ink); }
.seg[data-a="0"] #navWork, .seg[data-a="1"] #navHire { color: var(--ink); font-weight: 600; }
.rsm { margin-left: 6px; min-height: 38px; padding: 0 16px; border-radius: 10px; font-size: 14.5px; background: var(--acc); color: #fff; border: 1px solid transparent; }
.rsm:hover { background: var(--acc-h); }
@media (max-width: 860px) { .rsm { display: none; } }
@media (max-width: 760px) { .seg { display: none; } }

/* ---------- большой баннер ---------- */
.banner { position: relative; overflow: hidden; isolation: isolate; color: #fff; border-radius: 32px; min-height: clamp(430px, 42vw, 600px); display: flex; align-items: center; padding: clamp(26px, 5vw, 72px); background: linear-gradient(110deg, #050B1C 0%, #0A1430 55%, #0B1A42 100%); }
.banner::before { content: ""; position: absolute; inset: -8% -6%; z-index: -1; background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 600' preserveAspectRatio='none'><defs><linearGradient id='a' x1='0' y1='0' x2='1' y2='1'><stop offset='0' stop-color='%2360a5fa'/><stop offset='.55' stop-color='%230297DE'/><stop offset='1' stop-color='%230A3A6B'/></linearGradient></defs><path d='M-100 470 C180 150 520 560 820 300 S1180 20 1320 140 L1320 700 L-100 700Z' fill='url(%23a)'/><path d='M-100 600 C260 330 600 640 940 430 S1250 330 1320 380 L1320 700 L-100 700Z' fill='%230A1430'/><path d='M500 -40 C640 90 820 40 960 -40Z' fill='%230A3A6B' opacity='.7'/></svg>") center / cover no-repeat; -webkit-mask-image: linear-gradient(90deg, transparent 15%, #000 60%); mask-image: linear-gradient(90deg, transparent 15%, #000 60%); animation: drift 18s ease-in-out infinite alternate; }
.banner::after { content: ""; position: absolute; inset: 0; z-index: -1; background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 600' preserveAspectRatio='xMidYMid meet'><path d='M290 -10 C110 120 330 240 190 370 S50 510 150 610' fill='none' stroke='white' stroke-opacity='.85' stroke-width='6' stroke-linecap='round'/></svg>") right 14% center / auto 118% no-repeat; animation: draw 2.6s var(--ease) .3s backwards; pointer-events: none; }
@keyframes drift { to { transform: translate(-3%, 2%) scale(1.07); } }
@keyframes draw { from { clip-path: inset(0 0 100% 0); } }
@keyframes spinS { to { transform: rotate(360deg); } }
.bin { position: relative; max-width: 720px; width: 100%; }
.banner h1 { color: #fff; font-size: clamp(30px, 4.3vw, 54px); margin-bottom: 14px; }
.banner .lead { color: rgba(255,255,255,.78); margin-bottom: 28px; }
.banner .stats { color: rgba(255,255,255,.72); }
.banner .stats b { color: #fff; }
.banner .search { background: none; border: 0; box-shadow: none; padding: 0; gap: 12px; -webkit-backdrop-filter: none; backdrop-filter: none; }
.banner .search::after { display: none; }
.banner .search:focus-within { transform: none; box-shadow: none; }
.banner .search input, .banner .search select { background-color: #fff; color: #0A1430; border-radius: 14px; min-height: 56px; border-color: transparent; }
.banner .search input::placeholder { color: #94a3b8; }
.banner .search input:focus, .banner .search select:focus { background-color: #fff; box-shadow: 0 0 0 4px rgba(56,182,236,.55); }
.banner #go { min-height: 56px; border-radius: 14px; padding: 0 28px; font-size: 16px; }
.banner .search .ghost { min-height: 56px; border-radius: 14px; color: #fff; border-color: rgba(255,255,255,.35); }
.banner .search .ghost:hover { background: rgba(255,255,255,.12); }
.banner .search .ghost.on { background: rgba(56,182,236,.25); color: #fff; border-color: #38B6EC; }
.badge { position: absolute; right: clamp(24px, 9vw, 150px); top: clamp(24px, 10%, 80px); width: clamp(110px, 12vw, 165px); animation: spinS 24s linear infinite; filter: drop-shadow(0 12px 24px rgba(0,0,0,.4)); }
@media (max-width: 900px) { .badge { display: none; } .banner::after { opacity: .35; } }
.hbtns { display: flex; flex-wrap: wrap; gap: 12px; }
.hbtns button { min-height: 56px; border-radius: 14px; padding: 0 28px; font-size: 16px; }
.banner .hbtns .ghost { color: #fff; border-color: rgba(255,255,255,.35); }
.banner .hbtns .ghost:hover { background: rgba(255,255,255,.12); }
.steps { display: grid; gap: 14px; margin-top: 14px; padding-bottom: 56px; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 26px; box-shadow: var(--sh); animation: up .6s var(--ease) backwards; transition: transform .35s var(--ease), box-shadow .35s; }
.step:nth-child(2) { animation-delay: .1s; } .step:nth-child(3) { animation-delay: .2s; }
.step:hover { transform: translateY(-4px); box-shadow: var(--sh-h); }
.step i { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: rgba(252,115,77,.14); color: #E8562F; font-style: normal; font-weight: 700; margin-bottom: 14px; }
.step h3 { margin: 0 0 6px; font-size: 18px; letter-spacing: -.015em; }
.step p { margin: 0; color: var(--mute); font-size: 14.5px; }
#v-home .chips { padding-top: 22px; }

/* ---------- рубрики ---------- */
.cats { padding: 52px 0 8px; }
.sh { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 22px; }
.sh h2, .why h2, .sh-t { margin: 0; font-size: clamp(24px, 3vw, 34px); font-weight: 650; letter-spacing: -.025em; }
.sh .sm { min-height: 38px; font-size: 14px; padding: 0 16px; }
.cgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 640px) { .cgrid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .cgrid { grid-template-columns: repeat(5, 1fr); } }
.cat { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; min-height: 200px; padding: 22px 14px 22px; background: var(--soft); color: var(--ink); border: 1px solid transparent; border-radius: 24px; font-weight: 600; transition: transform .4s var(--ease), box-shadow .4s, background .25s, border-color .25s; }
.cat::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(135deg, transparent 0 26px, var(--pat) 26px 28px); -webkit-mask-image: radial-gradient(circle at 50% 30%, #000, transparent 85%); mask-image: radial-gradient(circle at 50% 30%, #000, transparent 85%); }
.cgrid:not(.in) .cat { opacity: 0; }
.cgrid.in .cat { animation: up .7s var(--ease) backwards; animation-delay: calc(var(--d, 0) * 55ms); }
.cat:hover { transform: translateY(-6px); box-shadow: var(--sh-h); background: var(--card); }
.cat.on { background: var(--card); border-color: var(--acc); box-shadow: 0 0 0 4px var(--acc-soft), var(--sh-h); }
.ci { position: relative; font-size: 64px; line-height: 1; margin-bottom: 18px; filter: drop-shadow(0 12px 14px rgba(10,20,48,.28)); animation: bob 4.5s ease-in-out infinite; animation-delay: calc(var(--d, 0) * -.6s); transition: scale .45s var(--ease), rotate .45s var(--ease); }
.cat:hover .ci { scale: 1.18; rotate: -7deg; }
@keyframes bob { 50% { transform: translateY(-7px); } }
.cat b { position: relative; font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
.cat small { position: relative; color: var(--mute); font-weight: 500; font-size: 13px; margin-top: 2px; }
#profs { margin-top: 16px; }
#profs:empty { margin: 0; }
.lh, #count { scroll-margin-top: 90px; }

/* ---------- «Как BuJob помогает» ---------- */
.why { display: grid; gap: 36px; align-items: center; padding: 72px 0 32px; }
@media (min-width: 900px) { .why { grid-template-columns: 1fr 1fr; gap: 72px; } }
.checks { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 20px; }
.checks li { position: relative; padding-left: 50px; font-size: 17px; line-height: 1.45; }
.checks li::before { content: ""; position: absolute; left: 6px; top: 1px; width: 24px; height: 24px; background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230297DE' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M4 12.5l5 5L20 6'/></svg>") center / contain no-repeat; }
.promo { position: relative; isolation: isolate; overflow: hidden; min-height: 400px; border-radius: 28px; padding: 36px 28px; display: grid; align-content: center; gap: 16px; background: linear-gradient(135deg, #0A1430, #0A3A6B 62%, #0297DE); box-shadow: var(--sh-h); }
.promo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 60% at 82% 8%, rgba(130,205,243,.55), transparent 70%), radial-gradient(50% 50% at 8% 100%, rgba(10,58,107,.7), transparent 70%); animation: drift 12s ease-in-out infinite alternate; }
.pc { display: flex; align-items: center; gap: 14px; background: rgba(255,255,255,.97); color: #0A1430; border-radius: 18px; padding: 14px 18px; box-shadow: 0 20px 40px -20px rgba(0,0,0,.65); animation: bob 5.5s ease-in-out infinite; animation-delay: calc(var(--i) * -1.4s); }
.pc:nth-child(2) { margin-left: clamp(0px, 6vw, 48px); }
.pc:nth-child(3) { margin-right: clamp(0px, 4vw, 32px); }
.pc .t { flex: none; width: 48px; height: 48px; border-radius: 14px; background: #eef2f8; display: grid; place-items: center; font-size: 24px; }
.pc b { display: block; font-size: 15px; }
.pc small { color: #64748b; font-size: 13px; }
.pc em { margin-left: auto; padding-left: 10px; font-style: normal; font-weight: 700; font-size: 14px; color: #0279B5; white-space: nowrap; }
.pbadge { justify-self: end; margin-top: 4px; padding: 9px 16px; border-radius: 999px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); color: #fff; font-size: 14px; font-weight: 600; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }

/* ---------- отзывы ---------- */
.revs { padding: 40px 0 56px; }
.rgrid { display: grid; gap: 14px; margin-top: 22px; }
@media (min-width: 760px) { .rgrid { grid-template-columns: repeat(3, 1fr); } }
.rcard { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 26px; box-shadow: var(--sh); }
.rcard p { margin: 0 0 16px; }
.rcard b, .rcard small { display: block; }
.rcard small { color: var(--mute); }

/* ---------- появление при прокрутке ---------- */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.rv.in { opacity: 1; transform: none; }

/* ---------- «Как это работает» ---------- */
.how { padding: 56px 0 8px; }
.vsub { margin: 8px 0 0; color: var(--mute); font-weight: 500; }
.how-g { position: relative; display: grid; gap: 44px; padding: 44px 0 84px; }
@media (min-width: 820px) { .how-g { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.hs { position: relative; z-index: 1; text-align: center; padding: 0 14px; }
.hc { display: grid; place-items: center; width: 140px; height: 140px; margin: 0 auto 24px; border-radius: 50%; background: var(--card); border: 1px solid var(--line); box-shadow: 0 22px 46px -16px rgba(2,151,222,.5), inset 0 0 0 8px var(--acc-soft); animation: bob 5s ease-in-out infinite; animation-delay: calc(var(--d, 0) * -1.3s); transition: box-shadow .4s, scale .4s var(--ease); }
.hs:hover .hc { scale: 1.07; box-shadow: 0 26px 54px -14px rgba(2,151,222,.7), inset 0 0 0 8px var(--acc-soft); }
.hc svg { width: 58px; height: 58px; fill: var(--acc); }
.hs h3 { margin: 0 0 8px; font-size: 19px; letter-spacing: -.015em; }
.hs p { margin: 0 auto; max-width: 28ch; color: var(--mute); font-size: 15px; }
.how-g:not(.in) .hs { opacity: 0; transform: translateY(26px); }
.how-g.in .hs { animation: up .8s var(--ease) backwards; }
.how-g.in .hs:nth-of-type(2) { animation-delay: .15s; }
.how-g.in .hs:nth-of-type(3) { animation-delay: .3s; }
.arrows { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; display: none; }
@media (min-width: 820px) { .arrows { display: block; } }
.ap { fill: none; stroke: url(#ag); stroke-width: 11; stroke-linecap: round; opacity: .5; stroke-dasharray: 1; stroke-dashoffset: 1; }
.ah { fill: #38B6EC; opacity: 0; }
.how-g.in .ap { stroke-dashoffset: 0; transition: stroke-dashoffset 1.6s var(--ease) .5s; }
.how-g.in .ap.a2 { transition-delay: 1.3s; }
.how-g.in .ah { opacity: .55; transition: opacity .5s 2s; }
.how-g.in .ah.a2 { transition-delay: 2.8s; }

/* ---------- промо-видео ---------- */
.vid { padding: 8px 0 76px; }
.vwrap { position: relative; isolation: isolate; overflow: hidden; border-radius: 28px; background: #000; aspect-ratio: 16 / 9; max-width: 980px; margin: 26px auto 0; box-shadow: var(--sh-h); }
.vwrap video { display: block; width: 100%; height: 100%; object-fit: cover; }
.vwrap::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(0,0,0,.4), transparent 26%, transparent 60%, rgba(0,0,0,.6)); }
.vwrap .vhit, .vwrap .vhit:hover { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; padding: 0; border: 0; border-radius: 0; background: none; display: grid; place-items: center; }
.vplay { width: 78px; height: 78px; border-radius: 50%; background: rgba(255,255,255,.94); display: grid; place-items: center; box-shadow: 0 14px 34px rgba(0,0,0,.4); opacity: 0; transform: scale(.7); transition: opacity .3s, transform .4s var(--ease); }
.vplay::before { content: ""; margin-left: 5px; border-style: solid; border-width: 13px 0 13px 21px; border-color: transparent transparent transparent #0A1430; }
.vwrap.paused .vplay { opacity: 1; transform: none; }
.vtag, .vdom, .vchips span { position: absolute; z-index: 2; display: inline-block; padding: 5px 11px; border-radius: 999px; background: rgba(0,0,0,.42); border: 1px solid rgba(255,255,255,.22); color: #fff; font-size: 12px; font-weight: 600; letter-spacing: .01em; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); pointer-events: none; }
.vtag { top: 14px; left: 14px; }
.vdom { top: 14px; right: 14px; }
.vchips { position: absolute; z-index: 2; left: 14px; bottom: 20px; display: flex; flex-wrap: wrap; gap: 8px; max-width: calc(100% - 190px); pointer-events: none; }
.vchips span { position: static; font-weight: 500; }
.vchips b { font-weight: 700; }
.vwrap .vcta { position: absolute; z-index: 2; right: 14px; bottom: 16px; min-height: 40px; padding: 0 18px; border-radius: 12px; font-size: 14px; }
.vbar { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255,255,255,.25); }
.vbar i { display: block; height: 100%; width: 0; background: var(--acc); }
@media (max-width: 600px) { .vchips { max-width: 100%; bottom: 62px; } .vwrap .vcta { left: 14px; right: auto; } .vwrap { border-radius: 22px; } }

/* ================= NEUMORPHIC AUTH MODAL (без изменений) ================= */
#dAuth .sheet {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  max-width: var(--size, 520px);
  display: flex;
  justify-content: center;
  align-items: center;
}

.login-wrapper {
  width: var(--size);
  height: var(--size);
  perspective: 1400px;
}

.flipper {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform .9s cubic-bezier(.65, .05, .25, 1);
}

.login-wrapper.is-signup .flipper {
  transform: rotateY(180deg);
}

.glass-circle {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--neo-bg);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  box-shadow:
    -22px -22px 44px var(--neo-light),
     22px  22px 50px var(--neo-dark),
    inset -1px -1px 1px rgba(255, 255, 255, .5);
}

.glass-circle.back {
  transform: rotateY(180deg);
}

.login-form {
  width: 68%;
  text-align: center;
  color: var(--neo-text);
  font-family: "Poppins", system-ui, sans-serif;
}

.login-form h2 {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: .5px;
  color: var(--neo-text);
  text-shadow: 1px 1px 1px var(--neo-light);
  margin-bottom: 2px;
}

.login-form .subtitle {
  font-size: .78rem;
  font-weight: 500;
  color: var(--neo-muted);
  margin-bottom: 20px;
}

.login-form .input-box {
  position: relative;
  margin-bottom: 14px;
}

.login-form .input-box input {
  width: 100%;
  height: 44px;
  padding: 0 10px 0 42px;
  border: none;
  outline: none;
  background: var(--neo-bg);
  border-radius: 12px;
  font: 500 .85rem "Poppins", sans-serif;
  color: var(--neo-text);
  box-shadow:
    inset -6px -6px 10px var(--neo-light),
    inset  6px  6px 10px var(--neo-dark);
  transition: box-shadow .25s;
}

.login-form .input-box input:focus {
  box-shadow:
    inset -3px -3px 6px var(--neo-light),
    inset  3px  3px 6px var(--neo-dark),
    0 0 0 2px rgba(252, 115, 77, .25);
}

.login-form .input-box svg {
  position: absolute;
  left: 14px;
  top: 50%;
  width: 16px;
  height: 16px;
  transform: translateY(-50%);
  fill: var(--neo-muted);
  pointer-events: none;
}

.login-form .options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 4px 0 16px;
  font-size: .72rem;
  color: var(--neo-muted);
}

.login-form .options label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.login-form .switch-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.login-form .switch {
  position: relative;
  width: 34px;
  height: 18px;
  border-radius: 20px;
  background: var(--neo-bg);
  box-shadow:
    inset -2px -2px 4px var(--neo-light),
    inset  2px  2px 4px var(--neo-dark);
  transition: background .3s;
}

.login-form .switch::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--neo-bg);
  box-shadow: 1px 1px 3px var(--neo-dark), -1px -1px 3px var(--neo-light);
  transition: transform .3s, background .3s;
}

.login-form .switch-input:checked + .switch {
  background: rgba(252, 115, 77, .18);
}

.login-form .switch-input:checked + .switch::after {
  transform: translateX(16px);
  background: var(--neo-accent);
  box-shadow: 0 0 6px rgba(252, 115, 77, .5);
}

.login-form .btn {
  width: 100%;
  height: 44px;
  border: none;
  border-radius: 12px;
  background: var(--neo-bg);
  color: var(--neo-text);
  font: 600 .82rem "Poppins", sans-serif;
  letter-spacing: 1.5px;
  cursor: pointer;
  box-shadow: -6px -6px 12px var(--neo-light), 6px 6px 12px var(--neo-dark);
  transition: box-shadow .2s, transform .2s;
}

.login-form .btn:hover { transform: translateY(-1px); }
.login-form .btn:active {
  transform: translateY(0);
  box-shadow: inset -4px -4px 8px var(--neo-light), inset 4px 4px 8px var(--neo-dark);
}

.login-form .switch-text {
  margin-top: 16px;
  font-size: .72rem;
  color: var(--neo-muted);
}

.login-form .switch-text button {
  border: none;
  background: none;
  font: 600 .72rem "Poppins", sans-serif;
  color: var(--neo-accent);
  cursor: pointer;
  min-height: auto;
  padding: 0;
}

.login-form .close-neo {
  position: absolute;
  top: 25px;
  right: 25px;
  background: none;
  border: none;
  font-size: 20px;
  color: var(--neo-muted);
  cursor: pointer;
  min-height: auto;
  padding: 0;
  z-index: 10;
}
/* ---------- вкладка «Войти»: окно и фон как были (анимации сайта сюда не заходят) ---------- */
#dAuth { background: rgba(6,13,34,.8); -webkit-backdrop-filter: none; backdrop-filter: none; }
#dAuth .sheet { animation: none; }

/* ================= «Войти» — отдельная страница (светлая / тёмная тема) ================= */
:root { --neo-accent: #FC734D; --size: min(520px, 92vw); }
[data-theme="dark"] { --neo-accent: #FC734D; }
#dAuth { background: var(--neo-bg); -webkit-backdrop-filter: none; backdrop-filter: none; align-items: center; justify-content: center; overflow: auto; transition: background-color .35s; }
#dAuth .sheet { width: auto; max-width: none; max-height: none; overflow: visible; border-radius: 0; }
@media (min-width: 900px) and (min-height: 860px) {
  :root { --size: 700px; }
  #dAuth .login-form { width: 54.4%; transform: scale(1.25); }
}
@media (max-width: 480px) {
  #dAuth .login-form { width: 76%; }
  #dAuth .login-form h2 { font-size: 1.45rem; }
  #dAuth .login-form .subtitle { margin-bottom: 10px; }
  #dAuth .login-form .input-box { margin-bottom: 8px; }
  #dAuth .login-form .input-box input { height: 38px; min-height: 38px; font-size: .78rem; }
  #dAuth .login-form .btn { height: 40px; }
  #dAuth .login-form .switch-text { margin-top: 10px; }
}
#dAuth .back-neo { position: fixed; top: calc(20px + env(safe-area-inset-top, 0px)); left: 20px; z-index: 3; height: 52px; min-height: 0; padding: 0 24px; border: 0; border-radius: 16px; background: var(--neo-bg); color: var(--neo-text); font: 600 15px "Poppins", system-ui, sans-serif; box-shadow: -6px -6px 14px var(--neo-light), 6px 6px 14px var(--neo-dark); transition: box-shadow .2s, transform .2s, background-color .35s; }
#dAuth .back-neo:hover { background: var(--neo-bg); transform: translateY(-1px); }
#dAuth .back-neo:active { transform: none; box-shadow: inset -4px -4px 8px var(--neo-light), inset 4px 4px 8px var(--neo-dark); }
.neo-top { position: fixed; top: calc(20px + env(safe-area-inset-top, 0px)); right: 20px; z-index: 3; display: flex; align-items: center; }
.neo-logo { height: 46px; width: auto; display: block; margin-left: 18px; }
#dAuth .neo-theme { width: 46px; height: 46px; min-height: 0; padding: 0; border: 0; border-radius: 50%; background: var(--neo-bg); color: var(--neo-text); font-size: 18px; box-shadow: -4px -4px 9px var(--neo-light), 4px 4px 9px var(--neo-dark); transition: box-shadow .2s, transform .2s, background-color .35s; }
#dAuth .neo-theme:hover { background: var(--neo-bg); transform: rotate(180deg); }
#dAuth .neo-theme:active { box-shadow: inset -3px -3px 6px var(--neo-light), inset 3px 3px 6px var(--neo-dark); }
#dAuth .eye { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); width: 24px; height: 24px; min-height: 0; padding: 0; border: 0; background: none; box-shadow: none; color: var(--neo-muted); cursor: pointer; display: grid; place-items: center; transition: color .2s; }
#dAuth .eye:hover { background: none; color: var(--neo-text); }
#dAuth .eye:active { transform: translateY(-50%); }
#dAuth .login-form .input-box .eye svg { position: static; transform: none; width: 18px; height: 18px; fill: currentColor; pointer-events: none; }
.eye .sl { opacity: 0; transition: opacity .2s; }
.eye.on .sl { opacity: 1; }
#dAuth .input-box.pw input { padding-right: 46px; }

/* ================= «Войти» — анимации ================= */
@keyframes authIn { from { clip-path: circle(0% at 50% 52%); } to { clip-path: circle(150% at 50% 52%); } }
@keyframes authOut { to { clip-path: circle(0% at 50% 52%); } }
@keyframes circIn { from { opacity: 0; transform: scale(.55) translateY(50px); } }
@keyframes breathe { 50% { transform: translateY(-9px); } }
@keyframes slideL { from { opacity: 0; translate: -28px 0; } }
@keyframes slideR { from { opacity: 0; translate: 28px 0; } }
@keyframes shake { 20%, 60% { translate: -9px 0; } 40%, 80% { translate: 9px 0; } }
@keyframes rp { to { transform: scale(1); opacity: 0; } }
#dAuth.open { animation: authIn .8s cubic-bezier(.7, 0, .2, 1); }
#dAuth.out { animation: authOut .4s cubic-bezier(.6, 0, .4, 1) forwards; }
#dAuth .sheet { transform: perspective(1600px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .3s ease-out; }
#dAuth .login-wrapper { animation: circIn 1s cubic-bezier(.2, .9, .3, 1.15) .2s backwards, breathe 7s ease-in-out 1.2s infinite; }
#dAuth .back-neo { animation: slideL .7s var(--ease) .45s backwards; }
#dAuth .neo-top { animation: slideR .7s var(--ease) .45s backwards; }
#dAuth .login-form > :nth-child(1) { --i: 0; }
#dAuth .login-form > :nth-child(2) { --i: 1; }
#dAuth .login-form > :nth-child(3) { --i: 2; }
#dAuth .login-form > :nth-child(4) { --i: 3; }
#dAuth .login-form > :nth-child(5) { --i: 4; }
#dAuth .login-form > :nth-child(6) { --i: 5; }
#dAuth .login-form > :nth-child(7) { --i: 6; }
#dAuth .login-form > :nth-child(8) { --i: 7; }
#dAuth .login-form > :nth-child(9) { --i: 8; }
#dAuth .login-wrapper:not(.is-signup) .front .login-form > *,
#dAuth .login-wrapper.is-signup .back .login-form > * { animation: up .6s var(--ease) calc(.45s + var(--i, 0) * 70ms) backwards; }
#dAuth .glass-circle { transition: background-color .4s, box-shadow .4s; }
#dAuth .login-form .input-box input { transition: box-shadow .25s, background-color .4s, color .4s; }
#dAuth .login-form .btn { position: relative; overflow: hidden; transition: box-shadow .2s, transform .2s, background-color .4s, color .4s; }
#dAuth .login-form .input-box > svg { transition: fill .25s, transform .3s var(--ease); }
#dAuth .login-form .input-box:focus-within > svg { fill: var(--neo-accent); transform: translateY(-50%) scale(1.18); }
#dAuth .login-form .rp { position: absolute; border-radius: 50%; background: var(--neo-accent); opacity: .3; transform: scale(0); animation: rp .7s ease-out forwards; pointer-events: none; }
#dAuth .login-form.shake { animation: shake .45s; }
#dAuth .login-form .err:not(:empty) { animation: up .35s var(--ease); }

/* ---------- акцентный коралловый (#FC734D) — чуть-чуть ---------- */
::selection { background: #FC734D; color: #0A1430; }
.tag.pending { color: #E8562F; }


/* ===== добавлено: роль, юридический блок, пометка «Пример» ===== */
.login-form .roles { display: flex; gap: 14px; justify-content: center; margin: 2px 0 8px; font-size: .72rem; color: var(--neo-muted); }
.login-form .roles label { display: flex; gap: 6px; align-items: center; cursor: pointer; }
.login-form .roles input { accent-color: var(--neo-accent); }
#fAuthSignup .input-box { margin-bottom: 9px; }
#fAuthSignup .subtitle { margin-bottom: 12px; }
.tag.demo { opacity: .75; border: 1px dashed currentColor; background: transparent; }
#legalBody p { margin: 0 0 10px; font-size: 14px; line-height: 1.5; }
footer a { color: inherit; text-decoration: underline; }

.tag.ver { background: #e3f6ea; color: #0b7a3b; }
