.connect-hero {
    position: relative;
    overflow: hidden;
    padding: 82px 0 88px;
    background:
        radial-gradient(
            circle at 80% 25%,
            rgba(76, 181, 232, 0.2),
            transparent 31%
        ),
        linear-gradient(
            135deg,
            #0d1928 0%,
            #152a40 55%,
            #123b58 100%
        );
}

.connect-hero-shape {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.connect-hero-shape-one {
    width: 500px;
    height: 500px;
    top: -310px;
    right: -150px;
    border: 1px solid rgba(255, 255, 255, 0.07);
}

.connect-hero-shape-two {
    width: 290px;
    height: 290px;
    bottom: -210px;
    left: 8%;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.connect-hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    align-items: end;
    gap: 80px;
}

.connect-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 28px;
}

.connect-breadcrumb a,
.connect-breadcrumb span {
    color: #aab9c8;
    font-size: 13px;
    line-height: 18px;
    text-decoration: none;
}

.connect-breadcrumb a:hover {
    color: #fff;
}

.connect-breadcrumb span {
    color: #fff;
}

.connect-breadcrumb svg {
    width: 16px;
    height: 16px;
    color: #718397;
}

.connect-badge {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 18px;
    padding: 7px 12px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.06);
    color: #d8eef8;
    font-size: 12px;
    line-height: 17px;
    font-weight: 500;
}

.connect-badge span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--trx-primary, #4cb5e8);
    box-shadow: 0 0 0 5px rgba(76, 181, 232, 0.12);
}

.connect-hero-content h1 {
    margin-bottom: 20px;
    color: #fff;
    font-size: clamp(45px, 5vw, 64px);
    line-height: 1.07;
    letter-spacing: -2.2px;
    font-weight: 700;
}

.connect-hero-content h1 span {
    display: block;
    color: #76cdf3;
}

.connect-hero-content > p {
    max-width: 690px;
    margin: 0;
    color: #bdcad7;
    font-size: 17px;
    line-height: 29px;
}

.connect-hero-features {
    display: grid;
    gap: 12px;
}

.connect-hero-feature {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 15px 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
}

.connect-hero-feature-icon {
    width: 39px;
    height: 39px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 11px;
    color: #6bc9f0;
    background: rgba(76, 181, 232, 0.1);
}

.connect-hero-feature-icon svg {
    width: 21px;
    height: 21px;
}

.connect-hero-feature strong,
.connect-hero-feature span {
    display: block;
}

.connect-hero-feature strong {
    margin-bottom: 2px;
    color: #fff;
    font-size: 13px;
    line-height: 19px;
    font-weight: 600;
}

.connect-hero-feature span {
    color: #92a4b6;
    font-size: 11px;
    line-height: 17px;
}

.connect-page {
    padding: 90px 0 110px;
    background: #f6f9fc;
}

.connect-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    align-items: start;
    gap: 28px;
}

.connect-form-card {
    padding: 42px;
    border: 1px solid #e2e9ef;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 16px 45px rgba(21, 45, 70, 0.05);
}

.connect-form-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 36px;
    padding-bottom: 30px;
    border-bottom: 1px solid #edf0f3;
}

.connect-section-label {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--trx-primary-dark, #2b7ec0);
    font-size: 11px;
    line-height: 16px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.connect-form-header h2 {
    margin-bottom: 9px;
    color: #172536;
    font-size: 28px;
    line-height: 35px;
    letter-spacing: -0.6px;
    font-weight: 600;
}

.connect-form-header p {
    max-width: 620px;
    margin: 0;
    color: #768396;
    font-size: 13px;
    line-height: 22px;
}

.connect-form-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 14px;
    color: var(--trx-primary-dark, #2b7ec0);
    background: #eaf7fd;
}

.connect-form-icon svg {
    width: 26px;
    height: 26px;
}

.connect-success {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    margin-bottom: 28px;
    padding: 15px 17px;
    border: 1px solid #cae5d7;
    border-radius: 13px;
    background: #f2faf6;
}

.connect-success-icon {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 10px;
    color: #198754;
    background: #e2f4ea;
}

.connect-success-icon svg {
    width: 21px;
    height: 21px;
}

.connect-success strong,
.connect-success span {
    display: block;
}

.connect-success strong {
    margin-bottom: 2px;
    color: #276647;
    font-size: 13px;
    font-weight: 600;
}

.connect-success span {
    color: #647d6f;
    font-size: 12px;
    line-height: 19px;
}

.connect-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px 22px;
}

.connect-field-full {
    grid-column: 1 / -1;
}

.connect-field label {
    display: block;
    margin-bottom: 8px;
    color: #344658;
    font-size: 12px;
    line-height: 18px;
    font-weight: 600;
}

.connect-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.connect-label-row span {
    margin-bottom: 8px;
    color: #9ba6b2;
    font-size: 10px;
    line-height: 18px;
}

.connect-input-wrap {
    position: relative;
}

.connect-input-icon {
    position: absolute;
    top: 50%;
    left: 15px;
    z-index: 3;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-50%);
    color: #8c9aa9;
    pointer-events: none;
}

.connect-input-icon svg {
    width: 19px;
    height: 19px;
}

.connect-control,
.connect-textarea {
    width: 100%;
    border: 1px solid #dce4ea;
    border-radius: 11px;
    outline: none;
    background: #fff;
    color: #26394b;
    font-family: inherit;
    font-size: 13px;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.connect-control {
    height: 50px;
    padding: 0 15px 0 46px;
}

.connect-textarea {
    min-height: 135px;
    padding: 14px 15px;
    line-height: 22px;
    resize: vertical;
}

.connect-control::placeholder,
.connect-textarea::placeholder {
    color: #a5b0bc;
}

.connect-control:hover,
.connect-textarea:hover {
    border-color: #c5d0da;
}

.connect-control:focus,
.connect-textarea:focus {
    border-color: #4cb5e8;
    box-shadow: 0 0 0 3px rgba(76, 181, 232, 0.11);
}

.connect-control.is-invalid,
.connect-textarea.is-invalid {
    border-color: #dc3545;
}

.connect-error {
    margin-top: 6px;
    color: #dc3545;
    font-size: 11px;
    line-height: 17px;
}

.connect-field .select2-container {
    width: 100% !important;
}

.connect-field
.select2-container
.select2-selection--single {
    height: 50px;
    display: flex;
    align-items: center;
    border: 1px solid #dce4ea;
    border-radius: 11px;
    background: #fff;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.connect-field
.select2-container
.select2-selection--single
.select2-selection__rendered {
    width: 100%;
    padding: 0 42px 0 15px;
    color: #26394b;
    font-size: 13px;
    line-height: 48px;
}

.connect-field
.select2-container
.select2-selection--single
.select2-selection__placeholder {
    color: #a5b0bc;
}

.connect-field
.select2-container
.select2-selection--single
.select2-selection__arrow {
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
}

.connect-field
.select2-container--default.select2-container--focus
.select2-selection--single,
.connect-field
.select2-container--default.select2-container--open
.select2-selection--single {
    border-color: #4cb5e8;
    box-shadow: 0 0 0 3px rgba(76, 181, 232, 0.11);
}

.connect-field
select.is-invalid
+ .select2-container
.select2-selection--single {
    border-color: #dc3545;
}

.select2-dropdown {
    overflow: hidden;
    border: 1px solid #dce4ea;
    border-radius: 10px;
    box-shadow: 0 12px 30px rgba(20, 42, 66, 0.09);
}

.select2-container--default
.select2-results__option--highlighted[aria-selected] {
    background: #edf8fd;
    color: #267caf;
}

.connect-form-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    margin-top: 32px;
    padding-top: 27px;
    border-top: 1px solid #edf0f3;
}

.connect-form-footer p {
    max-width: 470px;
    margin: 0;
    color: #8793a2;
    font-size: 11px;
    line-height: 18px;
}

.connect-submit {
    min-width: 175px;
    height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-shrink: 0;
    padding: 0 21px;
    border: 1px solid #4cb5e8;
    border-radius: 11px;
    background: #4cb5e8;
    color: #fff;
    font-family: inherit;
    font-size: 13px;
    line-height: 19px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 9px 23px rgba(76, 181, 232, 0.2);
    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.connect-submit:hover:not(:disabled) {
    transform: translateY(-1px);
    border-color: #2b7ec0;
    background: #2b7ec0;
}

.connect-submit:disabled {
    opacity: 0.75;
    cursor: not-allowed;
}

.connect-submit-arrow {
    width: 18px;
    height: 18px;
    transition: transform 0.2s ease;
}

.connect-submit:hover .connect-submit-arrow {
    transform: translateX(3px);
}

.connect-spinner {
    display: none;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: connectSpin 0.7s linear infinite;
}

.connect-submit.is-loading .connect-spinner {
    display: block;
}

.connect-submit.is-loading .connect-submit-arrow {
    display: none;
}

@keyframes connectSpin {
    to {
        transform: rotate(360deg);
    }
}

.connect-side {
    display: grid;
    gap: 18px;
}

.connect-side-card {
    padding: 25px;
    border-radius: 18px;
    color: #fff;
    background:
        radial-gradient(
            circle at 100% 0%,
            rgba(76, 181, 232, 0.18),
            transparent 40%
        ),
        #14293e;
}

.connect-side-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    border-radius: 12px;
    color: #69c9f1;
    background: rgba(255, 255, 255, 0.06);
}

.connect-side-icon svg {
    width: 23px;
    height: 23px;
}

.connect-side-card h3 {
    margin-bottom: 9px;
    color: #fff;
    font-size: 17px;
    line-height: 23px;
    font-weight: 600;
}

.connect-side-card p {
    margin-bottom: 18px;
    color: #aab9c8;
    font-size: 12px;
    line-height: 20px;
}

.connect-side-card > a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #71cef4;
    font-size: 12px;
    line-height: 18px;
    font-weight: 600;
    text-decoration: none;
}

.connect-side-card > a svg {
    width: 16px;
    height: 16px;
    transition: transform 0.2s ease;
}

.connect-side-card > a:hover svg {
    transform: translateX(3px);
}

.connect-side-card-light {
    border: 1px solid #e2e9ef;
    color: #26394b;
    background: #fff;
}

.connect-side-small-title {
    display: block;
    margin-bottom: 18px;
    color: #172536;
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
}

.connect-side-card-light ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.connect-side-card-light li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 13px;
    color: #667587;
    font-size: 12px;
    line-height: 19px;
}

.connect-side-card-light li:last-child {
    margin-bottom: 0;
}

.connect-side-card-light li span {
    width: 23px;
    height: 23px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 50%;
    color: #2680b3;
    background: #eaf7fd;
}

.connect-side-card-light li svg {
    width: 13px;
    height: 13px;
}

@media (max-width: 1050px) {
    .connect-hero-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .connect-hero-features {
        grid-template-columns: 1fr 1fr;
        max-width: 760px;
    }

    .connect-layout {
        grid-template-columns: 1fr;
    }

    .connect-side {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 767px) {
    .connect-hero {
        padding: 60px 0 65px;
    }

    .connect-hero-content h1 {
        font-size: 42px;
        line-height: 48px;
        letter-spacing: -1.4px;
    }

    .connect-hero-content > p {
        font-size: 15px;
        line-height: 26px;
    }

    .connect-hero-features {
        grid-template-columns: 1fr;
    }

    .connect-page {
        padding: 55px 0 70px;
    }

    .connect-form-card {
        padding: 30px 24px;
        border-radius: 18px;
    }

    .connect-form-header {
        margin-bottom: 28px;
        padding-bottom: 25px;
    }

    .connect-form-icon {
        display: none;
    }

    .connect-form-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .connect-field-full {
        grid-column: auto;
    }

    .connect-form-footer {
        align-items: stretch;
        flex-direction: column;
    }

    .connect-submit {
        width: 100%;
    }

    .connect-side {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .connect-hero-content h1 {
        font-size: 37px;
        line-height: 43px;
    }

    .connect-form-card {
        padding: 26px 18px;
    }

    .connect-form-header h2 {
        font-size: 24px;
        line-height: 31px;
    }
}
.connect-select-wrap {
    position: relative;
}

.connect-native-select {
    width: 100%;
    height: 50px;
    padding: 0 46px 0 15px;
    border: 1px solid #dce4ea;
    border-radius: 11px;
    background: #fff;
    color: #26394b;
    font-family: inherit;
    font-size: 13px;
    line-height: 50px;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.connect-native-select:hover {
    border-color: #c5d0da;
}

.connect-native-select:focus {
    outline: none;
    border-color: #4cb5e8;
    box-shadow: 0 0 0 3px rgba(76, 181, 232, 0.11);
}

.connect-native-select.is-invalid {
    border-color: #dc3545;
}

.connect-native-select.is-invalid:focus {
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.connect-select-arrow {
    position: absolute;
    top: 50%;
    right: 15px;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-50%);
    color: #8493a3;
    pointer-events: none;
}

.connect-select-arrow svg {
    width: 18px;
    height: 18px;
}
