.register-page {
    padding: 36px 0 80px;
    display: flex;
    justify-content: center;
}

.register-card {
    width: min(1040px, 100%);
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 560px;
    border-radius: 18px;
    overflow: hidden;
    background: rgba(18, 16, 28, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.register-visual {
    position: relative;
    min-height: 420px;
}

.register-visual-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.register-visual-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(12, 8, 24, 0.18) 0%, rgba(12, 8, 24, 0.82) 100%);
}

.register-visual-copy {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 36px;
    gap: 12px;
}

.register-kicker {
    margin: 0;
    color: #c4b5fd;
    font-size: 13px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.register-visual-title {
    margin: 0;
    color: #fff;
    font-size: 32px;
    line-height: 1.2;
    font-weight: 700;
}

.register-visual-text {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 15px;
    line-height: 1.55;
    max-width: 420px;
}

.register-form {
    padding: 42px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.register-form-head {
    margin-bottom: 8px;
}

.register-hint {
    margin: 4px 0 18px;
    color: var(--SecondColorText, #858C95);
    font-size: 13px;
    line-height: 1.45;
}

.register-form .inputs-group {
    gap: 16px;
    padding-bottom: 14px;
}

.register-form .object-input {
    margin-bottom: 0;
    position: relative;
}

.register-form .show-password {
    z-index: 2;
    pointer-events: auto;
}

.register-form #register_login {
    padding-left: 52px;
}

.register-form img.avatar-user-auth,
.register-form img.loading-avatar {
    left: 12px;
    margin-left: 0;
    top: 17px;
    width: 26px;
    height: 27px;
    pointer-events: none;
}

.register-form .error-message {
    position: absolute;
    left: 0;
    top: calc(100% + 2px);
    width: 100%;
    margin: 0;
    height: auto;
    min-height: 0;
    line-height: 1.2;
    pointer-events: none;
    transform: none;
    z-index: 1;
}

.register-form .error-message.is-visible {
    opacity: 1;
}

.register-submit {
    width: 100%;
}

@media (max-width: 920px) {
    .register-card {
        grid-template-columns: 1fr;
    }

    .register-visual {
        min-height: 220px;
    }

    .register-visual-title {
        font-size: 24px;
    }

    .register-form {
        padding: 28px 22px 36px;
    }
}
