﻿@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    --purple: #6435dc;
    --ink: #121a43;
    --muted: #69718d;
    --line: #e5e7f1;
}

.nx-register-page, .nx-register-page * {
    box-sizing: border-box;
}

.nx-register-page {
    padding: 34px 22px;
    background: radial-gradient(circle at 6% 15%, #f0ebff, transparent 28%), #fbfbfe;
    font-family: Inter, Arial, sans-serif;
    color: var(--ink);
}

.nx-register-layout {
    width: min(100%, 1160px);
    margin: auto;
    display: grid;
    grid-template-columns: 330px 1fr;
    overflow: hidden;
    border: 1px solid #edeef5;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 16px 42px rgba(33, 35, 83, .09);
}

.nx-register-aside {
    position: relative;
    display: flex;
    min-height: 950px;
    padding: 34px 29px;
    flex-direction: column;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(160deg, #211250, #4d29a7);
}

    .nx-register-aside::after {
        position: absolute;
        width: 260px;
        height: 260px;
        right: -150px;
        bottom: 90px;
        border: 45px solid rgba(255,255,255,.08);
        border-radius: 50%;
        content: '';
    }

.nx-register-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: 21px;
    font-weight: 800;
    text-decoration: none;
}

    .nx-register-brand img {
        width: 35px;
        height: 35px;
        border-radius: 9px;
        object-fit: cover;
    }

    .nx-register-brand span {
        color: #c6b3ff;
    }

.nx-aside-copy {
    margin-top: 70px;
}

.nx-aside-label {
    color: #d6c9ff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .13em;
}

.nx-aside-copy h1 {
    margin: 13px 0;
    color: #fff !important;
    font-size: 32px;
    line-height: 1.18;
    letter-spacing: -1.6px;
}

    .nx-aside-copy h1 em {
        color: #b99eff !important;
        font-style: normal;
    }

.nx-aside-copy p {
    margin: 0;
    color: #e5dfff !important;
    font-size: 13px;
    line-height: 1.7;
}

.nx-protection-art {
    position: relative;
    display: grid;
    width: 128px;
    height: 128px;
    margin: 47px auto 43px;
    place-items: center;
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 40px;
    color: #fff;
    background: radial-gradient(circle at 35% 25%, #bda6ff, #6035d1 61%, #3d208d);
    box-shadow: 0 19px 27px rgba(14,4,58,.35);
    font-size: 61px;
    transform: rotate(-5deg);
}

    .nx-protection-art span {
        position: absolute;
        inset: -17px;
        border: 1px solid rgba(207,191,255,.3);
        border-radius: 50%;
    }

        .nx-protection-art span:last-child {
            inset: -34px;
            border-color: rgba(207,191,255,.14);
        }

.nx-aside-benefits {
    display: grid;
    gap: 18px;
    padding: 0;
    margin: auto 0 0;
    list-style: none;
}

    .nx-aside-benefits li {
        display: flex;
        gap: 12px;
        align-items: flex-start;
    }

    .nx-aside-benefits i {
        display: grid;
        width: 33px;
        height: 33px;
        flex: 0 0 33px;
        place-items: center;
        border-radius: 9px;
        color: #d9cbff;
        background: rgba(255,255,255,.12);
        font-size: 14px;
    }

    .nx-aside-benefits strong, .nx-aside-benefits small {
        display: block;
    }

    .nx-aside-benefits strong {
        color: #fff;
        font-size: 12px;
    }

    .nx-aside-benefits small {
        margin-top: 3px;
        color: #ddd7f0;
        font-size: 10px;
        line-height: 1.45;
    }

.nx-register-panel {
    padding: 38px 42px 30px;
}

.nx-register-heading {
    margin-bottom: 25px;
}

    .nx-register-heading p {
        margin: 0 0 7px;
        color: var(--purple);
        font-size: 10px;
        font-weight: 800;
        letter-spacing: .12em;
    }

    .nx-register-heading h2 {
        margin: 0;
        color: var(--ink) !important;
        font-size: 27px;
        letter-spacing: -1.1px;
    }

    .nx-register-heading span {
        display: block;
        margin-top: 7px;
        color: var(--muted);
        font-size: 12px;
    }

.nx-register-section {
    padding: 20px 0;
    border-top: 1px solid var(--line);
}

.nx-section-title {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 17px;
}

    .nx-section-title > span {
        display: grid;
        width: 31px;
        height: 31px;
        place-items: center;
        border-radius: 9px;
        color: var(--purple);
        background: #f0ebff;
        font-size: 14px;
    }

    .nx-section-title h3 {
        margin: 0;
        color: var(--ink) !important;
        font-size: 14px;
    }

        .nx-section-title h3 small {
            color: #89839c;
            font-size: 10px;
            font-weight: 600;
        }

    .nx-section-title p {
        margin: 3px 0 0;
        color: var(--muted);
        font-size: 10px;
    }

.nx-field-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 20px;
}

.nx-field label {
    display: block;
    margin-bottom: 7px;
    color: #313955;
    font-size: 11px;
    font-weight: 700;
}

    .nx-field label b {
        color: #e34b61;
    }

.nx-control {
    position: relative;
}

    .nx-control > i:first-child {
        position: absolute;
        z-index: 1;
        top: 50%;
        left: 13px;
        transform: translateY(-50%);
        color: #7883a1;
        font-size: 14px;
        pointer-events: none;
    }

    .nx-control input, .nx-control select {
        width: 100%;
        height: 42px;
        border: 1px solid #dfe3ef;
        border-radius: 7px;
        outline: none;
        color: #313955;
        background: #fff;
        font: 12px Inter, sans-serif;
        transition: .2s;
    }

    .nx-control input {
        padding: 0 39px;
    }

        .nx-control input::placeholder {
            color: #929ab2;
        }

        .nx-control input:focus, .nx-control select:focus {
            border-color: #8560e5;
            box-shadow: 0 0 0 3px rgba(100,53,220,.1);
        }

.nx-select select {
    padding: 0 33px 0 13px;
    appearance: none;
}

.nx-select i {
    position: absolute;
    top: 50%;
    right: 13px;
    transform: translateY(-50%);
    color: #69759b;
    font-size: 10px;
    pointer-events: none;
}

.nx-eye {
    position: absolute;
    top: 50%;
    right: 7px;
    width: 28px;
    height: 28px;
    transform: translateY(-50%);
    border: 0;
    border-radius: 7px;
    color: #7e87a4;
    background: transparent;
    cursor: pointer;
}

    .nx-eye:hover {
        color: var(--purple);
        background: #f2eeff;
    }

.nx-medical-section {
    padding-bottom: 14px;
}

.nx-field-full {
    margin-top: 16px;
}

.nx-agreements {
    display: grid;
    gap: 10px;
    padding: 13px 14px;
    border-radius: 8px;
    background: #faf9fe;
}

    .nx-agreements label {
        display: flex;
        align-items: flex-start;
        gap: 8px;
        color: #5c6682;
        font-size: 10px;
        line-height: 1.45;
        cursor: pointer;
    }

    .nx-agreements input {
        width: 14px;
        height: 14px;
        flex: 0 0 14px;
        margin: 0;
        accent-color: var(--purple);
    }

    .nx-agreements a, .nx-login-link a {
        color: var(--purple);
        font-weight: 700;
        text-decoration: none;
    }

        .nx-agreements a:hover, .nx-login-link a:hover {
            text-decoration: underline;
        }

.nx-create-account {
    width: 100%;
    height: 45px;
    margin-top: 17px;
    border: 0;
    border-radius: 7px;
    color: #fff;
    background: linear-gradient(105deg, #5728c7, #733de1);
    box-shadow: 0 8px 16px rgba(84,39,193,.23);
    cursor: pointer;
    font: 700 12px Inter, sans-serif;
    transition: .2s;
}

    .nx-create-account:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 21px rgba(84,39,193,.32);
        filter: brightness(1.05);
    }

.nx-login-link {
    margin: 15px 0 0;
    text-align: center;
    color: #68718d;
    font-size: 11px;
}

@media (max-width: 880px) {
    .nx-register-layout {
        grid-template-columns: 1fr;
        max-width: 680px;
    }

    .nx-register-aside {
        min-height: auto;
        padding: 26px;
    }

    .nx-aside-copy {
        margin-top: 34px;
    }

    .nx-protection-art, .nx-aside-benefits {
        display: none;
    }
}

.nx-register-panel {
    padding: 31px 28px;
}

}

@media (max-width: 570px) {
    .nx-register-page {
        padding: 16px 10px;
    }

    .nx-register-panel {
        padding: 27px 18px;
    }

    .nx-field-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .nx-register-aside {
        padding: 23px 20px;
    }

    .nx-aside-copy h1 {
        font-size: 28px;
    }
}
