/* LogiRates, экраны входа и регистрации (auth2610): /login и /register.
   Все селекторы под .au. Шрифт Manrope (уже подключён на сайте). Картинки из пакета не копировались (идентичны): лента — /html/assets/text2610/ribbon.jpg,
   логотипы — /html/assets/home2610/ (usps.png, ups.png, fedex.svg); ссылки в разметке, url() в этом файле нет. */
/* ===== Общее для пакета: то, что у нас в /shipping/ лежит в site.css. Всё в рамках .au ===== */
.au { overflow-x: clip; background: #fff; font-family: Manrope, "Manrope Fallback", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
.au a { color: inherit; }
/* Появление (класс lr-motion на html ставит скрипт в <head>, inertia.blade.php): форма и панель поднимаются при загрузке */
@keyframes lr-rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
/* Заголовок и основной текст первого экрана видны сразу (VT-PERF-02): lr-rise только у второстепенных блоков */
.lr-motion .au .au-grid > .au-panel { animation: lr-rise .8s cubic-bezier(.2, .7, .2, 1) both; }
.lr-motion .au .au-grid > :nth-child(2) { animation-delay: .12s; }
@media (prefers-reduced-motion: reduce) {
  .au *, .au ::before, .au ::after { animation: none !important; transition: none !important; }
}

/* Экраны входа и регистрации в стиле раздела /shipping/ (auth-page.njk): login-preview, register-preview, пакет auth2610.
   Белый фон, форма слева, тёплая панель с лентой и живым куском интерфейса справа (на телефоне под формой).
   Manrope 800, градиентные иконки, акцент #eaa30a. Стили ограничены .au. Переломы 1180px, 980px, 560px */
.au {
  --line: #e6e7ec; --ok: #2e9e5b; --err: #d93a3f;
  --warm: linear-gradient(135deg, #fff6e6 0%, #ffe7cf 50%, #ffdcdc 100%);
  --card: 0 1px 2px rgba(26, 31, 51, .06), 0 18px 40px rgba(60, 30, 0, .1);
  position: relative; color: var(--ink); -webkit-font-smoothing: antialiased; text-wrap: pretty;
}
.au *, .au ::before, .au ::after { box-sizing: border-box; }
.au :where(h1, p, ul, li) { margin: 0; padding: 0; }
.au :where(ul) { list-style: none; }
.au h1 { text-wrap: balance; }
.au img { display: block; max-width: 100%; }
.au :where(button, input) { font: inherit; color: inherit; }
.au .bw { position: relative; width: 1198px; max-width: calc(100% - 48px); margin: 0 auto; }

/* Градиентные иконки: 1 жёлтая, 2 оранжевая, 3 розовая */
.au-ico { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 10px; color: #fff; background: linear-gradient(135deg, #f2b632, var(--accent)); }
.au-ico--2 { background: linear-gradient(135deg, #ff9a4d, var(--orange)); }
.au-ico--3 { background: linear-gradient(135deg, #ff8a8a, var(--pink)); }

/* ===== Экран: форма и панель ===== */
.au-screen { position: relative; padding: 48px 0 104px; }
.au-grid { display: grid; grid-template-columns: minmax(0, 460px) minmax(0, 620px); justify-content: space-between; align-items: stretch; gap: 64px; }
.au-col { display: flex; flex-direction: column; justify-content: center; padding: 24px 0; }

/* ===== Форма ===== */
.au-form { display: flex; flex-direction: column; }
.au h1 { margin-bottom: 32px; font-size: 48px; line-height: 1.05; font-weight: 800; letter-spacing: -.035em; }
.au-fields { display: flex; flex-direction: column; gap: 14px; }

/* Поле: иконка слева, подпись внутри поля уходит наверх при фокусе или вводе (как у вас на dev), справа глаз или галочка */
.au-box { position: relative; display: flex; align-items: center; height: 60px; border-radius: 14px; background: var(--soft-bg); box-shadow: inset 0 0 0 1px transparent; cursor: text; transition: background-color .2s, box-shadow .2s; }
.au-box:hover { box-shadow: inset 0 0 0 1px #dcdde3; }
.au-box:focus-within { background: #fff; box-shadow: inset 0 0 0 1.5px var(--accent), 0 0 0 4px rgba(234, 163, 10, .16); }
.au-box__ico { position: absolute; left: 18px; top: 50%; display: flex; color: #9a9fab; transform: translateY(-50%); transition: color .2s; pointer-events: none; }
.au-box:focus-within .au-box__ico { color: var(--accent-d); }
.au-box__input { width: 100%; height: 100%; padding: 22px 52px 6px 50px; border: 0; border-radius: inherit; background: transparent; outline: 0; font-size: 16px; font-weight: 600; }
.au-box__input::-ms-reveal { display: none; }
.au-box__lbl { position: absolute; left: 50px; top: 50%; font-size: 16px; font-weight: 500; color: var(--muted); transform: translateY(-50%); transform-origin: 0 50%; transition: transform .2s var(--ease), color .2s; pointer-events: none; }
.au-box__input:focus + .au-box__lbl, .au-box__input:not(:placeholder-shown) + .au-box__lbl, .au-box__input:autofill + .au-box__lbl { transform: translateY(-112%) scale(.78); }
.au-box__input:focus + .au-box__lbl { color: var(--accent-d); }
/* Автозаполнение браузера без жёлтой заливки */
.au-box__input:autofill { -webkit-box-shadow: 0 0 0 40px var(--soft-bg) inset; -webkit-text-fill-color: var(--ink); }
.au-box:focus-within .au-box__input:autofill { -webkit-box-shadow: 0 0 0 40px #fff inset; }

/* Показ пароля: глаз меняется на перечёркнутый */
.au-eye { position: absolute; right: 8px; top: 50%; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 0; border-radius: 10px; background: none; color: #9a9fab; transform: translateY(-50%); cursor: pointer; transition: color .2s, background-color .2s; }
.au-eye:hover { color: var(--ink); background: rgba(26, 26, 26, .05); }
.au-eye:focus-visible { outline: 2px solid var(--accent); outline-offset: 0; }
.au-eye .ico:last-child, .au-eye[aria-pressed="true"] .ico:first-child { display: none; }
.au-eye[aria-pressed="true"] .ico:last-child { display: block; }

/* Галочка у верно заполненного поля (не у пароля: там глаз) */
.au-box__ok { position: absolute; right: 18px; top: 50%; display: flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; background: var(--ok); color: #fff; opacity: 0; transform: translateY(-50%) scale(.4); transition: opacity .2s, transform .3s var(--ease); }
.au-field.is-ok .au-box__ok { opacity: 1; transform: translateY(-50%) scale(1); }
.au-field:has(.au-eye) .au-box__ok { display: none; }

/* Ошибка: красная рамка, текст под полем, поле вздрагивает при попытке отправки */
.au-field.is-err .au-box { background: #fff7f7; box-shadow: inset 0 0 0 1.5px var(--err); }
.au-field.is-err .au-box:focus-within { box-shadow: inset 0 0 0 1.5px var(--err), 0 0 0 4px rgba(217, 58, 63, .12); }
.au-field.is-err .au-box__ico, .au-field.is-err .au-box__input:focus + .au-box__lbl { color: var(--err); }
.au-msg { display: grid; grid-template-rows: 0fr; font-size: 13px; font-weight: 600; line-height: 1.4; color: var(--err); transition: grid-template-rows .25s var(--ease), padding .25s var(--ease); }
.au-msg:not(:empty) { grid-template-rows: 1fr; padding: 6px 0 0 4px; }
.au-field.is-shake .au-box { animation: au-shake .4s; }
@keyframes au-shake { 20%, 60% { transform: translateX(-5px); } 40%, 80% { transform: translateX(5px); } }

/* Подсказка к паролю: «At least 8 characters», загорается зелёным, когда условие выполнено. Caps Lock пишет туда же */
.au-hint { display: flex; align-items: center; gap: 8px; padding: 8px 0 0 4px; font-size: 13px; font-weight: 600; color: var(--muted); transition: color .2s; }
.au-hint i { display: flex; align-items: center; justify-content: center; width: 18px; height: 18px; border-radius: 50%; background: #e3e4ea; color: #fff; transition: background-color .25s, transform .3s var(--ease); }
.au-hint.is-met { color: var(--ok); }
.au-hint.is-met i { background: var(--ok); transform: scale(1.1); }
.au-field.is-err .au-hint { display: none; }
.au-caps { color: var(--accent-d); }
.au-hint[hidden] { display: none; }

.au-forgot { align-self: flex-end; margin-top: 12px; font-size: 14px; font-weight: 700; color: var(--accent-d); text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size .3s var(--ease); }
.au-forgot:hover { background-size: 100% 1.5px; }

/* Кнопка: полоса света при наведении, крутилка при «отправке» */
.au-submit { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; gap: 10px; height: 58px; margin-top: 24px; border: 0; border-radius: 14px; background: var(--accent); color: #fff; font-size: 17px; font-weight: 800; cursor: pointer; transition: transform .15s, box-shadow .2s, background-color .2s; }
.au-submit::after { content: ""; position: absolute; top: 0; bottom: 0; left: -40%; width: 30%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .45), transparent); transform: skewX(-18deg); transition: transform .6s var(--ease); }
.au-submit:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(234, 163, 10, .35); }
/* Блик сдвигается transform, а не left: смена left даёт сдвиг макета (CLS) при наведении (VT-PERF-09). 533% ширины блика = 160% кнопки (left −40% → 120%) */
.au-submit:hover::after { transform: translateX(533%) skewX(-18deg); }
.au-submit:active { transform: translateY(0); }
.au-submit:focus-visible { outline: 3px solid rgba(234, 163, 10, .4); outline-offset: 3px; }
.au-spin { display: none; width: 18px; height: 18px; border: 2.5px solid rgba(255, 255, 255, .4); border-top-color: #fff; border-radius: 50%; animation: au-spin .7s linear infinite; }
.au-submit.is-busy { pointer-events: none; background: #d99a0c; }
.au-submit.is-busy .au-spin { display: block; }
@keyframes au-spin { to { transform: rotate(360deg); } }
.au-sent { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 12px; padding: 10px 14px; border-radius: 12px; background: #eef8f1; font-size: 14px; font-weight: 700; color: var(--ok); animation: au-pop .35s var(--ease); }
.au-sent[hidden] { display: none; }
@keyframes au-pop { from { opacity: 0; transform: translateY(-6px); } }

.au-legal { margin-top: 16px; font-size: 13px; line-height: 1.5; color: var(--muted); text-align: center; }
.au-legal a { color: var(--slate); font-weight: 700; text-decoration: underline; text-decoration-color: rgba(80, 88, 106, .3); text-underline-offset: 2px; }
.au-legal a:hover { text-decoration-color: currentColor; }
.au-switch { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 15px; font-weight: 600; color: var(--slate); }
.au-switch a { display: inline-flex; align-items: center; gap: 4px; font-weight: 800; color: var(--accent-d); text-decoration: none; }
.au-switch a .ico { transition: transform .25s var(--ease); }
.au-switch a:hover .ico { transform: translateX(3px); }

/* ===== Тёплая панель: лента внутри, пункты и живой кусок интерфейса ===== */
.au-panel { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: 32px; min-height: 600px; padding: 48px; border-radius: 32px; background: var(--warm); }
.au .au-ribbon { position: absolute; z-index: -1; right: -330px; top: -150px; width: 1180px; max-width: none; height: auto; mix-blend-mode: multiply; opacity: .9; pointer-events: none; -webkit-mask-image: linear-gradient(to bottom, #000 50%, transparent 92%); mask-image: linear-gradient(to bottom, #000 50%, transparent 92%); }
.au-points { display: flex; flex-direction: column; gap: 12px; }
.au-points li { display: flex; align-items: center; gap: 12px; font-size: 16px; font-weight: 700; line-height: 1.35; }
.au-piece { position: relative; }

.au-logo { width: auto; height: 22px; }
.au-logo--fedex { height: 13px; }
.au-pill { flex: none; padding: 5px 10px; border-radius: 99px; background: #eef0f4; font-size: 12px; font-weight: 800; color: var(--slate); white-space: nowrap; transition: background-color .4s, color .4s; }

/* Вход: «My shipments». Полоса пути растёт по шагам: Label created 10%, In transit 58%, Delivered 100% */
.au-ship { width: 100%; max-width: 440px; margin: 0 auto; padding: 36px 0 52px; }
.au-ship__card { padding: 20px; border-radius: 22px; background: #fff; box-shadow: var(--card); }
.au-ship__head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 8px; padding: 0 4px; }
.au-ship__head b { font-size: 17px; font-weight: 800; }
.au-ship__head span { font-size: 12px; font-weight: 700; color: var(--muted); }
.au-ship__row { display: flex; align-items: center; gap: 12px; padding: 14px 4px; }
.au-ship__row + .au-ship__row { border-top: 1px solid #f0f0f3; }
.au-ship__logo { flex: none; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: var(--soft-bg); }
.au-ship__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.au-ship__body b { display: flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 800; white-space: nowrap; }
.au-ship__body b i { display: flex; color: #b4b8c2; }
.au-ship__body small { font-size: 12px; font-weight: 600; color: var(--muted); }
.au-ship__bar { display: block; height: 4px; margin-top: 6px; border-radius: 4px; background: #f0f0f3; overflow: hidden; }
.au-ship__bar i { display: block; width: 10%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #f2b632, var(--orange)); transition: width 1s var(--ease), background-color .4s; }
.au-ship__row[data-step="1"] .au-ship__bar i { width: 58%; }
.au-ship__row[data-step="2"] .au-ship__bar i { width: 100%; background: linear-gradient(90deg, #5cc489, var(--ok)); }
.au-ship__row[data-step="1"] .au-pill { background: #fff1d6; color: var(--accent-d); }
.au-ship__row[data-step="2"] .au-pill { background: #e4f5ea; color: var(--ok); }
.au-ship__row.is-moved .au-pill { animation: au-bump .45s var(--ease); }
@keyframes au-bump { 40% { transform: scale(1.12); } }

/* Плашки поверх: шаблон Ship again и всплывающее Delivered */
.au-float { position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 16px; background: #fff; box-shadow: var(--card); white-space: nowrap; }
.au-float b { display: block; font-size: 13px; font-weight: 800; }
.au-float small { display: block; font-size: 11px; font-weight: 600; color: var(--muted); }
.au-float--tpl { right: -28px; bottom: 0; }
.au-float__btn { margin-left: 4px; padding: 7px 11px; border-radius: 9px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 800; }
.au-float--done { left: -30px; top: 0; gap: 8px; padding: 9px 14px 9px 10px; border-radius: 99px; }
.au-float--done b { font-size: 13px; }
.au-float--done small { margin-left: 2px; }
.au-dot { display: flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; background: var(--ok); color: #fff; }
.lr-motion .au-float--tpl { animation: au-bob 5s ease-in-out infinite; }
.lr-motion .au-float--tpl .au-float__btn { animation: au-press 5s ease-in-out infinite; }
@keyframes au-bob { 50% { transform: translateY(-6px); } }
@keyframes au-press { 0%, 70%, 80%, 100% { transform: none; box-shadow: none; } 75% { transform: scale(.92); box-shadow: 0 0 0 6px rgba(234, 163, 10, .2); } }
.lr-motion .au-float--done { opacity: 0; transform: translateY(8px) scale(.94); transition: opacity .35s, transform .45s var(--ease); }
.lr-motion .au-float--done.is-on { opacity: 1; transform: none; }

/* Регистрация: строка поиска и три предложения. Строки въезжают по очереди, цены набегают, метки садятся */
.au-offers { width: 100%; max-width: 480px; margin: 0 auto; padding: 18px; border-radius: 24px; background: rgba(255, 255, 255, .55); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .7); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.au-offers__q { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; padding: 12px 14px; border-radius: 14px; background: #fff; font-size: 14px; }
.au-offers__q span { display: flex; align-items: center; gap: 6px; min-width: 0; white-space: nowrap; }
.au-offers__q span > .ico { color: var(--accent-d); }
.au-offers__q b { font-weight: 800; }
.au-offers__q i { display: flex; color: #b4b8c2; }
.au-offers__q em { flex: none; padding: 4px 9px; border-radius: 8px; background: var(--soft-bg); font-style: normal; font-size: 12px; font-weight: 800; color: var(--slate); }
.au-offers__list { display: flex; flex-direction: column; gap: 8px; }
.au-offer { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 16px; background: #fff; box-shadow: 0 1px 2px rgba(26, 31, 51, .05), 0 8px 20px rgba(60, 30, 0, .06); }
.au-offer:first-child { box-shadow: inset 0 0 0 1.5px rgba(234, 163, 10, .55), 0 10px 24px rgba(234, 163, 10, .16); }
.au-offer__logo { flex: none; display: flex; align-items: center; justify-content: center; width: 52px; height: 40px; border-radius: 11px; background: var(--soft-bg); }
.au-offer__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.au-offer__body b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; font-weight: 800; }
.au-offer__body small { font-size: 12px; font-weight: 600; color: var(--muted); }
.au-offer__price { flex: none; min-width: 64px; text-align: right; font-size: 19px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
/* Цена набегает от $0.00 (auth2610.js): невидимый «$00.00» той же ширины, что итоговая цена (цифры моноширинные),
   держит ширину колонки, и название не переносится заново во время счёта (VT-PERF-02) */
.au-offer__price::after { content: "$00.00"; display: block; height: 0; overflow: hidden; visibility: hidden; }
.au-tag { flex: none; padding: 4px 8px; border-radius: 7px; font-size: 11px; font-weight: 800; color: #fff; background: linear-gradient(135deg, #f2b632, var(--accent)); }
.au-tag--fastest { background: linear-gradient(135deg, #ff9a4d, var(--orange)); }
.au-offers__note { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 12px; font-size: 13px; font-weight: 700; color: var(--accent-d); }
/* Цикл (auth.js): класс is-run запускает въезд строк и метки, без класса строки спрятаны */
.lr-motion .au-offers[data-loop] .au-offer { opacity: 0; translate: 0 14px; }
.lr-motion .au-offers.is-run .au-offer { opacity: 1; translate: 0 0; transition: opacity .5s calc(var(--i) * 160ms), translate .6s var(--ease) calc(var(--i) * 160ms); }
.lr-motion .au-offers[data-loop] .au-tag { opacity: 0; transform: scale(.5); }
.lr-motion .au-offers.is-run .au-tag { opacity: 1; transform: none; transition: opacity .3s .9s, transform .45s var(--ease) .9s; }

/* ===== Адаптив ===== */
@media (max-width: 1180px) {
  .au-grid { grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 48px; }
  .au-panel { padding: 40px; }
  .au-float--tpl { right: -12px; }
  .au-float--done { left: -12px; }
  /* метка садится на верхний край строки, чтобы не теснить название */
  .au-offer { position: relative; }
  .au-tag { position: absolute; top: -8px; right: 12px; padding: 3px 7px; font-size: 10px; }
  .au-offers__list { gap: 12px; }
}
@media (max-width: 980px) {
  .au .bw { max-width: calc(100% - 32px); }
  .au-screen { padding: 20px 0 64px; }
  .au-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .au-col { width: 100%; max-width: 480px; margin: 0 auto; padding: 8px 0 0; }
  .au h1 { margin-bottom: 24px; font-size: 34px; line-height: 1.1; letter-spacing: -.03em; }
  .au-panel { min-height: 0; gap: 24px; padding: 28px 20px; border-radius: 26px; }
  .au .au-ribbon { right: -260px; top: -110px; width: 760px; }
  .au-points li { font-size: 15px; }
  .au-ship { padding: 30px 0 44px; }
  .au-float--tpl { right: 0; }
  .au-float--done { left: 0; }
}
@media (max-width: 560px) {
  .au-box { height: 58px; }
  .au-panel { padding: 24px 16px; }
  .au-ship__card { padding: 14px; }
  .au-ship__row { gap: 10px; padding: 12px 2px; }
  .au-ship__logo { width: 40px; height: 40px; }
  .au-pill { padding: 4px 8px; font-size: 11px; }
  .au-offers { padding: 12px; border-radius: 20px; }
  .au-offer { gap: 10px; padding: 12px; }
  .au-offer__logo { width: 44px; height: 36px; }
  .au-offer__price { min-width: 0; font-size: 17px; }
  .au-offer__body b { overflow: visible; white-space: normal; font-size: 13.5px; line-height: 1.25; }
}
