@import url('https://fonts.googleapis.com/css2?family=Google+Sans:ital,opsz,wght@0,17..18,400..700;1,17..18,400..700&display=swap');

    *{
      font-family: "Google Sans", sans-serif;
      font-weight: 600;
      font-style: normal;
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    
    }
    
        body {
            background-color: #1b213b;
            min-height: 100vh;
            overflow-x: hidden;
            position: relative;
        }

        .main-container {
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 20px;
            position: relative;
            z-index: 10; /* Ensure container is above particles */
        }

        .login-wrapper {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 100%;
            max-width: 1400px;
            gap: 60px;
            position: relative;
            z-index: 15; /* Higher than particles */
        }

        /* Left Side - Welcome Section */
        .welcome-section {
            flex: 1;
            color: white;
            text-align: center;
            padding: 40px;
            animation: slideInLeft 1s ease-out;
        }

        .welcome-section h1 {
            font-size: 3.5rem;
            font-weight: 500;
            margin-bottom: 20px;
            text-shadow: 0 4px 8px rgba(0,0,0,0.3);
            color: #ef9a14;
        }

        .welcome-section p {
            font-size: 1.3rem;
            margin-bottom: 30px;
            opacity: 0.9;
            line-height: 1.6;
        }

        .feature-list {
            list-style: none;
            text-align: left;
            max-width: 400px;
            margin: 0 auto;
        }

        .feature-list li {
            padding: 15px 0;
            font-size: 1.1rem;
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .feature-list li::before {
            content: '✓';
            background: #ef9a14;
            color: #fff;
            width: 30px;
            height: 30px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: normal;
            font-size: 16px;
        }

        /* Right Side - Login Form */
        .login-card {
            flex: 0 0 450px;
            background: rgba(255, 255, 255, 0.95);
            border-radius: 24px;
            box-shadow: 0 30px 60px rgba(0,0,0,0.2);
            overflow: hidden;
            backdrop-filter: blur(15px);
            border: 1px solid rgba(255,255,255,0.3);
            position: relative;
            animation: slideInRight 1s ease-out;
            z-index: 20; /* Highest z-index for the card */
        }

        .card-header-custom {
            background-color: #1b213b;
            padding: 40px 30px;
            text-align: center;
            position: relative;
            z-index: 25;
        }

        .card-header-custom::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: #ef9a14;
        }

        .logo-img {
            max-width: 180px;
            height: auto;
            object-fit: contain;
            filter: brightness(1.1);
        }

        .card-body-custom {
            padding: 40px 30px;
            background: rgba(255,255,255,0.98);
            position: relative;
            z-index: 25; /* Ensure form is above everything */
        }

        .form-title {
            text-align: center;
            margin-bottom: 30px;
        }

        .form-title h4 {
            color: #1b213b;
            font-weight: 500;
            font-size: 28px;
            margin-bottom: 8px;
        }

        .form-title p {
            color: #666;
            font-size: 16px;
        }

        .form-group {
            margin-bottom: 25px;
            position: relative;
        }

        .form-label {
            color: #1b213b;
            font-weight: 600;
            margin-bottom: 8px;
            font-size: 14px;
            display: block;
        }

        .form-control {
            border: 2px solid #e1e5e9;
            border-radius: 12px;
            padding: 15px 20px;
            font-size: 16px;
            transition: all 0.3s ease;
            background: rgba(255,255,255,0.95);
            width: 100%;
            position: relative;
            z-index: 30; /* Ensure inputs are clickable */
            pointer-events: auto; /* Explicitly enable pointer events */
        }

        .form-control:focus {
            border-color: #ef9a14;
            box-shadow: 0 0 0 0.2rem rgba(239, 154, 20, 0.15);
            background: #fff;
            outline: none;
        }

        .form-control.is-invalid {
            border-color: #dc3545;
        }

        .input-group-merge {
            position: relative;
        }

        .input-group-text {
            position: absolute;
            right: 15px;
            top: 50%;
            transform: translateY(-50%);
            background: none;
            border: none;
            z-index: 35; /* Higher than input */
            cursor: pointer;
            padding: 8px;
            border-radius: 8px;
            transition: all 0.3s ease;
            pointer-events: auto; /* Ensure eye icon is clickable */
        }

        .input-group-text:hover {
            background: rgba(239, 154, 20, 0.1);
        }

        .password-eye {
            color: #666;
            font-size: 18px;
            pointer-events: none; /* Let parent handle click */
        }

        .btn-login {
            background: #1b213b;
            border: none;
            border-radius: 12px;
            padding: 16px 30px;
            font-size: 16px;
            font-weight: 600;
            color: white;
            width: 100%;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
            cursor: pointer;
            z-index: 30; /* Ensure button is clickable */
            pointer-events: auto; /* Explicitly enable pointer events */
        }

        .btn-login:hover {
            background: #ef9a14;
            transform: translateY(-2px);
            box-shadow: 0 12px 30px rgba(239, 154, 20, 0.4);
        }

        .btn-login:active {
            transform: translateY(0);
        }

        .btn-login:disabled {
            opacity: 0.7;
            cursor: not-allowed;
        }

        .btn-google {
            background: white;
            border: 2px solid #e1e5e9;
            border-radius: 12px;
            padding: 14px 30px;
            font-size: 16px;
            font-weight: 600;
            color: #333;
            width: 100%;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
            cursor: pointer;
            z-index: 30; /* Ensure button is clickable */
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            margin-bottom: 20px;
            pointer-events: auto; /* Explicitly enable pointer events */
        }

        .btn-google:hover {
            background: #f8f9fa;
            border-color: #ef9a14;
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(239, 154, 20, 0.2);
        }

        .btn-google:disabled {
            opacity: 0.7;
            cursor: not-allowed;
        }

        .divider {
            text-align: center;
            margin: 25px 0;
            position: relative;
        }

        .divider::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 0;
            right: 0;
            height: 1px;
            background: #e1e5e9;
        }

        .divider span {
            background: rgba(255,255,255,0.98);
            padding: 0 20px;
            color: #666;
            font-size: 14px;
            font-weight: 500;
        }

        .forgot-password {
            color: #ef9a14;
            text-decoration: none;
            font-size: 14px;
            font-weight: 500;
            transition: all 0.3s ease;
            display: block;
            text-align: center;
            padding: 10px;
            border-radius: 8px;
            cursor: pointer;
            z-index: 30;
            position: relative;
            pointer-events: auto; /* Ensure link is clickable */
        }

        .forgot-password:hover {
            background: rgba(239, 154, 20, 0.1);
            color: #1b213b;
        }

        .invalid-feedback {
            color: #dc3545;
            font-size: 13px;
            margin-top: 5px;
        }

        /* Floating particles - Fixed z-index */
        .floating-particles {
            position: absolute;
            width: 100%;
            height: 100%;
            overflow: hidden;
            z-index: 1; /* Behind everything */
            pointer-events: none; /* Don't block clicks */
        }

        .particle {
            position: absolute;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            animation: float 8s ease-in-out infinite;
            pointer-events: none; /* Don't block clicks */
        }

        .particle:nth-child(1) {
            width: 20px;
            height: 20px;
            top: 20%;
            left: 10%;
            animation-delay: 0s;
        }

        .particle:nth-child(2) {
            width: 15px;
            height: 15px;
            top: 60%;
            right: 15%;
            animation-delay: 2s;
        }

        .particle:nth-child(3) {
            width: 25px;
            height: 25px;
            bottom: 30%;
            left: 70%;
            animation-delay: 4s;
        }

        .particle:nth-child(4) {
            width: 18px;
            height: 18px;
            top: 80%;
            left: 20%;
            animation-delay: 6s;
        }

        @keyframes float {
            0%, 100% {
                transform: translateY(0px) rotate(0deg);
            }
            50% {
                transform: translateY(-30px) rotate(180deg);
            }
        }

        @keyframes slideInLeft {
            from {
                opacity: 0;
                transform: translateX(-100px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        @keyframes slideInRight {
            from {
                opacity: 0;
                transform: translateX(100px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        /* Mobile Responsive */
        @media (max-width: 1024px) {
            .login-wrapper {
                flex-direction: column;
                gap: 0;
                justify-content: center;
            }

            .welcome-section {
                display: none;
            }

            .login-card {
                flex: none;
                width: 100%;
                max-width: 450px;
            }
        }

        @media (max-width: 768px) {
            .main-container {
                padding: 15px;
            }

            .card-body-custom {
                padding: 30px 25px;
            }

            .form-title h4 {
                font-size: 24px;
            }

            .form-control {
                padding: 12px 18px;
                font-size: 15px;
            }

            .btn-login, .btn-google {
                padding: 14px 25px;
                font-size: 15px;
            }

            .card-header-custom {
                padding: 30px 25px;
            }

            .logo-img {
                max-width: 150px;
            }
        }

        @media (max-width: 480px) {
            .card-body-custom {
                padding: 25px 20px;
            }
        }

        /* Debug styles - remove these in production */
        .debug-clickable {
            outline: 2px dashed red !important;
        }
        
        