/* Cloudflare-style split auth — Dastoorr green */
html:has(body.ds-split-auth-page) {
    height: 100%;
    overflow: hidden;
    background: #fff;
}

.ds-split-auth {
    --ds-green: #177e3b;
    --ds-primary: #177e3b;
    --ds-secondary: #F8A840;
    --ds-green-deep: #146c33;
    --ds-green-dark: #0d4a24;
    --ds-green-light: #177e3b;
    --ds-green-pale: #e8f6ec;
    height: 100vh;
    overflow: hidden;
    background: #fff;
}

.ds-split-auth .ds-split-pane {
    width: 50%;
    height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 0;
    background: #fff;
    overflow-x: hidden;
    overflow-y: auto;
}

.ds-split-pane-inner {
    width: 100%;
    max-width: 340px;
    margin: auto;
}

.ds-split-auth .ds-split-pane-inner.wide {
    max-width: 520px;
    padding-left: 2px;
    padding-right: 2px;
}

.ds-split-auth-form-only .ds-split-pane {
    width: 100%;
}

.ds-split-auth-form-only .ds-split-pane-inner,
.ds-split-auth-form-only .ds-split-pane-inner.wide {
    max-width: 800px;
    padding: 8px 24px 48px;
}

.ds-split-auth .profile-complete-wide {
    padding-left: 2px;
    padding-right: 2px;
}

.ds-auth-brand {
    position: absolute;
    top: 22px;
    left: 28px;
    display: flex;
    align-items: center;
    z-index: 3;
}

.ds-auth-brand img {
    height: 44px;
    width: 44px;
    padding: 7px;
    object-fit: contain;
    background: #000;
    border-radius: 14px;
    box-shadow: none;
}

.ds-auth-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 20px 28px 0;
}

.ds-auth-top .ds-auth-brand {
    position: static;
}

.ds-auth-lang {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 5;
}

.ds-auth-top .ds-auth-lang {
    position: static;
}

.ds-auth-top-end {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.ds-auth-close {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e4e7ec;
    border-radius: 999px;
    background: #fff;
    color: #344054;
    text-decoration: none;
    cursor: pointer;
}

.ds-auth-close:hover {
    color: #177e3b;
    border-color: #177e3b;
}

.ds-lang-switch {
    display: inline-flex;
    align-items: center;
    padding: 3px;
    gap: 2px;
    border: 1px solid #e4e7ec;
    border-radius: 999px;
    background: #f9fafb;
}

.ds-lang-switch button {
    min-width: 46px;
    height: 30px;
    padding: 0 12px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #475467;
    font-size: 13px;
    font-weight: 600;
    line-height: 30px;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.ds-lang-switch button:hover {
    color: #177e3b;
}

.ds-lang-switch button.on {
    background: #177e3b;
    color: #fff;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.12);
}

@media (max-width: 900px) {
    .ds-auth-top {
        padding: 16px 20px 12px;
    }
    .ds-auth-brand img {
        height: 38px;
        width: 38px;
        padding: 6px;
        border-radius: 12px;
    }
}

.ds-split-hero {
    position: fixed;
    top: 0;
    right: 0;
    width: 50%;
    height: 100vh;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(1200px 700px at 85% 8%, #1b8c43 0%, transparent 55%),
        radial-gradient(900px 600px at 12% 88%, #0d4a24 0%, transparent 58%),
        linear-gradient(145deg, #0d4a24 0%, #146c33 38%, #177e3b 72%, #177e3b 100%);
}

.ds-auth-particles {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.ds-hero-haze {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background-image:
        repeating-linear-gradient(
            -18deg,
            transparent 0 10px,
            rgba(255, 255, 255, 0.035) 10px 11px
        );
    mix-blend-mode: overlay;
}

.ds-hero-top {
    position: absolute;
    top: 18px;
    right: 22px;
    z-index: 4;
}

.ds-hero-top-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    padding: 0 16px;
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 8px;
    color: #fff !important;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    background: transparent;
}

.ds-hero-top-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff !important;
}

.ds-split-hero-inner {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    padding: 48px 56px;
    max-width: 560px;
}

.ds-hero-kicker {
    margin: 0 0 12px;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.01em;
    color: rgba(255, 255, 255, 0.88) !important;
}

.ds-split-hero-inner h2 {
    margin: 0 0 16px;
    font-size: 42px;
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #fff !important;
}

.ds-split-hero-inner p {
    margin: 0;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.92) !important;
}

.ds-hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 28px;
    height: 40px;
    padding: 0 16px;
    border-radius: 8px;
    background: #fff;
    color: #177e3b !important;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

.ds-hero-cta:hover {
    background: #f4fbf6;
    color: #146c33 !important;
}

.ds-split-auth .inner-login,
.ds-split-auth .login-container,
.ds-split-auth .container {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    max-width: none !important;
    width: 100%;
    padding: 0 !important;
    margin: 0 !important;
    min-height: 0 !important;
}

.ds-split-auth .title-main {
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
    color: #1b1f23 !important;
    margin: 0 0 14px;
}

.ds-split-auth .body-text {
    text-align: center;
    color: #6b7280;
}

.ds-social-row {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
}

.ds-social-btn {
    flex: 1;
    min-width: 0;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid #d9d9d9 !important;
    border-radius: 8px !important;
    background: #fff !important;
    color: #1b1f23 !important;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
}

.ds-social-btn:hover {
    background: #fafafa !important;
    color: #1b1f23 !important;
}

.ds-split-auth-form-only .ds-social-row {
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
}

.ds-social-btn img {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

.ds-or {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 10px;
    color: #8b939e;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
}

.ds-or::before,
.ds-or::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #e6e8eb;
}

.ds-split-auth .input-wrapper label {
    display: none;
}

.ds-split-auth .input-wrapper.show-label label {
    display: flex;
    align-items: center;
    font-size: 13px;
    font-weight: 500;
    color: #3d4450;
    margin-bottom: 4px !important;
}

.ds-split-auth .input-wrapper.mb-16,
.ds-split-auth .mb-16 {
    margin-bottom: 8px !important;
}

.ds-split-auth .mb-24 {
    margin-bottom: 10px !important;
}

.ds-split-auth .input-wrapper input,
.ds-split-auth .input-wrapper select {
    width: 100%;
    height: 40px;
    border: 1px solid #d9d9d9 !important;
    border-radius: 8px !important;
    background: #fff !important;
    padding: 0 12px !important;
    font-size: 14px;
    color: #1b1f23;
    box-shadow: none !important;
}

.ds-split-auth .input-wrapper input:focus,
.ds-split-auth .input-wrapper select:focus {
    border-color: #177e3b !important;
    outline: 0;
    box-shadow: 0 0 0 3px rgba(23, 126, 59, 0.15) !important;
}

.ds-split-auth .input-wrapper input::placeholder {
    color: #9aa3b2;
}

.ds-split-auth .input-wrapper select {
    appearance: none;
}

.ds-split-auth .button-blue,
.ds-split-auth .auth-submit,
.ds-split-auth .auth-spinner {
    width: 100%;
    height: 40px;
    border: 0;
    border-radius: 8px !important;
    background: var(--ds-green) !important;
    color: #fff !important;
    font-weight: 600;
    font-size: 14px;
    box-shadow: none;
}

.ds-split-auth .button-blue:hover,
.ds-split-auth .auth-submit:hover {
    background: var(--ds-green-deep) !important;
}

.ds-split-auth .remeber-section {
    display: flex;
    justify-content: flex-start;
    margin: 2px 0 10px;
}

.ds-split-auth .remeber-section .left {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.ds-split-auth .remeber-section input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin-top: 2px;
    accent-color: var(--ds-green);
    flex-shrink: 0;
}

.ds-split-auth .remeber-section label {
    font-size: 13px;
    color: #3d4450;
    line-height: 1.35;
    margin: 0;
}

.ds-split-auth .forgot,
.ds-split-auth .dont-have-account a,
.ds-split-auth a.forgot,
.ds-auth-forgot a {
    color: #177e3b !important;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.ds-split-auth .dont-have-account a:hover,
.ds-auth-forgot a:hover {
    text-decoration: underline;
}

.ds-split-auth .dont-have-account,
.ds-auth-forgot {
    text-align: center;
    color: #344054;
    font-size: 13px;
    margin: 6px 0 0;
}

.ds-auth-forgot {
    margin-top: 4px;
}

.ds-auth-note {
    font-size: 13px;
    color: #6b7280;
    margin: 0 0 16px;
    line-height: 1.45;
}

.ds-auth-legal {
    margin: 12px 0 0;
    text-align: center;
    font-size: 13px;
    line-height: 1.5;
    color: #344054;
}

.ds-auth-legal a {
    color: #177e3b;
    font-weight: 600;
    text-decoration: underline;
}

.ds-split-auth-form-only .ds-cookie-prefs {
    position: static;
    margin: 10px 0 0;
    box-shadow: none;
}

.ds-cookie-prefs {
    position: fixed;
    left: 16px;
    bottom: 16px;
    z-index: 20;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 36px;
    padding: 0 12px 0 10px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #e6e8eb;
    box-shadow: 0 6px 18px rgba(16, 24, 40, 0.08);
    color: #1b1f23 !important;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
}

.ds-cookie-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #177e3b;
    box-shadow: inset 0 0 0 3px #fff, 0 0 0 1px #177e3b;
    position: relative;
}

.ds-cookie-dot::after {
    content: "";
    position: absolute;
    left: 4px;
    top: 2px;
    width: 5px;
    height: 8px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.ds-split-auth .social-button {
    width: 100%;
    height: 40px;
    border-radius: 8px !important;
    border: 1px solid #d9d9d9 !important;
    background: #fff !important;
    color: #374151 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
}

.ds-split-auth .field-error {
    display: none;
    padding: 2px 0 0;
    font-size: 12px;
    line-height: 1.3;
}

.ds-split-auth .field-error:not(:empty) {
    display: block;
}

.ds-split-auth .alert {
    border-radius: 8px;
}

.ds-split-auth .login-form-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 12px;
}

.ds-split-auth .login-form-logo img {
    height: 40px;
    width: auto;
}

.ds-split-auth .signup-form-row {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
}

.ds-split-auth .signup-form-row .input-wrapper,
.ds-split-auth .signup-form-row > .input-wrapper,
.ds-split-auth-form-only .signup-form-row > .input-wrapper,
.ds-split-auth-form-only .signup-page-form .signup-form-row > .input-wrapper {
    flex: 1 1 100%;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

@media (min-width: 1025px) {
    .ds-split-auth .signup-form-row,
    .ds-split-auth-form-only .signup-form-row {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px;
    }

    .ds-split-auth-form-only .signup-form-row > .input-wrapper {
        flex: 0 0 calc((100% - 16px) / 3);
        max-width: calc((100% - 16px) / 3);
    }

    .ds-split-auth-form-only .signup-page-form .signup-form-row > .input-wrapper {
        flex: 0 0 calc((100% - 8px) / 2);
        max-width: calc((100% - 8px) / 2);
    }
}

.ds-signup-actions .auth-submit,
.ds-signup-actions .auth-spinner,
.ds-signup-actions .ds-step-back,
.ds-signup-actions .ds-step-main {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
}

.ds-split-auth-form-only .uc-detect-row > .input-wrapper,
.ds-split-auth-form-only .signup-form-row-full > .input-wrapper {
    flex: 1 1 100%;
    max-width: 100%;
}

.ds-split-auth-form-only .ds-about-photo-row {
    align-items: flex-end;
    flex-wrap: nowrap;
}

.ds-split-auth-form-only .ds-about-photo-row > .ds-about-photo {
    flex: 0 0 auto;
    max-width: none;
    width: auto;
}

.ds-split-auth-form-only .ds-about-photo-row > .input-wrapper:not(.ds-about-photo) {
    flex: 1 1 0;
    max-width: none;
    width: auto;
}

.ds-upload-tile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 120px;
    margin: 0;
    border: 1px dashed #c5d0c8;
    border-radius: 12px;
    background: #f7f9f8;
    color: #177e3b;
    cursor: pointer;
    overflow: hidden;
}

button.ds-upload-tile {
    padding: 0;
}

.ds-upload-tile-wide {
    width: 100%;
    max-width: 248px;
    height: 88px;
}

.ds-upload-tile input {
    display: none;
}

.ds-upload-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ds-upload-tile-add {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
}

.ds-upload-tile-add i {
    font-size: 18px;
}

.ds-selfie-overlay {
    position: fixed;
    inset: 0;
    z-index: 10060;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    padding-bottom: max(12px, env(safe-area-inset-bottom));
    background: rgba(16, 24, 40, 0.28);
    box-sizing: border-box;
}

.ds-selfie-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: min(86vw, 340px);
    max-height: 100%;
    padding: 16px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 18px 40px rgba(16, 24, 40, 0.18);
    border-left: 4px solid #177e3b;
}

.ds-selfie-frame {
    position: relative;
    width: 100%;
    max-height: min(58dvh, 420px);
    aspect-ratio: 3 / 4;
    border-radius: 16px;
    overflow: hidden;
    background: #000;
}

.ds-selfie-frame video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scaleX(-1);
}

.ds-selfie-guide {
    position: absolute;
    top: 12%;
    left: 20%;
    width: 60%;
    height: 66%;
    border: 3px dashed rgba(255, 255, 255, 0.85);
    border-radius: 50%;
    pointer-events: none;
}

.ds-selfie-tip {
    max-width: 420px;
    margin: 0;
    color: #475467;
    font-size: 14px;
    text-align: center;
}

.ds-selfie-actions {
    display: flex;
    gap: 12px;
}

.ds-selfie-actions button {
    min-width: 120px;
}

.ds-split-auth .input-wrapper .field-tip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 6px;
    color: var(--ds-green);
    cursor: help;
    line-height: 1;
    flex-shrink: 0;
}

.ds-id-hint {
    margin: 6px 0 0;
    color: #667085;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.45;
    text-align: left;
}

.ds-split-auth .field-tip .fa-circle-info,
.ds-split-auth .field-reload .fa-rotate-right {
    font-size: 14px;
    color: var(--ds-green);
}

.ds-split-auth .field-reload {
    border: 0;
    background: none;
    padding: 0;
    cursor: pointer;
    margin-left: auto;
}

.ds-split-auth .ds-present-label {
    display: flex;
    align-items: center;
}

.ds-tip-box {
    position: fixed;
    z-index: 9999;
    display: block;
    width: max-content;
    max-width: 240px;
    height: auto;
    min-height: 0;
    padding: 8px 12px;
    background: #111;
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    font-family: Inter, sans-serif;
    line-height: 1.4;
    text-align: left;
    white-space: normal;
    border-radius: 10px;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

.ds-tip-box.is-on {
    opacity: 1;
    visibility: visible;
}

.ds-split-auth .input-wrapper.show-label label span.req {
    color: #e11d48;
    font-weight: 700;
    margin-left: 2px;
}

.ds-split-auth .ds-split-pane-steps {
    align-items: stretch;
}

.ds-split-auth .profile-complete-wide .ds-progress {
    margin: 0 8px 18px;
}

.ds-split-auth .profile-complete-wide .input-wrapper.mb-0 {
    margin-bottom: 0 !important;
}

.ds-split-auth .profile-complete-wide .profile-photo-row {
    display: flex;
    align-items: center;
    margin-bottom: 0;
    gap: 10px;
}

.ds-split-auth .profile-complete-wide .profile-photo-row img {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    flex-shrink: 0;
}

.ds-split-auth .profile-complete-wide .profile-photo-row input[type="file"] {
    flex: 1;
    min-width: 0;
    padding: 8px 12px !important;
}

.ds-split-auth .profile-complete-wide .cnic-preview {
    display: block;
    width: 100%;
    max-height: 180px;
    margin-top: 8px;
    object-fit: contain;
    border: 1px solid #e6eee8;
    border-radius: 12px;
    background: #f7f9f8;
}

.ds-split-auth .profile-photo-row img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 16px;
    background: #e9edf5;
}

.ds-split-auth .input-wrapper input[type="file"] {
    height: auto;
    padding: 10px 16px !important;
    border-radius: 8px !important;
}

.ds-field-tick-wrap {
    position: relative;
}

.ds-field-tick-wrap input {
    padding-right: 40px !important;
}

.ds-field-tick {
    position: absolute;
    right: 12px;
    top: 34px;
    color: #177e3b;
    font-size: 18px;
    pointer-events: none;
}

.ds-split-auth .input-wrapper input[readonly] {
    opacity: 0.85;
}

.ds-split-auth .password-field {
    position: relative;
    width: 100%;
}

.ds-split-auth .password-toggle {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: #9aa3b2;
}

.ds-progress {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin: 8px 12px 28px;
}

.ds-progress-line,
.ds-progress-fill {
    position: absolute;
    top: 15px;
    left: 16%;
    right: 16%;
    height: 3px;
    border-radius: 99px;
    pointer-events: none;
}

.ds-progress-line {
    background: #e6eee8;
}

.ds-progress-fill {
    right: auto;
    width: 0;
    background: var(--ds-green);
    transition: width 0.25s ease;
}

.ds-progress[data-current="1"] .ds-progress-fill { width: 0; }
.ds-progress[data-current="2"] .ds-progress-fill { width: 34%; }
.ds-progress[data-current="3"] .ds-progress-fill { width: 68%; }

.ds-progress-4 .ds-progress-line,
.ds-progress-4 .ds-progress-fill {
    left: 12.5%;
    right: 12.5%;
}

.ds-progress-5 .ds-progress-line,
.ds-progress-5 .ds-progress-fill {
    left: 10%;
    right: 10%;
}

.ds-progress-4 .ds-progress-fill,
.ds-progress-5 .ds-progress-fill { right: auto; }
.ds-progress-4[data-current="2"] .ds-progress-fill { width: 25%; }
.ds-progress-4[data-current="3"] .ds-progress-fill { width: 50%; }
.ds-progress-4[data-current="4"] .ds-progress-fill { width: 75%; }
.ds-progress-5[data-current="2"] .ds-progress-fill { width: 20%; }
.ds-progress-5[data-current="3"] .ds-progress-fill { width: 40%; }
.ds-progress-5[data-current="4"] .ds-progress-fill { width: 60%; }
.ds-progress-5[data-current="5"] .ds-progress-fill { width: 80%; }

.ds-progress-step {
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.ds-progress-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #d7dde8;
    color: #6b7280;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ds-progress-name {
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
}

.ds-progress-step.is-active .ds-progress-num,
.ds-progress-step.is-done .ds-progress-num {
    background: var(--ds-green);
    border-color: var(--ds-green);
    color: #fff;
}

.ds-progress-step.is-active .ds-progress-name,
.ds-progress-step.is-done .ds-progress-name {
    color: var(--ds-green);
}

.ds-progress-step.is-clickable a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: inherit;
}

.ds-progress-step.is-clickable {
    cursor: pointer;
}

.ds-progress-step:not(.is-clickable) {
    cursor: default;
}

.ds-form-step {
    display: none;
}

.ds-form-step.is-on {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ds-step-actions,
.ds-signup-actions {
    position: sticky;
    bottom: 0;
    z-index: 5;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: stretch;
    gap: 8px;
    margin-top: 16px;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.ds-step-actions > .ds-step-back,
.ds-step-actions > .ds-step-main,
.ds-signup-actions > .ds-step-back,
.ds-signup-actions > .ds-step-main {
    flex: 1 1 0;
    width: 0;
    min-width: 0;
}

.ds-wait-overlay {
    position: fixed;
    inset: 0;
    z-index: 10070;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(255, 255, 255, 0.72);
}

.ds-wait-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: min(92vw, 280px);
    padding: 24px 20px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 18px 40px rgba(16, 24, 40, 0.16);
    text-align: center;
}

.ds-wait-card i {
    font-size: 28px;
    color: #177e3b;
}

.ds-wait-card strong {
    font-size: 16px;
    color: #1b1f23;
}

.ds-wait-card p {
    margin: 0;
    font-size: 13px;
    color: #475467;
}

.ds-step-actions .ds-step-cancel,
.ds-step-actions .ds-step-back,
.ds-step-actions .ds-step-main {
    flex: 1 1 0;
    min-width: 0;
    width: 0;
}

.ds-step-main .auth-submit,
.ds-step-main .auth-spinner {
    width: 100%;
}

.ds-split-auth-form-only .ds-step-actions .button-blue,
.ds-split-auth-form-only .ds-step-actions .auth-submit,
.ds-split-auth-form-only .ds-step-actions .auth-spinner,
.ds-split-auth-form-only .ds-step-actions .ds-step-cancel {
    width: 100%;
}

.ds-split-auth .ds-step-back,
.ds-split-auth .ds-step-cancel {
    width: 100%;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    margin: 0;
}

.ds-split-auth-form-only .ds-step-actions .button-blue,
.ds-split-auth-form-only .ds-step-actions .auth-submit,
.ds-split-auth-form-only .ds-step-actions .auth-spinner,
.ds-split-auth-form-only .ds-step-actions .ds-step-cancel {
    width: 100%;
}

.ds-split-auth .ds-step-back.is-disabled {
    opacity: 0.45;
    pointer-events: none;
    cursor: default;
}

body.ds-split-auth-page {
    margin: 0;
    height: 100vh;
    overflow: hidden;
    background: #fff !important;
}

body.ds-split-auth-page > div:not(.ds-tip-box):not(.ds-flash-host) {
    height: 100vh;
    overflow: hidden;
    background: #fff;
}

@media (max-width: 1024px) {
    html:has(body.ds-split-auth-page),
    body.ds-split-auth-page,
    body.ds-split-auth-page > div:not(.ds-tip-box):not(.ds-flash-host) {
        height: auto;
        min-height: 0;
        max-width: 100%;
        overflow-x: hidden;
        overflow-y: auto;
    }
    .ds-split-auth {
        height: auto;
        min-height: 0;
        max-width: 100%;
        overflow: visible;
        display: flex;
        flex-direction: column-reverse;
    }
    .ds-auth-top {
        padding: 8px 16px 0;
    }
    .ds-split-hero {
        position: relative;
        width: 100% !important;
        height: auto;
        min-height: 0;
    }
    .ds-split-hero-inner {
        padding: 12px 16px 14px;
        max-width: none;
        height: auto;
        justify-content: flex-start;
    }
    .ds-split-hero-inner h2 {
        font-size: 22px;
        margin-bottom: 6px;
    }
    .ds-split-hero-inner p {
        font-size: 13px;
        margin-bottom: 0;
    }
    .ds-hero-cta {
        margin-top: 10px;
        height: 32px;
    }
    .ds-hero-top {
        top: 8px;
        right: 8px;
    }
    .ds-split-auth .ds-split-pane {
        width: 100% !important;
        height: auto;
        min-height: 0;
        overflow: visible;
    }
    .ds-split-pane-inner,
    .ds-split-auth .ds-split-pane-inner.wide {
        max-width: 100% !important;
        width: 100%;
        margin: 0;
        padding: 0 16px 32px;
    }
    .ds-split-auth-form-only .ds-split-pane-inner,
    .ds-split-auth-form-only .ds-split-pane-inner.wide {
        max-width: 100% !important;
        width: 100%;
        margin: 0;
        padding: 0 16px 32px;
    }
    .ds-split-auth-form-only .ds-about-photo-row {
        flex-wrap: wrap;
    }
    .ds-split-auth .inner-login,
    .ds-split-auth .inner-login.signup-centered,
    .ds-split-auth .inner-login.signup-page-form {
        max-width: none;
        width: 100%;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
    }
    .ds-split-auth .profile-complete-wide {
        padding-left: 0;
        padding-right: 0;
    }
    .ds-split-auth .signup-form-row,
    .ds-split-auth-form-only .signup-form-row,
    .ds-split-auth-form-only .signup-page-form .signup-form-row {
        display: flex !important;
        flex-direction: column !important;
        flex-wrap: nowrap !important;
        gap: 0 !important;
        width: 100% !important;
    }
    .ds-split-auth .signup-form-row .input-wrapper,
    .ds-split-auth .signup-form-row > .input-wrapper,
    .ds-split-auth-form-only .signup-form-row > .input-wrapper,
    .ds-split-auth-form-only .signup-page-form .signup-form-row > .input-wrapper {
        flex: 1 1 100% !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }
    .ds-split-auth .input-wrapper input,
    .ds-split-auth .input-wrapper select,
    .ds-split-auth .input-wrapper textarea,
    .ds-split-auth-form-only .signup-page-form .input-wrapper input,
    .ds-split-auth-form-only .signup-page-form .input-wrapper select {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }
    .ds-split-auth .ds-social-row {
        width: 100%;
    }
    .ds-cookie-prefs {
        left: 12px;
        bottom: 12px;
    }
}

.uc-map {
    height: 220px;
    width: 100%;
    border-radius: 12px;
    border: 1px solid #dbe4ee;
    z-index: 1;
}

.ds-split-auth .signup-form-row.uc-detect-row {
    display: block;
}

.uc-suggest {
    position: relative;
    margin-bottom: 10px;
}

.uc-suggest-list {
    position: absolute;
    left: 0;
    right: 0;
    z-index: 5;
    background: #fff;
    border: 1px solid #dbe4ee;
    border-radius: 10px;
    max-height: 180px;
    overflow: auto;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

.uc-suggest-list button {
    display: block;
    width: 100%;
    text-align: left;
    border: 0;
    background: transparent;
    padding: 8px 10px;
    font-size: 13px;
}

.uc-suggest-list button:hover {
    background: #f4fbf6;
}

.ds-password-hints {
    list-style: none;
    margin: 6px 0 0;
    padding: 0;
    font-size: 12px;
    line-height: 1.45;
}

.ds-password-hints li {
    display: flex;
    align-items: center;
    gap: 6px;
}

.ds-password-hints li i {
    width: 12px;
    font-size: 11px;
}

.ds-password-hints .is-ok {
    color: #177e3b;
}

.ds-password-hints .is-bad {
    color: #dc2626;
}
