.register-page {
    position: relative;
    min-height: calc(100vh - 80px);
    padding: 18px 0 48px;
    background: transparent;
}

.register-card {
    display: grid;
    grid-template-columns: minmax(300px, .68fr) minmax(0, 1.45fr);
    overflow: hidden;
    border: 1px solid rgba(23, 78, 31, .12);
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(20, 63, 27, .15);
}

.register-aside {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 34px;
    padding: clamp(30px, 4vw, 54px);
    overflow: hidden;
    background: linear-gradient(150deg, #155d27 0%, #24953a 55%, #66bd58 100%);
    color: #fff;
}

.register-aside::before,
.register-aside::after {
    position: absolute;
    content: "";
    border-radius: 50%;
    background: rgba(255, 255, 255, .09);
    pointer-events: none;
}

.register-aside::before {
    width: 290px;
    height: 290px;
    top: -125px;
    right: -120px;
}

.register-aside::after {
    width: 220px;
    height: 220px;
    bottom: -120px;
    left: -85px;
}

.register-aside > * {
    position: relative;
    z-index: 1;
}

.register-aside__brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 34px;
    font-weight: 900;
}

.register-aside__brand img {
    width: 48px;
    height: 48px;
    border: 2px solid rgba(255, 255, 255, .46);
    border-radius: 15px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, .16);
}

.register-aside__eyebrow,
.register-main__eyebrow {
    display: block;
    margin-bottom: 8px;
    font-size: .76rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.register-aside__eyebrow {
    color: rgba(255, 255, 255, .72);
}

.register-aside h2 {
    max-width: 390px;
    margin: 0 0 14px;
    font-size: clamp(1.8rem, 3vw, 2.55rem);
    font-weight: 900;
    line-height: 1.08;
}

.register-aside p {
    margin: 0;
    color: rgba(255, 255, 255, .86);
    line-height: 1.65;
}

.register-steps {
    display: grid;
    gap: 18px;
    margin: 34px 0 0;
    padding: 0;
    list-style: none;
}

.register-steps li {
    display: flex;
    align-items: center;
    gap: 13px;
}

.register-steps li > span {
    display: grid;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 11px;
    background: rgba(255, 255, 255, .16);
    font-weight: 900;
}

.register-steps strong,
.register-steps small {
    display: block;
}

.register-steps small {
    margin-top: 2px;
    color: rgba(255, 255, 255, .72);
}

.register-aside__footer {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    color: rgba(255, 255, 255, .8);
}

.register-aside__footer a {
    color: #fff;
    font-weight: 900;
}

.register-main {
    min-width: 0;
    padding: clamp(28px, 4vw, 54px);
    background: rgba(255, 255, 255, .98);
}

.register-main__head {
    margin-bottom: 24px;
}

.register-main__eyebrow {
    color: #2a7b3b;
}

.register-main__head h2 {
    margin: 0 0 6px;
    color: #17251a;
    font-size: clamp(1.7rem, 2.8vw, 2.25rem);
    font-weight: 900;
}

.register-main__head p {
    margin: 0;
    color: #687369;
}

.register-info {
    border: 0;
    border-left: 4px solid #288643;
    border-radius: 14px;
    background: #eff8f0;
    color: #27442d;
}

.register-form .form-label {
    margin-bottom: 7px;
    color: #334638;
    font-size: .87rem;
    font-weight: 800;
}

.register-form .form-control {
    min-height: 50px;
    border: 1px solid #dce6dc;
    border-radius: 13px;
    background: #fff;
}

.register-form textarea.form-control {
    min-height: 92px;
}

.register-form .form-control:focus {
    border-color: #45a954;
    box-shadow: 0 0 0 4px rgba(69, 169, 84, .13);
}

.register-username-preview {
    padding: 12px 14px;
    border: 1px solid #d8e7d9;
    border-radius: 13px;
    background: #f4f9f3;
    color: #35503a;
    font-weight: 700;
}

.register-username-preview code {
    padding: 3px 7px;
    border-radius: 7px;
    background: rgba(34, 120, 54, .1);
    color: #17632a;
    font-size: 1rem;
}

.register-consents {
    display: grid;
    gap: 10px;
    padding: 16px 18px;
    border: 1px solid #dfe9df;
    border-radius: 14px;
    background: #f8faf7;
}

.register-consents .form-check {
    margin: 0;
}

.register-consents a,
.login-links a {
    color: #217238;
    font-weight: 800;
}

.register-form .btn-primary {
    min-height: 52px;
    border-color: #207a34;
    background: linear-gradient(135deg, #1b6f2f, #35a649);
    font-weight: 850;
    box-shadow: 0 9px 22px rgba(38, 126, 55, .18);
}

.register-form .btn-primary:hover,
.register-form .btn-primary:focus-visible {
    border-color: #175b29;
    background: linear-gradient(135deg, #175f2a, #2e923f);
}

.form-antispam-field {
    position: absolute !important;
    left: -10000px !important;
    top: auto !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.turnstile-card {
    padding: 12px;
    border: 1px solid rgba(0, 0, 0, .12);
    border-radius: 14px;
    background: rgba(55, 178, 77, .06);
}

.turnstile-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.turnstile-widget-wrap {
    max-width: 100%;
    overflow: hidden;
}

.username-hint {
    margin-top: 6px;
    color: #526156;
    font-size: .78rem;
}

@media (max-width: 991.98px) {
    .register-card {
        grid-template-columns: 1fr;
    }

    .register-aside {
        padding: 30px;
    }

    .register-aside__brand {
        margin-bottom: 22px;
    }

    .register-steps {
        grid-template-columns: repeat(3, 1fr);
    }

    .register-steps li {
        align-items: flex-start;
    }

    .register-aside__footer {
        margin-top: 2px;
    }
}

@media (max-width: 767.98px) {
    .register-page {
        padding-top: 10px;
    }

    .register-card {
        border-radius: 20px;
    }

    .register-aside,
    .register-main {
        padding: 24px 20px 28px;
    }

    .register-aside h2 {
        font-size: 1.75rem;
    }

    .register-steps {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

@media (max-width: 575.98px) {
    .register-page .container {
        padding-inline: 10px;
    }

    .register-aside {
        display: none;
    }
}
