.register-page {
    --orange: #f47b00;
    --ink: #071534;
    min-height: 100vh;
    background: #f5f7fa;
    color: var(--ink);
}
.register-page .topbar {
    height: 58px;
    position: relative;
}
.register-page .nav {
    min-height: 58px;
}
.register-page main {
    min-height: auto;
    margin-top: 0;
    padding: 8px 0;
    background: #f5f7fa;
}
.register-shell {
    width: min(1260px, calc(100% - 88px));
    margin: 0 auto;
}
.register-card {
    display: grid;
    grid-template-columns: 44% 56%;
    min-height: 526px;
    overflow: hidden;
    border: 1px solid #d4dae3;
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(0, 22, 56, 0.08);
}
.register-promo {
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 42px 38px;
    background: #001128;
    color: #fff;
}
.register-promo-content {
    position: relative;
    z-index: 1;
    width: 100%;
}
.register-promo h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(30px, 3vw, 41px) !important;
    line-height: 1.04;
}
.register-promo h1 span {
    color: var(--orange);
}
.register-promo-copy {
    max-width: 290px;
    margin: 0;
    color: #f2f5fb;
    font-size: 13px;
    line-height: 1.45;
}
.register-orbit {
    margin-top: 8px;
    transform: scale(0.88);
    transform-origin: top center;
}
.register-promo .login-trust {
    max-width: 100%;
    margin-top: -34px;
}
.register-orbit .login-orbit-center img {
    width: 78px;
    height: auto;
    object-fit: contain;
}
.register-form-panel {
    display: flex;
    justify-content: center;
    padding: 25px 30px 20px;
    background: #fff;
}
.register-form-wrap {
    width: min(100%, 575px);
}
.register-form-wrap h2 {
    color: var(--ink);
    font-size: 25px !important;
    text-align: center;
}
.register-form-subtitle {
    margin: 2px 0 17px;
    color: #738099;
    font-size: 12px;
    text-align: center;
}
.register-form-subtitle a {
    color: var(--orange);
    font-weight: 700;
}
.register-step {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    min-height: 25px;
    margin: 10px 0 7px;
}
.register-step-number {
    display: grid;
    width: 18px;
    height: 18px;
    margin-top: 0;
    place-items: center;
    flex: 0 0 auto;
    border: 1px solid #7655c9;
    border-radius: 50%;
    color: #7655c9;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
}
.register-step > div {
    min-width: 0;
}
.register-step strong {
    display: block;
    color: #1d2841;
    font-size: 11px;
}
.register-step > div > span {
    display: block;
    margin-top: 2px;
    color: #39455d;
    font-size: 9px;
}
.register-types {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}
.register-error {
    margin: 0 0 12px;
    padding: 9px 11px;
    border: 1px solid #f2b8b5;
    border-radius: 6px;
    background: #fff1f0;
    color: #9b1c1c;
    font-size: 11px;
}
.register-type {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 125px;
    padding: 11px 8px 8px;
    border: 1px solid #dce1e8;
    border-radius: 8px;
    background: #fff;
    color: #18223a;
    cursor: pointer;
    text-align: center;
}
.register-type:hover,
.register-type.selected {
    border-color: #8b65dd;
    box-shadow: 0 0 0 1px #8b65dd;
}
.register-type:focus-visible {
    outline: 3px solid rgba(244, 123, 0, 0.28);
    outline-offset: 2px;
}
.register-type.selected {
    background: #faf8ff;
}
.register-type.selected:before {
    position: absolute;
    top: 3px;
    left: 5px;
    color: #8b65dd;
    content: "✓";
    font-size: 11px;
    font-weight: 800;
}
.register-type i {
    display: block;
    margin-bottom: 5px;
    color: #7655c9;
    font-size: 25px;
}
.register-type:nth-child(2) i {
    color: #f47b00;
}
.register-type:nth-child(3) i {
    color: #199866;
}
.register-type:nth-child(4) i {
    color: #3477d2;
}
.register-type strong {
    display: block;
    font-size: 10px;
}
.register-type span {
    display: block;
    margin-top: 5px;
    color: #39455d;
    font-size: 9px;
    line-height: 1.35;
}
.register-type > span:not(.register-type-check) {
    flex: 1;
}
.register-type-check {
    display: grid;
    width: 18px;
    height: 18px;
    margin: 7px auto 0;
    place-items: center;
    border-radius: 50%;
    background: #7655c9;
    color: #fff;
    font-size: 10px;
}
.register-form {
    margin-top: 7px;
}
.register-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 15px;
}
.register-field {
    margin-bottom: 9px;
}
.register-field label {
    display: block;
    margin-bottom: 4px;
    color: #1d2841;
    font-size: 9px;
    font-weight: 700;
}
.register-field input,
.register-field select {
    width: 100%;
    height: 29px;
    padding: 0 10px;
    border: 1px solid #d6dbe4;
    border-radius: 4px;
    background: #fff;
    color: var(--ink);
    font:
        10px "DM Sans",
        sans-serif;
    outline: none;
}
.register-field input:focus,
.register-field select:focus {
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(244, 123, 0, 0.12);
}
.register-field-icon {
    position: relative;
}
.register-field-icon input,
.register-field-icon select {
    padding-left: 29px;
}
.register-field-icon i {
    position: absolute;
    top: 29px;
    left: 10px;
    color: #79859a;
    font-size: 11px;
    transform: translateY(-50%);
}
.register-field-icon .register-eye {
    position: absolute;
    right: 5px;
    bottom: 3px;
    display: grid;
    width: 24px;
    height: 24px;
    place-items: center;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}
.register-field-icon .register-eye i {
    position: static;
    transform: none;
}
.register-field-icon .register-eye:focus-visible {
    outline: 2px solid var(--orange);
    outline-offset: 1px;
    border-radius: 4px;
}
.register-field-icon:has(.register-eye) input {
    padding-right: 35px;
}
.register-phone {
    display: grid;
    grid-template-columns: 74px 1fr;
    gap: 6px;
}
.register-phone select {
    padding: 0 5px;
}
.register-terms {
    display: flex;
    gap: 7px;
    align-items: center;
    margin: 2px 0 10px;
    color: #39455d;
    font-size: 9px;
}
.register-terms input {
    accent-color: var(--orange);
}
.register-terms a {
    color: var(--orange);
}
.register-submit {
    display: block;
    width: min(255px, 100%);
    height: 31px;
    margin: 0;
    border: 0;
    border-radius: 4px;
    background: var(--orange);
    color: #fff;
    cursor: pointer;
    font:
        700 10px "DM Sans",
        sans-serif;
}
.register-submit:hover {
    background: #d96800;
}
.register-note {
    margin: 10px 0 0;
    color: #66728a;
    font-size: 9px;
}
.register-note i {
    margin-right: 5px;
}
.register-page footer {
    margin-top: 0;
}
@media (max-width: 1000px) {
    .register-shell {
        width: min(760px, calc(100% - 30px));
    }
    .register-card {
        grid-template-columns: 1fr;
    }
    .register-promo {
        min-height: 430px;
    }
    .register-form-panel {
        padding: 32px 25px;
    }
}
@media (max-width: 620px) {
    .register-shell {
        width: calc(100% - 20px);
        margin: 10px auto;
    }
    .register-page main {
        padding: 0;
    }
    .register-promo {
        min-height: 330px;
        padding: 24px 16px;
    }
    .register-promo h1 {
        font-size: 27px !important;
    }
    .register-promo-copy {
        max-width: 240px;
        font-size: 11px;
    }
    .register-orbit {
        transform: scale(0.58);
        transform-origin: top center;
        margin-top: 0;
        margin-bottom: -88px;
    }
    .register-types,
    .register-fields {
        grid-template-columns: 1fr 1fr;
    }
    .register-form-panel {
        padding: 24px 14px;
    }
    .register-form-wrap h2 {
        font-size: 21px !important;
    }
    .register-form-subtitle {
        margin-bottom: 12px;
        font-size: 10px;
    }
    .register-type {
        min-height: 105px;
        padding: 8px 6px 6px;
    }
    .register-type i {
        margin-bottom: 3px;
        font-size: 21px;
    }
    .register-type strong {
        font-size: 9px;
    }
    .register-type span {
        margin-top: 3px;
        font-size: 8px;
    }
    .register-page footer {
        display: none;
    }
}
@media (max-width: 390px) {
    .register-types,
    .register-fields {
        grid-template-columns: 1fr;
    }
    .register-type {
        min-height: 78px;
        flex-direction: row;
        gap: 6px;
        justify-content: flex-start;
        padding: 7px 9px;
        text-align: left;
    }
    .register-type i {
        width: 25px;
        margin: 0;
        flex: 0 0 auto;
        text-align: center;
    }
    .register-type strong {
        min-width: 100px;
    }
    .register-type > span:not(.register-type-check) {
        flex: 1;
        margin: 0;
    }
    .register-type-check {
        width: 16px;
        height: 16px;
        margin: 0;
        flex: 0 0 auto;
    }
}
