        :root {
            --sticky-gap: 12px;
            --top-height: 0px;
        }
        body {
            margin: 0;
            min-height: 100vh;
            font-family: Arial, sans-serif;
            color: #f5f7fb;
            background-image: url('background.jpg');
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            background-attachment: fixed;
        }
        #container {
            display: grid;
            grid-template-areas:
                "top top"
                "left right"
                "footer footer";
            grid-template-columns: minmax(240px, 320px) 1fr;
            grid-template-rows: auto 1fr auto;
            gap: 16px;
            width: min(1440px, calc(100% - 32px));
            min-height: 100vh;
            margin: 0 auto;
            padding: 16px;
            box-sizing: border-box;
            box-shadow: 0 18px 45px rgba(0, 0, 0, 0.32);
            position: relative;
            overflow: visible;
        }
        #container::before {
            content: "";
            position: absolute;
            inset: 0;
            pointer-events: none;
        }
        #top {
            grid-area: top;
            color: #ffffff;
            border-radius: 14px;
            //border: 1px solid rgba(255, 255, 255, 0.14);
            position: sticky;
            padding: 16px;
            margin: 0;
            top: var(--sticky-gap);
            z-index: 30;
        }
        #left {
            grid-area: left;
            color: #ffffff;
            padding: 14px;
            border-radius: 14px;
            //border: 1px solid rgba(255, 255, 255, 0.14);
            position: sticky;
            top: calc(var(--sticky-gap) + var(--top-height) + 12px);
            z-index: 20;
            align-self: start;
            max-height: calc(100vh - var(--top-height) - 36px);
            overflow-y: auto;
            overscroll-behavior: contain;
            scrollbar-width: thin;
        }
        #menuToggle {
            display: none;
            width: 100%;
            align-items: center;
            justify-content: space-between;
            padding: 10px 12px;
            background: rgba(255, 255, 255, 0.18);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 6px;
            cursor: pointer;
            font-size: 16px;
            font-weight: bold;
            color: #f5f7fb;
        }
        #menuArrow {
            font-size: 18px;
            transition: transform 0.2s ease;
        }
        #menu {
            list-style-type: none;
            padding: 0;
        }
        #menu li {
            cursor: pointer;
            padding: 8px;
            margin: 5px 0;
            background: rgba(255, 255, 255, 0.14);
            border: 1px solid rgba(255, 255, 255, 0.12);
            border-radius: 4px;
        }
        #menu li:hover {
            background: rgba(255, 255, 255, 0.24);
        }
        #menu li.active {
            background: rgba(91, 167, 255, 0.45);
            color: white;
            font-weight: bold;
        }
        #right {
            grid-area: right;
            color: #ffffff;
            padding: 18px;
            border-radius: 14px;
            //border: 1px solid rgba(255, 255, 255, 0.14);
            position: relative;
            z-index: 1;
        }
        #registerForm {
            max-width: 400px;
            width: 100%;
        }
        #registerForm label {
            display: block;
            margin-bottom: 5px;
        }
        #registerForm input, #registerForm select {
            width: 100%;
            box-sizing: border-box;
            padding: 8px;
            margin-bottom: 10px;
            border: 1px solid #ccc;
            border-radius: 4px;
        }
        .recaptcha-wrapper {
            width: 100%;
            margin: 12px 0 22px;
            overflow: hidden;
        }
        .recaptcha-wrapper .g-recaptcha {
            display: inline-block;
        }
        .password-field {
            position: relative;
            margin-bottom: 10px;
        }
        .password-field #password {
            padding-right: 42px;
            margin-bottom: 0;
        }
        #togglePassword {
            position: absolute;
            top: 50%;
            right: 10px;
            transform: translateY(-50%);
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 0;
            margin: 0;
            background: transparent;
            color: #333;
            border: none;
            cursor: pointer;
            font-size: 18px;
            line-height: 1;
        }
        #registerForm button[type="submit"] {
            padding: 10px 20px;
            background-color: #4CAF50;
            color: white;
            border: none;
            border-radius: 4px;
            cursor: pointer;
        }
        #registerForm button[type="submit"]:hover {
            background-color: #45a049;
        }
        #footer {
            grid-area: footer;
            color: #eaf2ff;
            padding: 12px;
            text-align: center;
            border-radius: 14px;
            //border: 1px solid rgba(255, 255, 255, 0.14);
            position: relative;
            z-index: 1;
        }
        @media (max-width: 768px) {
            #container {
                grid-template-areas:
                    "top"
                    "left"
                    "right"
                    "footer";
                grid-template-columns: 1fr;
                grid-template-rows: auto auto auto auto;
            }

            #top {
                top: 8px;
            }

            #left {
                position: sticky;
                top: calc(8px + var(--top-height) + 8px);
                z-index: 25;
                max-height: calc(100vh - var(--top-height) - 24px);
                overflow-y: auto;
            }

            #right {
                overflow-x: hidden;
                position: relative;
                z-index: 1;
            }

            #registerForm {
                max-width: 100%;
                --recaptcha-scale: min(1, calc((100vw - 72px) / 304));
            }

            .recaptcha-wrapper {
                width: calc(304px * var(--recaptcha-scale));
                max-width: 100%;
                height: calc(78px * var(--recaptcha-scale));
                margin: 5px 0 5px;
            }

            .recaptcha-wrapper .g-recaptcha {
                transform: scale(var(--recaptcha-scale));
                transform-origin: left top;
            }

            #registerForm input,
            #registerForm select,
            #registerForm button {
                font-size: 16px;
            }

            #menuToggle {
                display: flex;
            }

            #menu {
                display: none;
                margin-top: 10px;
            }

            #left.menu-open #menu {
                display: block;
            }

            #left.menu-open #menuArrow {
                transform: rotate(180deg);
            }
        }