        /* --- GLOBAL RESET & BASE (preserve all logic, only visual structure changed) --- */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        /* NEW SPLIT SCREEN STYLES - exactly as requested */
        html, body {
            height: 100%;
            margin: 0;
            padding: 0;
        }

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f5f7fb;
    display: flex;
    align-items: center;
    justify-content: center;
}

        /* two-column layout using flex (responsive) */
        .login-wrapper {
width: 100%;
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
        }

        /* From Uiverse.io by Gautammsharma */ 
        .grid-wrapper {
position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 1;
    overflow: hidden;
        }

        .grid-background {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 0;
  background-image: linear-gradient(to right, #e2e8f0 2px, transparent 2px),
    linear-gradient(to bottom, #e2e8f0 1px, transparent 1px);
  background-size: 20px 30px;
  -webkit-mask-image: radial-gradient(
    ellipse 70% 60% at 50% 0%,
    #000 60%,
    transparent 100%
  );
  mask-image: radial-gradient(
    ellipse 70% 60% at 50% 0%,
    #000 60%,
    transparent 100%
  );
        }

        /* right side: white card / form area */
        .center-container {
position: relative;
    z-index: 2;
    width: 100%;
    max-width: 460px;
    padding: 2rem 1.5rem;
        }

        /* Login card styling (modern, clean, matches original vibe but adapted to new layout) */
        .login-card {
            width: 100%;
            background: transparent;
            border-radius: 28px;
            transition: all 0.2s ease;
        }

        .login-logo {
            max-width: 220px;
            margin-left: 20%;
            margin-bottom: 50px;
            display: block;
        }

        .login-card h2 {
            font-size: 1.9rem;
            font-weight: 700;
            color: #0f172a;
            margin-bottom: 30%;
            display: flex;
            align-items: center;
            gap: 50px;
        }

        .login-card h2 i {
            color: #3f81a0;
            font-size: 1.8rem;
        }

        .login-subtitle {
            align-items: center;
            color: #475569;
            margin-bottom: 50px;
            font-size: 0.95rem;
            line-height: 1.5;
            border-left: 2px solid #3f81a0;
            padding-left: 5px;
        }

        /* input fields */
        .login-input {
            width: 500px;
            padding: 16px 20px;
            background: #f8fafc;
            border: 1.5px solid #e2e8f0;
            border-radius: 5px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.301);
            font-size: 1rem;
            font-weight: 500;
            color: #0f172a;
            margin-bottom: 20px;
            transition: all 0.2s ease;
            font-family: 'Inter', monospace;
        }

        .login-input:focus {
            outline: none;
            border-color: #3f81a0;
            background: white;
            box-shadow: 0 4px 12px rgba(59,130,246,0.1);
        }

        /* password toggle wrapper */
        .password-wrapper {
            position: relative;
            width: 100%;
            margin-bottom: 20px;
        }

        .password-wrapper .login-input {
            margin-bottom: 0;
            padding-right: 50px;
        }

        .password-toggle {
            position: absolute;
            right: -70px;
            top: 50%;
            transform: translateY(-50%);
            cursor: pointer;
            user-select: none;
            color: #94a3b8;
            font-size: 1.2rem;
            transition: color 0.2s;
            background: transparent;
            border: none;
        }

        .password-toggle:hover {
            color: #3f81a0;
        }

        /* BUTTON_2 - Updated */
        .button-1 {
            padding: 15px 25px; 
            border: 1px solid #3f81a0; 
            border-radius: 5px; 
            color: #3f81a0; 
            width: 500px;
            margin-top: 5%;
            background: #ffffff; 
            position: relative; 
            font-weight: 700; 
            font-size: 17px; 
            box-shadow: 4px 8px 19px -3px rgba(0,0,0,0.27); 
            transition: all 250ms; 
            overflow: hidden; 
            z-index: 1;
        }

        /* Hover effect ke liye pseudo element */
        .button-1::before {
            content: ""; 
            position: absolute; 
            top: 0; 
            left: 0; 
            height: 100%; 
            width: 0; 
            border-radius: 5px; 
            background-color: #3f81a0; 
            z-index: -1; 
            box-shadow: 4px 8px 19px -3px rgba(0,0,0,0.27); 
            transition: all 250ms;
        }

        /* Hover pe background poora ho jaye */
        .button-1:hover::before { 
            width: 100%; 
        }

        /* Important: Hover pe text color white ho jaye */
        .button-1:hover {
            color: #ffffff !important;
        }
        /* END */

        .login-error {
            color: #3f81a0;
            margin-top: 18px;
            display: none;
            font-size: 0.85rem;
            font-weight: 500;
            background: #fee2e2;
            padding: 12px 16px;
            border-radius: 14px;
            border-left: 4px solid #3f81a0;
        }

        .login-footer {
            margin-top: 36px;
            padding-top: 20px;
            border-top: 1px solid #eef2ff;
            color: #64748b;
            font-size: 0.8rem;
            text-align: center;
        }

        .login-footer i {
            color: #3f81a0;
            margin-right: 6px;
        }

        /* --- IP BLOCK OVERLAY (fully preserved functionality) --- */
        .ip-block-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
            backdrop-filter: blur(10px);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 2000;
            animation: fadeIn 0.5s ease;
            color: white;
            display: none;
        }

        .ip-block-container {
            background: rgba(255, 255, 255, 0.1);
            padding: 50px;
            border-radius: 20px;
            text-align: center;
            max-width: 500px;
            width: 90%;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
            border: 1px solid rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
        }

        .ip-block-icon {
            font-size: 4rem;
            color: #3f81a0;
            margin-bottom: 20px;
        }

        .ip-block-container h2 {
            color: white;
            margin-bottom: 20px;
            font-size: 2rem;
            font-weight: 700;
        }

        .ip-block-container p {
            color: #cbd5e1;
            margin-bottom: 15px;
            line-height: 1.6;
            font-size: 1.1rem;
        }

        .ip-block-info {
            background: rgba(239, 68, 68, 0.1);
            border: 1px solid rgba(239, 68, 68, 0.3);
            border-radius: 10px;
            padding: 15px;
            margin: 25px 0;
            text-align: left;
        }

        .ip-block-info code {
            color: #a5cbfc;
            font-family: 'Courier New', monospace;
            background: rgba(0, 0, 0, 0.3);
            padding: 5px 10px;
            border-radius: 4px;
        }

        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        /* Alert Custom (floating alert) */
        .alert-custom {
            position: fixed;
            top: 20px;
            right: 20px;
            z-index: 9999;
            min-width: 300px;
            animation: slideIn 0.5s ease-out;
            background: white;
            border-radius: 16px;
            box-shadow: 0 20px 35px -12px rgba(0,0,0,0.2);
            border-left: 5px solid #f63b3b;
            padding: 14px 20px;
            display: flex;
            align-items: center;
            gap: 12px;
            font-weight: 500;
            color: #0f172a;
        }

        .alert-custom.error {
            border-left-color: #ef4444;
            background: #fff5f5;
        }

        .alert-custom.success {
            border-left-color: #10b981;
            background: #f0fdf4;
        }

        @keyframes slideIn {
            from {
                transform: translateX(100%);
                opacity: 0;
            }
            to {
                transform: translateX(0);
                opacity: 1;
            }
        }

        /* responsive: mobile stacking */
        @media (max-width: 768px) {
            .login-wrapper {
                flex-direction: column;
            }
            .left-side {
                min-height: 280px;
                background-position: center 30%;
            }
            .right-side {
                min-height: auto;
                padding: 2rem 1.5rem;
            }
            .form-container {
                max-width: 100%;
            }
            .login-card h2 {
                font-size: 1.6rem;
            }
            .ip-block-container {
                padding: 30px 20px;
            }
        }

        @media (max-width: 480px) {
            .right-side {
                padding: 1.8rem;
            }
            .login-logo {
                max-width: 160px;
            }
        }