@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&display=swap');

        :root {
            --bg-deep: #050a18;
            --bg-mid: #0a1628;
            --bg-card: #0d1b2e;
            --surface: rgba(15, 30, 56, 0.65);
            --surface-hover: rgba(20, 40, 72, 0.75);
            --border: rgba(56, 189, 248, 0.12);
            --border-hover: rgba(56, 189, 248, 0.28);
            --accent-1: #38bdf8;
            --accent-2: #818cf8;
            --accent-3: #22d3ee;
            --accent-glow: rgba(56, 189, 248, 0.35);
            --text-primary: #f0f9ff;
            --text-secondary: #94a3b8;
            --text-muted: #64748b;
            --gradient-brand: linear-gradient(135deg, #38bdf8 0%, #818cf8 50%, #22d3ee 100%);
        }

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

        body,
        html {
            height: 100%;
            overflow: hidden;
            font-family: 'Plus Jakarta Sans', sans-serif;
            background: var(--bg-deep);
        }

        /* ═══════════════════════════════════════ */
        /*  STAGE: Full-screen Split Layout       */
        /* ═══════════════════════════════════════ */
        .login-stage {
            position: fixed;
            inset: 0;
            display: grid;
            grid-template-columns: 1fr 1fr;
            background: var(--bg-deep);
        }

        /* ═══════════════════════════════════════ */
        /*  LEFT PANEL: Immersive Brand Showcase  */
        /* ═══════════════════════════════════════ */
        .showcase-panel {
            position: relative;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            padding: 60px 40px;
        }

        /* Aurora Background */
        .aurora {
            position: absolute;
            inset: 0;
            overflow: hidden;
        }

        .aurora-blob {
            position: absolute;
            border-radius: 50%;
            filter: blur(80px);
            opacity: 0.5;
            animation: auroraMove 20s ease-in-out infinite alternate;
        }

        .aurora-blob:nth-child(1) {
            width: 600px;
            height: 600px;
            background: radial-gradient(circle, rgba(56, 189, 248, 0.4), transparent 70%);
            top: -10%;
            left: -10%;
            animation-duration: 18s;
        }

        .aurora-blob:nth-child(2) {
            width: 500px;
            height: 500px;
            background: radial-gradient(circle, rgba(129, 140, 248, 0.35), transparent 70%);
            bottom: -15%;
            right: -5%;
            animation-duration: 22s;
            animation-delay: -5s;
        }

        .aurora-blob:nth-child(3) {
            width: 400px;
            height: 400px;
            background: radial-gradient(circle, rgba(34, 211, 238, 0.3), transparent 70%);
            top: 40%;
            left: 50%;
            transform: translateX(-50%);
            animation-duration: 25s;
            animation-delay: -10s;
        }

        @keyframes auroraMove {
            0% {
                transform: translate(0, 0) scale(1);
            }

            33% {
                transform: translate(30px, -40px) scale(1.1);
            }

            66% {
                transform: translate(-20px, 20px) scale(0.95);
            }

            100% {
                transform: translate(15px, -15px) scale(1.05);
            }
        }

        /* Grid Overlay */
        .grid-overlay {
            position: absolute;
            inset: 0;
            background-image:
                linear-gradient(rgba(56, 189, 248, 0.03) 1px, transparent 1px),
                linear-gradient(90deg, rgba(56, 189, 248, 0.03) 1px, transparent 1px);
            background-size: 48px 48px;
            mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 80%);
        }

        /* Floating Geometric Shapes */
        .geo-shape {
            position: absolute;
            border: 1.5px solid rgba(56, 189, 248, 0.15);
            opacity: 0.4;
        }

        .geo-hex {
            width: 90px;
            height: 90px;
            clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
            background: rgba(56, 189, 248, 0.04);
            border: none;
            top: 12%;
            right: 15%;
            animation: geoFloat 12s ease-in-out infinite, geoRotate 30s linear infinite;
        }

        .geo-diamond {
            width: 50px;
            height: 50px;
            border-color: rgba(129, 140, 248, 0.2);
            transform: rotate(45deg);
            bottom: 20%;
            left: 12%;
            animation: geoFloat 15s ease-in-out infinite reverse;
        }

        .geo-circle {
            width: 70px;
            height: 70px;
            border-radius: 50%;
            border-color: rgba(34, 211, 238, 0.15);
            top: 65%;
            right: 8%;
            animation: geoFloat 10s ease-in-out infinite;
            animation-delay: -3s;
        }

        .geo-tri {
            width: 0;
            height: 0;
            border-left: 30px solid transparent;
            border-right: 30px solid transparent;
            border-bottom: 52px solid rgba(56, 189, 248, 0.06);
            top: 30%;
            left: 8%;
            animation: geoFloat 18s ease-in-out infinite;
            animation-delay: -7s;
        }

        .geo-ring {
            width: 120px;
            height: 120px;
            border-radius: 50%;
            border-width: 2px;
            border-color: rgba(129, 140, 248, 0.08);
            bottom: 35%;
            right: 20%;
            animation: geoFloat 14s ease-in-out infinite, geoRotate 40s linear infinite reverse;
        }

        @keyframes geoFloat {

            0%,
            100% {
                transform: translateY(0);
            }

            50% {
                transform: translateY(-25px);
            }
        }

        @keyframes geoRotate {
            0% {
                transform: rotate(0deg);
            }

            100% {
                transform: rotate(360deg);
            }
        }

        /* Showcase Content */
        .showcase-content {
            position: relative;
            z-index: 10;
            text-align: center;
            max-width: 440px;
        }

        /* Animated Logo Orb */
        .logo-orb {
            position: relative;
            width: 140px;
            height: 140px;
            margin: 0 auto 48px;
        }

        .orb-glow {
            position: absolute;
            inset: -20px;
            border-radius: 50%;
            background: radial-gradient(circle, var(--accent-glow), transparent 70%);
            animation: orbGlow 4s ease-in-out infinite;
        }

        @keyframes orbGlow {

            0%,
            100% {
                opacity: 0.5;
                transform: scale(1);
            }

            50% {
                opacity: 0.8;
                transform: scale(1.15);
            }
        }

        .orb-ring {
            position: absolute;
            inset: -8px;
            border-radius: 50%;
            border: 2px dashed rgba(56, 189, 248, 0.2);
            animation: orbRingSpin 20s linear infinite;
        }

        .orb-ring::before {
            content: '';
            position: absolute;
            top: -4px;
            left: 50%;
            transform: translateX(-50%);
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: var(--accent-1);
            box-shadow: 0 0 12px var(--accent-1);
        }

        @keyframes orbRingSpin {
            0% {
                transform: rotate(0deg);
            }

            100% {
                transform: rotate(360deg);
            }
        }

        .orb-body {
            position: relative;
            width: 140px;
            height: 140px;
            border-radius: 36px;
            background: linear-gradient(135deg, rgba(56, 189, 248, 0.15), rgba(129, 140, 248, 0.15));
            border: 1.5px solid rgba(56, 189, 248, 0.25);
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            animation: orbBreath 5s ease-in-out infinite;
        }

        .orb-body::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
            animation: orbShine 4s ease-in-out infinite;
        }

        @keyframes orbBreath {

            0%,
            100% {
                transform: scale(1);
            }

            50% {
                transform: scale(1.03);
            }
        }

        @keyframes orbShine {
            0% {
                left: -100%;
            }

            50%,
            100% {
                left: 100%;
            }
        }

        .orb-body img {
            width: 100px;
            height: 100px;
            filter: brightness(0) invert(1) drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
            position: relative;
            z-index: 2;
            object-fit: contain;
            image-rendering: auto;
        }

        /* Brand Typography */
        .showcase-brand {
            font-family: 'Space Grotesk', sans-serif;
            font-size: 56px;
            font-weight: 700;
            line-height: 1;
            margin-bottom: 20px;
            background: var(--gradient-brand);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            background-size: 200% 200%;
            animation: gradientShift 6s ease-in-out infinite;
        }

        @keyframes gradientShift {

            0%,
            100% {
                background-position: 0% 50%;
            }

            50% {
                background-position: 100% 50%;
            }
        }

        .showcase-subtitle {
            font-size: 16px;
            color: var(--text-secondary);
            line-height: 1.7;
            font-weight: 400;
            margin-bottom: 16px;
        }

        .showcase-region {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 8px 20px;
            border-radius: 100px;
            background: rgba(56, 189, 248, 0.08);
            border: 1px solid rgba(56, 189, 248, 0.15);
            font-size: 12px;
            font-weight: 600;
            color: var(--accent-1);
            letter-spacing: 2.5px;
            text-transform: uppercase;
        }

        .region-dot {
            width: 6px;
            height: 6px;
            border-radius: 50%;
            background: var(--accent-3);
            animation: dotPulse 2s ease-in-out infinite;
        }

        @keyframes dotPulse {

            0%,
            100% {
                opacity: 1;
                transform: scale(1);
            }

            50% {
                opacity: 0.5;
                transform: scale(0.7);
            }
        }

        /* Stats Strip */
        .stats-strip {
            display: flex;
            gap: 32px;
            justify-content: center;
            margin-top: 50px;
            padding-top: 36px;
            border-top: 1px solid rgba(56, 189, 248, 0.08);
        }

        .stat-item {
            text-align: center;
        }

        .stat-value {
            font-family: 'Space Grotesk', sans-serif;
            font-size: 28px;
            font-weight: 700;
            color: var(--text-primary);
            line-height: 1;
            margin-bottom: 4px;
        }

        .stat-label {
            font-size: 11px;
            color: var(--text-muted);
            text-transform: uppercase;
            letter-spacing: 1px;
            font-weight: 500;
        }

        /* ═══════════════════════════════════════ */
        /*  RIGHT PANEL: Login Card               */
        /* ═══════════════════════════════════════ */
        .login-panel {
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 40px;
            background: var(--bg-mid);
            overflow: hidden;
        }

        /* Subtle noise texture */
        .login-panel::before {
            content: '';
            position: absolute;
            inset: 0;
            background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
            opacity: 0.5;
        }

        /* Ambient light leak */
        .login-panel::after {
            content: '';
            position: absolute;
            top: -30%;
            left: -20%;
            width: 60%;
            height: 60%;
            background: radial-gradient(circle, rgba(56, 189, 248, 0.04), transparent 70%);
            pointer-events: none;
        }

        .login-form-wrapper {
            position: relative;
            z-index: 10;
            width: 100%;
            max-width: 420px;
            animation: formEntrance 0.9s cubic-bezier(0.16, 1, 0.3, 1);
        }

        @keyframes formEntrance {
            0% {
                opacity: 0;
                transform: translateX(30px);
            }

            100% {
                opacity: 1;
                transform: translateX(0);
            }
        }

        /* Welcome Text */
        .welcome-badge {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 6px 14px;
            border-radius: 100px;
            background: rgba(56, 189, 248, 0.06);
            border: 1px solid var(--border);
            font-size: 12px;
            font-weight: 600;
            color: var(--accent-1);
            letter-spacing: 0.5px;
            margin-bottom: 28px;
        }

        .welcome-badge .badge-dot {
            width: 6px;
            height: 6px;
            border-radius: 50%;
            background: #34d399;
            box-shadow: 0 0 8px rgba(52, 211, 153, 0.5);
            animation: dotPulse 2s ease-in-out infinite;
        }

        .login-heading {
            font-family: 'Space Grotesk', sans-serif;
            font-size: 32px;
            font-weight: 700;
            color: var(--text-primary);
            margin-bottom: 10px;
            line-height: 1.2;
        }

        .login-desc {
            font-size: 15px;
            color: var(--text-secondary);
            line-height: 1.6;
            margin-bottom: 40px;
        }

        /* SSO Login Card */
        .sso-card {
            position: relative;
            background: var(--surface);
            border: 1px solid var(--border);
            border-radius: 20px;
            padding: 32px;
            backdrop-filter: blur(20px);
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .sso-card:hover {
            border-color: var(--border-hover);
            background: var(--surface-hover);
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(56, 189, 248, 0.1);
        }

        .sso-label {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 11px;
            font-weight: 600;
            color: var(--text-muted);
            text-transform: uppercase;
            letter-spacing: 1.5px;
            margin-bottom: 20px;
        }

        .sso-label-line {
            flex: 1;
            height: 1px;
            background: linear-gradient(90deg, var(--border), transparent);
        }

        /* Main SSO Button */
        .sso-btn {
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 14px;
            width: 100%;
            padding: 18px 28px;
            border-radius: 14px;
            border: none;
            background: linear-gradient(135deg, #38bdf8 0%, #6366f1 100%);
            color: white;
            font-family: 'Plus Jakarta Sans', sans-serif;
            font-size: 16px;
            font-weight: 700;
            text-decoration: none;
            cursor: pointer;
            transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
            box-shadow:
                0 8px 32px rgba(56, 189, 248, 0.25),
                0 2px 4px rgba(0, 0, 0, 0.1),
                inset 0 1px 0 rgba(255, 255, 255, 0.15);
            overflow: hidden;
        }

        .sso-btn::before {
            content: '';
            position: absolute;
            inset: 0;
            border-radius: 14px;
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent 60%);
            opacity: 0;
            transition: opacity 0.35s ease;
        }

        .sso-btn:hover {
            transform: translateY(-2px);
            box-shadow:
                0 16px 48px rgba(56, 189, 248, 0.35),
                0 4px 8px rgba(0, 0, 0, 0.15),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
        }

        .sso-btn:hover::before {
            opacity: 1;
        }

        .sso-btn:active {
            transform: translateY(0);
            box-shadow:
                0 4px 16px rgba(56, 189, 248, 0.2),
                inset 0 2px 4px rgba(0, 0, 0, 0.1);
        }

        .sso-btn-icon {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 36px;
            height: 36px;
            border-radius: 10px;
            background: rgba(255, 255, 255, 0.15);
            font-size: 18px;
            flex-shrink: 0;
        }

        .sso-btn-text {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            gap: 2px;
        }

        .sso-btn-label {
            font-size: 16px;
            font-weight: 700;
            line-height: 1;
        }

        .sso-btn-sub {
            font-size: 11px;
            font-weight: 400;
            opacity: 0.8;
            line-height: 1;
        }

        .sso-btn-arrow {
            margin-left: auto;
            font-size: 20px;
            opacity: 0.6;
            transition: all 0.3s ease;
        }

        .sso-btn:hover .sso-btn-arrow {
            opacity: 1;
            transform: translateX(4px);
        }

        /* Info strip below SSO */
        .sso-info {
            display: flex;
            align-items: center;
            gap: 8px;
            margin-top: 16px;
            padding: 12px 16px;
            border-radius: 10px;
            background: rgba(52, 211, 153, 0.05);
            border: 1px solid rgba(52, 211, 153, 0.12);
        }

        .sso-info-icon {
            font-size: 14px;
            flex-shrink: 0;
        }

        .sso-info-text {
            font-size: 12px;
            color: rgba(52, 211, 153, 0.8);
            font-weight: 500;
            line-height: 1.4;
        }

        /* Local Dev Bypass */
        .dev-bypass {
            margin-top: 28px;
            padding: 20px;
            border-radius: 16px;
            background: rgba(251, 191, 36, 0.03);
            border: 1px dashed rgba(251, 191, 36, 0.2);
        }

        .dev-bypass-header {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            margin-bottom: 16px;
        }

        .dev-bypass-label {
            font-size: 10px;
            font-weight: 700;
            color: rgba(251, 191, 36, 0.7);
            text-transform: uppercase;
            letter-spacing: 2px;
        }

        .dev-bypass-line {
            flex: 1;
            height: 1px;
            background: rgba(251, 191, 36, 0.1);
        }

        .dev-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 8px;
        }

        .dev-btn {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            padding: 10px 12px;
            border-radius: 10px;
            font-size: 11px;
            font-weight: 700;
            text-decoration: none;
            transition: all 0.25s ease;
            border: 1px solid;
        }

        .dev-btn-superadmin {
            background: rgba(239, 68, 68, 0.08);
            border-color: rgba(239, 68, 68, 0.2);
            color: #fca5a5;
        }

        .dev-btn-superadmin:hover {
            background: rgba(239, 68, 68, 0.15);
            border-color: rgba(239, 68, 68, 0.35);
            transform: translateY(-1px);
        }

        .dev-btn-admin {
            background: rgba(99, 102, 241, 0.08);
            border-color: rgba(99, 102, 241, 0.2);
            color: #a5b4fc;
        }

        .dev-btn-admin:hover {
            background: rgba(99, 102, 241, 0.15);
            border-color: rgba(99, 102, 241, 0.35);
            transform: translateY(-1px);
        }

        .dev-btn-user1 {
            background: rgba(16, 185, 129, 0.06);
            border-color: rgba(16, 185, 129, 0.18);
            color: #6ee7b7;
        }

        .dev-btn-user1:hover {
            background: rgba(16, 185, 129, 0.12);
            border-color: rgba(16, 185, 129, 0.3);
            transform: translateY(-1px);
        }

        .dev-btn-user2 {
            background: rgba(217, 70, 239, 0.06);
            border-color: rgba(217, 70, 239, 0.18);
            color: #f0abfc;
        }

        .dev-btn-user2:hover {
            background: rgba(217, 70, 239, 0.12);
            border-color: rgba(217, 70, 239, 0.3);
            transform: translateY(-1px);
        }

        /* Footer */
        .login-footer {
            margin-top: 40px;
            padding-top: 28px;
            border-top: 1px solid rgba(56, 189, 248, 0.06);
            text-align: center;
        }

        .footer-powered {
            font-size: 10px;
            color: var(--text-muted);
            text-transform: uppercase;
            letter-spacing: 2px;
            font-weight: 600;
            margin-bottom: 12px;
        }

        .footer-ecosystem {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            padding: 10px 22px;
            border-radius: 100px;
            background: linear-gradient(135deg, rgba(56, 189, 248, 0.06), rgba(129, 140, 248, 0.06));
            border: 1px solid rgba(56, 189, 248, 0.1);
        }

        .footer-eco-icon {
            font-size: 14px;
            animation: ecoSpin 8s linear infinite;
        }

        @keyframes ecoSpin {
            0% {
                transform: rotate(0deg);
            }

            100% {
                transform: rotate(360deg);
            }
        }

        .footer-eco-text {
            font-family: 'Space Grotesk', sans-serif;
            font-size: 13px;
            font-weight: 600;
            color: var(--accent-1);
            letter-spacing: 1.5px;
        }

        /* ═══════════════════════════════════════ */
        /*  GLOBAL LOADER                         */
        /* ═══════════════════════════════════════ */
        #global-loader {
            position: fixed;
            inset: 0;
            background: rgba(5, 10, 24, 0.96);
            backdrop-filter: blur(30px);
            z-index: 9999;
            display: none;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: opacity 0.5s ease;
        }

        #global-loader.active {
            display: flex;
            opacity: 1;
        }

        .loader-ring {
            position: relative;
            width: 80px;
            height: 80px;
            margin-bottom: 32px;
        }

        .loader-ring-track {
            position: absolute;
            inset: 0;
            border: 3px solid rgba(56, 189, 248, 0.1);
            border-radius: 50%;
        }

        .loader-ring-fill {
            position: absolute;
            inset: 0;
            border: 3px solid transparent;
            border-top-color: var(--accent-1);
            border-right-color: var(--accent-2);
            border-radius: 50%;
            animation: loaderSpin 1s cubic-bezier(0.5, 0, 0.5, 1) infinite;
        }

        .loader-ring-dot {
            position: absolute;
            top: -3px;
            left: 50%;
            transform: translateX(-50%);
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: var(--accent-1);
            box-shadow: 0 0 12px var(--accent-1);
            animation: loaderSpin 1s cubic-bezier(0.5, 0, 0.5, 1) infinite;
        }

        @keyframes loaderSpin {
            0% {
                transform: rotate(0deg);
            }

            100% {
                transform: rotate(360deg);
            }
        }

        .loader-brand {
            font-family: 'Space Grotesk', sans-serif;
            font-size: 26px;
            font-weight: 700;
            color: var(--text-primary);
            margin-bottom: 10px;
            letter-spacing: 1px;
        }

        .loader-status {
            font-size: 14px;
            color: var(--text-secondary);
            font-weight: 400;
        }

        .loader-dots::after {
            content: '';
            animation: loadingDots 1.5s steps(4) infinite;
        }

        @keyframes loadingDots {

            0%,
            20% {
                content: '';
            }

            40% {
                content: '.';
            }

            60% {
                content: '..';
            }

            80%,
            100% {
                content: '...';
            }
        }

        /* ═══════════════════════════════════════ */
        /*  RESPONSIVE                            */
        /* ═══════════════════════════════════════ */

        /* Large desktop - subtle adjustments */
        @media (max-width: 1280px) {
            .showcase-brand {
                font-size: 48px;
            }

            .showcase-subtitle {
                font-size: 15px;
            }
        }

        /* Tablet landscape & small laptops */
        @media (max-width: 1024px) {
            .login-stage {
                grid-template-columns: 1fr;
                grid-template-rows: auto 1fr;
                position: relative;
                min-height: 100vh;
                overflow-y: auto;
            }

            body,
            html {
                overflow: auto;
                height: auto;
            }

            .showcase-panel {
                padding: 40px 30px 30px;
                min-height: auto;
            }

            .logo-orb {
                width: 100px;
                height: 100px;
                margin-bottom: 24px;
            }

            .orb-glow {
                inset: -12px;
            }

            .orb-ring {
                inset: -6px;
            }

            .orb-body {
                width: 100px;
                height: 100px;
                border-radius: 26px;
            }

            .orb-body img {
                width: 68px;
                height: 68px;
            }

            .showcase-brand {
                font-size: 36px;
                margin-bottom: 12px;
            }

            .showcase-subtitle {
                font-size: 14px;
                margin-bottom: 12px;
            }

            .stats-strip {
                margin-top: 24px;
                padding-top: 20px;
                gap: 24px;
            }

            .stat-value {
                font-size: 22px;
            }

            .geo-shape {
                display: none;
            }

            .login-panel {
                padding: 30px 24px 40px;
            }

            .login-form-wrapper {
                max-width: 460px;
                margin: 0 auto;
            }

            .login-heading {
                font-size: 26px;
            }

            .login-desc {
                font-size: 14px;
                margin-bottom: 28px;
            }
        }

        /* Tablet portrait */
        @media (max-width: 768px) {
            .showcase-panel {
                padding: 32px 24px 24px;
            }

            .logo-orb {
                width: 88px;
                height: 88px;
                margin-bottom: 20px;
            }

            .orb-body {
                width: 88px;
                height: 88px;
                border-radius: 22px;
            }

            .orb-body img {
                width: 58px;
                height: 58px;
            }

            .showcase-brand {
                font-size: 32px;
                margin-bottom: 10px;
            }

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

            .showcase-region {
                font-size: 11px;
                padding: 6px 16px;
            }

            .stats-strip {
                gap: 20px;
                margin-top: 20px;
                padding-top: 16px;
            }

            .stat-value {
                font-size: 20px;
            }

            .stat-label {
                font-size: 10px;
            }

            .login-panel {
                padding: 24px 20px 36px;
            }

            .login-heading {
                font-size: 24px;
            }

            .sso-card {
                padding: 24px;
                border-radius: 16px;
            }

            .sso-btn {
                padding: 16px 20px;
                border-radius: 12px;
                font-size: 15px;
            }

            .login-footer {
                margin-top: 28px;
                padding-top: 20px;
            }
        }

        /* Mobile */
        @media (max-width: 480px) {
            .showcase-panel {
                padding: 28px 20px 20px;
            }

            .logo-orb {
                width: 76px;
                height: 76px;
                margin-bottom: 16px;
            }

            .orb-glow {
                inset: -8px;
            }

            .orb-ring {
                inset: -4px;
            }

            .orb-body {
                width: 76px;
                height: 76px;
                border-radius: 20px;
            }

            .orb-body img {
                width: 50px;
                height: 50px;
            }

            .showcase-brand {
                font-size: 28px;
                margin-bottom: 8px;
            }

            .showcase-subtitle {
                font-size: 12px;
                line-height: 1.5;
                margin-bottom: 10px;
            }

            .showcase-region {
                font-size: 10px;
                padding: 5px 14px;
                letter-spacing: 2px;
            }

            .stats-strip {
                flex-wrap: wrap;
                gap: 16px;
                margin-top: 16px;
                padding-top: 14px;
            }

            .stat-value {
                font-size: 18px;
            }

            .login-panel {
                padding: 20px 16px 32px;
            }

            .login-form-wrapper {
                max-width: 100%;
            }

            .welcome-badge {
                font-size: 11px;
                margin-bottom: 20px;
            }

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

            .login-desc {
                font-size: 13px;
                margin-bottom: 24px;
            }

            .sso-card {
                padding: 20px;
                border-radius: 14px;
            }

            .sso-btn {
                padding: 14px 16px;
                gap: 10px;
                border-radius: 10px;
            }

            .sso-btn-icon {
                width: 32px;
                height: 32px;
                border-radius: 8px;
                font-size: 16px;
            }

            .sso-btn-label {
                font-size: 14px;
            }

            .sso-btn-sub {
                font-size: 10px;
            }

            .sso-info {
                padding: 10px 12px;
            }

            .sso-info-text {
                font-size: 11px;
            }

            .dev-bypass {
                margin-top: 20px;
                padding: 16px;
            }

            .dev-grid {
                grid-template-columns: 1fr;
                gap: 6px;
            }

            .dev-btn {
                padding: 8px 10px;
                font-size: 10px;
            }

            .login-footer {
                margin-top: 24px;
                padding-top: 18px;
            }

            .footer-powered {
                font-size: 9px;
            }

            .footer-eco-text {
                font-size: 11px;
            }
        }

        /* Very small mobile */
        @media (max-width: 360px) {
            .showcase-brand {
                font-size: 24px;
            }

            .showcase-subtitle {
                font-size: 11px;
            }

            .login-heading {
                font-size: 20px;
            }

            .login-desc {
                font-size: 12px;
            }

            .sso-btn-label {
                font-size: 13px;
            }

            .stat-value {
                font-size: 16px;
            }

            .stats-strip {
                gap: 12px;
            }
        }

        /* Landscape mobile */
        @media (max-height: 600px) and (orientation: landscape) {

            .showcase-panel {
                padding: 20px;
            }

            .logo-orb {
                width: 70px;
                height: 70px;
                margin-bottom: 12px;
            }

            .orb-body {
                width: 70px;
                height: 70px;
                border-radius: 18px;
            }

            .orb-body img {
                width: 46px;
                height: 46px;
            }

            .showcase-brand {
                font-size: 28px;
                margin-bottom: 8px;
            }

            .showcase-subtitle {
                font-size: 12px;
                margin-bottom: 8px;
            }

            .stats-strip {
                margin-top: 12px;
                padding-top: 12px;
            }

            .login-panel {
                padding: 20px;
            }

            .login-heading {
                font-size: 22px;
            }
        }