:root {
    --ink: #17152f;
    --surface: #ffffff;
    --surface-muted: #f8f8f8;
    --line: #e5e9e9;
    --line-strong: #e0e0e0;
    --line-soft: #b8bdc1;
    --primary: #6b46e5;
    --primary-hover: #8d70eb;
    --danger: #b83955;
    --danger-ui: #ee6161;
    --page: #353246;
    --backdrop: rgba(53, 50, 70, 0.8);
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    --radius-xl: 32px;
    --radius-lg: 16px;
    --radius-pill: 999px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: "Nunito Sans", "Segoe UI", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji", sans-serif;
    color: var(--ink);
    background: var(--page);
}

button,
input {
    font: inherit;
}

.auth-experience {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    background: linear-gradient(180deg, #2f2c3c 0%, #3d3950 100%);
}

.auth-experience.is-verification-waiting {
    background: #ffffff;
}

.auth-experience.is-verification-waiting .auth-overlay,
.auth-experience.is-verification-waiting .modal-stack {
    display: none;
}

.auth-experience.is-verification-waiting .auth-stage {
    max-width: none;
    padding: 0;
    place-items: stretch;
}

.auth-overlay {
    position: absolute;
    inset: 0;
    background: var(--backdrop);
}

.auth-stage {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    max-width: 1440px;
    margin: 0 auto;
    padding: 53px 24px;
    display: grid;
    place-items: center;
}

.modal-stack {
    position: relative;
    width: 680px;
}

.auth-modal {
    position: relative;
    width: 680px;
    padding: 38px 32px 28px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--line);
    background: var(--surface);
    box-shadow: var(--shadow);
}

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

.auth-modal-register {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 32px;
    min-height: 794px;
}

.auth-modal-register-step-two {
    min-height: 476px;
}

.auth-modal-register-two-factor {
    min-height: 304px;
    padding: 32px;
    gap: 24px;
}

.brand-line {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
}

.compact-brand {
    margin-bottom: 28px;
}

.brand-dot {
    width: 39px;
    height: 39px;
    border-radius: 19.5px;
    border: 1px solid var(--primary);
    background: rgba(107, 70, 229, 0.1);
}

.brand-kicker,
.eyebrow {
    margin: 0;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(23, 21, 47, 0.62);
}

.brand-title {
    margin: 4px 0 0;
    font-size: 1.4rem;
    line-height: 1;
}

.close-button {
    position: absolute;
    top: 36px;
    right: 34px;
    width: 24px;
    height: 24px;
    border: 0;
    background: transparent;
    padding: 0;
    cursor: pointer;
}

.auth-modal-register .close-button {
    top: 40px;
    right: 32px;
}

.close-button span {
    position: absolute;
    top: 11px;
    left: 1px;
    width: 22px;
    height: 2px;
    border-radius: 999px;
    background: var(--ink);
}

.close-button span:first-child {
    transform: rotate(45deg);
}

.close-button span:last-child {
    transform: rotate(-45deg);
}

.progress-track {
    display: flex;
    align-items: center;
    margin-bottom: 28px;
}

.progress-step {
    width: 39px;
    height: 39px;
    display: grid;
    place-items: center;
    border-radius: 19.5px;
    border: 1px solid var(--line-soft);
    background: #fff;
    color: var(--line-soft);
    font-weight: 700;
}

.progress-step.is-active {
    border-color: var(--primary);
    background: rgba(107, 70, 229, 0.1);
    color: var(--primary);
}

.progress-line {
    flex: 1;
    height: 1px;
    margin: 0 12px;
    background: repeating-linear-gradient(to right, var(--line-soft), var(--line-soft) 4px, transparent 4px, transparent 8px);
}

.register-header {
    display: grid;
    gap: 20px;
    width: 100%;
}

.register-title {
    margin: 0;
    color: #1a1a1a;
    font-size: 32px;
    font-weight: 700;
    line-height: 40px;
}

.register-progress {
    width: 100%;
    height: 40px;
    margin: 0;
}

.register-progress .progress-step {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 700;
    line-height: 40px;
}

.register-progress .progress-step.is-active {
    background: rgba(107, 70, 229, 0.1);
}

.register-progress .progress-step.is-done {
    background: #6b46e5;
    border-color: var(--primary);
    color: #ffffff;
}

.register-progress .progress-line {
    margin: 0;
    background: repeating-linear-gradient(to right, var(--line-soft), var(--line-soft) 4px, transparent 4px, transparent 8px);
}

.two-factor-header {
    display: grid;
    gap: 8px;
    width: 616px;
}

.two-factor-title {
    margin: 0;
    color: #1a1a1a;
    font-size: 32px;
    font-weight: 700;
    line-height: 40px;
}

.two-factor-copy {
    margin: 0;
    color: #1a1a1a;
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
}

.two-factor-email {
    margin: 0;
    color: #6b46e5;
    font-size: 16px;
    font-weight: 700;
    line-height: 20px;
}

.modal-copy h2 {
    margin: 10px 0 12px;
    font-size: 1.9rem;
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.modal-copy p:last-child {
    margin: 0;
    color: rgba(23, 21, 47, 0.72);
    line-height: 1.5;
}

.modal-form {
    display: grid;
    gap: 14px;
    margin-top: 28px;
}

.register-form {
    display: grid;
    gap: 24px;
}

.register-form-step-two {
    align-content: start;
}

.register-fields {
    display: grid;
    gap: 16px;
}

.register-fields-step-two {
    gap: 16px;
}

.register-field {
    display: grid;
    gap: 6px;
}

.register-field-error {
    margin: 2px 0 0;
    color: var(--danger-ui);
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
}

.register-label {
    color: #1a1a1a;
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
    letter-spacing: 0;
    text-transform: uppercase;
}

.register-field input {
    min-height: 52px;
    padding: 16px 20px;
    border-radius: 16px;
    border: 1px solid #e0e0e0;
    background: #f8f8f8;
    color: #1a1a1a;
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
}

.register-field input::placeholder {
    color: #1a1a1a;
    opacity: 1;
}

.register-field input:focus {
    outline: 2px solid rgba(107, 70, 229, 0.18);
    border-color: var(--primary);
}

.register-field input.is-invalid {
    border-color: var(--danger-ui);
}

.register-field-dob-group {
    gap: 6px;
}

.register-select-shell {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 52px;
    padding: 0 20px;
    border-radius: 16px;
    border: 1px solid #e0e0e0;
    background: #f8f8f8;
}

.register-select-shell::after {
    content: '';
    position: absolute;
    right: 18px;
    top: 50%;
    width: 8px;
    height: 8px;
    border-right: 1.5px solid #1a1a1a;
    border-bottom: 1.5px solid #1a1a1a;
    transform: translateY(-60%) rotate(45deg);
    pointer-events: none;
    transition: transform 120ms ease;
}

.register-select-shell select {
    width: 100%;
    padding-right: 28px;
    border: 0;
    background: transparent;
    color: #1a1a1a;
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
    appearance: none;
}

.register-select-shell select:focus {
    outline: none;
}

.register-select-shell:focus-within {
    outline: 2px solid rgba(107, 70, 229, 0.18);
    border-color: var(--primary);
}

.register-select-trigger {
    justify-content: flex-start;
    gap: 12px;
    border: 1px solid #e0e0e0;
    cursor: pointer;
    text-align: left;
}

.register-select-trigger:focus-visible {
    outline: 2px solid rgba(107, 70, 229, 0.18);
    border-color: var(--primary);
}

.register-select-trigger-value {
    padding-right: 28px;
    color: #1a1a1a;
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
}

.register-select-trigger-value.is-placeholder {
    color: rgba(26, 26, 26, 0.42);
}

.register-dropdown {
    position: relative;
}

.register-dropdown.is-open {
    z-index: 20;
}

.register-dropdown.is-open .register-select-shell {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(107, 70, 229, 0.12);
}

.register-dropdown.is-invalid .register-select-shell,
.register-dob-row.is-invalid .register-dropdown .register-select-shell {
    border-color: var(--danger-ui);
    box-shadow: none;
}

.register-dropdown.is-invalid .register-select-shell::after,
.register-dob-row.is-invalid .register-dropdown .register-select-shell::after {
    border-right-color: var(--ink);
    border-bottom-color: var(--ink);
}

.register-dropdown.is-open .register-select-shell::after {
    transform: translateY(-35%) rotate(225deg);
}

.register-dropdown-panel {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid rgba(224, 224, 224, 0.72);
    box-shadow: 0 12px 30px rgba(32, 22, 76, 0.14);
    overflow: hidden;
}

.register-dropdown-panel-residence {
    left: 104px;
    width: 278px;
}

.register-dropdown-panel-compact {
    width: 100%;
    min-width: 0;
}

.register-dropdown-panel-month {
    min-width: 160px;
}

.register-dropdown-scroll {
    max-height: 132px;
    overflow-y: auto;
    padding: 10px 8px;
    scrollbar-width: thin;
    scrollbar-color: #6b46e5 rgba(107, 70, 229, 0.1);
}

.register-dropdown-panel-compact .register-dropdown-scroll {
    max-height: 208px;
    padding: 8px 6px;
}

.register-dropdown-scroll::-webkit-scrollbar {
    width: 6px;
}

.register-dropdown-scroll::-webkit-scrollbar-track {
    background: rgba(107, 70, 229, 0.08);
    border-radius: 999px;
}

.register-dropdown-scroll::-webkit-scrollbar-thumb {
    background: #6b46e5;
    border-radius: 999px;
}

.register-dropdown-option {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 36px;
    padding: 0 10px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: #1a1a1a;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    cursor: pointer;
    text-align: left;
}

.register-dropdown-option:hover,
.register-dropdown-option:focus-visible,
.register-dropdown-option.is-selected {
    background: rgba(107, 70, 229, 0.08);
    outline: none;
}

.register-dropdown-option-residence {
    min-height: 28px;
}

.register-select-shell-residence {
    gap: 12px;
}

.register-flag {
    width: 24px;
    height: 18px;
    flex: 0 0 24px;
    display: inline-block;
    border-radius: 2px;
    object-fit: contain;
}

.register-trigger-flag {
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    display: inline-block;
    border-radius: 50%;
    object-fit: cover;
}

.register-trigger-flag[hidden],
.register-trigger-flag[src=""] {
    display: none !important;
}

.register-dob-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
}

.two-factor-form {
    display: grid;
    gap: 24px;
}

.two-factor-code-group {
    display: grid;
    grid-template-columns: repeat(6, 56px);
    gap: 12px;
}

.two-factor-code-input {
    width: 56px;
    height: 64px;
    padding: 0;
    border: 1px solid #e0e0e0;
    border-radius: 16px;
    background: #f8f8f8;
    color: #1a1a1a;
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    line-height: 64px;
}

.two-factor-code-input:focus {
    outline: 2px solid rgba(107, 70, 229, 0.18);
    border-color: #6b46e5;
}

.two-factor-submit {
    width: 616px;
    min-height: 52px;
    padding: 0 16px;
    background: #6b46e5;
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    line-height: 20px;
}

.two-factor-submit:disabled {
    background: rgba(107, 70, 229, 0.2);
    color: #ffffff;
    cursor: not-allowed;
    opacity: 1;
}

.modal-form-register {
    margin-top: 24px;
}

.field-shell {
    display: grid;
    gap: 8px;
}

.field-shell-design {
    gap: 10px;
}

.field-shell span,
.field-caption {
    font-size: 0.9rem;
    font-weight: 700;
    color: rgba(23, 21, 47, 0.76);
}

.field-shell-design span {
    font-size: 0.82rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: rgba(23, 21, 47, 0.74);
}

.field-shell input {
    min-height: 51px;
    padding: 0 18px;
    border-radius: 16px;
    border: 1px solid var(--line-strong);
    background: var(--surface-muted);
    color: var(--ink);
}

.field-shell input:focus {
    outline: 2px solid rgba(107, 70, 229, 0.18);
    border-color: var(--primary);
}

.checkbox-row,
.verification-panel {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.checkbox-row {
    margin-top: 2px;
    font-size: 0.94rem;
    line-height: 1.45;
    color: rgba(23, 21, 47, 0.72);
}

.checkbox-row-design {
    align-items: center;
    margin-top: 8px;
    font-size: 0.96rem;
}

.checkbox-row input {
    width: 19px;
    height: 19px;
    margin: 2px 0 0;
    accent-color: var(--primary);
}

.checkbox-row-design input {
    width: 22px;
    height: 22px;
    margin: 0;
}

.policy-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 400;
}

.policy-link:hover {
    text-decoration: underline;
}

.verification-panel {
    margin-top: 24px;
    padding: 18px 20px;
    border-radius: 20px;
    background: #f2f3f5;
    color: rgba(23, 21, 47, 0.72);
}

.verification-email {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--ink);
}

.feedback {
    margin: 0;
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(184, 57, 85, 0.08);
    color: var(--danger);
}

.feedback[data-type="success"] {
    background: rgba(35, 165, 116, 0.1);
    color: #13704d;
}

.feedback[data-type="info"] {
    background: rgba(107, 70, 229, 0.08);
    color: #5d4ea2;
}

.register-feedback {
    margin-top: -8px;
}

.primary-button,
.secondary-button {
    min-height: 52px;
    padding: 0 22px;
    border-radius: 16px;
    border: 0;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 120ms ease, transform 120ms ease;
}

.primary-button {
    background: var(--primary);
    color: #fff;
}

.primary-button-wide,
.secondary-button-wide {
    width: 100%;
}

.primary-button:hover {
    background: var(--primary-hover);
}

.register-submit {
    width: 100%;
    min-height: 52px;
    padding: 0 16px;
    background: #6b46e5;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    line-height: 20px;
}

.register-submit:disabled {
    background: rgba(107, 70, 229, 0.24);
    color: #ffffff;
    cursor: not-allowed;
    opacity: 1;
}

.register-actions-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.register-back-button,
.register-continue-button {
    min-height: 52px;
    padding: 0 16px;
    font-size: 16px;
    font-weight: 500;
    line-height: 20px;
}

.register-back-button {
    border: 1px solid #6b46e5;
    background: transparent;
    color: #6b46e5;
}

.register-continue-button {
    background: #6b46e5;
    color: #ffffff;
}

.primary-button-register {
    margin-top: 4px;
}

.secondary-button {
    background: rgba(53, 50, 70, 0.06);
    color: var(--ink);
}

.primary-button:disabled,
.secondary-button:disabled {
    opacity: 0.68;
    cursor: wait;
}

.sub-action {
    margin: 6px 0 0;
    font-size: 0.95rem;
    color: rgba(23, 21, 47, 0.72);
    text-align: center;
}

.inline-link {
    border: 0;
    background: transparent;
    color: var(--primary);
    font-weight: 700;
    cursor: pointer;
    padding: 0 0 0 4px;
}

.register-terms {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    color: #1a1a1a;
}

.register-checkbox {
    position: relative;
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
}

.register-checkbox input {
    position: absolute;
    inset: 0;
    margin: 0;
    opacity: 0;
}

.register-checkbox-ui {
    position: absolute;
    inset: 0;
    border: 1px solid #6b46e5;
    background: #fff;
}

.register-checkbox input:checked + .register-checkbox-ui {
    background: #6b46e5;
}

.register-checkbox-ui::after {
    content: '';
    position: absolute;
    left: 8px;
    top: 4px;
    width: 5px;
    height: 10px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(40deg);
    opacity: 0;
}

.register-checkbox input:checked + .register-checkbox-ui::after {
    opacity: 1;
}

.register-terms-text {
    color: #1a1a1a;
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
}

.register-footnote {
    margin: 0;
    color: #1a1a1a;
    text-align: center;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}

.register-footnote-step-two {
    margin-top: -4px;
}

.register-login-link {
    border: 0;
    background: transparent;
    padding: 0 0 0 4px;
    color: #6b46e5;
    cursor: pointer;
    font: inherit;
}

.auth-modal-login {
    min-height: 416px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.login-close-button {
    top: 40px;
    right: 32px;
}

.login-close-button span {
    top: 11px;
    left: 6px;
    width: 12px;
    height: 1.5px;
    background: #17152f;
}

.login-title {
    margin: 0;
    color: #1a1a1a;
    font-size: 32px;
    font-weight: 700;
    line-height: 40px;
}

.login-form {
    display: grid;
    width: 100%;
    gap: 24px;
}

.login-fields {
    display: grid;
    width: 100%;
    gap: 16px;
}

.login-field {
    display: grid;
    width: 100%;
    gap: 6px;
}

.login-label {
    color: #1a1a1a;
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
    text-transform: uppercase;
}

.login-input {
    width: 100%;
    min-height: 52px;
    padding: 16px 20px;
    border-radius: 16px;
    border: 1px solid #e0e0e0;
    background: #f8f8f8;
    color: #1a1a1a;
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
}

.login-input::placeholder {
    color: #1a1a1a;
    opacity: 1;
}

.login-input:focus {
    outline: 2px solid rgba(107, 70, 229, 0.18);
    border-color: #6b46e5;
}

.login-submit {
    width: 100%;
    min-height: 52px;
    padding: 16px;
    border: 0;
    border-radius: 16px;
    background: #6b46e5;
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    line-height: 20px;
    cursor: pointer;
}

.login-submit:hover {
    background: #7a57ea;
}

.login-submit:disabled {
    background: rgba(107, 70, 229, 0.24);
    color: #ffffff;
    cursor: not-allowed;
    opacity: 1;
}

.login-feedback {
    margin-top: -8px;
}

.login-footnote {
    margin: 0;
    color: #161521;
    text-align: center;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}

.login-register-link {
    border: 0;
    background: transparent;
    padding: 0;
    color: #6b46e5;
    cursor: pointer;
    font: inherit;
}

.status-modal {
    display: grid;
    align-content: center;
    min-height: 794px;
}

.registration-profile-modal {
    display: grid;
    gap: 24px;
    min-height: 656px;
    padding: 32px;
    align-content: start;
}

.registration-profile-modal[data-registration-profile-stage="step_1"] {
    min-height: auto;
    gap: 20px;
}

.registration-profile-modal[data-registration-profile-stage="step_1"] .registration-profile-form {
    gap: 20px;
}

.registration-profile-modal[data-registration-profile-stage="step_1"] .register-fields-step-two {
    gap: 16px;
}

.registration-profile-modal[data-registration-profile-stage="step_1"] .registration-profile-actions {
    margin-top: 0;
}

.registration-profile-modal[data-registration-profile-stage="step_1"] .registration-profile-login-footnote {
    margin-top: 0;
}

.registration-profile-header {
    gap: 20px;
}

.registration-profile-modal .close-button {
    top: 32px;
    right: 32px;
}

.registration-profile-progress {
    margin: 0;
}

.registration-profile-progress .progress-step {
    background: #ffffff;
    border-color: #b8bdc1;
    color: #b8bdc1;
}

.registration-profile-progress .progress-step.is-done {
    background: #6b46e5;
    border-color: #6b46e5;
    color: #ffffff;
}

.registration-profile-progress .progress-step.is-active {
    background: rgba(107, 70, 229, 0.1);
    border-color: #6b46e5;
    color: #6b46e5;
}

.registration-profile-form {
    display: grid;
    gap: 24px;
}

.registration-profile-copy {
    display: grid;
    gap: 8px;
    text-align: left;
    justify-items: start;
}

.registration-profile-copy .eyebrow {
    color: #6b46e5;
}

.registration-profile-copy h2 {
    margin: 0;
    color: #1a1a1a;
    font-size: 32px;
    font-weight: 700;
    line-height: 40px;
    letter-spacing: -0.02em;
}

.registration-profile-copy p:last-child {
    margin: 0;
    color: #92969d;
    font-size: 16px;
    line-height: 20px;
}

.registration-profile-panel {
    display: grid;
    gap: 24px;
}

.registration-profile-panel[hidden] {
    display: none !important;
}

.registration-profile-panel-final {
    gap: 20px;
}

.registration-profile-address-fields {
    gap: 16px;
}

.registration-profile-address-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.registration-profile-panel-static {
    min-height: 220px;
}

.registration-profile-note {
    display: grid;
    gap: 12px;
    padding: 24px 20px;
    border: 1px solid #e0e0e0;
    border-radius: 16px;
    background: #f8f8f8;
    text-align: left;
}

.registration-profile-note h3 {
    margin: 0;
    color: #1a1a1a;
    font-size: 24px;
    font-weight: 700;
    line-height: 28px;
}

.registration-profile-note p {
    margin: 0;
    color: #92969d;
    font-size: 16px;
    line-height: 20px;
}

.registration-profile-feedback {
    margin-top: -8px;
}

.registration-profile-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.registration-profile-actions .secondary-button {
    border: 1px solid #6b46e5;
    background: #ffffff;
    color: #6b46e5;
}

.registration-profile-actions .secondary-button:hover {
    background: rgba(107, 70, 229, 0.04);
}

.registration-profile-login-footnote {
    margin-top: -4px;
}

.registration-profile-question {
    margin: 0;
    color: #17152f;
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
}

.registration-profile-final-field {
    gap: 12px;
}

.registration-profile-volume-dropdown .register-select-shell {
    min-height: 48px;
    border-radius: 12px;
    background: #ffffff;
}

.registration-profile-volume-panel {
    width: 100%;
}

.registration-profile-funds-fieldset {
    display: grid;
    gap: 12px;
    padding: 0;
    margin: 0;
    border: 0;
    min-width: 0;
}

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

.registration-profile-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.registration-profile-checkbox input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.registration-profile-checkbox-box {
    position: relative;
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    border-radius: 4px;
    border: 1px solid #c4c4c4;
    background: #ffffff;
}

.registration-profile-checkbox input:checked + .registration-profile-checkbox-box {
    border-color: #6b46e5;
    background: #6b46e5;
}

.registration-profile-checkbox input:checked + .registration-profile-checkbox-box::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 1px;
    width: 5px;
    height: 10px;
    border: solid #ffffff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.registration-profile-checkbox-label {
    color: #17152f;
    font-family: "Inter", "Nunito Sans", "Segoe UI", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
}

.registration-profile-modal[data-registration-profile-stage="step_3"] {
    width: 680px;
    max-width: min(680px, calc(100vw - 48px));
    min-height: auto;
    gap: 24px;
    padding: 32px;
    margin: 0 auto;
}

.registration-profile-modal[data-registration-profile-stage="step_3"] .registration-profile-header {
    gap: 20px;
}

.registration-profile-modal[data-registration-profile-stage="step_3"] .register-title {
    color: #1a1a1a;
    font-size: 32px;
    line-height: 40px;
}

.registration-profile-modal[data-registration-profile-stage="step_3"] .registration-profile-progress {
    width: 100%;
    height: 40px;
}

.registration-profile-modal[data-registration-profile-stage="step_3"] .registration-profile-progress .progress-step {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 700;
    line-height: 40px;
}

.registration-profile-modal[data-registration-profile-stage="step_3"] .registration-profile-progress .progress-line {
    margin: 0;
    background: repeating-linear-gradient(to right, #6b46e5, #6b46e5 4px, transparent 4px, transparent 8px);
}

.registration-profile-modal[data-registration-profile-stage="step_3"] .registration-profile-progress .progress-step.is-active {
    background: rgba(107, 70, 229, 0.1);
}

.registration-profile-modal[data-registration-profile-stage="step_3"] .registration-profile-form {
    gap: 24px;
}

.registration-profile-modal[data-registration-profile-stage="step_3"] .registration-profile-panel-final {
    gap: 20px;
}

.registration-profile-modal[data-registration-profile-stage="step_3"] .registration-profile-final-field {
    gap: 6px;
}

.registration-profile-modal[data-registration-profile-stage="step_3"] .registration-profile-question {
    color: #17152f;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
}

.registration-profile-modal[data-registration-profile-stage="step_3"] .registration-profile-volume-dropdown .register-select-shell {
    min-height: 52px;
    padding: 0 20px;
    border-radius: 16px;
    background: #f8f8f8;
}

.registration-profile-modal[data-registration-profile-stage="step_3"] .registration-profile-volume-dropdown .register-select-trigger-value {
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
}

.registration-profile-modal[data-registration-profile-stage="step_3"] .registration-profile-funds-fieldset {
    gap: 12px;
}

.registration-profile-modal[data-registration-profile-stage="step_3"] .registration-profile-funds-grid {
    gap: 12px 24px;
}

.registration-profile-modal[data-registration-profile-stage="step_3"] .registration-profile-actions {
    gap: 24px;
    margin-top: 0;
}

.registration-profile-modal[data-registration-profile-stage="step_3"] .registration-profile-actions .primary-button,
.registration-profile-modal[data-registration-profile-stage="step_3"] .registration-profile-actions .secondary-button {
    min-height: 52px;
    border-radius: 16px;
    padding: 0 16px;
    font-size: 16px;
    font-weight: 500;
    line-height: 20px;
}

.registration-profile-modal[data-registration-profile-stage="step_3"] .registration-profile-login-footnote {
    margin-top: 0;
    text-align: center;
    width: 206px;
    justify-self: center;
}

.onboarding-modal {
    display: grid;
    gap: 24px;
    min-height: auto;
    padding: 32px;
    align-content: start;
}

.onboarding-panel {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    align-items: start;
    gap: 16px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.onboarding-modal[data-onboarding-step="selfie"] {
    min-height: auto;
}

.onboarding-modal[data-onboarding-step="selfie"] .onboarding-panel {
    display: block;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.onboarding-modal[data-onboarding-step="selfie"] .onboarding-status-icon {
    display: none;
}

.onboarding-modal[data-onboarding-step="selfie"] .onboarding-copy {
    gap: 8px;
}

.onboarding-modal[data-onboarding-step="selfie"] .onboarding-copy .eyebrow {
    display: none;
}

.verification-success-modal {
    display: grid;
    gap: 24px;
    min-height: 236px;
    padding: 32px;
    align-content: start;
}

.verification-success-modal .close-button {
    top: 32px;
    right: 32px;
}

.verification-success-modal .close-button span {
    top: 11px;
    left: 1px;
    width: 22px;
    height: 2px;
    background: #17152f;
}

.verification-success-copy {
    display: grid;
    gap: 16px;
    width: min(578px, 100%);
    margin: 0 auto;
    text-align: center;
}

.verification-success-copy h2 {
    width: min(426px, 100%);
    margin: 0 auto;
    color: #16a34a;
    font-size: 32px;
    font-weight: 700;
    line-height: 40px;
}

.verification-success-copy p {
    width: min(465px, 100%);
    margin: 0 auto;
    color: #92969d;
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
}

.verification-success-modal-dashboard .verification-success-copy h2 {
    width: min(338px, 100%);
}

.verification-success-modal-dashboard .verification-success-copy {
    margin: 0;
    text-align: left;
}

.verification-success-modal-dashboard .verification-success-copy h2,
.verification-success-modal-dashboard .verification-success-copy p {
    margin-left: 0;
    margin-right: 0;
}

.registration-success-modal .verification-success-copy h2 {
    width: min(429px, 100%);
}

.registration-success-modal .verification-success-copy p {
    width: min(515px, 100%);
}

.verification-success-actions {
    display: grid;
}

.verification-success-button {
    width: 100%;
    min-height: 52px;
    padding: 16px;
    border: 0;
    border-radius: 16px;
    background: #6b46e5;
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    line-height: 20px;
    cursor: pointer;
}

.verification-success-button:hover {
    background: #7757ea;
}

.verification-failed-modal {
    display: grid;
    gap: 24px;
    min-height: 216px;
    padding: 32px;
    align-content: start;
}

.verification-failed-modal .close-button {
    top: 32px;
    right: 32px;
}

.verification-failed-modal .close-button span {
    top: 11px;
    left: 1px;
    width: 22px;
    height: 2px;
    background: #17152f;
}

.verification-failed-copy {
    display: grid;
    gap: 16px;
    width: min(578px, 100%);
}

.verification-failed-copy h2 {
    margin: 0;
    color: #ee6161;
    font-size: 32px;
    font-weight: 700;
    line-height: 40px;
}

.verification-failed-copy p {
    width: min(557px, 100%);
    margin: 0;
    color: #92969d;
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
}

.verification-failed-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.verification-failed-back,
.verification-failed-retry {
    min-height: 52px;
    padding: 16px;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 500;
    line-height: 20px;
    cursor: pointer;
}

.verification-failed-back {
    border: 1px solid #6b46e5;
    background: transparent;
    color: #6b46e5;
}

.verification-failed-retry {
    border: 0;
    background: #6b46e5;
    color: #ffffff;
}

.verification-failed-retry:hover {
    background: #7757ea;
}

.auth-modal-kyc {
    display: flex;
    flex-direction: column;
    gap: 24px;
    min-height: 844px;
    padding: 32px;
    align-content: start;
}

.kyc-close-button {
    top: 40px;
    right: 32px;
}

.kyc-close-button span {
    top: 11px;
    left: 1px;
    width: 22px;
    background: #17152f;
}

.kyc-header {
    display: grid;
    width: 100%;
    justify-items: start;
}

.kyc-header-copy {
    display: grid;
    gap: 16px;
    width: 100%;
    margin: 0;
    text-align: left;
}

.kyc-title {
    margin: 0;
    color: #1a1a1a;
    font-size: 32px;
    font-weight: 700;
    line-height: 40px;
}

.kyc-copy {
    margin: 0;
    color: #92969d;
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
}

.kyc-form {
    display: grid;
    gap: 16px;
}

.kyc-field {
    width: 100%;
}

.kyc-select-trigger {
    padding: 0 20px;
}

.kyc-dropdown .register-select-trigger-value.is-placeholder {
    color: #1a1a1a;
}

.kyc-dropdown-panel {
    left: 0;
    width: 100%;
}

.kyc-upload-list {
    display: grid;
    gap: 16px;
}

.kyc-upload-card {
    display: grid;
    align-items: center;
    width: 100%;
    min-height: 204px;
    padding: 24px 20px;
    border: 1px solid #e0e0e0;
    border-radius: 16px;
    background: #f8f8f8;
    transition: border-color 120ms ease, background-color 120ms ease, box-shadow 120ms ease;
}

.kyc-upload-card:hover {
    border-color: #e0e0e0;
}

.auth-modal-kyc[data-kyc-state="idle"][data-selected-files="1"] {
    min-height: 784px;
}

.auth-modal-kyc[data-kyc-state="idle"][data-selected-files="2"] {
    min-height: 724px;
}

.auth-modal-kyc[data-kyc-state="processing"],
.auth-modal-kyc[data-kyc-state="error"] {
    min-height: 784px;
}

.auth-modal-kyc[data-kyc-state="success"] {
    min-height: 724px;
}

.kyc-upload-card-inner {
    display: grid;
    gap: 24px;
    width: min(314px, 100%);
    margin: 0 auto;
    justify-items: center;
    text-align: center;
}

.kyc-upload-copy {
    display: grid;
    gap: 12px;
    min-width: 0;
}

.kyc-upload-description-group {
    display: grid;
    gap: 0;
}

.kyc-upload-title {
    margin: 0;
    color: #1a1a1a;
    font-size: 24px;
    font-weight: 700;
    line-height: 28px;
}

.kyc-upload-description {
    margin: 0;
    color: #1a1a1a;
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
}

.kyc-upload-success-file-name {
    display: none;
    margin: 0;
    color: #1a1a1a;
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
    word-break: break-word;
}

.kyc-upload-actions {
    display: grid;
    gap: 12px;
    width: 100%;
    justify-items: center;
}

.kyc-upload-file-name {
    display: none;
    margin: 0;
    min-height: 20px;
    color: #1a1a1a;
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
    text-align: center;
    word-break: break-word;
}

.kyc-upload-card.has-file {
    min-height: 144px;
    padding: 24px 20px;
    border-style: solid;
    border-color: #e0e0e0;
    background: #f8f8f8;
    box-shadow: none;
}

.kyc-upload-card.has-file .kyc-upload-card-inner {
    width: 100%;
    margin: 0;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
    text-align: left;
}

.kyc-upload-card.has-file .kyc-upload-copy {
    gap: 8px;
    justify-items: start;
    width: min(314px, 100%);
}

.kyc-upload-card.is-error .kyc-upload-copy {
    width: min(374px, 100%);
}

.kyc-upload-card.has-file .kyc-upload-description-group,
.kyc-upload-card.has-file .kyc-upload-file-name,
.kyc-upload-card.has-file .kyc-upload-button {
    display: none;
}

.kyc-upload-card.has-file .kyc-upload-success-file-name {
    display: block;
}

.kyc-upload-card.has-file .kyc-upload-actions {
    width: auto;
    min-width: 24px;
    justify-items: end;
    align-content: center;
}


/* Per-card uploaded state — green success */

/* Uploaded idle state — doc icon, inline success, trash button (Figma layout) */


.kyc-upload-status {
    display: none;
    align-items: center;
    gap: 8px;
    min-width: 0;
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
    text-align: left;
}

.kyc-upload-status-processing {
    color: #6b46e5;
}

.kyc-upload-status-success {
    color: #16a34a;
}

.kyc-upload-status-error {
    color: #ee6161;
}

.kyc-upload-status-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
}

.kyc-upload-status-icon svg {
    display: block;
    width: 24px;
    height: 24px;
}

.kyc-upload-icon {
    display: none;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    flex: 0 0 72px;
    border-radius: 16px;
    background: #ffffff;
    color: #1a1a1a;
}

.kyc-upload-icon-state {
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

.kyc-upload-icon-state svg {
    display: block;
    width: 40px;
    height: 40px;
}

.kyc-upload-icon-state-document svg {
    transform: translateX(1px);
}

.kyc-upload-icon-state-processing {
    color: #6b46e5;
}

.kyc-upload-processing-loader {
    overflow: visible;
}

.kyc-upload-processing-loader-arc {
    transform-box: fill-box;
    transform-origin: center;
    animation: kyc-loader-spin 900ms linear infinite;
}

@keyframes kyc-loader-spin {
    from {
        transform: rotate(-60deg);
    }

    to {
        transform: rotate(300deg);
    }
}

.kyc-upload-card.has-file .kyc-upload-icon {
    display: flex;
}

.kyc-upload-card.has-file .kyc-upload-icon-state-document {
    display: flex;
}

.kyc-upload-delete {
    display: none;
    align-items: center;
    justify-content: center;
    align-self: center;
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #f27556;
    cursor: pointer;
    transition: color 120ms ease, opacity 120ms ease;
}

.kyc-upload-delete:hover {
    color: #eb5f3a;
}

.kyc-upload-delete:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.kyc-upload-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 52px;
    min-height: 52px;
    padding: 0 16px;
    border: 1px solid #6b46e5;
    border-radius: 16px;
    background: transparent;
    color: #6b46e5;
    font-size: 16px;
    font-weight: 500;
    line-height: 20px;
    cursor: pointer;
    transition: background-color 120ms ease, border-color 120ms ease, transform 120ms ease;
}

.kyc-upload-button:hover {
    border-color: #6b46e5;
    background: rgba(107, 70, 229, 0.04);
}

.kyc-upload-error-actions {
    display: none;
    gap: 12px;
    width: 96px;
    justify-items: center;
    align-content: space-between;
}

.kyc-upload-retry {
    border: 0;
    background: transparent;
    padding: 0;
    width: 96px;
    color: #6b46e5;
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
    cursor: pointer;
    text-align: center;
}

.kyc-upload-retry:hover {
    text-decoration: underline;
}

.kyc-upload-card.has-file.is-uploading .kyc-upload-status-processing,
.auth-modal-kyc[data-kyc-state="processing"] .kyc-upload-card.has-file .kyc-upload-status-processing {
    display: inline-flex;
}

.auth-modal-kyc[data-kyc-state="idle"] .kyc-upload-card.has-file.is-uploaded .kyc-upload-status-success,
.auth-modal-kyc[data-kyc-state="success"] .kyc-upload-card.has-file .kyc-upload-status-success {
    display: inline-flex;
}

.kyc-upload-card.has-file.is-uploaded .kyc-upload-delete-inline,
.auth-modal-kyc[data-kyc-state="processing"] .kyc-upload-card.has-file .kyc-upload-delete-inline,
.auth-modal-kyc[data-kyc-state="success"] .kyc-upload-card.has-file .kyc-upload-delete-inline,
.auth-modal-kyc[data-kyc-state="error"] .kyc-upload-card.has-file:not(.is-error) .kyc-upload-delete-inline {
    display: flex;
}

.kyc-upload-card.has-file.is-uploading .kyc-upload-icon,
.auth-modal-kyc[data-kyc-state="processing"] .kyc-upload-card.has-file .kyc-upload-icon {
    color: #6b46e5;
}

.kyc-upload-card.has-file.is-uploading .kyc-upload-icon-state-document,
.auth-modal-kyc[data-kyc-state="processing"] .kyc-upload-card.has-file .kyc-upload-icon-state-document {
    display: none;
}

.kyc-upload-card.has-file.is-uploading .kyc-upload-icon-state-processing,
.auth-modal-kyc[data-kyc-state="processing"] .kyc-upload-card.has-file .kyc-upload-icon-state-processing {
    display: flex;
}

.kyc-upload-card.is-error {
    border-color: #ee6161;
}

.kyc-upload-card.is-error:hover,
.kyc-upload-card.is-error.has-file {
    border-color: #ee6161;
}

.kyc-upload-card.is-error .kyc-upload-status-error {
    display: inline-flex;
}

.kyc-upload-card.is-error .kyc-upload-actions {
    width: 96px;
    min-width: 96px;
    justify-items: center;
    align-content: space-between;
}

.kyc-upload-card.has-file.is-error .kyc-upload-delete-inline {
    display: none;
}

.kyc-upload-card.has-file.is-error .kyc-upload-error-actions {
    display: grid;
}

.kyc-upload-card.has-file.is-error .kyc-upload-delete-stack {
    display: flex;
}

.kyc-feedback {
    margin-top: -8px;
}

.kyc-submit {
    margin-top: 8px;
    width: 100%;
    min-height: 52px;
    padding: 16px;
    border: 0;
    border-radius: 16px;
    background: #6b46e5;
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    line-height: 20px;
    cursor: pointer;
    transition: background-color 120ms ease;
}

.kyc-submit:hover {
    background: #7757ea;
}

.kyc-submit:disabled {
    background: rgba(107, 70, 229, 0.2);
    color: #ffffff;
    cursor: not-allowed;
}

.kyc-upload-button:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}


.status-copy {
    text-align: center;
}

.onboarding-copy {
    display: grid;
    gap: 10px;
    width: 100%;
    text-align: left;
    justify-items: start;
    align-content: start;
}

.onboarding-copy .eyebrow {
    width: 100%;
    color: #6b46e5;
}

.onboarding-copy h2 {
    width: 100%;
    margin: 0;
    color: #1a1a1a;
    font-size: 28px;
    font-weight: 700;
    line-height: 34px;
    letter-spacing: -0.03em;
}

.onboarding-copy #onboarding-copy {
    max-width: 420px;
    width: 100%;
    margin: 0;
    color: #92969d;
    font-size: 16px;
    line-height: 22px;
}

.modal-status-icon {
    width: 76px;
    height: 76px;
    margin: 0 auto 18px;
    border-radius: 24px;
    background: rgba(107, 70, 229, 0.12);
}

.onboarding-status-icon {
    width: 56px;
    height: 56px;
    margin: 4px 0 0;
    border: 0;
    border-radius: 16px;
    background: rgba(107, 70, 229, 0.08);
    position: relative;
}

.onboarding-status-icon::before,
.onboarding-status-icon::after {
    content: "";
    position: absolute;
    left: 16px;
    right: 16px;
    border-radius: 999px;
    background: rgba(107, 70, 229, 0.72);
}

.onboarding-status-icon::before {
    top: 16px;
    height: 6px;
}

.onboarding-status-icon::after {
    top: 28px;
    height: 10px;
    opacity: 0.46;
}

.modal-status-icon.is-blocked {
    background: rgba(184, 57, 85, 0.14);
}

.status-actions {
    display: grid;
    gap: 12px;
    margin-top: 24px;
}

.onboarding-actions {
    margin-top: 0;
}

.onboarding-feedback {
    margin-top: 0;
}

.onboarding-modal .close-button {
    top: 32px;
    right: 32px;
}

.auth-stage-account {
    padding: 64px 24px;
}

.account-card {
    display: grid;
    gap: 24px;
    min-height: auto;
    padding: 32px;
}

.account-header {
    display: grid;
    gap: 12px;
}

.account-header-copy {
    display: grid;
    gap: 12px;
}

.account-copy {
    margin: 0;
    color: #92969d;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}

.account-summary {
    justify-content: space-between;
    align-items: center;
    margin-top: 0;
    gap: 24px;
}

.account-request-button {
    min-width: 220px;
    border: 1px solid #6b46e5;
    background: transparent;
    color: #6b46e5;
}

.account-request-button:hover {
    background: rgba(107, 70, 229, 0.06);
}

.account-request-button:disabled {
    cursor: wait;
    opacity: 0.72;
}

.account-verification-section {
    display: grid;
    gap: 20px;
}

.account-verification-copy {
    display: grid;
    gap: 8px;
}

.account-verification-copy h2 {
    margin: 0;
    color: #1a1a1a;
    font-size: 24px;
    font-weight: 700;
    line-height: 28px;
}

.account-verification-copy p {
    margin: 0;
    color: #92969d;
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
}

.account-verification-form {
    display: grid;
    gap: 16px;
}

.account-code-hint {
    margin-top: 0;
    text-align: left;
}

.account-feedback {
    margin-top: 0;
}

.account-actions {
    display: grid;
}

@media (max-width: 760px) {
    .auth-stage {
        padding: 20px 12px;
    }

    .modal-stack,
    .auth-modal {
        width: 100%;
    }

    .auth-modal {
        min-height: auto;
        padding: 28px 20px 24px;
    }

    .auth-modal-register {
        padding: 28px 20px 24px;
        gap: 20px;
    }

    .auth-modal-register-step-two {
        min-height: auto;
    }

    .auth-modal-register-two-factor {
        min-height: auto;
    }

    .registration-profile-modal {
        min-height: auto;
        gap: 20px;
        padding: 28px 20px 24px;
    }

    .auth-modal-kyc {
        min-height: auto;
        gap: 20px;
        padding: 28px 20px 24px;
    }

    .verification-success-modal {
        min-height: auto;
    }

    .onboarding-modal {
        min-height: auto;
        gap: 20px;
        padding: 28px 20px 24px;
    }

    .onboarding-panel {
        grid-template-columns: 52px minmax(0, 1fr);
        gap: 12px;
        padding: 0;
        border-radius: 0;
    }

    .onboarding-copy h2 {
        font-size: 24px;
        line-height: 30px;
    }

    .onboarding-copy #onboarding-copy {
        max-width: none;
    }

    .auth-modal-register .close-button {
        top: 28px;
        right: 20px;
    }

    .auth-modal-login {
        min-height: auto;
        padding: 28px 20px 24px;
        gap: 20px;
    }

    .login-close-button {
        top: 28px;
        right: 20px;
    }

    .register-title {
        font-size: 28px;
        line-height: 36px;
    }

    .login-title {
        font-size: 28px;
        line-height: 36px;
    }

    .register-dob-row,
    .register-actions-row,
    .registration-profile-actions {
        grid-template-columns: 1fr;
    }

    .registration-profile-address-row {
        grid-template-columns: 1fr;
    }

    .registration-profile-funds-grid {
        grid-template-columns: 1fr;
    }

    .register-dropdown-panel-residence,
    .register-dropdown-panel-compact,
    .register-dropdown-panel-month {
        left: 0;
        width: 100%;
        min-width: 0;
    }

    .two-factor-header,
    .two-factor-submit {
        width: 100%;
    }

    .kyc-header-copy,
    .kyc-title,
    .kyc-copy {
        width: 100%;
    }

    .verification-success-copy,
    .verification-success-copy h2,
    .verification-success-copy p,
    .registration-profile-copy h2,
    .registration-profile-copy p:last-child {
        width: 100%;
    }

    .onboarding-copy h2,
    .onboarding-copy #onboarding-copy {
        width: 100%;
    }

    .onboarding-copy h2 {
        font-size: 28px;
        line-height: 36px;
    }

    .kyc-upload-card {
        min-height: auto;
    }

    .kyc-upload-card.has-file .kyc-upload-card-inner {
        grid-template-columns: auto minmax(0, 1fr) auto;
        justify-items: stretch;
        align-items: center;
        gap: 16px;
    }

    .kyc-upload-card.has-file .kyc-upload-actions {
        width: auto;
        min-width: 24px;
        justify-items: end;
    }

    .kyc-upload-card.is-error .kyc-upload-actions {
        min-width: 96px;
        justify-items: center;
    }

    .kyc-upload-title {
        font-size: 20px;
        line-height: 24px;
    }

    .verification-failed-actions {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .account-summary {
        flex-direction: column;
        align-items: stretch;
    }

    .account-request-button {
        width: 100%;
    }

    .kyc-upload-description,
    .kyc-upload-file-name,
    .kyc-submit {
        width: 100%;
    }

    .two-factor-code-group {
        grid-template-columns: repeat(3, minmax(0, 56px));
        justify-content: space-between;
        row-gap: 12px;
    }

    .progress-line {
        margin: 0 8px;
    }

    .close-button {
        top: 26px;
        right: 22px;
    }
}
