@font-face {
    font-family: "SF Pro Text";
    src: url("../fonts/SFProText-Regular.ttf") format("truetype");
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "SF Pro Text";
    src: url("../fonts/SFProText-Bold.ttf") format("truetype");
    font-weight: 700;
    font-display: swap;
}

:root {
    color-scheme: dark;
    --auth-blue: #1972f6;
    --auth-blue-hover: #3587ff;
    --auth-bg: #070d19;
    --auth-card: rgba(13, 24, 43, .92);
    --auth-field: #111f35;
    --auth-line: rgba(166, 190, 226, .16);
    --auth-text: #f5f8ff;
    --auth-muted: #8d9cb4;
    --auth-danger: #ff6262;
}

* {
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
    margin: 0;
}

body {
    font-family: "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--auth-text);
    background:
        radial-gradient(circle at 50% -20%, rgba(25, 114, 246, .34), transparent 45%),
        radial-gradient(circle at 105% 85%, rgba(31, 78, 151, .22), transparent 34%),
        var(--auth-bg);
}

button,
input,
select {
    font: inherit;
}

.auth-shell {
    min-height: 100svh;
    display: grid;
    place-items: center;
    padding: max(24px, env(safe-area-inset-top)) 18px max(24px, env(safe-area-inset-bottom));
    position: relative;
    overflow: hidden;
}

.auth-shell::before,
.auth-shell::after {
    content: "";
    position: fixed;
    border: 1px solid rgba(84, 137, 221, .09);
    border-radius: 50%;
    pointer-events: none;
}

.auth-shell::before {
    width: 580px;
    height: 580px;
    top: -370px;
    left: calc(50% - 290px);
    box-shadow: 0 0 110px rgba(25, 114, 246, .09);
}

.auth-shell::after {
    width: 360px;
    height: 360px;
    right: -230px;
    bottom: -220px;
}

.auth-card {
    width: min(100%, 478px);
    padding: 30px 32px 28px;
    border: 1px solid var(--auth-line);
    border-radius: 22px;
    background: linear-gradient(155deg, rgba(18, 34, 58, .96), var(--auth-card));
    box-shadow: 0 30px 80px rgba(0, 0, 0, .42), inset 0 1px rgba(255, 255, 255, .04);
    animation: auth-card-in .48s cubic-bezier(.2, .75, .25, 1) both;
    position: relative;
    z-index: 1;
}

.auth-toolbar {
    display: flex;
    justify-content: flex-end;
    margin: -4px 0 10px;
    position: relative;
    z-index: 20;
}

.auth-language-picker {
    position: relative;
}

.auth-language-button {
    min-width: 84px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 10px;
    border: 1px solid var(--auth-line);
    border-radius: 10px;
    color: #b9c7dc;
    background: rgba(7, 16, 31, .44);
    cursor: pointer;
    transition: border-color .18s ease, color .18s ease, background .18s ease, box-shadow .18s ease;
}

.auth-language-button:hover,
.auth-language-picker.is-open .auth-language-button {
    border-color: rgba(166, 190, 226, .3);
    color: var(--auth-text);
    background: rgba(17, 31, 53, .8);
}

.auth-language-button:focus-visible,
.auth-language-picker.is-open .auth-language-button {
    outline: 0;
    border-color: rgba(25, 114, 246, .9);
    box-shadow: 0 0 0 3px rgba(25, 114, 246, .14);
}

.auth-language__current {
    min-width: 24px;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
}

.auth-language__icon {
    width: 17px;
    height: 17px;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.45;
}

.auth-language__chevron {
    width: 10px;
    height: 7px;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.5;
    pointer-events: none;
    transition: transform .18s ease;
}

.auth-language-picker.is-open .auth-language__chevron {
    transform: rotate(180deg);
}

.auth-language-menu {
    width: min(210px, calc(100vw - 48px));
    display: grid;
    gap: 3px;
    padding: 7px;
    border: 1px solid rgba(166, 190, 226, .18);
    border-radius: 12px;
    background: rgba(10, 22, 39, .98);
    box-shadow: 0 18px 42px rgba(0, 0, 0, .42), inset 0 1px rgba(255, 255, 255, .04);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-7px) scale(.98);
    transform-origin: top right;
    transition: opacity .16s ease, transform .16s ease, visibility 0s linear .16s;
    position: absolute;
    inset-inline-end: 0;
    top: calc(100% + 8px);
}

.auth-language-picker.is-open .auth-language-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
    transition-delay: 0s;
}

.auth-language-option {
    width: 100%;
    min-height: 40px;
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) 16px;
    align-items: center;
    gap: 9px;
    padding: 5px 8px;
    border: 0;
    border-radius: 8px;
    color: #b8c6da;
    background: transparent;
    text-align: start;
    cursor: pointer;
    transition: color .15s ease, background .15s ease;
}

.auth-language-option:hover,
.auth-language-option:focus-visible {
    outline: 0;
    color: var(--auth-text);
    background: rgba(92, 137, 202, .13);
}

.auth-language-option.is-active {
    color: #eef5ff;
    background: rgba(25, 114, 246, .17);
}

.auth-language-option__code {
    height: 24px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(166, 190, 226, .17);
    border-radius: 6px;
    color: #d8e4f5;
    background: rgba(255, 255, 255, .04);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .04em;
}

.auth-language-option__label {
    overflow: hidden;
    font-size: 13px;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.auth-language-option__check {
    width: 13px;
    fill: none;
    stroke: #65a3ff;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
    opacity: 0;
}

.auth-language-option.is-active .auth-language-option__check {
    opacity: 1;
}

html[dir="rtl"] .auth-language-menu {
    transform-origin: top left;
}

html[dir="rtl"] .auth-language-option {
    direction: ltr;
    text-align: left;
}

.auth-heading {
    text-align: center;
    margin-bottom: 24px;
}

.auth-heading h1 {
    margin: 0;
    font-size: clamp(27px, 7vw, 34px);
    line-height: 1.15;
    letter-spacing: -.035em;
}

.auth-heading > p:last-child {
    margin: 8px 0 0;
    color: var(--auth-muted);
    font-size: 14px;
}

.auth-alert {
    margin: 0 0 16px;
    padding: 11px 13px;
    border: 1px solid rgba(255, 98, 98, .3);
    border-radius: 11px;
    color: #ffd8d8;
    background: rgba(255, 59, 48, .1);
    font-size: 13px;
    line-height: 1.4;
}

.auth-form {
    display: grid;
    gap: 15px;
}

.auth-field {
    display: grid;
    gap: 7px;
}

.auth-field > span:first-child {
    padding-inline: 2px;
    color: #c5d0e0;
    font-size: 12px;
    font-weight: 700;
}

.auth-field em {
    color: #6f809a;
    font-style: normal;
    font-weight: 400;
}

.auth-field input:not([type="hidden"]),
.auth-field select {
    width: 100%;
    height: 50px;
    border: 1px solid var(--auth-line);
    border-radius: 12px;
    outline: 0;
    color: var(--auth-text);
    background: var(--auth-field);
    padding: 0 14px;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.auth-field input:not([type="hidden"]):hover,
.auth-field select:hover {
    border-color: rgba(166, 190, 226, .28);
}

.auth-field input:not([type="hidden"]):focus,
.auth-field select:focus {
    border-color: rgba(25, 114, 246, .95);
    background: #13233c;
    box-shadow: 0 0 0 3px rgba(25, 114, 246, .15);
}

.auth-field.is-invalid input:not([type="hidden"]),
.auth-field.is-invalid select {
    border-color: var(--auth-danger);
    box-shadow: 0 0 0 3px rgba(255, 98, 98, .1);
}

.auth-password {
    display: block;
    position: relative;
}

.auth-password input {
    padding-inline-end: 50px;
}

.auth-password-toggle {
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    color: #7f90a9;
    background: transparent;
    position: absolute;
    inset-inline-end: 3px;
    top: 3px;
    cursor: pointer;
}

.auth-password-toggle svg {
    width: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
}

.auth-currency-picker {
    position: relative;
    z-index: 12;
}

.auth-currency-button {
    width: 100%;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 14px;
    border: 1px solid var(--auth-line);
    border-radius: 12px;
    color: var(--auth-muted);
    background: var(--auth-field);
    text-align: start;
    cursor: pointer;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}

.auth-currency-button:hover,
.auth-currency-picker.is-open .auth-currency-button {
    border-color: rgba(166, 190, 226, .3);
    background: #13233c;
}

.auth-currency-button:focus-visible,
.auth-currency-picker.is-open .auth-currency-button {
    outline: 0;
    border-color: rgba(25, 114, 246, .95);
    box-shadow: 0 0 0 3px rgba(25, 114, 246, .15);
}

.auth-field.is-invalid .auth-currency-button {
    border-color: var(--auth-danger);
    box-shadow: 0 0 0 3px rgba(255, 98, 98, .1);
}

.auth-currency-picker.has-value .auth-currency-button {
    color: var(--auth-text);
}

.auth-currency__current {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.auth-currency__chevron {
    width: 17px;
    height: 17px;
    flex: 0 0 auto;
    fill: none;
    stroke: #8d9cb4;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
    pointer-events: none;
    transition: transform .18s ease;
}

.auth-currency-picker.is-open .auth-currency__chevron {
    transform: rotate(180deg);
}

.auth-currency-menu {
    width: 100%;
    max-height: 232px;
    display: grid;
    gap: 3px;
    padding: 7px;
    border: 1px solid rgba(166, 190, 226, .18);
    border-radius: 12px;
    background: rgba(10, 22, 39, .99);
    box-shadow: 0 18px 42px rgba(0, 0, 0, .42), inset 0 1px rgba(255, 255, 255, .04);
    opacity: 0;
    visibility: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    pointer-events: none;
    transform: translateY(-7px) scale(.985);
    transform-origin: top center;
    transition: opacity .16s ease, transform .16s ease, visibility 0s linear .16s;
    position: absolute;
    top: calc(100% + 7px);
    inset-inline: 0;
}

.auth-currency-picker.is-open .auth-currency-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
    transition-delay: 0s;
}

.auth-currency-option {
    width: 100%;
    min-height: 42px;
    display: grid;
    grid-template-columns: 50px minmax(0, 1fr) 16px;
    align-items: center;
    gap: 10px;
    padding: 5px 9px;
    border: 0;
    border-radius: 8px;
    color: #b8c6da;
    background: transparent;
    text-align: start;
    cursor: pointer;
    transition: color .15s ease, background .15s ease;
}

.auth-currency-option:hover,
.auth-currency-option:focus-visible {
    outline: 0;
    color: var(--auth-text);
    background: rgba(92, 137, 202, .13);
}

.auth-currency-option.is-active {
    color: #eef5ff;
    background: rgba(25, 114, 246, .17);
}

.auth-currency-option__code {
    height: 26px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(166, 190, 226, .17);
    border-radius: 7px;
    color: #d8e4f5;
    background: rgba(255, 255, 255, .04);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .035em;
}

.auth-currency-option__label {
    overflow: hidden;
    font-size: 13px;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.auth-currency-option__check {
    width: 13px;
    fill: none;
    stroke: #65a3ff;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
    opacity: 0;
}

.auth-currency-option.is-active .auth-currency-option__check {
    opacity: 1;
}

.auth-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.auth-error {
    min-height: 0;
    color: var(--auth-danger);
    font-size: 11px;
    line-height: 1.25;
}

.auth-error:empty {
    display: none;
}

.auth-consent {
    display: grid;
    grid-template-columns: 18px 1fr;
    gap: 9px;
    align-items: start;
    color: #94a2b7;
    cursor: pointer;
}

.auth-consent input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.auth-consent > span {
    width: 18px;
    height: 18px;
    display: grid;
    place-items: center;
    margin-top: 1px;
    border: 1px solid rgba(166, 190, 226, .28);
    border-radius: 5px;
    background: var(--auth-field);
    transition: background .18s ease, border-color .18s ease, transform .18s ease;
}

.auth-consent input:checked + span {
    border-color: var(--auth-blue);
    background: var(--auth-blue);
}

.auth-consent input:focus-visible + span {
    box-shadow: 0 0 0 3px rgba(25, 114, 246, .2);
}

.auth-consent svg {
    width: 11px;
    fill: none;
    stroke: #fff;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
    opacity: 0;
    transform: scale(.6);
    transition: opacity .18s ease, transform .18s ease;
}

.auth-consent input:checked + span svg {
    opacity: 1;
    transform: scale(1);
}

.auth-consent b {
    font-size: 11px;
    font-weight: 400;
    line-height: 1.5;
}

.auth-consent a,
.auth-switch a {
    color: #67a2ff;
    text-underline-offset: 3px;
}

.auth-consent a:hover,
.auth-consent a:focus-visible {
    color: #8bb9ff;
}

.auth-page--agreement .auth-card {
    width: min(100%, 680px);
}

.auth-heading--agreement {
    margin-bottom: 22px;
}

.auth-agreement {
    display: grid;
    gap: 18px;
    color: #b6c2d4;
}

.auth-agreement section {
    padding-bottom: 18px;
    border-bottom: 1px solid var(--auth-line);
}

.auth-agreement section:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.auth-agreement h2 {
    margin: 0 0 7px;
    color: var(--auth-text);
    font-size: 15px;
    line-height: 1.35;
}

.auth-agreement p {
    margin: 0;
    font-size: 13px;
    line-height: 1.65;
}

.auth-agreement-back {
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin-top: 24px;
    border: 1px solid var(--auth-line);
    border-radius: 11px;
    color: #b9c7dc;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    transition: border-color .18s ease, color .18s ease, background .18s ease;
}

.auth-agreement-back svg {
    width: 17px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.auth-agreement-back:hover,
.auth-agreement-back:focus-visible {
    border-color: rgba(103, 162, 255, .48);
    color: #fff;
    background: rgba(25, 114, 246, .08);
}

.auth-submit,
.auth-facebook {
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: transform .18s ease, background .18s ease, opacity .18s ease, box-shadow .18s ease;
}

.auth-submit {
    border: 0;
    color: #fff;
    background: linear-gradient(180deg, #2580ff, #1165df);
    box-shadow: 0 9px 25px rgba(25, 114, 246, .26), inset 0 1px rgba(255, 255, 255, .2);
}

.auth-submit:hover:not(:disabled) {
    background: linear-gradient(180deg, #3a8cff, #1972f6);
    transform: translateY(-1px);
}

.auth-submit:active:not(:disabled),
.auth-facebook:active:not(:disabled) {
    transform: translateY(1px) scale(.995);
}

.auth-submit:disabled,
.auth-facebook:disabled {
    opacity: .64;
    cursor: wait;
}

.auth-spinner {
    width: 17px;
    height: 17px;
    display: none;
    border: 2px solid rgba(255, 255, 255, .38);
    border-top-color: #fff;
    border-radius: 50%;
    animation: auth-spin .65s linear infinite;
}

.is-loading .auth-spinner {
    display: block;
}

.auth-facebook {
    border: 1px solid rgba(94, 147, 235, .34);
    color: #dbe8ff;
    background: rgba(38, 77, 139, .18);
}

.auth-facebook[hidden] {
    display: none;
}

.auth-facebook:hover:not(:disabled) {
    background: rgba(47, 91, 162, .28);
}

.auth-facebook svg {
    width: 21px;
    fill: currentColor;
}

.auth-switch {
    margin: 22px 0 0;
    color: var(--auth-muted);
    text-align: center;
    font-size: 13px;
}

.auth-switch a {
    font-weight: 700;
    text-decoration: none;
}

.auth-switch a:hover {
    text-decoration: underline;
}

@keyframes auth-card-in {
    from { opacity: 0; transform: translateY(16px) scale(.985); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes auth-spin {
    to { transform: rotate(360deg); }
}

@media (max-width: 520px) {
    .auth-shell {
        align-items: start;
        padding-inline: 12px;
    }

    .auth-card {
        padding: 25px 20px 23px;
        border-radius: 18px;
    }

    .auth-page--registration .auth-card {
        padding-top: 20px;
    }

    .auth-toolbar {
        margin-top: -1px;
        margin-bottom: 8px;
    }

    .auth-heading {
        margin-bottom: 20px;
    }

    .auth-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}
/* Cache version: 91636983 - Updated: 2026-10-10 15:56:23 */