
        * {
            box-sizing: border-box;
        }

        :root {
            --bg: #080b12;
            --panel: #111722;
            --teal: #25b7b1;
            --teal-dark: #168e8a;
            --text: #f3f5f8;
            --muted: #98a3b5;
            --amber: #ffc76b;
        }

        body {
            min-height: 100vh;
            margin: 0;
            overflow-x: hidden;
            background: var(--bg);
            color: var(--text);
            font-family: Arial, Helvetica, sans-serif;
        }

        button,
        input {
            font-family: inherit;
        }

        .scene {
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
            min-height: 100vh;
            padding: 35px 24px;
            overflow: hidden;
            isolation: isolate;
            background:
                radial-gradient(ellipse at 23% 45%, #18202b 0%, transparent 38%),
                linear-gradient(125deg, #080b12 0%, #10141d 55%, #080b11 100%);
        }

        .lamp-glow {
            position: absolute;
            z-index: -1;
            top: 9%;
            left: 50%;
            width: min(650px, 85vw);
            height: min(650px, 85vw);
            border-radius: 50%;
            pointer-events: none;
            opacity: 0;
            transform: translateX(-50%) scale(.55);
            background: radial-gradient(
                circle,
                rgba(255, 181, 77, .22) 0%,
                rgba(255, 164, 65, .09) 38%,
                transparent 72%
            );
            transition: opacity 1s ease, transform 1s ease;
        }

        .scene.lamp-on .lamp-glow {
            opacity: 1;
            transform: translateX(-50%) scale(1);
        }

        .ambient-light {
            position: absolute;
            z-index: -1;
            inset: 0;
            pointer-events: none;
            opacity: 0;
            background: linear-gradient(
                110deg,
                transparent 15%,
                rgba(255, 183, 89, .045) 48%,
                transparent 85%
            );
            transition: opacity 1.2s ease;
        }

        .scene.lamp-on .ambient-light {
            opacity: 1;
        }

        .brand {
            position: absolute;
            top: 35px;
            left: 42px;
            display: flex;
            align-items: center;
            gap: 13px;
            z-index: 5;
        }

        .brand-icon {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 48px;
            height: 48px;
            border: 1px solid rgba(37, 183, 177, .35);
            border-radius: 14px;
            background: rgba(37, 183, 177, .08);
            color: var(--teal);
            font-size: 22px;
        }

        .brand-name {
            margin: 0;
            font-size: 23px;
            font-weight: 800;
            letter-spacing: 2px;
        }

        .brand-name span {
            color: var(--teal);
        }

        .brand-subtitle {
            margin-top: 4px;
            color: #929daf;
            font-size: 12px;
            letter-spacing: .3px;
        }

        .main-layout {
            display: grid;
            grid-template-columns: minmax(300px, 1fr) minmax(340px, 430px);
            align-items: center;
            gap: clamp(35px, 7vw, 100px);
            width: 100%;
            max-width: 1080px;
            margin-top: 35px;
        }

        .lamp-area {
            position: relative;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            min-height: 500px;
        }

        .lamp-caption {
            margin-bottom: 23px;
            color: #a4afc0;
            font-size: 13px;
            letter-spacing: 1.8px;
            text-align: center;
            text-transform: uppercase;
        }

        .lamp {
            position: relative;
            display: flex;
            flex-direction: column;
            align-items: center;
            width: 270px;
            height: 365px;
        }

        .lamp-shade {
            position: relative;
            z-index: 2;
            width: 230px;
            height: 175px;
            overflow: hidden;
            border-radius: 48% 48% 8% 8% / 15% 15% 5% 5%;
            background: linear-gradient(
                90deg,
                #141922 0%,
                #252b36 18%,
                #171d27 52%,
                #0e131c 100%
            );
            border-top: 5px solid #303744;
            border-bottom: 5px solid #080b11;
            box-shadow: 0 10px 25px rgba(0, 0, 0, .35);
            transition: background 1s ease, box-shadow 1s ease;
        }

        .lamp-shade::after {
            content: "";
            position: absolute;
            inset: 0;
            opacity: .12;
            background: repeating-linear-gradient(
                90deg,
                transparent 0,
                transparent 4px,
                #ffffff 5px,
                transparent 6px
            );
        }

        .scene.lamp-on .lamp-shade {
            background: linear-gradient(
                90deg,
                #b67a37 0%,
                #ffe0a1 28%,
                #ffca73 55%,
                #b77b3d 100%
            );
            box-shadow:
                0 0 35px rgba(255, 188, 96, .35),
                0 0 100px rgba(255, 177, 77, .14);
        }

        .lamp-neck {
            position: relative;
            z-index: 1;
            width: 36px;
            height: 130px;
            margin-top: -2px;
            background: linear-gradient(
                90deg,
                #4b3c2c,
                #c39a5f 35%,
                #59432d 70%,
                #17151a
            );
        }

        .lamp-neck::after {
            content: "";
            position: absolute;
            bottom: 0;
            left: -13px;
            width: 62px;
            height: 10px;
            border-radius: 50%;
            background: #6b5233;
        }

        .lamp-base {
            position: relative;
            z-index: 2;
            width: 145px;
            height: 29px;
            margin-top: -1px;
            border-radius: 50%;
            background: linear-gradient(
                180deg,
                #a17b49,
                #3c3025 55%,
                #111217
            );
            box-shadow: 0 13px 22px rgba(0, 0, 0, .55);
        }

        .lamp-table {
            position: absolute;
            bottom: 63px;
            width: 100%;
            height: 8px;
            border-radius: 50%;
            background: #25222a;
            box-shadow: 0 13px 24px rgba(0, 0, 0, .5);
        }

        .scene.lamp-on .lamp-table {
            background: #473526;
            box-shadow: 0 0 45px rgba(255, 178, 83, .18);
        }

        /* Tali dan bandul lampu */
        .cord-control {
            position: absolute;
            z-index: 10;
            top: 172px;
            left: calc(50% + 45px);
            width: 48px;
            height: 170px;
            padding: 0;
            border: 0;
            outline: none;
            background: transparent;
            cursor: grab;
            touch-action: none;
        }

        .cord-control:active {
            cursor: grabbing;
        }

        .cord {
            position: absolute;
            top: 0;
            left: 23px;
            width: 2px;
            height: 105px;
            border-radius: 2px;
            background: linear-gradient(90deg, #8c7457, #e1c69b, #6d5943);
            transform-origin: top center;
            transition: none;
            will-change: height, transform;
        }

        .cord-knob {
            position: absolute;
            top: 99px;
            left: 16px;
            width: 16px;
            height: 22px;
            border-radius: 50% 50% 45% 45%;
            background: linear-gradient(
                90deg,
                #75532f,
                #e3b76f 42%,
                #9c6e3c 75%,
                #4c3523
            );
            box-shadow: 0 3px 6px rgba(0, 0, 0, .5);
            transform-origin: 50% 0;
            transition: none;
            will-change: top, transform;
        }

        .cord-control:hover .cord-knob {
            box-shadow: 0 0 15px rgba(255, 198, 107, .45);
        }

        .cord-control:focus-visible {
            outline: 2px solid var(--teal);
            outline-offset: 5px;
            border-radius: 10px;
        }

        .cord-hint {
            position: absolute;
            top: 350px;
            display: flex;
            align-items: center;
            gap: 10px;
            color: #b1bbc9;
            font-size: 14px;
            white-space: nowrap;
            transition: opacity .4s ease;
        }

        .cord-hint i {
            color: var(--amber);
            animation: panahTurun 1.3s ease-in-out infinite;
        }

        @keyframes panahTurun {
            0%, 100% { transform: translateY(-3px); }
            50% { transform: translateY(4px); }
        }

        .scene.lamp-on .cord-hint {
            opacity: 0;
            pointer-events: none;
        }

        .pull-message {
            position: absolute;
            top: 390px;
            color: #ffc76b;
            font-size: 12px;
            letter-spacing: .5px;
            text-align: center;
            opacity: 0;
            transition: opacity .4s ease;
        }

        .scene.lamp-on .pull-message {
            opacity: 1;
        }

        .login-panel {
            position: relative;
            width: 100%;
            padding: 34px;
            overflow: hidden;
            border: 1px solid rgba(153, 169, 190, .15);
            border-radius: 22px;
            background: rgba(15, 20, 30, .88);
            box-shadow: 0 25px 80px rgba(0, 0, 0, .35);
            opacity: 0;
            visibility: hidden;
            transform: translateY(25px) scale(.97);
            pointer-events: none;
            transition:
                opacity .7s ease,
                transform .7s ease,
                visibility .7s ease,
                border-color .7s ease;
        }

        .scene.lamp-on .login-panel {
            opacity: 1;
            visibility: visible;
            transform: translateY(0) scale(1);
            pointer-events: auto;
            border-color: rgba(255, 190, 105, .22);
        }

        .login-panel::before {
            content: "";
            position: absolute;
            top: 0;
            left: 12%;
            width: 76%;
            height: 1px;
            background: linear-gradient(
                90deg,
                transparent,
                rgba(255, 199, 107, .55),
                transparent
            );
        }

        .login-icon {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 52px;
            height: 52px;
            margin-bottom: 22px;
            border: 1px solid rgba(37, 183, 177, .25);
            border-radius: 15px;
            background: rgba(37, 183, 177, .1);
            color: var(--teal);
            font-size: 21px;
        }

        .login-title {
            margin: 0 0 9px;
            color: #f6f7fa;
            font-size: 25px;
            font-weight: 700;
        }

        .login-description {
            margin-bottom: 27px;
            color: #99a4b5;
            font-size: 13px;
            line-height: 1.7;
        }

        .alert {
            border: 1px solid rgba(255, 100, 100, .25);
            border-radius: 10px;
            background: rgba(160, 43, 52, .15);
            color: #ffb3b7;
            font-size: 13px;
            overflow-wrap: anywhere;
        }

        .form-group {
            margin-bottom: 20px;
        }

        .form-group label {
            margin-bottom: 9px;
            color: #dce2ec;
            font-size: 13px;
            font-weight: 600;
        }

        .input-group-text {
            width: 46px;
            justify-content: center;
            border: 1px solid #303949;
            border-right: 0;
            border-radius: 10px 0 0 10px;
            background: #151c28;
            color: #8493a7;
        }

        .form-control {
            height: 47px;
            border: 1px solid #303949;
            border-radius: 0 10px 10px 0;
            background: #151c28;
            color: #f5f7fb;
            font-size: 14px;
            box-shadow: none;
        }

        .form-control:focus {
            border-color: var(--teal);
            background: #151c28;
            color: #fff;
            box-shadow: 0 0 0 3px rgba(37, 183, 177, .1);
        }

        .form-control::placeholder {
            color: #758195;
        }

        .form-control:-webkit-autofill,
        .form-control:-webkit-autofill:hover,
        .form-control:-webkit-autofill:focus {
            -webkit-text-fill-color: #fff;
            -webkit-box-shadow: 0 0 0 1000px #151c28 inset;
            transition: background-color 9999s ease-in-out 0s;
        }

        .password-toggle {
            width: 45px;
            border: 1px solid #303949;
            border-left: 0;
            border-radius: 0 10px 10px 0;
            background: #151c28;
            color: #8996a9;
            cursor: pointer;
        }

        .password-toggle:hover {
            color: var(--teal);
        }

        #password {
            border-radius: 0;
        }

        .btn-login {
            position: relative;
            width: 100%;
            height: 48px;
            margin-top: 5px;
            border: 0;
            border-radius: 10px;
            background: linear-gradient(110deg, #25aaa6, #27bcb4);
            color: #fff;
            font-size: 14px;
            font-weight: 700;
            letter-spacing: .3px;
            box-shadow: 0 7px 22px rgba(37, 183, 177, .15);
            transition: transform .2s ease, box-shadow .2s ease;
        }

        .btn-login:hover,
        .btn-login:focus {
            background: linear-gradient(110deg, #219c98, #25aaa6);
            color: #fff;
            box-shadow: 0 8px 26px rgba(37, 183, 177, .25);
            transform: translateY(-1px);
        }

        .btn-login:disabled {
            cursor: wait;
            opacity: .8;
        }

        .login-normal {
            display: inline-block;
        }

        .login-loading {
            display: none;
        }

        .btn-login.loading .login-normal {
            display: none;
        }

        .btn-login.loading .login-loading {
            display: inline-block;
        }

        .login-spinner {
            display: inline-block;
            width: 17px;
            height: 17px;
            margin-right: 8px;
            vertical-align: -4px;
            border: 2px solid rgba(255, 255, 255, .4);
            border-top-color: #fff;
            border-radius: 50%;
            animation: putar .7s linear infinite;
        }

        @keyframes putar {
            to { transform: rotate(360deg); }
        }

        .login-status {
            display: none;
            margin-top: 15px;
            padding: 12px;
            border: 1px solid rgba(37, 183, 177, .2);
            border-radius: 9px;
            background: rgba(37, 183, 177, .08);
            color: #a8e7e2;
            font-size: 13px;
            text-align: center;
        }

        .login-status.show {
            display: block;
            animation: statusMasuk .3s ease;
        }

        .login-status i {
            animation: putar 1s linear infinite;
        }

        .login-footer {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-top: 27px;
            color: #758195;
            font-size: 11px;
            text-align: center;
        }

        .login-footer::before,
        .login-footer::after {
            content: "";
            flex: 1;
            height: 1px;
            background: #2a3240;
        }

        .footer-text {
            margin-top: 15px;
            color: #758195;
            font-size: 11px;
            text-align: center;
        }

        .footer-text i {
            margin-right: 5px;
            color: var(--teal);
        }

        @keyframes statusMasuk {
            from {
                opacity: 0;
                transform: translateY(-5px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @media (max-width: 800px) {
            .scene {
                align-items: flex-start;
                padding: 105px 20px 35px;
            }

            .brand {
                top: 22px;
                left: 22px;
            }

            .brand-icon {
                width: 42px;
                height: 42px;
                font-size: 19px;
            }

            .brand-name {
                font-size: 19px;
            }

            .brand-subtitle {
                font-size: 10px;
            }

            .main-layout {
                grid-template-columns: 1fr;
                gap: 15px;
                max-width: 430px;
                margin-top: 0;
            }

            .lamp-area {
                min-height: 330px;
                transform: scale(.78);
                transform-origin: center top;
                margin-bottom: -55px;
            }

            .lamp-caption {
                margin-bottom: 10px;
                font-size: 11px;
            }

            .lamp {
                transform: scale(.82);
                transform-origin: top center;
            }

            .cord-control {
                top: 142px;
            }

            .cord-hint {
                top: 320px;
            }

            .pull-message {
                top: 350px;
            }

            .login-panel {
                padding: 27px 23px;
            }

            .login-title {
                font-size: 23px;
            }
        }

        @media (max-width: 380px) {
            .scene {
                padding-right: 14px;
                padding-left: 14px;
            }

            .brand {
                left: 16px;
            }

            .login-panel {
                padding: 23px 18px;
            }
        }

        @media (prefers-reduced-motion: reduce) {
            *,
            *::before,
            *::after {
                animation-duration: .01ms !important;
                animation-iteration-count: 1 !important;
                transition-duration: .01ms !important;
            }
        }
   