/* DECENTRALIGN AM account entry. Theme accent is inherited from Astra. */
body.dc-auth-page { background: #efebfa; background: color-mix(in srgb, var(--ast-global-color-0, #b8a6ff) 23%, #fff); }
body.dc-auth-page #content > .ast-container { max-width: none; padding: 0; display: block; }
/* overflow: clip — орбита за краем экрана не даёт прокрутки. Переменные орбиты задаются здесь и наследуются слоем .dc-auth-orbit.
   --dc-orbit — радиус линии кольца: период градиента 148px, линия 146–147px, третья линия — 442.5px.
   --dc-px/--dc-py — параллакс, --dc-tx/--dc-ty — наклон осей (js/auth.js по движению мыши). */
body.dc-auth-page #primary {
    position: relative; box-sizing: border-box; width: 100%; min-height: 100svh; margin: 0; padding: 132px 24px 112px; display: grid; grid-template-columns: minmax(0, 1fr); align-content: center; isolation: isolate;
    overflow: hidden; overflow: clip;
    --dc-orbit: 442.5px; --dc-orbit-y: 50%; --dc-planet: 60px; --dc-moon: 10px; --dc-moon-orbit: 50px;
    --dc-px: 0px; --dc-py: 0px; --dc-tx: 0deg; --dc-ty: 0deg;
    /* Точка слева — ближний слой, смещается сильнее колец */
    background: radial-gradient(circle at calc(50% - 380px + var(--dc-px) * 1.8) calc(50% + 195px + var(--dc-py) * 1.8), var(--ast-global-color-0, #b8a6ff) 0 6px, transparent 7px);
}
/* Угол планеты на орбите; анимируется сам угол, поэтому transform ниже можно собирать из переменных.
   Без поддержки @property планета просто стоит на месте. */
@property --dc-a { syntax: '<angle>'; inherits: true; initial-value: -20deg; }
/* Слой орбит (page-auth.php): плоскость с кольцами наклоняется в 3D, центр — форма. */
body.dc-auth-page .dc-auth-orbit {
    position: absolute; inset: 0; z-index: -1; pointer-events: none;
    perspective: 1400px; perspective-origin: 50% var(--dc-orbit-y);
}
body.dc-auth-page .dc-auth-orbit-plane {
    position: absolute; left: 50%; top: var(--dc-orbit-y); width: 0; height: 0;
    transform-style: preserve-3d;
    translate: var(--dc-px) var(--dc-py);
    transform: rotateX(var(--dc-tx)) rotateY(var(--dc-ty));
}
body.dc-auth-page .dc-auth-orbit-plane::before {
    content: ''; position: absolute; left: -1500px; top: -1500px; width: 3000px; height: 3000px;
    background: repeating-radial-gradient(circle at 50% 50%, transparent 0 145px, #41336b0a 146px 147px, transparent 148px);
}
/* Планета выносится на кольцо в наклонённой плоскости: rotate(a) translateX(R), затем поворачивается
   обратно — rotate(-a) и обратный наклон rotateY(-ty) rotateX(-tx). Спрайт всегда смотрит на зрителя
   и остаётся круглым. Последний rotate(a) ставит блик (слева в своих координатах) к центру, к форме. */
body.dc-auth-page .dc-auth-orbit-planet,
body.dc-auth-page .dc-auth-orbit-moon { position: absolute; left: 0; top: 0; border-radius: 50%; }
body.dc-auth-page .dc-auth-orbit-planet {
    width: var(--dc-planet); height: var(--dc-planet); margin: calc(var(--dc-planet) / -2) 0 0 calc(var(--dc-planet) / -2);
    transform: rotate(var(--dc-a)) translateX(var(--dc-orbit)) rotate(calc(var(--dc-a) * -1))
        rotateY(calc(var(--dc-ty) * -1)) rotateX(calc(var(--dc-tx) * -1)) rotate(var(--dc-a));
    background: radial-gradient(circle at 20% 50%, #fff 0, var(--ast-global-color-0, #b8a6ff) 30%, #7249f5 75%, #5830dc 100%);
    box-shadow: 18px 0 42px -10px color-mix(in srgb, var(--ast-global-color-0, #b8a6ff) 65%, transparent);
}
/* Спутник: тот же путь до планеты, затем свой оборот (15 за оборот планеты) в той же плоскости */
body.dc-auth-page .dc-auth-orbit-moon {
    --dc-b: calc(var(--dc-a) * 15 + 140deg);
    width: var(--dc-moon); height: var(--dc-moon); margin: calc(var(--dc-moon) / -2) 0 0 calc(var(--dc-moon) / -2);
    transform: rotate(var(--dc-a)) translateX(var(--dc-orbit)) rotate(calc(var(--dc-a) * -1))
        rotate(var(--dc-b)) translateX(var(--dc-moon-orbit)) rotate(calc(var(--dc-b) * -1))
        rotateY(calc(var(--dc-ty) * -1)) rotateX(calc(var(--dc-tx) * -1)) rotate(var(--dc-a));
    background: radial-gradient(circle at 25% 50%, #fff 0, #d9cfff 35%, #8f73f7 100%);
    box-shadow: 0 2px 6px -1px color-mix(in srgb, var(--ast-global-color-0, #b8a6ff) 70%, transparent);
}
body.dc-auth-page #masthead, body.dc-auth-page .site-header, body.dc-auth-page #ast-fixed-header, body.dc-auth-page .elementor-location-header { display: none !important; }
body.dc-auth-page #colophon, body.dc-auth-page .site-footer { display: none; }
.dc-auth, .dc-auth * { box-sizing: border-box; }
.dc-auth [hidden] { display: none !important; }
.dc-auth {
    --dc-accent: var(--ast-global-color-0, #7450b9);
    --dc-ink: #1b1730;
    --dc-link: #65548d;
    --dc-link: color-mix(in srgb, var(--dc-accent) 50%, #252637);
    --dc-muted: #646878;
    --dc-line: #e3e5ec;
    --dc-tint: #f3f2f8;
    --dc-tint: color-mix(in srgb, var(--dc-accent) 6%, white);
    display: block; width: 100%; max-width: 420px; min-height: 0; margin: 0 auto;
    padding: 0; background: #fff; border: 1px solid #ffffffb3; border-radius: 26px;
    box-shadow: 0 28px 64px -24px #28203f38, 0 3px 8px #28203f04;
    color: var(--dc-ink); font-family: inherit; font-size: 14px; line-height: 1.6;
}
.dc-auth a { color: var(--dc-link); text-decoration: none; text-underline-offset: 4px; }
.dc-auth a:hover { text-decoration: underline; }
.dc-auth .dc-auth-panel { display: flex; align-items: center; justify-content: center; min-width: 0; padding: 40px 36px 44px; }
.dc-auth .dc-auth-inner { width: 100%; min-width: 0; max-width: 480px; }
.dc-auth .dc-auth-languages { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; margin-bottom: 24px; }
.dc-auth .dc-auth-languages button { min-height: 36px; border: 1px solid transparent; background: transparent; padding: 7px 12px; border-radius: 0; color: var(--dc-muted); font: inherit; font-size: 11px; font-weight: 500; cursor: pointer; transition: background .18s, color .18s; }
.dc-auth .dc-auth-languages button:hover { background: #f5f6f9; color: var(--dc-ink); }
.dc-auth .dc-auth-languages button[aria-pressed="true"] { background: transparent; color: var(--dc-ink); border-bottom-color: var(--dc-ink); }
.dc-auth .dc-auth-tabs { display: flex; gap: 4px; padding: 5px; margin-bottom: 32px; border: 1px solid #edeef3; border-radius: 13px; background: #f5f6f9; }
.dc-auth .dc-auth-tabs a { display: flex; flex: 1; justify-content: center; align-items: center; min-width: 0; min-height: 44px; padding: 10px 12px; border-radius: 9px; color: var(--dc-muted); font-size: 13px; font-weight: 500; line-height: 1.4; text-align: center; text-decoration: none; transition: background .18s, color .18s, box-shadow .18s; }
.dc-auth .dc-auth-tabs a:hover { color: var(--dc-link); }
.dc-auth .dc-auth-tabs a[aria-current="page"], .dc-auth[data-view="login"] .dc-auth-tabs a[href="#login"], .dc-auth[data-view="register"] .dc-auth-tabs a[href="#register"] { background: #fff; color: var(--dc-link); box-shadow: 0 2px 6px #2526370d, 0 0 0 1px #25263705; }
.dc-auth header { margin-bottom: 30px; text-align: center; }
.dc-auth header h1 { font-family: inherit; font-size: 27px; font-weight: 600; line-height: 1.25; letter-spacing: -.025em; margin: 0 0 12px; color: var(--dc-ink); overflow-wrap: anywhere; }
.dc-auth header p { margin: 0; font-size: 13px; line-height: 1.65; color: var(--dc-muted); }
.dc-auth .dc-auth-form { display: grid; gap: 20px; margin: 0; }
.dc-auth .dc-auth-form label { display: flex; flex-direction: column; gap: 7px; font-weight: 600; font-size: 12px; color: #45495b; margin: 0; min-width: 0; }
.dc-auth .dc-auth-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.dc-auth input:not([type="checkbox"]), .dc-auth select { width: 100%; min-width: 0; height: 50px; border: 1px solid transparent; border-radius: 13px; background: var(--dc-tint); color: var(--dc-ink); padding: 12px 15px; font: inherit; font-size: 16px; font-weight: 400; outline: none; box-shadow: none; margin: 0; transition: border-color .18s, background .18s, box-shadow .18s; }
.dc-auth input::placeholder { color: #828797; opacity: 1; font-size: 14px; }
.dc-auth input:not([type="checkbox"]):hover, .dc-auth select:hover { border-color: #b8bdcc; }
/* Text fields use one border/halo instead of an additional focus outline. */
.dc-auth input:not([type="checkbox"]):focus, .dc-auth select:focus { border-color: var(--dc-accent); background: #fff; box-shadow: 0 0 0 3px var(--dc-tint); }
.dc-auth input:not([type="checkbox"]):focus-visible, .dc-auth select:focus-visible { outline: none !important; }
.dc-auth small { font-size: 12px; font-weight: 400; color: var(--dc-muted); }
.dc-auth .dc-auth-password { position: relative; display: flex; align-items: center; min-width: 0; border: 1px solid var(--dc-line); border-radius: 13px; background: var(--dc-tint); transition: border-color .18s, box-shadow .18s; }
.dc-auth .dc-auth-password:hover { border-color: #b8bdcc; }
.dc-auth .dc-auth-password:focus-within { border-color: var(--dc-accent); background: #fff; box-shadow: 0 0 0 3px var(--dc-tint); }
.dc-auth .dc-auth-password input { flex: 1; width: 0; border: 0; background: transparent; height: 50px; }
/* Only the password wrapper draws the focus state, including the eye button. */
.dc-auth .dc-auth-password input:focus, .dc-auth .dc-auth-password input:focus-visible { border: 0; outline: none !important; background: transparent; box-shadow: none; }
.dc-auth .dc-auth-password button { position: relative; flex: 0 0 44px; align-self: stretch; margin: 3px; padding: 0; border: 0; background: transparent; color: var(--dc-muted); font-size: 0; border-radius: 9px; cursor: pointer; }
.dc-auth .dc-auth-password button:hover { background: #fff; }
.dc-auth .dc-auth-password button[aria-pressed="true"]::after { content: ''; position: absolute; top: 50%; left: 12px; width: 21px; height: 1.5px; background: currentColor; transform: rotate(-45deg); }
.dc-auth .dc-auth-password-field { display: grid; gap: 7px; min-width: 0; }
.dc-auth .dc-auth-field-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 8px 12px; flex-wrap: wrap; }
.dc-auth .dc-auth-email { position: relative; display: block; }
.dc-auth .dc-auth-email input, .dc-auth .dc-auth-password input { padding-left: 42px; }
.dc-auth .dc-auth-email::before, .dc-auth .dc-auth-password::before { content: ''; position: absolute; left: 15px; top: 16px; width: 16px; height: 16px; background: #7c7593; pointer-events: none; }
.dc-auth .dc-auth-options { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; align-items: center; font-size: 12px; }
.dc-auth .dc-auth-options > a { display: inline-flex; align-items: center; justify-self: end; min-height: 44px; max-width: 100%; text-align: right; font-size: 11px; line-height: 1.5; overflow-wrap: anywhere; }
.dc-auth .dc-auth-form .dc-auth-check { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 400; font-size: 12px; line-height: 1.65; }
.dc-auth .dc-auth-options .dc-auth-check { min-height: 36px; align-items: center; }
.dc-auth .dc-auth-check input { flex: 0 0 auto; accent-color: var(--dc-link); width: 17px; height: 17px; margin: 2px 0 0; border-radius: 4px; }
.dc-auth .dc-auth-options .dc-auth-check input { margin-top: 0; }
.dc-auth .dc-auth-form .dc-auth-switch { min-width: 0; cursor: pointer; }
.dc-auth .dc-auth-switch > span { min-width: 0; overflow-wrap: anywhere; }
.dc-auth .dc-auth-options .dc-auth-switch input[role="switch"] {
    -webkit-appearance: none; appearance: none; position: relative; display: inline-block;
    flex: 0 0 40px; width: 40px; height: 24px; padding: 0; margin: 0;
    border: 1px solid #b7bbc9; border-radius: 999px; background: #c6cad5;
    box-shadow: none; cursor: pointer; transition: background .18s, border-color .18s;
}
.dc-auth .dc-auth-options .dc-auth-switch input[role="switch"]::before {
    content: ''; position: absolute; top: 2px; left: 2px; width: 18px; height: 18px;
    border: 0; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px #25263726;
    transition: transform .18s;
}
.dc-auth .dc-auth-options .dc-auth-switch input[role="switch"]:checked { background: var(--dc-accent); border-color: var(--dc-accent); }
.dc-auth .dc-auth-options .dc-auth-switch input[role="switch"]:checked::before { transform: translateX(16px); }
.dc-auth .dc-auth-options .dc-auth-switch input[role="switch"]:disabled { opacity: .6; cursor: wait; }

/* WooCommerce/Astra .button owns colors, typography, padding and radius. */
.dc-auth .dc-auth-submit { display: block; width: 100%; margin-top: 8px; }
.dc-auth .dc-auth-submit:disabled { opacity: .65; cursor: wait; }
.dc-auth .dc-auth-alert { background: #fff2f3; border: 1px solid #f2d3d7; color: #963247; padding: 14px 16px; border-radius: 11px; font-size: 13px; margin-bottom: 20px; overflow-wrap: anywhere; }
.dc-auth .dc-auth-alert.is-success { background: #eff8f2; border-color: #d4eadb; color: #33684c; }
.dc-auth .dc-auth-back { display: inline-flex; align-items: center; min-height: 44px; margin-top: 16px; font-size: 13px; }
.dc-auth .dc-auth-back::before { content: '←'; margin-right: 8px; }
.dc-auth .dc-auth-footnote { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; border-top: 1px solid #edeef3; padding-top: 22px; margin-top: 28px; color: var(--dc-muted); font-size: 11px; text-align: center; }
.dc-auth .dc-auth-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.dc-auth :where(a, button, input[type="checkbox"]):focus-visible { outline: 2px solid var(--dc-link) !important; outline-offset: 3px; }
.dc-auth-page-brand { display: flex; justify-content: center; max-width: 560px; margin: 0 auto 24px; text-decoration: none !important; }
body.dc-auth-page .dc-auth-page-brand { position: absolute; top: 32px; left: 32px; right: auto; max-width: 230px; margin: 0; justify-content: flex-start; align-items: center; gap: 10px; }
body.dc-auth-page .dc-auth-page-brand::before { content: ''; flex: 0 0 22px; height: 22px; border-radius: 50%; background: radial-gradient(circle at 30% 25%, #fff, var(--ast-global-color-0, #b8a6ff) 35%, #7249f5 85%); }
body.dc-auth-page .dc-auth-languages { position: absolute; top: 30px; right: 30px; margin: 0; max-width: calc(100% - 300px); }
body.dc-auth-page .dc-auth-footnote { position: absolute; bottom: 28px; left: 24px; right: 24px; border: 0; margin: 0; padding: 0; font-size: 11px; }
.dc-auth-page-brand .dc-auth-brand-image { display: block; width: auto; height: 32px; max-width: min(220px, 100%); object-fit: contain; }
.dc-auth-page-brand .dc-auth-brand-name { display: block; font-size: 16px; line-height: 1.2; letter-spacing: .015em; font-weight: 700; color: #1b1730; text-align: left; }
.dc-auth-page-brand .dc-auth-brand-name small { display: block; margin-top: 5px; font-size: 8px; letter-spacing: .38em; color: #73788a; }
.dc-auth .dc-auth-progress { margin: 0 0 20px; font-size: 13px; color: var(--dc-link); }
.dc-auth .dc-auth-progress-track { position: fixed; z-index: 99999; top: 0; left: 0; width: 100%; height: 3px; overflow: hidden; background: var(--dc-tint); }
.dc-auth .dc-auth-progress-track > span { display: block; width: 35%; height: 100%; background: var(--dc-accent); animation: dc-auth-progress 1.5s ease-in-out infinite; }
.dc-auth.is-busy .dc-auth-submit[disabled] { opacity: .85; }
.dc-auth.is-busy .dc-auth-submit[disabled]::after { content: ''; display: inline-block; width: 14px; height: 14px; margin-left: 10px; vertical-align: -2px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: dc-auth-spin .75s linear infinite; }
.dc-auth.is-busy [aria-disabled="true"] { cursor: wait; opacity: .6; }
@keyframes dc-auth-progress { from { transform: translateX(-110%); } to { transform: translateX(400%); } }
@keyframes dc-auth-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
    .dc-auth *, .dc-auth *::before, .dc-auth *::after { transition: none !important; }
    .dc-auth .dc-auth-progress-track > span, .dc-auth.is-busy .dc-auth-submit[disabled]::after { animation: none; }
}
@media (max-width: 600px) {
    body.dc-auth-page #primary { padding: 158px 18px 94px; }
    body.dc-auth-page .dc-auth-page-brand { top: 24px; left: 24px; right: 24px; max-width: none; justify-content: center; }
    body.dc-auth-page .dc-auth-languages { top: 76px; left: 18px; right: 18px; max-width: none; justify-content: center; gap: 4px; }
    .dc-auth .dc-auth-languages button { padding-right: 9px; padding-left: 9px; }
    /* Кольца реже (период 225px, линия 131–132px): планета идёт по второй линии — 356.5px */
    body.dc-auth-page #primary { --dc-orbit: 356.5px; --dc-orbit-y: 45%; --dc-planet: 36px; --dc-moon: 7px; --dc-moon-orbit: 30px; background: none; }
    body.dc-auth-page .dc-auth-orbit-plane::before { background: repeating-radial-gradient(circle at 50% 50%, transparent 0 130px, #41336b0a 131px 132px, transparent 133px 225px); }
    body.dc-auth-page .dc-auth-orbit-planet { box-shadow: 10px 0 24px -8px color-mix(in srgb, var(--ast-global-color-0, #b8a6ff) 65%, transparent); }
    body.dc-auth-page .dc-auth-footnote { bottom: 24px; left: 18px; right: 18px; font-size: 10px; }
    .dc-auth { border-radius: 24px; }
    .dc-auth .dc-auth-panel { padding: 32px 26px 36px; }
    .dc-auth .dc-auth-row { grid-template-columns: minmax(0, 1fr); gap: 20px; }
    .dc-auth header h1 { font-size: 25px; }
}
@media (max-width: 360px) {
    body.dc-auth-page #primary { padding-right: 12px; padding-left: 12px; }
    .dc-auth .dc-auth-panel { padding: 30px 22px; }
    .dc-auth .dc-auth-languages button { padding-right: 9px; padding-left: 9px; }
}

.dc-auth .dc-auth-email::before { -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223%22%20y%3D%225%22%20width%3D%2218%22%20height%3D%2214%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22m3%207%209%206%209-6%22%2F%3E%3C%2Fsvg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223%22%20y%3D%225%22%20width%3D%2218%22%20height%3D%2214%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22m3%207%209%206%209-6%22%2F%3E%3C%2Fsvg%3E") center / contain no-repeat; }

.dc-auth .dc-auth-password::before { -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%225%22%20y%3D%2210%22%20width%3D%2214%22%20height%3D%2211%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22M8%2010V7a4%204%200%200%201%208%200v3%22%2F%3E%3C%2Fsvg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%225%22%20y%3D%2210%22%20width%3D%2214%22%20height%3D%2211%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22M8%2010V7a4%204%200%200%201%208%200v3%22%2F%3E%3C%2Fsvg%3E") center / contain no-repeat; }

.dc-auth .dc-auth-password button::before { content: ''; display: block; width: 18px; height: 18px; margin: auto; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M2%2012s3.5-7%2010-7%2010%207%2010%207-3.5%207-10%207S2%2012%202%2012Z%22%2F%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%223%22%2F%3E%3C%2Fsvg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M2%2012s3.5-7%2010-7%2010%207%2010%207-3.5%207-10%207S2%2012%202%2012Z%22%2F%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%223%22%2F%3E%3C%2Fsvg%3E") center / contain no-repeat; }

.dc-auth[data-view="register"] { max-width: 560px; }

/* Registration keeps the same field order as the supplied CLICKALIGNERS reference. */
.dc-auth[data-view="register"] .dc-auth-tabs { display: none; }
.dc-auth .dc-auth-register-back { margin: -8px 0 20px; }
.dc-auth .dc-auth-required { margin-left: 4px; color: #bd354b; }


/* Motion stays local to account entry and preserves native WooCommerce colors. */
@media (prefers-reduced-motion: no-preference) {
    .dc-auth { animation: dc-auth-arrive .55s cubic-bezier(.22, 1, .36, 1); }
    body.dc-auth-page .dc-auth-orbit { animation: dc-auth-orbit 90s linear infinite; }
    .dc-auth .dc-auth-alert:not([hidden]) { animation: dc-auth-notice .24s ease-out; }
    .dc-auth .dc-auth-submit { transition: transform .22s ease, box-shadow .22s ease, opacity .22s ease; }
    .dc-auth .dc-auth-submit:not(:disabled):active { transform: translateY(1px) scale(.99); }
    .dc-auth .dc-auth-password button { transition: background-color .22s ease, color .22s ease; }
    .dc-auth .dc-auth-back::before { transition: transform .22s ease; }
    .dc-auth .dc-auth-back:hover::before { transform: translateX(-3px); }
    .dc-auth input:not([type="checkbox"]), .dc-auth select, .dc-auth .dc-auth-password {
        transition-duration: .24s;
        transition-timing-function: ease;
    }
    .dc-auth .dc-auth-options .dc-auth-switch input[role="switch"]::before { transition: transform .26s cubic-bezier(.22, 1, .36, 1); }
}
@media (prefers-reduced-motion: no-preference) and (hover: hover) {
    .dc-auth .dc-auth-submit:not(:disabled):hover { transform: translateY(-2px); box-shadow: 0 8px 18px -10px var(--dc-accent); }
    .dc-auth .dc-auth-submit:not(:disabled):active { transform: translateY(1px) scale(.99); }
}
.dc-auth.is-changing-view > .dc-auth-panel { max-height: 100%; overflow: hidden; align-items: flex-start; }
@keyframes dc-auth-arrive { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
/* Полный оборот планеты по кольцу (угол --dc-a, спутник считает свой угол от него) */
@keyframes dc-auth-orbit { from { --dc-a: -20deg; } to { --dc-a: 340deg; } }
@keyframes dc-auth-notice { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: translateY(0); } }

/* A short stagger makes each form settle without delaying interaction. */
@media (prefers-reduced-motion: no-preference) {
    .dc-auth [data-auth-panel]:not([hidden]) > header {
        animation: dc-auth-content-in .44s cubic-bezier(.22, 1, .36, 1) backwards;
    }
    .dc-auth [data-auth-panel]:not([hidden]) .dc-auth-form > :not(.dc-auth-honeypot) {
        animation: dc-auth-content-in .44s cubic-bezier(.22, 1, .36, 1) backwards;
        animation-delay: 35ms;
    }
    .dc-auth [data-auth-panel]:not([hidden]) .dc-auth-form > :nth-child(2) { animation-delay: 65ms; }
    .dc-auth [data-auth-panel]:not([hidden]) .dc-auth-form > :nth-child(3) { animation-delay: 95ms; }
    .dc-auth [data-auth-panel]:not([hidden]) .dc-auth-form > :nth-child(n+4) { animation-delay: 125ms; }
    .dc-auth [data-auth-panel]:not([hidden]) .dc-auth-form > .dc-auth-submit { animation-name: dc-auth-action-in; }
    .dc-auth .dc-auth-password { transition-property: border-color, background-color, box-shadow; }
    .dc-auth .dc-auth-email::before, .dc-auth .dc-auth-password::before { transition: background-color .24s ease; }
    .dc-auth .dc-auth-email:focus-within::before, .dc-auth .dc-auth-password:focus-within::before { background-color: var(--dc-link); }
    .dc-auth .dc-auth-options .dc-auth-switch input[role="switch"] { transition: background-color .28s ease, border-color .28s ease; }
    .dc-auth .dc-auth-options .dc-auth-switch input[role="switch"]::before { transition-duration: .32s; }
    .dc-auth a { transition: color .24s ease, text-decoration-color .24s ease; }
    .dc-auth .dc-auth-tabs a { transition: background-color .28s ease, color .24s ease, box-shadow .28s ease; }
}
@keyframes dc-auth-content-in {
    from { opacity: 0; transform: translateY(7px); }
    to { opacity: 1; transform: translateY(0); }
}
/* Opacity alone lets the submit button keep its hover/press transform. */
@keyframes dc-auth-action-in { from { opacity: 0; } to { opacity: 1; } }
