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

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            background: #ffffff; /* सेतो background */
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 16px;
            position: relative;
        }

        /* Subtle pattern overlay */
        body::before {
            content: '';
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-image: radial-gradient(circle at 25% 25%, rgba(200, 80, 192, 0.03) 0%, transparent 50%),
                              radial-gradient(circle at 75% 75%, rgba(65, 88, 208, 0.03) 0%, transparent 50%);
            pointer-events: none;
        }

        .login-container {
            width: 100%;
            max-width: 400px;
            margin: 0 auto;
            animation: slideUp 0.5s ease;
            position: relative;
            z-index: 1;
        }

        @keyframes slideUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .login-card {
            background: white;
            border-radius: 32px;
            padding: 32px 24px;
            box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 2px 6px 2px;
            transition: all 0.3s ease;
        }

        .login-card:hover {
            box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
            transform: translateY(-2px);
        }

        /* Header */
        .card-header {
            text-align: center;
            margin-bottom: 28px;
        }

        .office-name {
            font-size: 24px;
            font-weight: 700;
            color:#114;
            line-height: 1.3;
            letter-spacing: 0.5px;
            margin-bottom: 6px;
        }

        .office-place {
            font-size: 14px;
            color: #64748b;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
        }

        .office-place i {
            font-size: 12px;
            color: #C850C0;
        }

        /* Messages */
        .message-area {
            margin-bottom: 24px;
        }

        .message {
            padding: 12px 14px;
            border-radius: 18px;
            font-size: 13px;
            display: flex;
            align-items: center;
            gap: 10px;
            animation: shake 0.3s ease;
        }

        @keyframes shake {
            0%, 100% { transform: translateX(0); }
            25% { transform: translateX(-3px); }
            75% { transform: translateX(3px); }
        }

        .message.error {
            background: #fef2f2;
            color: #b91c1c;
            border-left: 4px solid #dc2626;
        }

        .message.success {
            background: #f0fdf4;
            color: #166534;
            border-left: 4px solid #16a34a;
        }

        /* Form */
        .login-form {
            display: flex;
            flex-direction: column;
            gap: 18px;
        }

        .input-group {
            position: relative;
        }

        .input-icon {
            position: absolute;
            left: 16px;
            top: 50%;
            transform: translateY(-50%);
            color: #94a3b8;
            font-size: 15px;
            transition: color 0.2s;
            z-index: 1;
        }

        .input-field {
            width: 100%;
            padding: 16px 16px 16px 46px;
            background: #f8fafc;
            border: 1px solid #114;
            border-radius: 22px;
            font-size: 15px;
            color: #1e293b;
            transition: all 0.2s;
            height: 50px; 
        }

        .input-field:focus {
            outline: none;
            border-color: #C850C0;
            background: #ffffff;
            box-shadow: 0 0 0 4px rgba(200, 80, 192, 0.1);
        }

        .input-field::placeholder {
            color: #94a3b8;
            font-size: 14px;
        }

        .password-toggle {
            position: absolute;
            right: 16px;
            top: 50%;
            transform: translateY(-50%);
            color: #94a3b8;
            cursor: pointer;
            font-size: 15px;
            z-index: 1;
            transition: color 0.2s;
        }

        .password-toggle:hover {
            color: #C850C0;
        }

        /* Action Row */
        .action-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin: 4px 0 2px;
            font-size: 13px;
        }

        .remember-label {
            display: flex;
            align-items: center;
            gap: 8px;
            color: #475569;
            cursor: pointer;
        }

        .remember-checkbox {
            width: 18px;
            height: 18px;
            accent-color: #C850C0;
            border-radius: 5px;
        }

        .forgot-link {
            color: #4158D0;
            text-decoration: none;
            display: flex;
            align-items: center;
            gap: 5px;
            font-weight: 500;
            transition: color 0.2s;
        }

        .forgot-link i {
            font-size: 12px;
        }

        .forgot-link:hover {
            color: #C850C0;
        }

        /* ===== CAPTCHA SECTION ===== */
        .captcha-row {
            display: flex;
            gap: 12px;
            width: 100%;
        }

        .captcha-input {
            flex: 1;
        }

        .captcha-input .input-field {
            width: 100%;
            padding: 16px 16px;
            background: #f8fafc;
            border: 1px solid #114;
            border-radius: 22px;
            font-size: 15px;
            color: #1e293b;
            height: 50px; 
        }

        .captcha-input .input-field:focus {
            border-color: #C850C0;
            box-shadow: 0 0 0 4px rgba(200, 80, 192, 0.1);
        }

        .captcha-display {
            flex: 1;
            position: relative;
            background-image: url('../../auth/bg6.png');
            border-radius: 22px;
            border: 1px solid #114;

            height: 52px;
            min-height: 52px;

            display: flex;
            align-items: center;    
            justify-content: center;
        }

        .captcha-display:hover {
            border-color: #C850C0;
            box-shadow: 0 0 0 4px rgba(200, 80, 192, 0.05);
        }

        #captchaText {
            width: 100%;
            height: 100%;
            text-align: center;
            font-family: 'Courier New', monospace;
            font-size: 22px;
            font-weight: 800;
            letter-spacing: 4px;
            background: transparent;
            border: none;
            color: #1e293b;
            padding: 0 50px 0 12px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .refresh-btn {
            position: absolute;
            right: 2px;
            top: 50%;
            transform: translateY(-50%);
            width: 38px;
            height: 38px;
            background: white;
            border: none;
            border-radius: 16px;
            color: #C850C0;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 15px;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
            transition: all 0.2s;
            z-index: 2;
        }

        .refresh-btn:active {
            transform: translateY(-50%) rotate(180deg);
            background: #C850C0;
            color: white;
            box-shadow: 0 6px 12px rgba(200, 80, 192, 0.3);
        }

        /* Mobile Responsive */
        @media (max-width: 500px) {
            .login-container {
                max-width: 340px;
            }
            
            .captcha-row {
                flex-direction: column;
                gap: 10px;
            }
            
            .captcha-input,
            .captcha-display {
                width: 100%;
            }
            
            #captchaText {
                font-size: 20px;
                letter-spacing: 3px;
                line-height: 52px;
            }
            
            .refresh-btn {
                width: 40px;
                height: 40px;
                right: 8px;
            }
        }

        /* Small Mobile */
        @media (max-width: 360px) {
            .login-container {
                max-width: 300px;
            }
            
            .login-card {
                padding: 24px 18px;
            }
            
            .office-name {
                font-size: 22px;
            }
            
            .input-field,
            .captcha-input .input-field,
            .captcha-display {
                height: 52px; /* Slightly smaller for very small screens */
            }
            
            #captchaText {
                font-size: 18px;
                letter-spacing: 2px;
                line-height: 48px;
            }
            
            .refresh-btn {
                width: 36px;
                height: 36px;
            }
        }

        /* Login Button */
        .login-btn {
            width: 100%;
            padding: 16px;
            background: #114;
            border: none;
            border-radius: 26px;
            color: white;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            margin-top: 12px;
            transition: all 0.3s;
            box-shadow: 0 12px 20px -8px rgba(200, 80, 192, 0.4),
                        0 4px 8px rgba(0, 0, 0, 0.1);
            height: 50px;
        }
        .login-btn:hover {
          background: darkgreen;
        }
        .login-btn:active {
            transform: scale(0.98);
            box-shadow: 0 8px 15px -5px rgba(200, 80, 192, 0.5);
            background: rgb(224, 9, 45);
        }

        .login-btn i {
            font-size: 14px;
            transition: transform 0.2s;
        }

        .login-btn:active i {
            transform: translateX(5px);
        }

        .login-btn:disabled {
            opacity: 0.7;
            transform: none;
        }

        .spinner {
            width: 20px;
            height: 20px;
            border: 3px solid rgba(255,255,255,0.3);
            border-top-color: white;
            border-radius: 50%;
            animation: spin 0.8s linear infinite;
            display: none;
        }

        @keyframes spin {
            to { transform: rotate(360deg); }
        }

        /* Register Link */
        .register-section {
            margin-top: 24px;
            text-align: center;
            font-size: 14px;
            color: #64748b;
        }

        .register-link {
            color: #4158D0;
            text-decoration: none;
            font-weight: 600;
            display: inline-flex;
            align-items: center;
            gap: 6px;
            transition: color 0.2s;
            padding: 4px 8px;
        }

        .register-link i {
            font-size: 12px;
        }

        .register-link:hover {
            color: #C850C0;
        }

        /* Touch-friendly */
        @media (hover: none) and (pointer: coarse) {
            .input-field,
            .login-btn,
            .refresh-btn {
                min-height: 50px;
            }
            
            .forgot-link,
            .register-link {
                padding: 10px 0;
            }
            .captcha-hint {
                display: flex;
                align-items: center;
                gap: 6px;
                background: rgba(200, 80, 192, 0.05);
                padding: 4px 10px;
                border-radius: 30px;
                animation: softPulse 2s infinite;
            }

            @keyframes softPulse {
                0% { opacity: 0.7; }
                50% { opacity: 1; }
                100% { opacity: 0.7; }
            }
        }