
        /* ============================================================
           LOGIN PAGE — PREMIUM DARK INDUSTRIAL DESIGN
           ============================================================ */
        #loginModal {
            position: fixed;
            inset: 0;
            z-index: 50;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            background: #060810;
        }

        /* Animated mesh gradient background */
        .login-bg {
            position: absolute;
            inset: 0;
            overflow: hidden;
        }
        .login-bg::before {
            content: '';
            position: absolute;
            width: 900px;
            height: 900px;
            top: -200px;
            left: -200px;
            background: radial-gradient(circle, rgba(249,115,22,0.12) 0%, transparent 65%);
            animation: loginOrb1 12s ease-in-out infinite alternate;
        }
        .login-bg::after {
            content: '';
            position: absolute;
            width: 700px;
            height: 700px;
            bottom: -150px;
            right: -150px;
            background: radial-gradient(circle, rgba(234,88,12,0.10) 0%, transparent 65%);
            animation: loginOrb2 15s ease-in-out infinite alternate;
        }
        .login-bg-orb3 {
            position: absolute;
            width: 500px;
            height: 500px;
            top: 40%;
            left: 55%;
            background: radial-gradient(circle, rgba(251,146,60,0.06) 0%, transparent 65%);
            animation: loginOrb3 18s ease-in-out infinite alternate;
            pointer-events: none;
        }
        @keyframes loginOrb1 {
            from { transform: translate(0, 0) scale(1); }
            to   { transform: translate(80px, 60px) scale(1.15); }
        }
        @keyframes loginOrb2 {
            from { transform: translate(0, 0) scale(1); }
            to   { transform: translate(-60px, -80px) scale(1.2); }
        }
        @keyframes loginOrb3 {
            from { transform: translate(0, 0) scale(1); }
            to   { transform: translate(-40px, 50px) scale(1.1); }
        }

        /* Grid overlay texture */
        .login-grid {
            position: absolute;
            inset: 0;
            background-image:
                linear-gradient(rgba(249,115,22,0.04) 1px, transparent 1px),
                linear-gradient(90deg, rgba(249,115,22,0.04) 1px, transparent 1px);
            background-size: 50px 50px;
            pointer-events: none;
        }

        /* Glassmorphism card */
        .login-card {
            position: relative;
            z-index: 10;
            width: 100%;
            max-width: 440px;
            margin: 1rem;
            background: rgba(20, 24, 32, 0.85);
            backdrop-filter: blur(24px);
            -webkit-backdrop-filter: blur(24px);
            border: 1px solid rgba(249,115,22,0.25);
            border-radius: 20px;
            padding: 2.5rem 2rem;
            box-shadow:
                0 0 0 1px rgba(255,255,255,0.04),
                0 32px 64px rgba(0,0,0,0.6),
                0 0 80px rgba(249,115,22,0.08),
                inset 0 1px 0 rgba(255,255,255,0.06);
            animation: loginCardIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
        }
        @keyframes loginCardIn {
            from { opacity: 0; transform: translateY(30px) scale(0.97); }
            to   { opacity: 1; transform: translateY(0) scale(1); }
        }

        /* Top accent line */
        .login-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 10%;
            right: 10%;
            height: 2px;
            background: linear-gradient(90deg, transparent, #f97316, #ea580c, transparent);
            border-radius: 0 0 2px 2px;
        }

        /* Logo area */
        .login-logo-wrap {
            display: flex;
            justify-content: center;
            margin-bottom: 1.5rem;
        }
        .login-logo-ring {
            width: 120px;
            height: 120px;
            border-radius: 50%;
            background: rgba(249,115,22,0.08);
            border: 2px solid rgba(249,115,22,0.3);
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 10px;
            box-shadow: 0 0 24px rgba(249,115,22,0.15), inset 0 0 12px rgba(249,115,22,0.05);
            animation: logoPulse 3s ease-in-out infinite;
        }
        @keyframes logoPulse {
            0%, 100% { box-shadow: 0 0 24px rgba(249,115,22,0.15), inset 0 0 12px rgba(249,115,22,0.05); }
            50%       { box-shadow: 0 0 40px rgba(249,115,22,0.30), inset 0 0 20px rgba(249,115,22,0.10); }
        }
        .login-logo-ring img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            border-radius: 50%;
            transform: scale(1.2);
        }

        /* Badge */
        .login-secure-badge {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 4px 14px;
            border-radius: 100px;
            font-size: 0.62rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.12em;
            background: rgba(249,115,22,0.12);
            color: #fb923c;
            border: 1px solid rgba(249,115,22,0.28);
            margin-bottom: 0.75rem;
            font-family: 'Rajdhani', sans-serif;
        }
        .login-secure-badge .badge-dot {
            width: 6px;
            height: 6px;
            background: #22c55e;
            border-radius: 50%;
            animation: badgeBlink 1.8s ease-in-out infinite;
        }
        @keyframes badgeBlink {
            0%, 100% { opacity: 1; }
            50%       { opacity: 0.4; }
        }

        /* Brand heading */
        .login-brand-title {
            font-family: 'Rajdhani', 'Oswald', sans-serif;
            font-size: 1.65rem;
            font-weight: 700;
            letter-spacing: 0.1em;
            text-transform: uppercase;
            color: #ffffff;
            line-height: 1.1;
            text-shadow: 0 2px 20px rgba(0,0,0,0.8), 0 0 30px rgba(249,115,22,0.25);
        }
        .login-brand-title span {
            color: #f97316;
        }
        .login-brand-sub {
            font-size: 0.7rem;
            letter-spacing: 0.2em;
            text-transform: uppercase;
            color: #94a3b8;
            margin-top: 6px;
            font-family: 'Inter', sans-serif;
        }

        /* Divider */
        .login-divider {
            display: flex;
            align-items: center;
            gap: 12px;
            margin: 1.5rem 0;
        }
        .login-divider::before,
        .login-divider::after {
            content: '';
            flex: 1;
            height: 1px;
            background: linear-gradient(90deg, transparent, rgba(249,115,22,0.2), transparent);
        }
        .login-divider-label {
            font-size: 0.6rem;
            letter-spacing: 0.18em;
            text-transform: uppercase;
            color: #94a3b8;
            font-family: 'Rajdhani', sans-serif;
            white-space: nowrap;
        }

        /* Input group */
        .login-field {
            margin-bottom: 1.1rem;
        }
        .login-field label {
            display: flex;
            align-items: center;
            gap: 6px;
            font-size: 0.65rem;
            font-weight: 700;
            letter-spacing: 0.14em;
            text-transform: uppercase;
            color: #94a3b8;
            margin-bottom: 8px;
            font-family: 'Rajdhani', sans-serif;
        }
        .login-field label i {
            color: #f97316;
            font-size: 0.7rem;
        }
        .login-input-wrap {
            position: relative;
        }
        .login-input {
            width: 100%;
            background: rgba(255,255,255,0.04) !important;
            border: 1.5px solid rgba(255,255,255,0.08) !important;
            color: #f1f5f9 !important;
            padding: 0.75rem 1rem 0.75rem 2.8rem;
            border-radius: 10px;
            outline: none;
            font-size: 0.9rem;
            transition: all 0.25s ease;
            font-family: 'Inter', sans-serif;
        }
        .login-input::placeholder {
            color: #64748b;
        }
        .login-input:focus {
            background: rgba(249,115,22,0.05) !important;
            border-color: rgba(249,115,22,0.5) !important;
            box-shadow: 0 0 0 3px rgba(249,115,22,0.1) !important;
            color: #ffffff !important;
        }

        /* Fix Browser Autofill making background light and text invisible */
        .login-input:-webkit-autofill,
        .login-input:-webkit-autofill:hover, 
        .login-input:-webkit-autofill:focus, 
        .login-input:-webkit-autofill:active {
            -webkit-box-shadow: 0 0 0 30px #0f131a inset !important;
            -webkit-text-fill-color: #ffffff !important;
            transition: background-color 5000s ease-in-out 0s;
        }
        .login-input-icon {
            position: absolute;
            left: 0.9rem;
            top: 50%;
            transform: translateY(-50%);
            color: #475569;
            font-size: 0.8rem;
            pointer-events: none;
            transition: color 0.2s;
        }
        .login-input:focus ~ .login-input-icon,
        .login-input-wrap:focus-within .login-input-icon {
            color: #f97316;
        }
        .login-pw-toggle {
            position: absolute;
            right: 0.85rem;
            top: 50%;
            transform: translateY(-50%);
            background: none;
            border: none;
            color: #475569;
            cursor: pointer;
            padding: 4px;
            transition: color 0.2s;
            display: flex;
            align-items: center;
            z-index: 10;
        }
        .login-pw-toggle:hover {
            color: #f97316;
        }

        /* Login button */
        .login-submit-btn {
            width: 100%;
            padding: 0.85rem;
            border-radius: 10px;
            border: none;
            background: linear-gradient(135deg, #f97316 0%, #ea580c 50%, #c2410c 100%);
            color: white;
            font-family: 'Rajdhani', sans-serif;
            font-size: 0.95rem;
            font-weight: 700;
            letter-spacing: 0.12em;
            text-transform: uppercase;
            cursor: pointer;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
            box-shadow: 0 4px 20px rgba(249,115,22,0.35), inset 0 1px 0 rgba(255,255,255,0.15);
            margin-top: 1.25rem;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
        }
        .login-submit-btn::before {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(135deg, rgba(255,255,255,0.12), transparent);
            opacity: 0;
            transition: opacity 0.3s;
        }
        .login-submit-btn:hover::before { opacity: 1; }
        .login-submit-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 30px rgba(249,115,22,0.5), inset 0 1px 0 rgba(255,255,255,0.15);
        }
        .login-submit-btn:active {
            transform: translateY(0);
        }
        .login-submit-btn .btn-shimmer {
            position: absolute;
            top: 0;
            left: -100%;
            width: 60%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
            animation: shimmerPass 3s ease-in-out infinite;
        }
        @keyframes shimmerPass {
            0%   { left: -100%; }
            40%, 100% { left: 150%; }
        }

        /* Footer info */
        .login-footer {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            margin-top: 1.5rem;
            font-size: 0.65rem;
            color: #94a3b8;
            font-family: 'Rajdhani', sans-serif;
            letter-spacing: 0.1em;
            text-transform: uppercase;
        }
        .login-footer i {
            color: #22c55e;
            font-size: 0.65rem;
        }

        /* Error state */
        #loginError {
            background: rgba(239,68,68,0.08) !important;
            border: 1px solid rgba(239,68,68,0.3) !important;
            color: #f87171 !important;
            border-radius: 8px;
            padding: 0.65rem 1rem;
            font-size: 0.8rem;
            text-align: center;
            margin-top: 0.75rem;
        }

        /* Company info strip */
        .login-company-strip {
            position: absolute;
            bottom: 2rem;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            align-items: center;
            gap: 8px;
            color: #cbd5e1;
            font-size: 0.65rem;
            letter-spacing: 0.15em;
            text-transform: uppercase;
            font-family: 'Rajdhani', sans-serif;
            white-space: nowrap;
        }

        /* Watermark styling */
        .login-watermark-container {
            position: absolute;
            inset: 0;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            pointer-events: none;
            z-index: 1;
            opacity: 0.03;
        }
        .login-watermark-logo {
            width: 800px;
            max-width: 90vw;
            filter: grayscale(100%) contrast(200%) brightness(200%);
        }
    