/* Shared Glass Theme */
        body {
            margin: 0;
            padding: 0;
            font-family: 'Bai Jamjuree', sans-serif;
            background: #0f172a;
            overflow: hidden;
            height: 100vh;
            display: flex;
        }

        .bg-slider {
            position: absolute;
            inset: 0;
            z-index: 0;
        }

        .bg-slider .slide {
            position: absolute;
            inset: 0;
            background-size: cover;
            background-position: center;
            opacity: 0;
            transition: opacity 1.5s ease-in-out;
            filter: brightness(0.6);
        }

        .bg-slider .slide.active {
            opacity: 1;
            transform: scale(1.05);
            transition: opacity 1.5s, transform 8s;
        }

        .login-container {
            position: relative;
            z-index: 10;
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            background: rgba(15, 23, 42, 0.65);
            backdrop-filter: blur(8px);
        }

        .glass-card {
            width: 100%;
            max-width: 440px;
            padding: 40px;
            margin: 20px;
            background: rgba(255, 255, 255, 0.08);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 24px;
            box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
            backdrop-filter: blur(20px);
            color: #fff;
        }

        h1 {
            font-family: 'Bai Jamjuree', sans-serif;
            font-weight: 700;
            font-size: 28px;
            margin: 0 0 10px;
            background: linear-gradient(135deg, #fff 0%, #cbd5e1 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        p.desc {
            color: #94a3b8;
            font-size: 15px;
            margin: 0 0 30px;
            font-weight: 300;
            line-height: 1.5;
        }

        .input-glass {
            width: 100%;
            padding: 14px 16px;
            background: rgba(0, 0, 0, 0.2);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 12px;
            color: #fff;
            font-size: 16px;
            font-family: inherit;
            transition: all 0.3s;
            box-sizing: border-box;
        }

        .input-glass:focus {
            outline: none;
            background: rgba(0, 0, 0, 0.4);
            border-color: #3b82f6;
        }

        .btn-submit {
            width: 100%;
            padding: 14px;
            margin-top: 24px;
            background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
            border: none;
            border-radius: 12px;
            color: #fff;
            font-weight: 600;
            font-size: 16px;
            cursor: pointer;
            transition: all 0.3s;
        }

        .btn-submit:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 20px -5px rgba(37, 99, 235, 0.4);
        }

        .btn-submit:disabled {
            opacity: 0.7;
            cursor: wait;
            transform: none;
        }

        .links {
            margin-top: 24px;
            text-align: center;
        }

        .links a {
            color: #94a3b8;
            text-decoration: none;
            font-size: 14px;
            transition: color 0.2s;
        }

        .links a:hover {
            color: #fff;
        }

        .alert-box {
            margin-top: 20px;
            padding: 14px;
            border-radius: 10px;
            font-size: 14px;
            display: none;
        }

        .alert-box.err {
            background: rgba(220, 38, 38, 0.2);
            color: #fca5a5;
            border: 1px solid rgba(220, 38, 38, 0.4);
        }

        .alert-box.ok {
            background: rgba(34, 197, 94, 0.2);
            color: #86efac;
            border: 1px solid rgba(34, 197, 94, 0.4);
        }

        @media (min-width: 1024px) {
            .login-container {
                justify-content: flex-end;
                padding-right: 10%;
                background: linear-gradient(90deg, rgba(15, 23, 42, 0) 0%, rgba(15, 23, 42, 0.6) 30%, rgba(15, 23, 42, 0.95) 100%);
                backdrop-filter: none;
            }

            .bg-slider {
                width: 100%;
            }
        }
