.login-page-shell,
.register-page-shell {
    max-width: 1160px;
    margin: 0 auto;
    padding: 30px 18px;
}

#wrapper {
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(193, 225, 222, 0.75), transparent 22%),
        radial-gradient(circle at bottom right, rgba(236, 208, 173, 0.42), transparent 24%),
        linear-gradient(180deg, #f0f2f1 0%, #f5f6f5 100%);
}

.auth-split-shell {
    width: 100%;
    display: flex;
    overflow: hidden;
    padding: 0;
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 28px;
    background: #ffffff;
    box-shadow: 0 22px 60px rgba(15, 23, 42, 0.08);
}

.auth-side-panel {
    min-height: 620px;
    padding: 48px 42px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #ffffff;
    background: linear-gradient(160deg, #0f5f57 0%, #14897c 48%, #1ca392 100%);
}

.auth-side-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.auth-side-badge-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.14);
}

.auth-side-title {
    margin: 22px 0 14px;
    font-size: 38px;
    line-height: 1.1;
    font-weight: 700;
    color: #ffffff;
}

.auth-side-text {
    max-width: 420px;
    font-size: 16px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.84);
}

.auth-side-points {
    padding: 0;
    margin: 28px 0 0;
    list-style: none;
}

.auth-side-points li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.5;
}

.auth-side-points li::before {
    content: "";
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    margin-top: 1px;
}

.auth-side-footer {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.72);
}

.auth-form-panel {
    width: 56%;
    padding: 56px 48px 36px;
    background: transparent;
}

.login-page-panel {
    align-items: stretch;
    min-height: 620px;
}

.login-side-panel {
    width: 50%;
    min-height: 620px;
    padding: 44px 26px 44px 42px;
    color: #24403b;
    background: #ffffff;
}

.login-side-visual-shell {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.trader-login-side-content {
    width: 100%;
    max-width: 560px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.trader-login-side-copy {
    padding: 8px 2px 2px;
}

.trader-login-side-eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 7px 12px;
    border-radius: 999px;
    background: #e8f5f2;
    color: #0f766e;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.trader-login-side-title {
    margin: 16px 0 10px;
    font-size: 34px;
    line-height: 1.08;
    font-weight: 800;
    color: #173c37;
}

.trader-login-side-text {
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
    color: #5f6b7a;
}

.trader-login-feature-group {
    padding: 18px 18px 16px;
    border: 1px solid rgba(20, 137, 124, 0.14);
    border-radius: 20px;
    background: linear-gradient(180deg, #fcfefe 0%, #f5fbfa 100%);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.04);
}

.trader-login-feature-group h3 {
    margin: 0 0 12px;
    font-size: 16px;
    line-height: 1.4;
    font-weight: 800;
    color: #173c37;
}

.trader-login-feature-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

.trader-login-feature-list li {
    position: relative;
    padding-left: 20px;
}

.trader-login-feature-list li::before {
    content: "";
    position: absolute;
    top: 8px;
    left: 0;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: linear-gradient(135deg, #159a84 0%, #f3a43b 100%);
    box-shadow: 0 0 0 5px rgba(21, 154, 132, 0.08);
}

.trader-login-feature-list strong {
    display: block;
    margin-bottom: 2px;
    font-size: 14px;
    line-height: 1.45;
    color: #1f2f3d;
}

.trader-login-feature-list span {
    display: block;
    font-size: 13px;
    line-height: 1.6;
    color: #64748b;
}

.login-side-image-frame {
    width: 100%;
    max-width: 470px;
    min-height: 400px;
}

.login-page-illustration {
    width: 100%;
    height: 100%;
    min-height: 400px;
    display: block;
    object-fit: contain;
    object-position: center;
    border-radius: 0;
    box-shadow: none;
}

.login-form-panel {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 56px 56px 50px 22px;
    background: #ffffff;
}

.register-side-panel {
    width: 50%;
    min-height: 620px;
    padding: 44px 26px 44px 42px;
    background: #ffffff;
}

.register-side-visual-shell {
    align-items: center;
    justify-content: center;
}

.register-side-image-frame {
    width: 100%;
    max-width: 470px;
    min-height: 430px;
}

.register-page-illustration {
    min-height: 430px;
}

.register-form-panel-mockup {
    width: 50%;
    padding: 48px 56px 42px 22px;
}

.auth-form-brand {
    margin-bottom: 28px;
    color: #16312d;
    font-size: 30px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.auth-form-brand strong {
    font-weight: 700;
}

.login-form-panel .auth-form-brand {
    margin-bottom: 20px;
    font-size: 0;
    line-height: 0;
    color: #0f766e;
}

.register-form-brand-mockup {
    margin-bottom: 14px;
    font-size: 0;
    line-height: 0;
}

.login-form-panel .auth-form-brand a {
    text-decoration: none;
}

.login-brand-logo {
    display: block;
    width: 198px;
    max-width: 100%;
    height: auto;
}

.auth-form-title {
    margin: 0 0 8px;
    padding: 0;
    text-align: left;
    font-size: 28px;
    font-weight: 700;
    color: #16312d;
}

.register-form-title-mockup {
    margin-bottom: 6px;
    font-size: 22px;
    line-height: 1.15;
}

.login-page-subtitle,
.register-page-subtitle {
    margin-bottom: 22px;
    font-size: 15px;
    line-height: 1.55;
    color: #7b8794;
}

.register-page-subtitle-mockup {
    max-width: 420px;
    margin-bottom: 14px;
    font-size: 14px;
}

.login-page-referral {
    margin-top: -14px;
    margin-bottom: 20px;
    color: #5c7a74;
    font-size: 14px;
    line-height: 1.6;
}

.login-page-feedback {
    margin-bottom: 12px;
}

.login-page-label,
.register-field-label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 700;
    color: #425466;
}

.login-page-field-feedback {
    display: block;
    min-height: 18px;
    margin-top: 7px;
    color: #d14343;
    font-size: 12px;
    line-height: 1.4;
}

.login-page-panel .auth-form-input,
.register-page-panel .auth-form-input,
.register-page-panel .select2-selection,
.auth-form-textarea {
    height: 52px;
    border: 1px solid #dbe4f0;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 15px;
    color: #334155;
    background: #f2f7ff;
    box-shadow: none;
}

.register-account-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 46px;
    background-image: linear-gradient(45deg, transparent 50%, #15803d 50%), linear-gradient(135deg, #15803d 50%, transparent 50%), linear-gradient(to right, #c8ced6, #c8ced6);
    background-position: calc(100% - 15px) calc(50% - 3px), calc(100% - 9px) calc(50% - 3px), calc(100% - 26px) 50%;
    background-size: 6px 6px, 6px 6px, 1px 60%;
    background-repeat: no-repeat;
    color: #15803d;
    font-size: 13px;
    font-weight: 700;
}

.register-account-select-wrap {
    margin-bottom: 14px;
}

.auth-form-textarea {
    min-height: 130px;
    height: auto;
    resize: vertical;
}

.login-page-panel .auth-form-input:focus,
.register-page-panel .auth-form-input:focus,
.register-page-panel .select2-selection:focus,
.auth-form-textarea:focus {
    border-color: #f2a447;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(242, 164, 71, 0.12);
}

.login-page-panel .form-group,
.register-page-panel .form-group {
    margin-bottom: 14px;
}

.register-page-panel .register-form-grid,
.register-page-panel .register-password-grid {
    gap: 12px;
}

.password-field-wrap {
    position: relative;
}

.password-field-wrap .auth-form-input-password {
    padding-right: 44px;
}

.password-toggle-btn {
    position: absolute;
    top: 50%;
    right: 12px;
    width: 24px;
    height: 24px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #7c8aa0;
    transform: translateY(-50%);
}

.auth-form-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 6px;
}

.btn-auth-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #14897c;
    border: 1px solid rgba(20, 137, 124, 0.18);
    background: #f7fcfb;
    text-decoration: none;
}

.btn-auth-secondary:hover,
.btn-auth-secondary:focus {
    color: #0f766e;
    text-decoration: none;
    background: #eff8f6;
}

.login-page-panel .btn.btn-md,
.register-page-panel .btn.btn-custom,
.seller-auth-suspension-link {
    min-height: 40px;
    border: 0;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.01em;
    color: #ffffff;
    background: linear-gradient(135deg, #f3a43b 0%, #e68d1f 100%);
    box-shadow: none;
}

.login-page-panel .btn.btn-md:hover,
.login-page-panel .btn.btn-md:focus,
.register-page-panel .btn.btn-custom:hover,
.register-page-panel .btn.btn-custom:focus,
.seller-auth-suspension-link:hover,
.seller-auth-suspension-link:focus {
    color: #ffffff;
    background: linear-gradient(135deg, #f6b452 0%, #ec972a 100%);
}

.auth-submit-btn {
    flex: 1 1 auto;
}

.link-forgot-password {
    display: inline-block;
    margin-top: 16px;
    color: #14897c;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.link-forgot-password:hover,
.link-forgot-password:focus {
    color: #0f766e;
    text-decoration: underline;
}

.auth-form-footer-note {
    margin-top: 14px;
    font-size: 14px;
    line-height: 1.65;
    color: #8a97a6;
}

.auth-page-switch-copy {
    margin-top: 4px;
    color: #7b8794;
    font-size: 14px;
}

.auth-page-switch-copy .link,
.auth-page-switch-copy .font-700 {
    color: #14897c;
    text-decoration: none;
    font-weight: 700;
}

.auth-page-switch-copy .link:hover,
.auth-page-switch-copy .link:focus {
    color: #0f766e;
    text-decoration: underline;
}

.login-form-divider,
.register-form-divider {
    margin: 0 0 18px;
}

.login-section-label,
.register-section-label {
    display: block;
    margin: 0 0 6px;
    color: #16312d;
    font-size: 24px;
    font-weight: 700;
}

.login-form-note,
.register-form-note,
.register-account-hint {
    margin: 0 0 14px;
    color: #5c7a74;
    font-size: 14px;
    line-height: 1.6;
}

.seller-register-grid,
.register-form-grid,
.register-password-grid,
.register-account-type {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.register-account-option {
    position: relative;
    display: block;
    margin: 0;
    cursor: pointer;
}

.register-account-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.register-account-option-card {
    display: block;
    height: 100%;
    padding: 16px;
    border: 1px solid #d8ebe6;
    border-radius: 10px;
    background: #f9fcfb;
}

.register-account-option-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #edf7f5;
    color: #0f766e;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.register-account-option-card strong {
    display: block;
    margin-bottom: 6px;
    color: #16312d;
    font-size: 16px;
    font-weight: 700;
}

.register-account-option-card span {
    display: block;
    color: #5c7a74;
    font-size: 13px;
    line-height: 1.6;
}

.register-account-option input:checked + .register-account-option-card {
    border-color: #14897c;
    background: #ffffff;
    box-shadow: 0 12px 24px rgba(20, 137, 124, 0.1);
}

.seller-location-group {
    margin-bottom: 16px;
}

.seller-file-upload {
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
    padding: 16px;
    background: #f8fafc;
}

.seller-file-upload-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 18px;
    border-radius: 10px;
    background: #14897c;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 12px;
}

.seller-file-upload-btn input {
    display: none;
}

.seller-file-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: #475569;
    font-size: 13px;
}

.register-page-panel .select2-container {
    width: 100% !important;
}

.register-field-help {
    color: #64748b;
    font-weight: 400;
}

.register-page-panel .custom-control-label,
.p-social-media {
    color: #495567;
    font-size: 14px;
    line-height: 1.6;
}

.register-page-panel .custom-control-label {
    font-size: 13px;
}

.register-page-panel .custom-control {
    padding-left: 32px;
}

.register-page-panel .custom-control-label::before,
.register-page-panel .custom-control-label::after {
    top: 0.15rem;
    left: -2rem;
    width: 22px;
    height: 22px;
    border-radius: 4px;
}

.register-page-panel .custom-control-label::before {
    border-color: #cfd8e3;
    background-color: #ffffff;
}

.register-page-panel .custom-control-input:checked ~ .custom-control-label::before {
    border-color: #14998f;
    background-color: #14998f;
}

.register-page-panel .cf-turnstile,
.register-page-panel .cf-turnstile-wrapper {
    display: flex;
    justify-content: center;
}

.register-page-panel .cf-turnstile-wrapper {
    margin-bottom: 16px;
}

.social-login-register {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 12px;
}

.social-login-register .p-social-media {
    display: none;
}

.social-login-register .btn-social {
    width: 100%;
    min-height: 46px;
    border: 1px solid #d6dee8;
    border-radius: 8px;
    background: #ffffff;
    color: #4b5563;
    box-shadow: none;
    justify-content: center;
    margin-bottom: 0;
}

.social-login-register .btn-social span {
    font-weight: 700;
}

.register-form-actions-mockup {
    margin-top: 8px;
}

.register-form-actions-mockup .auth-submit-btn {
    width: 100%;
}

.register-footer-note-mockup {
    display: none;
}

.seller-auth-suspension-notice {
    padding: 18px;
    border: 1px solid rgba(220, 38, 38, 0.18);
    border-radius: 12px;
    background: linear-gradient(180deg, #fff5f5 0%, #fff1f2 100%);
    color: #7f1d1d;
}

.seller-auth-suspension-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(220, 38, 38, 0.12);
    color: #b91c1c;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.seller-auth-suspension-note {
    color: #9f1239;
}

.auth-form-input.is-invalid,
.was-validated .auth-form-input:invalid {
    border-color: #d14343;
    box-shadow: 0 0 0 0.2rem rgba(209, 67, 67, 0.12);
}

@media (max-width: 991.98px) {
    .auth-split-shell {
        flex-direction: column;
    }

    .auth-side-panel,
    .auth-form-panel {
        width: 100%;
    }

    .login-side-panel,
    .login-form-panel,
    .register-side-panel,
    .register-form-panel-mockup {
        width: 100%;
    }

    .auth-side-panel {
        min-height: auto;
        padding: 34px 30px 28px;
    }

    .auth-form-panel {
        padding: 34px 30px 30px;
    }

    .login-side-panel {
        min-height: auto;
        padding: 28px 24px 10px;
    }

    .trader-login-side-content {
        max-width: 100%;
    }

    .trader-login-side-title {
        font-size: 28px;
    }

    .login-side-image-frame {
        max-width: 360px;
        min-height: 280px;
    }

    .login-form-panel {
        padding: 10px 34px 34px;
    }

    .register-side-panel {
        min-height: auto;
        padding: 28px 24px 10px;
    }

    .register-side-image-frame {
        max-width: 360px;
        min-height: 280px;
    }

    .register-page-illustration {
        min-height: 280px;
    }

    .register-form-panel-mockup {
        padding: 10px 34px 34px;
    }
}

@media (max-width: 767.98px) {
    .seller-register-grid,
    .register-form-grid,
    .register-password-grid,
    .register-account-type,
    .auth-form-actions {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .auth-form-actions {
        display: grid;
    }

    .login-side-panel {
        padding: 24px 16px 4px;
    }

    .trader-login-side-content {
        gap: 14px;
    }

    .trader-login-side-title {
        font-size: 24px;
    }

    .trader-login-feature-group {
        padding: 16px 14px 14px;
        border-radius: 16px;
    }

    .register-side-panel {
        padding: 24px 16px 4px;
    }

    .login-side-image-frame {
        min-height: 220px;
        max-width: 280px;
    }

    .register-side-image-frame {
        min-height: 220px;
        max-width: 280px;
    }

    .login-page-illustration {
        min-height: 220px;
    }

    .register-page-illustration {
        min-height: 220px;
    }
}

@media (max-width: 576px) {
    .login-page-shell,
    .register-page-shell {
        min-height: 100vh;
        min-height: 100dvh;
        padding: 14px 8px;
    }

    .auth-split-shell {
        border-radius: 22px;
    }

    .auth-side-panel,
    .auth-form-panel {
        padding-left: 18px;
        padding-right: 18px;
    }

    .auth-side-title,
    .auth-form-title {
        font-size: 24px;
    }

    .auth-form-brand {
        font-size: 24px;
    }

    .login-form-panel {
        padding-top: 8px;
    }

    .login-brand-logo {
        width: 180px;
    }
}
