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

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

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

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

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

        button,
        input {
            font-family: inherit;
        }

        a {
            text-decoration: none;
        }


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

        .login-wrapper {
            width: 100%;
            height: 100vh;

            display: flex;

            overflow: hidden;

            background: #ffffff;
        }


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

        .login-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;
        }

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

            position: absolute;

            width: 390px;
            height: 390px;

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

            border-radius: 50%;

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

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

            position: absolute;

            width: 300px;
            height: 300px;

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

            border-radius: 50%;

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

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

            width: 100%;
            height: 100%;

            display: flex;
            flex-direction: column;
        }


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

        .login-brand {
            display: flex;
            align-items: center;

            gap: 11px;

            color: #ffffff;

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

            letter-spacing: -0.5px;
        }

        .login-brand-box {
            width: 38px;
            height: 38px;

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

            border-radius: 11px;

            background: #7652e8;

            color: #ffffff;

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

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


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

        .showcase-main {
            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;
        }

        .showcase-main h1 {
            font-size: clamp(38px, 4vw, 58px);

            line-height: 1.05;

            letter-spacing: -2.4px;

            font-weight: 800;

            margin-bottom: 18px;
        }

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

        .showcase-main p {
            max-width: 480px;

            color: #bdb9d2;

            font-size: 14px;

            line-height: 1.65;

            margin-bottom: 30px;
        }


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

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

            gap: 14px;
        }

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

            gap: 10px;
        }

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

            flex: 0 0 auto;

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

            border-radius: 50%;

            background: #7652e8;

            color: #ffffff;

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

        .flow-text {
            display: flex;
            flex-direction: column;
        }

        .flow-text strong {
            color: #f7f5ff;

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

        .flow-text small {
            color: #9e99b7;

            font-size: 10px;
        }

        .flow-line {
            width: 28px;
            height: 1px;

            flex: 0 0 auto;

            background: rgba(255, 255, 255, 0.16);
        }


        /* =====================================================
           SHOWCASE FOOTER
        ===================================================== */

        .showcase-footer {
            display: flex;
            flex-wrap: wrap;

            gap: 16px 22px;

            border-top: 1px solid rgba(255, 255, 255, 0.10);

            padding-top: 20px;
        }

        .showcase-footer span {
            display: flex;
            align-items: center;

            gap: 7px;

            color: #cfc9e6;

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

        .showcase-footer i {
            color: #9c86ff;

            font-size: 13px;
        }


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

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

            position: relative;

            display: flex;
            flex-direction: column;

            background: #ffffff;
        }


        /* =====================================================
           BACK HOME
        ===================================================== */

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

            gap: 7px;

            width: fit-content;

            margin: 28px 0 0 54px;

            color: #67627b;

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

            transition: 0.2s ease;
        }

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


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

        .login-form-container {
            width: 100%;
            max-width: 460px;

            margin: auto;

            padding: 10px 54px 25px;
        }

        .login-heading {
            margin-bottom: 22px;
        }

        .login-eyebrow {
            display: block;

            color: #7652e8;

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

            letter-spacing: 2.5px;

            margin-bottom: 8px;
        }

        .login-heading h2 {
            color: #17152d;

            font-size: 30px;

            line-height: 1.15;

            letter-spacing: -1px;

            font-weight: 800;

            margin-bottom: 6px;
        }

        .login-heading p {
            color: #8b8699;

            font-size: 12.5px;

            line-height: 1.5;
        }


        /* =====================================================
           MESSAGES (success / error)
        ===================================================== */

        .login-message {
            display: flex;
            gap: 10px;

            padding: 12px 13px;

            margin-bottom: 18px;

            border-radius: 9px;

            font-size: 11.5px;
            line-height: 1.5;
        }

        .login-message i {
            margin-top: 1px;

            font-size: 14px;
        }

        .login-message strong {
            display: block;

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

            margin-bottom: 2px;
        }

        .login-message.success {
            background: #edfbf3;
            border: 1px solid #bfeecf;
            color: #1e8e4a;
        }

        .login-message.error {
            background: #fff1f1;
            border: 1px solid #ffd3d3;
            color: #c03939;
        }


        /* =====================================================
           FORM GROUP + INPUT
        ===================================================== */

        .login-form-group {
            margin-bottom: 14px;
        }

        .login-form-group > label {
            display: block;

            color: #29253f;

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

            margin-bottom: 6px;
        }

        .password-label-row {
            display: flex;
            justify-content: space-between;
            align-items: center;

            margin-bottom: 6px;
        }

        .password-label-row label {
            margin-bottom: 0;
        }

        .forgot-password {
            color: #7652e8;

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

        .forgot-password:hover {
            text-decoration: underline;
        }

        .login-input-box {
            position: relative;

            display: flex;
            align-items: center;
        }

        .login-input-box > i {
            position: absolute;

            left: 14px;

            width: 15px;

            color: #a39db5;

            font-size: 14px;

            pointer-events: none;
        }

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

            padding: 0 42px 0 40px;

            border: 1px solid #e5e1ec;

            border-radius: 10px;

            background: #ffffff;

            color: #27233c;

            font-size: 13px;

            outline: none;

            transition: 0.2s ease;
        }

        .login-input-box input::placeholder {
            color: #aaa5b7;
        }

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

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

        .login-input-box input.login-invalid {
            border-color: #df6262;
        }

        .login-password-toggle {
            position: absolute;

            right: 11px;

            width: 27px;
            height: 27px;

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

            border: none;

            background: transparent;

            color: #9993a9;

            cursor: pointer;
        }

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

        .login-field-error {
            display: block;

            min-height: 14px;

            margin-top: 5px;

            color: #d14d4d;

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


        /* =====================================================
           REMEMBER ME
        ===================================================== */

        .login-options {
            margin-bottom: 18px;
        }

        .remember-me {
            position: relative;

            display: flex;
            align-items: center;

            gap: 9px;

            cursor: pointer;

            color: #67627b;

            font-size: 12px;
        }

        .remember-me input[type="checkbox"] {
            position: absolute;

            width: 17px;
            height: 17px;

            opacity: 0;

            cursor: pointer;
        }

        .custom-check {
            width: 17px;
            height: 17px;

            flex: 0 0 auto;

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

            border: 1.5px solid #e5e1ec;

            border-radius: 5px;

            background: #ffffff;
        }

        .custom-check i {
            font-size: 11px;

            color: #ffffff;

            opacity: 0;
        }

        .remember-me input[type="checkbox"]:checked + .custom-check {
            background: #7652e8;

            border-color: #7652e8;
        }

        .remember-me input[type="checkbox"]:checked + .custom-check i {
            opacity: 1;
        }


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

        .login-submit {
            width: 100%;
            height: 46px;

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

            gap: 8px;

            border: none;
            border-radius: 10px;

            background: #7652e8;

            color: #ffffff;

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

            cursor: pointer;

            box-shadow: 0 10px 24px rgba(118, 82, 232, 0.28);

            transition: 0.2s ease;
        }

        .login-submit:hover {
            background: #5d42ce;
        }

        .login-submit i {
            font-size: 14px;
        }


        /* =====================================================
           REGISTER LINK + SECURITY NOTE
        ===================================================== */

        .login-register {
            text-align: center;

            margin-top: 18px;

            color: #67627b;

            font-size: 12px;
        }

        .login-register a {
            color: #7652e8;

            font-weight: 700;
        }

        .login-register a:hover {
            text-decoration: underline;
        }

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

            gap: 6px;

            margin-top: 22px;

            color: #a39db5;

            font-size: 10.5px;
        }


        /* =====================================================
           RESPONSIVE
        ===================================================== */

        @media (max-width: 900px) {

            .login-showcase {
                display: none;
            }

            .login-form-area {
                width: 100%;
            }
        }

    

/* Match the registration page's security-note icon */
.login-security svg {
    width: 12px;
    height: 12px;
    flex: 0 0 12px;
    color: #8c7ce0;
}
