<!doctype html>
<html lang="en">

<head>
    <title>PIN Verification - Fincore Bank</title>
    <meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="csrf-token" content="C8uPSWMnKnMSMgKJXX07rCgv3PCWPKVRelJaI36t">
    <meta name="robots" content="index, follow">
    <meta name="apple-mobile-web-app-title" content="Fincore Bank" />
    <meta name="application-name" content="Fincore Bank" />
    <meta name="description" content="Swift and Secure Money Transfer to any bank account will become a breeze with Fincore Bank." />
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
    <meta name="theme-color" content="#49786B">
    <link rel="shortcut icon" href="https://fintech.swizzfx.pro/storage/app/public/photos/WYFJqSOFyCRakQVubpxZBLmg4xodYDtx2MhIRcxv.png" />
    
    <!-- Tailwind CSS -->
    <script src="https://cdn.tailwindcss.com"></script>
    
    <!-- Alpine.js -->
    <script defer src="https://cdn.jsdelivr.net/npm/alpinejs@3.x.x/dist/cdn.min.js"></script>
    
    <!-- Lucide Icons -->
    <script src="https://unpkg.com/lucide@latest"></script>
    
    <!-- Fonts: Inter (Modern Sans) -->
    <link rel="preconnect" href="https://fonts.googleapis.com">
    <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
    <link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap" rel="stylesheet">
    
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css" />
    
        
    <script>
    tailwind.config = {
        theme: {
            extend: {
                colors: {
                    primary: {
                        50:  '#f0f7f4',
                    100: '#d9ede3',
                    200: '#b3dbc7',
                    300: '#7fc29f',
                    400: '#4da576',
                    500: '#2d8659',  // MAIN - Rich forest green
                    600: '#1f6b45',
                    700: '#195539',
                    800: '#15442e',
                    900: '#0d2a1c',
                    },
                    surface: {
                        100: '#FFFFFF',
                        200: '#F9F9F9',
                        300: '#DFE5E5',
                        400: '#BFC9C9',
                    },
                },
                fontFamily: {
                    sans: ['Inter', 'system-ui', 'sans-serif'],
                },
                boxShadow: {
                    'elegant': '0 8px 32px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.08)',
                },
                animation: {
                    'fade-in': 'fadeIn .4s ease-out',
                },
                keyframes: {
                    fadeIn: { 
                        '0%': { opacity: '0' }, 
                        '100%': { opacity: '1' } 
                    },
                },
            }
        }
    }
    </script>
    
    <style>
    [x-cloak] { display: none !important; }





    
    
    :root {
        --color-bg-base: #FFFFFF;
        --color-bg-surface: #F9F9F9;
        --color-bg-muted: #DFE5E5;
        --color-primary: #2d8659;;
        --color-primary-dark: #1f6b45;
        --color-primary-light: #4da576;
        --color-text-primary: #0D1B23;
        --color-text-secondary: #4A4A4A;
        --color-text-muted: #7A7A7A;
        --color-text-inverse: #FFFFFF;
        --color-border: #E0E5E5;
        --color-border-dark: #C8D1D1;
        --color-border-muted: #A0ACAC;
        --color-status-success: #28A745;
        --color-status-warning: #EBBC46;
        --color-status-error: #D55672;
        --color-status-info:#2d8659;;
    }
    
    * {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
    
    body {
        font-family: 'Inter', system-ui, sans-serif;
        background: #F9F9F9;
        min-height: 100vh;
        letter-spacing: -0.011em;
    }
    
    /* Authentication Card */
    .auth-card {
        background: #FFFFFF;
        border: 1px solid var(--color-border);
        box-shadow: 0 8px 32px rgba(13, 27, 35, 0.06), 0 2px 8px rgba(13, 27, 35, 0.04);
    }
    
    /* Input Fields */
    .auth-input {
        background: #FFFFFF;
        border: 1px solid var(--color-border-dark);
        color: var(--color-text-primary);
        transition: border-color 0.2s ease;
    }
    
    .auth-input:focus {
        background: #FFFFFF;
        border-color: var(--color-primary);
        box-shadow: 0 0 0 2px rgba(73, 120, 107, 0.12);
        outline: none;
    }
    
    .auth-input::placeholder {
        color: var(--color-text-muted);
    }
    
    /* Button */
    .auth-button {
        background: var(--color-primary);
        transition: background 0.2s ease;
    }
    
    .auth-button:hover {
        background: var(--color-primary-dark);
    }
    
    /* Scrollbar */
    ::-webkit-scrollbar {
        width: 8px;
        height: 8px;
    }
    
    ::-webkit-scrollbar-track {
        background: #F9F9F9;
    }
    
    ::-webkit-scrollbar-thumb {
        background: var(--color-border-dark);
        border-radius: 4px;
    }
    
    ::-webkit-scrollbar-thumb:hover {
        background: #A0ACAC;
    }
    
    /* Link Hover */
    .auth-link {
        color: var(--color-primary);
        text-decoration: none;
        transition: color 0.2s ease;
    }
    
    .auth-link:hover {
        color: var(--color-primary-light);
    }
    
    </style>
</head>

<body class="antialiased overflow-x-hidden" x-data="{ showPassword: false, loading: false }">
    
    <!-- Google Translate Widget -->
   
    
    <!-- Main Content -->
    <div class="min-h-screen flex items-center justify-center p-4 relative z-10">
        
<div class="w-full max-w-6xl mx-auto" 
     x-cloak
     x-data="{
         pin: '',
         isVerifying: false,
         showSuccess: false,
         showError: false,
         errorMessage: '',
         isMobile: window.innerWidth < 1024,
         showInactivityNotice: false,
         cachedReturnUrl: null,
         
         init() {
             // Check if user was redirected due to inactivity
             const returnUrl = sessionStorage.getItem('return_url');
             if (returnUrl) {
                 // Store in component and clear sessionStorage so it won't flash on reload
                 this.cachedReturnUrl = returnUrl;
                 sessionStorage.removeItem('return_url');
                 // Show notice without transition on initial load
                 this.$nextTick(() => {
                     this.showInactivityNotice = true;
                     setTimeout(() => {
                         this.showInactivityNotice = false;
                     }, 8000);
                 });
             }
         },
         
         addDigit(digit) {
             if (this.pin.length < 4) {
                 this.pin += digit;
                 this.vibrateDevice();
                 if (this.pin.length === 4) {
                     setTimeout(() => this.submitPin(), 300);
                 }
             }
         },
         
         removeDigit() {
             this.pin = this.pin.slice(0, -1);
             this.vibrateDevice();
         },
         
         vibrateDevice() {
             if (navigator.vibrate) {
                 navigator.vibrate(10);
             }
         },
         
         async submitPin() {
             if (this.pin.length !== 4) {
                 this.showErrorMessage('Please enter a 4-digit PIN');
                 return;
             }
             
             this.isVerifying = true;
             this.showError = false;
             
             try {
                 const formData = new FormData();
                 formData.append('pin', this.pin);
                 formData.append('_token', document.querySelector('meta[name=csrf-token]').content);
                 
                 // Get return URL from cached value (originally from sessionStorage)
                 if (this.cachedReturnUrl) {
                     formData.append('return_url', this.cachedReturnUrl);
                 }
                 
                 const response = await fetch('https://fintech.swizzfx.pro/dashboard/pinstatus', {
                     method: 'POST',
                     body: formData,
                     headers: {
                         'X-Requested-With': 'XMLHttpRequest'
                     }
                 });
                 
                 const data = await response.json();
                 
                 if (data.success) {
                     this.showSuccess = true;
                     
                     // Clear cached return URL
                     this.cachedReturnUrl = null;
                     
                     setTimeout(() => {
                         window.location.href = data.redirect || 'https://fintech.swizzfx.pro/dashboard';
                     }, 1000);
                 } else {
                     this.showErrorMessage(data.message || 'Invalid PIN. Please try again.');
                     this.shakeAnimation();
                     this.pin = '';
                 }
             } catch (error) {
                 this.showErrorMessage('Connection error. Please try again.');
                 this.pin = '';
             } finally {
                 this.isVerifying = false;
             }
         },
         
         showErrorMessage(message) {
             this.errorMessage = message;
             this.showError = true;
             setTimeout(() => { this.showError = false; }, 4000);
         },
         
         shakeAnimation() {
             const card = document.getElementById('pin-card');
             if (card) {
                 card.classList.add('animate-shake');
                 setTimeout(() => card.classList.remove('animate-shake'), 500);
             }
         }
     }"
     x-init="
         window.addEventListener('resize', () => {
             isMobile = window.innerWidth < 1024;
         });
     ">
    
    <div class="grid lg:grid-cols-2 gap-8 items-center">
        
        <!-- Left Side - Security Information -->
        <div class="hidden lg:block space-y-8">
            <!-- Logo -->
            <div class="mb-8">
                <img src="https://fintech.swizzfx.pro/storage/app/public/photos/aBp8CewuItIIOZJA2ewCU3U7URkRMXrNv8VrtkwL.png" 
                     alt="Fincore Bank" 
                     class="h-12 w-auto mb-6">
            </div>
            
            <!-- Security Content -->
            <div class="space-y-6">
                <h1 class="text-4xl font-semibold text-[#0D1B23] leading-tight">
                    Secure Access
                </h1>
                <p class="text-lg text-[#4A4A4A] leading-relaxed">
                    Two-factor authentication provides an additional layer of security for your banking operations. Enter your 4-digit PIN to continue.
                </p>
            </div>
            
            <!-- Security Features -->
            <div class="space-y-4">
                <h3 class="text-sm font-semibold text-[#0D1B23] uppercase tracking-wider mb-4">Why PIN Verification?</h3>
                <div class="space-y-4">
                    <div class="flex items-start space-x-4">
                        <div class="flex-shrink-0 w-10 h-10 rounded-lg bg-[#DFE5E5] flex items-center justify-center">
                            <i data-lucide="shield-check" class="w-5 h-5 text-[#49786B]"></i>
                        </div>
                        <div>
                            <p class="text-sm font-semibold text-[#0D1B23] mb-1">Enhanced Security</p>
                            <p class="text-xs text-[#7A7A7A]">Two-factor authentication protects your account from unauthorized access</p>
                        </div>
                    </div>
                    <div class="flex items-start space-x-4">
                        <div class="flex-shrink-0 w-10 h-10 rounded-lg bg-[#DFE5E5] flex items-center justify-center">
                            <i data-lucide="lock-keyhole" class="w-5 h-5 text-[#7A7A7A]"></i>
                        </div>
                        <div>
                            <p class="text-sm font-semibold text-[#0D1B23] mb-1">Transaction Safety</p>
                            <p class="text-xs text-[#7A7A7A]">Verify your identity before accessing sensitive banking operations</p>
                        </div>
                    </div>
                    <div class="flex items-start space-x-4">
                        <div class="flex-shrink-0 w-10 h-10 rounded-lg bg-[#DFE5E5] flex items-center justify-center">
                            <i data-lucide="fingerprint" class="w-5 h-5 text-[#49786B]"></i>
                        </div>
                        <div>
                            <p class="text-sm font-semibold text-[#0D1B23] mb-1">Identity Confirmation</p>
                            <p class="text-xs text-[#7A7A7A]">Ensures only you can access your financial information</p>
                        </div>
                    </div>
                </div>
            </div>
            
            <!-- Security Tip -->
            <div class="pt-8">
                <div class="bg-white border border-[#E0E5E5] rounded-xl p-5">
                    <div class="flex items-start space-x-3">
                        <i data-lucide="info" class="w-5 h-5 text-[#7A7A7A] flex-shrink-0 mt-0.5"></i>
                        <div>
                            <p class="text-sm font-semibold text-[#0D1B23] mb-2">Keep Your PIN Private</p>
                            <p class="text-xs text-[#7A7A7A] leading-relaxed">
                                Never share your PIN with anyone, including bank staff. We will never ask for your PIN via email or phone.
                            </p>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        
        <!-- Right Side - PIN Verification -->
        <div class="w-full">
            <!-- Mobile Logo -->
            <div class="lg:hidden text-center mb-8">
                <img src="https://fintech.swizzfx.pro/storage/app/public/photos/aBp8CewuItIIOZJA2ewCU3U7URkRMXrNv8VrtkwL.png" 
                     alt="Fincore Bank" 
                     class="h-10 w-auto mx-auto">
            </div>
            
            <!-- Check if account is blocked -->
                            <!-- PIN Verification Card -->
                <div id="pin-card" class="auth-card rounded-xl p-8 md:p-10 space-y-8">
                    
                    <!-- User Profile -->
                    <div class="text-center space-y-4">
                        <div class="relative inline-block">
                            <img src="https://fintech.swizzfx.pro/storage/app/public/photos/PhmaWm1005127792.jpg1775731632" 
                                 alt="eva"
                                 class="w-20 h-20 rounded-xl object-cover border-2 border-[#C8D1D1]"
                                 onerror="this.src='https://fintech.swizzfx.pro/dash/images/avatar.svg'">
                            <div class="absolute -bottom-2 -right-2 w-8 h-8 rounded-lg bg-[#49786B] flex items-center justify-center border-2 border-white">
                                <i data-lucide="shield-check" class="w-4 h-4 text-white"></i>
                            </div>
                        </div>
                        <div>
                            <h2 class="text-xl font-semibold text-[#0D1B23]">
                                eva kovac kovac kovac
                            </h2>
                            <p class="text-sm text-[#7A7A7A] mt-1">Enter your 4-digit PIN to continue</p>
                        </div>
                    </div>
                    
                    <!-- Inactivity Notice -->
                    <div x-show="showInactivityNotice" 
                         x-transition
                         style="display: none;"
                         class="bg-[#EBBC46]/10 border border-[#EBBC46]/30 rounded-xl p-4">
                        <div class="flex items-start space-x-3">
                            <div class="flex-shrink-0">
                                <i data-lucide="clock" class="w-5 h-5 text-[#EBBC46]"></i>
                            </div>
                            <div class="flex-1">
                                <p class="text-sm text-[#EBBC46] font-medium mb-1">Session Timeout</p>
                                <p class="text-xs text-[#7A7A7A]">You were logged out due to inactivity. Please verify your PIN to continue where you left off.</p>
                            </div>
                        </div>
                    </div>
                    
                    <!-- Success Message -->
                    <div x-show="showSuccess" 
                         x-transition
                         style="display: none;"
                         class="bg-[#28A745]/10 border border-[#28A745]/30 rounded-xl p-4">
                        <div class="flex items-center space-x-3">
                            <div class="flex-shrink-0">
                                <i data-lucide="check-circle" class="w-6 h-6 text-[#28A745]"></i>
                            </div>
                            <p class="text-sm text-[#28A745] font-medium">PIN verified! Redirecting...</p>
                        </div>
                    </div>
                    
                    <!-- Error Message -->
                    <div x-show="showError" 
                         x-transition
                         style="display: none;"
                         class="bg-[#D55672]/10 border border-[#D55672]/30 rounded-xl p-4">
                        <div class="flex items-center space-x-3">
                            <div class="flex-shrink-0">
                                <i data-lucide="alert-circle" class="w-6 h-6 text-[#D55672]"></i>
                            </div>
                            <p class="text-sm text-[#D55672] font-medium" x-text="errorMessage"></p>
                        </div>
                    </div>
                    
                    <!-- PIN Dots Indicator -->
                    <div class="flex justify-center space-x-4 py-6">
                        <template x-for="i in 4" :key="i">
                            <div class="w-4 h-4 rounded-full transition-all duration-200"
                                 :class="pin.length >= i ? 'bg-[#49786B] scale-110' : 'bg-[#DFE5E5] border-2 border-[#C8D1D1]'">
                            </div>
                        </template>
                    </div>
                    
                    <!-- Desktop PIN Input -->
                    <div x-show="!isMobile" x-cloak class="space-y-6">
                        <form @submit.prevent="submitPin" class="space-y-6">
                            <div class="space-y-2">
                                <label for="pin-input-desktop" class="block text-sm font-semibold text-[#4A4A4A] text-center">
                                    Enter Your PIN
                                </label>
                                <div class="relative">
                                    <input 
                                        id="pin-input-desktop"
                                        type="password" 
                                        x-model="pin"
                                        maxlength="4"
                                        inputmode="numeric"
                                        pattern="[0-9]{4}"
                                        placeholder="����"
                                        autofocus
                                        autocomplete="off"
                                        @input="pin = pin.replace(/[^0-9]/g, '')"
                                        :disabled="isVerifying"
                                        class="auth-input w-full px-4 py-4 rounded-xl text-2xl text-center tracking-[1em] font-bold"
                                    />
                                </div>
                            </div>
                            
                            <button 
                                type="submit"
                                :disabled="isVerifying || pin.length !== 4"
                                class="auth-button w-full py-4 rounded-xl font-semibold text-white text-sm flex items-center justify-center space-x-2 disabled:opacity-50 disabled:cursor-not-allowed group"
                            >
                                <span x-show="!isVerifying">Verify PIN</span>
                                <span x-show="isVerifying" x-cloak class="flex items-center space-x-2">
                                    <svg class="animate-spin h-5 w-5" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24">
                                        <circle class="opacity-25" cx="12" cy="12" r="10" stroke="currentColor" stroke-width="4"></circle>
                                        <path class="opacity-75" fill="currentColor" d="M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"></path>
                                    </svg>
                                    <span>Verifying...</span>
                                </span>
                                <i data-lucide="arrow-right" x-show="!isVerifying" class="w-5 h-5 group-hover:translate-x-1 transition-transform"></i>
                            </button>
                        </form>
                    </div>
                    
                    <!-- Mobile Numeric Keypad -->
                    <div x-show="isMobile" x-cloak class="space-y-6">
                        <div class="grid grid-cols-3 gap-4">
                            <template x-for="digit in [1,2,3,4,5,6,7,8,9]" :key="digit">
                                <button 
                                    type="button"
                                    @click="addDigit(digit.toString())"
                                    :disabled="isVerifying"
                                class="aspect-square rounded-xl bg-white hover:bg-[#F9F9F9] border border-[#E0E5E5] hover:border-[#49786B]/50 text-[#0D1B23] text-2xl font-semibold transition-colors active:scale-95 disabled:opacity-50 disabled:cursor-not-allowed"
                                    x-text="digit">
                                </button>
                            </template>
                            
                            <!-- Empty space -->
                            <div></div>
                            
                            <!-- Zero button -->
                            <button 
                                type="button"
                                @click="addDigit('0')"
                                :disabled="isVerifying"
                                class="aspect-square rounded-xl bg-white hover:bg-[#F9F9F9] border border-[#E0E5E5] hover:border-[#49786B]/50 text-[#0D1B23] text-2xl font-semibold transition-colors active:scale-95 disabled:opacity-50 disabled:cursor-not-allowed">
                                0
                            </button>
                            
                            <!-- Backspace button -->
                            <button 
                                type="button"
                                @click="removeDigit()"
                                :disabled="isVerifying || pin.length === 0"
                                class="aspect-square rounded-xl bg-[#D55672]/10 hover:bg-[#D55672]/20 border border-[#D55672]/20 hover:border-[#D55672]/40 text-[#D55672] transition-colors active:scale-95 disabled:opacity-30 disabled:cursor-not-allowed flex items-center justify-center">
                                <i data-lucide="delete" class="w-6 h-6"></i>
                            </button>
                        </div>
                        
                        <!-- Loading indicator for mobile -->
                        <div x-show="isVerifying" x-cloak class="text-center py-4">
                            <div class="inline-flex items-center space-x-2 text-[#49786B]">
                                <svg class="animate-spin h-5 w-5" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24">
                                    <circle class="opacity-25" cx="12" cy="12" r="10" stroke="currentColor" stroke-width="4"></circle>
                                    <path class="opacity-75" fill="currentColor" d="M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"></path>
                                </svg>
                                <span class="text-sm font-medium">Verifying PIN...</span>
                            </div>
                        </div>
                    </div>
                    
                    <!-- CSRF Token for AJAX -->
                    <meta name="csrf-token" content="C8uPSWMnKnMSMgKJXX07rCgv3PCWPKVRelJaI36t">
                    
                    <!-- Footer -->
                    <div class="pt-6 border-t border-[#E0E5E5]">
                        <div class="flex items-center justify-between text-xs text-[#7A7A7A]">
                            <a href="https://fintech.swizzfx.pro/logout" 
                               onclick="event.preventDefault(); document.getElementById('logout-form').submit();"
                               class="auth-link inline-flex items-center space-x-1">
                                <i data-lucide="log-out" class="w-4 h-4"></i>
                                <span>Sign Out</span>
                            </a>
                            <span>Secure Connection</span>
                        </div>
                    </div>
                    
                    <!-- Logout Form -->
                    <form id="logout-form" action="https://fintech.swizzfx.pro/logout" method="POST" class="hidden">
                        <input type="hidden" name="_token" value="C8uPSWMnKnMSMgKJXX07rCgv3PCWPKVRelJaI36t">                    </form>
                    
                </div>
                    </div>
    </div>
</div>

    </div>
    
    <!-- Scripts -->
    <script src="https://code.jquery.com/jquery-3.6.1.min.js"></script>
   
    
    <script type="text/javascript" src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>
    
        
    <!-- Initialize Lucide Icons -->
    <script>
        document.addEventListener('DOMContentLoaded', () => {
            if (typeof lucide !== 'undefined') {
                lucide.createIcons();
            }
        });
        
        // Reinitialize icons after Alpine updates
        document.addEventListener('alpine:initialized', () => {
            if (typeof lucide !== 'undefined') {
                lucide.createIcons();
            }
        });
    </script>

    <!-- Auto-refresh CSRF token to prevent 419 Page Expired -->
    <script>
        (function() {
            // Refresh CSRF token every 15 minutes to keep session alive
            const REFRESH_INTERVAL = 15 * 60 * 1000;

            function refreshCsrfToken() {
                fetch('https://fintech.swizzfx.pro/csrf-token', {
                    method: 'GET',
                    headers: {
                        'X-Requested-With': 'XMLHttpRequest',
                        'Accept': 'application/json'
                    },
                    credentials: 'same-origin'
                })
                .then(response => response.json())
                .then(data => {
                    if (data.token) {
                        // Update meta tag
                        let metaToken = document.querySelector('meta[name="csrf-token"]');
                        if (metaToken) metaToken.setAttribute('content', data.token);

                        // Update all hidden _token inputs in forms
                        document.querySelectorAll('input[name="_token"]').forEach(input => {
                            input.value = data.token;
                        });

                        // Update jQuery AJAX header if jQuery is loaded
                        if (typeof $ !== 'undefined') {
                            $.ajaxSetup({
                                headers: { 'X-CSRF-TOKEN': data.token }
                            });
                        }
                    }
                })
                .catch(() => { /* silently retry on next interval */ });
            }

            setInterval(refreshCsrfToken, REFRESH_INTERVAL);
        })();
    </script>

    <style>
    @keyframes  shake {
        0%, 100% { transform: translateX(0); }
        10%, 30%, 50%, 70%, 90% { transform: translateX(-10px); }
        20%, 40%, 60%, 80% { transform: translateX(10px); }
    }
    
    .animate-shake {
        animation: shake 0.5s cubic-bezier(.36,.07,.19,.97) both;
    }
</style>
    <div>
    <style>
/* GTranslate floating widget repositioning */
.gtranslate_wrapper {
    border-radius: 8px !important;
    padding: 4px 6px !important;
    border: 1px solid rgba(51, 65, 85, 0.6) !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3) !important;
    max-width: 160px !important;
    background: rgba(15, 23, 42, 0.95) !important;
    backdrop-filter: blur(8px) !important;
    position: fixed !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* On mobile: move just above bottom nav */
@media (max-width: 767px) {
    .gtranslate_wrapper {
        bottom: 52px !important;
        left: 12px !important;
        z-index: 45 !important;
    }
}

/* On desktop: position normally */
@media (min-width: 768px) {
    .gtranslate_wrapper {
        bottom: 20px !important;
        left: 20px !important;
        z-index: 45 !important;
    }
}

.gtranslate_wrapper select {
    font-size: 10px !important;
    padding: 2px 4px !important;
    height: auto !important;
    background: transparent !important;
    color: #cbd5e1 !important;
    border: none !important;
}

.gtranslate_wrapper img {
    width: 14px !important;
    height: auto !important;
    margin-right: 4px !important;
}

.gtranslate_wrapper * {
    font-size: 11px !important;
    line-height: 1.3 !important;
}
</style>
<div class="gtranslate_wrapper"></div>
<script>
    window.gtranslateSettings = {
        default_language: "en",
        alt_flags:{"en":"usa"},
        wrapper_selector: ".gtranslate_wrapper",
        flag_style: "3d",
    };
</script>
<script src="https://cdn.gtranslate.net/widgets/latest/float.js" defer></script>

 </div>
</body>

</html>
