        /* =====================================================
           RESET
        ===================================================== */

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        html,
        body {
            width: 100%;
            height: 100%;
        }

        body {
            font-family:
                "Segoe UI",
                Arial,
                sans-serif;

            background: #f7f6fc;
            color: #17152d;
        }

        button,
        input {
            font-family: inherit;
        }

        a {
            text-decoration: none;
        }


        /* =====================================================
           MAIN
        ===================================================== */

        .register-page {
            width: 100%;
            height: 100vh;

            display: flex;

            overflow: hidden;

            background: #ffffff;
        }


        /* =====================================================
           LEFT SIDE
        ===================================================== */

        .register-showcase {
            width: 50%;
            height: 100vh;

            position: relative;
            overflow: hidden;

            display: flex;
            flex-direction: column;

            padding: 34px 54px;

            color: #ffffff;

            background:
                radial-gradient(
                    circle at 85% 8%,
                    rgba(118, 82, 232, 0.34),
                    transparent 31%
                ),
                radial-gradient(
                    circle at 0% 100%,
                    rgba(118, 82, 232, 0.18),
                    transparent 28%
                ),
                #17152d;
        }

        .register-showcase::before {
            content: "";

            position: absolute;

            width: 390px;
            height: 390px;

            right: -145px;
            top: -175px;

            border-radius: 50%;

            background:
                rgba(118, 82, 232, 0.10);
        }

        .register-showcase::after {
            content: "";

            position: absolute;

            width: 300px;
            height: 300px;

            left: -155px;
            bottom: -175px;

            border-radius: 50%;

            background:
                rgba(118, 82, 232, 0.10);
        }


        /* =====================================================
           BRAND
        ===================================================== */

        .register-brand {
            position: relative;
            z-index: 2;

            display: flex;
            align-items: center;

            gap: 11px;

            font-size: 22px;
            font-weight: 800;

            letter-spacing: -0.5px;
        }

        .brand-icon {
            width: 38px;
            height: 38px;

            display: flex;
            align-items: center;
            justify-content: center;

            border-radius: 11px;

            background: #7652e8;

            font-size: 19px;
            font-weight: 800;

            box-shadow:
                0 8px 22px rgba(118, 82, 232, 0.35);
        }


        /* =====================================================
           LEFT CONTENT
        ===================================================== */

        .register-showcase-content {
            position: relative;
            z-index: 2;

            width: 100%;
            max-width: 600px;

            margin: auto 0;
        }

        .showcase-badge {
            display: inline-flex;
            align-items: center;

            gap: 8px;

            padding: 8px 13px;

            border-radius: 30px;

            background:
                rgba(118, 82, 232, 0.14);

            border:
                1px solid rgba(160, 140, 240, 0.25);

            color: #c7bcff;

            font-size: 10px;
            font-weight: 700;

            letter-spacing: 0.8px;

            margin-bottom: 20px;
        }

        .badge-icon {
            width: 15px;
            height: 15px;
        }

        .showcase-title {
            font-size: clamp(42px, 4.5vw, 66px);

            line-height: 0.99;

            letter-spacing: -3px;

            font-weight: 800;

            margin-bottom: 22px;
        }

        .showcase-title span {
            color: #987cff;
        }

        .showcase-description {
            max-width: 520px;

            color: #bdb9d2;

            font-size: 14px;

            line-height: 1.65;

            margin-bottom: 28px;
        }


        /* =====================================================
           FLOW
        ===================================================== */

        .learning-flow {
            display: flex;
            align-items: center;

            gap: 11px;

            margin-bottom: 25px;
        }

        .flow-item {
            display: flex;
            align-items: center;

            gap: 8px;
        }

        .flow-number {
            width: 29px;
            height: 29px;

            display: flex;
            align-items: center;
            justify-content: center;

            border-radius: 50%;

            background: #7652e8;

            font-size: 11px;
            font-weight: 800;
        }

        .flow-text {
            color: #f7f5ff;

            font-size: 11px;
            font-weight: 700;
        }

        .flow-arrow {
            color: #6f6985;

            font-size: 15px;
        }


        /* =====================================================
           LEFT FOOTER
        ===================================================== */

        .showcase-bottom {
            border-top:
                1px solid rgba(255,255,255,0.10);

            padding-top: 17px;
        }

        .showcase-bottom p {
            max-width: 520px;

            color: #9e99b7;

            font-size: 11px;

            line-height: 1.55;
        }

        .showcase-bottom strong {
            color: #ffffff;
        }


        /* =====================================================
           RIGHT SIDE
        ===================================================== */

        .register-form-area {
            width: 50%;
            height: 100vh;

            position: relative;

            display: flex;
            flex-direction: column;

            background: #ffffff;
        }


        /* =====================================================
           TOP BAR
        ===================================================== */

        .register-topbar {
            width: 100%;

            display: flex;
            justify-content: flex-end;
            align-items: center;

            padding:
                28px 54px 0;
        }

        .back-home {
            display: inline-flex;
            align-items: center;

            gap: 7px;

            color: #67627b;

            font-size: 12px;
            font-weight: 600;

            transition: 0.2s ease;
        }

        .back-home:hover {
            color: #7652e8;
        }

        .back-icon {
            width: 15px;
            height: 15px;
        }


        /* =====================================================
           FORM CONTAINER
        ===================================================== */

        .register-form-container {
            width: 100%;
            max-width: 590px;

            margin: auto;

            padding:
                10px 54px 25px;
        }

        .form-eyebrow {
            color: #7652e8;

            font-size: 10px;
            font-weight: 800;

            letter-spacing: 2.5px;

            margin-bottom: 8px;
        }

        .form-title {
            color: #17152d;

            font-size: 34px;

            line-height: 1.1;

            letter-spacing: -1.4px;

            font-weight: 800;

            margin-bottom: 6px;
        }

        .form-subtitle {
            color: #8b8699;

            font-size: 12px;

            line-height: 1.5;

            margin-bottom: 21px;
        }


        /* =====================================================
           ERROR
        ===================================================== */

        .general-error {
            padding: 10px 12px;

            margin-bottom: 14px;

            border-radius: 9px;

            background: #fff1f1;

            border: 1px solid #ffd3d3;

            color: #c03939;

            font-size: 11px;
        }


        /* =====================================================
           FORM GROUP
        ===================================================== */

        .form-group {
            margin-bottom: 12px;
        }

        .form-label,
        .account-label {
            display: block;

            color: #29253f;

            font-size: 11px;
            font-weight: 700;

            margin-bottom: 6px;
        }


        /* =====================================================
           INPUT
        ===================================================== */

        .input-wrapper {
            position: relative;
        }

        .input-icon {
            position: absolute;

            left: 14px;
            top: 50%;

            transform: translateY(-50%);

            width: 16px;
            height: 16px;

            color: #a39db5;

            pointer-events: none;
        }

        .form-input {
            width: 100%;
            height: 43px;

            padding:
                0 42px 0 40px;

            border:
                1px solid #e5e1ec;

            border-radius: 10px;

            background: #ffffff;

            color: #27233c;

            font-size: 12px;

            outline: none;

            transition: 0.2s ease;
        }

        .form-input::placeholder {
            color: #aaa5b7;
        }

        .form-input:focus {
            border-color: #7652e8;

            box-shadow:
                0 0 0 3px
                rgba(118,82,232,0.08);
        }

        .form-input.input-error {
            border-color: #df6262;
        }


        /* =====================================================
           PASSWORD
        ===================================================== */

        .password-toggle {
            position: absolute;

            right: 11px;
            top: 50%;

            transform: translateY(-50%);

            width: 27px;
            height: 27px;

            display: flex;
            align-items: center;
            justify-content: center;

            border: none;

            background: transparent;

            color: #9993a9;

            cursor: pointer;
        }

        .password-toggle:hover {
            color: #7652e8;
        }

        .password-toggle svg {
            width: 16px;
            height: 16px;
        }


        /* =====================================================
           INLINE ERROR
        ===================================================== */

        .field-error {
            display: none;

            margin-top: 5px;

            color: #d14d4d;

            font-size: 10px;
            font-weight: 500;
        }

        .field-error.show {
            display: block;
        }


        /* =====================================================
           ROLE
        ===================================================== */

        .role-options {
            display: grid;

            grid-template-columns: 1fr 1fr;

            gap: 10px;
        }

        .role-card {
            position: relative;

            display: block;

            cursor: pointer;
        }

        .role-card input {
            position: absolute;

            opacity: 0;

            pointer-events: none;
        }

        .role-content {
            min-height: 54px;

            padding: 8px 11px;

            display: flex;
            align-items: center;

            gap: 10px;

            border:
                1px solid #e5e1ec;

            border-radius: 10px;

            background: #ffffff;

            transition: 0.2s ease;
        }

        .role-card:hover .role-content {
            border-color: #b7a8f2;
        }

        .role-card input:checked + .role-content {
            border-color: #8c6df0;

            background: #faf8ff;

            box-shadow:
                0 0 0 2px
                rgba(118,82,232,0.08);
        }

        .role-icon {
            width: 34px;
            height: 34px;

            flex-shrink: 0;

            display: flex;
            align-items: center;
            justify-content: center;

            border-radius: 9px;

            background: #f0edfa;

            color: #7652e8;
        }

        .role-icon svg {
            width: 17px;
            height: 17px;
        }

        .role-card input:checked
        + .role-content
        .role-icon {
            background: #7652e8;
            color: #ffffff;
        }

        .role-title {
            color: #28243c;

            font-size: 11px;
            font-weight: 800;

            margin-bottom: 2px;
        }

        .role-description {
            color: #9993a8;

            font-size: 9px;
        }


        /* =====================================================
           BUTTON
        ===================================================== */

        .register-button {
            width: 100%;
            height: 44px;

            margin-top: 17px;

            border: none;
            border-radius: 10px;

            display: flex;
            align-items: center;
            justify-content: center;

            gap: 8px;

            background: #7652e8;

            color: #ffffff;

            font-size: 12px;
            font-weight: 700;

            cursor: pointer;

            box-shadow:
                0 9px 20px
                rgba(118,82,232,0.20);

            transition: 0.2s ease;
        }

        .register-button:hover {
            background: #6844d7;

            transform: translateY(-1px);
        }

        .button-arrow {
            display: flex;
        }

        .button-arrow svg {
            width: 15px;
            height: 15px;
        }


        /* =====================================================
           BOTTOM LINKS
        ===================================================== */

        .signin-text {
            text-align: center;

            color: #9993a8;

            font-size: 10px;

            margin-top: 15px;
        }

        .signin-text a {
            color: #7652e8;

            font-weight: 700;

            margin-left: 3px;
        }

        .security-note {
            display: flex;
            align-items: center;
            justify-content: center;

            gap: 5px;

            margin-top: 13px;

            color: #aaa5b7;

            font-size: 9px;
        }

        .security-note svg {
            width: 12px;
            height: 12px;

            color: #8c7ce0;
        }


        /* =====================================================
           SMALL HEIGHT SCREEN
        ===================================================== */

        @media (max-height: 760px) {

            .register-showcase {
                padding-top: 25px;
                padding-bottom: 25px;
            }

            .register-topbar {
                padding-top: 18px;
            }

            .register-form-container {
                padding-top: 4px;
                padding-bottom: 12px;
            }

            .form-subtitle {
                margin-bottom: 14px;
            }

            .form-group {
                margin-bottom: 8px;
            }

            .form-input {
                height: 39px;
            }

            .role-content {
                min-height: 48px;
            }

            .register-button {
                height: 40px;
                margin-top: 12px;
            }

            .signin-text {
                margin-top: 10px;
            }

            .security-note {
                margin-top: 8px;
            }

        }


        /* =====================================================
           TABLET / MOBILE
        ===================================================== */

        @media (max-width: 850px) {

            .register-page {
                height: auto;
                min-height: 100vh;

                overflow: visible;

                flex-direction: column;
            }

            .register-showcase {
                width: 100%;
                height: auto;
                min-height: 470px;

                padding: 30px;
            }

            .register-form-area {
                width: 100%;
                height: auto;
                min-height: 600px;
            }

            .register-topbar {
                padding:
                    25px 30px 0;
            }

            .register-form-container {
                padding:
                    20px 30px 40px;
            }

        }


        @media (max-width: 550px) {

            .register-showcase {
                min-height: 420px;

                padding: 24px 22px;
            }

            .showcase-title {
                font-size: 42px;

                letter-spacing: -2px;
            }

            .showcase-description {
                font-size: 13px;
            }

            .learning-flow {
                gap: 7px;
            }

            .flow-arrow {
                display: none;
            }

            .register-topbar {
                padding:
                    20px 22px 0;
            }

            .register-form-container {
                padding:
                    18px 22px 35px;
            }

            .form-title {
                font-size: 30px;
            }

            .role-options {
                grid-template-columns: 1fr;
            }

        }

    
