/* Add enhanced CSS for better UI effects

        /* Base styles */
        .walletup-container {
            position: relative;
            transition: opacity 0.3s ease, transform 0.3s ease;
        }
        
        /* Bank selector styling */
        .walletup-bank-selector {
            position: relative;
            margin-bottom: 16px;
            padding: 12px;
            border-radius: 8px;
            background: #f8f9fa;
            box-shadow: 0 1px 3px rgba(0,0,0,0.05);
            transition: all 0.3s ease;
        }
        
        .walletup-bank-selector.walletup-saving {
            background: #f0f0ff;
        }
        
        .walletup-bank-selector label {
            display: block;
            margin-bottom: 8px;
            font-weight: 500;
            color: #344054;
            font-size: 14px;
        }
        
        .walletup-zelle-bank-dropdown {
            padding: 10px 14px;
            border: 1px solid #d0d5dd;
            border-radius: 6px;
            width: 100%;
            max-width: 300px;
            font-size: 15px;
            color: #344054;
            background-color: white;
            transition: all 0.2s ease;
            box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
            background-image: url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 14 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3.5 5.25L7 8.75L10.5 5.25' stroke='%23667085' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: right 14px center;
            -webkit-appearance: none;
            -moz-appearance: none;
            appearance: none;
            height: fit-content;
        }
        
        .walletup-zelle-bank-dropdown:focus {
            outline: none;
            border-color: #9E77ED;
            box-shadow: 0 0 0 4px rgba(158, 119, 237, 0.2);
        }
        
        .walletup-zelle-bank-dropdown.walletup-dropdown-selected {
            animation: selectPulse 0.5s ease;
        }
        
        .walletup-zelle-bank-dropdown option {
            padding: 10px;
        }
        
        .walletup-zelle-bank-dropdown option.walletup-selected-bank {
            font-weight: 600;
            background-color: #F9F5FF;
        }
        
        .walletup-bank-detected {
            animation: detectPulse 0.5s ease;
        }
        
        .walletup-current-bank {
            margin-top: 8px;
            font-size: 14px;
            color: #475467;
            transition: opacity 0.3s ease, transform 0.3s ease;
        }
        
        .walletup-current-bank.walletup-updating {
            opacity: 0.5;
            transform: translateY(2px);
        }
        
        .walletup-current-bank span {
            font-weight: 600;
            color: #674FBF;
        }
        
        /* QR code styling */
        .walletup-qr-code {
            position: relative;
            margin: 16px auto;
            max-width: 300px;
            border-radius: 12px;
            padding: 16px;
            box-shadow: 0 1px 3px rgba(16, 24, 40, 0.1), 0 1px 2px rgba(16, 24, 40, 0.06);
            background-color: white;
            transition: all 0.3s ease;
            overflow: hidden;
        }
        
        .walletup-qr-code.walletup-loading-state {
            background-color: #F9F5FF;
        }
        
        .walletup-qr-code img {
            display: block;
            width: 100%;
            max-width: 100%;
            height: auto;
            border-radius: 8px;
            transition: opacity 0.3s ease, transform 0.3s ease;
        }
        
        .walletup-qr-link {
            display: block;
            text-decoration: none;
            color: inherit;
            position: relative;
            transition: transform 0.2s ease;
        }
        
        .walletup-qr-link:hover {
            transform: scale(1.02);
        }
        
        .walletup-qr-link:active {
            transform: scale(0.98);
        }
        
        .walletup-qr-tooltip {
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%) translateY(100%);
            background-color: #1E1E1E;
            color: white;
            padding: 6px 10px;
            border-radius: 6px;
            font-size: 12px;
            opacity: 0;
            transition: all 0.2s ease;
            pointer-events: none;
            white-space: nowrap;
            z-index: 100;
        }
        
        .walletup-tooltip-visible {
            opacity: 0.9;
            bottom: -6px;
        }
        
        .walletup-qr-updated {
            animation: qrUpdate 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }
        
        /* Button styling */
        .walletup-button {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-width: 120px;
            padding: 10px 16px;
            background-color: #7F56D9;
            color: white;
            font-size: 14px;
            font-weight: 500;
            border-radius: 8px;
            text-decoration: none;
            transition: all 0.2s ease;
            position: relative;
            overflow: hidden;
            box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
            border: 1px solid transparent;
        }
        
        .walletup-button:hover {
            background-color: #6941C6;
            box-shadow: 0 2px 4px rgba(16, 24, 40, 0.1);
            transform: translateY(-1px);
        }
        
        .walletup-button:active {
            background-color: #6941C6;
            transform: translateY(1px);
            box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
        }
        
        .walletup-button-updating {
            opacity: 0.7;
            pointer-events: none;
        }
        
        .walletup-deep-link-badge {
            position: absolute;
            top: -8px;
            right: -8px;
            background-color: #12B76A;
            color: white;
            font-size: 10px;
            padding: 2px 6px;
            border-radius: 10px;
            font-weight: 500;
            box-shadow: 0 1px 2px rgba(16, 24, 40, 0.1);
            animation: badgePop 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }
        
        .walletup-ripple {
            position: absolute;
            border-radius: 50%;
            background-color: rgba(255, 255, 255, 0.4);
            width: 10px;
            height: 10px;
            animation: ripple 0.5s linear;
            transform: scale(0);
            pointer-events: none;
        }
        
        /* Link styling */
        .walletup-link {
            display: inline-flex;
            align-items: center;
            font-size: 14px;
            color: #7F56D9;
            text-decoration: none;
            transition: all 0.2s ease;
        }
        
        .walletup-link:hover {
            color: #6941C6;
            text-decoration: underline;
        }
        
        /* Loading animations */
        .walletup-qr-loading {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            display: flex;
            justify-content: center;
            align-items: center;
            background: rgba(255, 255, 255, 0.9);
            backdrop-filter: blur(2px);
            z-index: 10;
            opacity: 0;
            transition: opacity 0.3s ease;
            border-radius: 12px;
        }
        
        .walletup-loading-visible {
            opacity: 1;
        }
        
        .walletup-spinner-container {
            display: flex;
            flex-direction: column;
            align-items: center;
        }
        
        .walletup-spinner-wrapper {
            width: 40px;
            height: 40px;
            position: relative;
            margin-bottom: 8px;
        }
        
        .walletup-spinner {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border: 3px solid rgba(103, 79, 191, 0.2);
            border-top-color: #674FBF;
            border-radius: 50%;
            animation: spinner 0.8s linear infinite;
        }
        
        .walletup-spinner-text {
            font-size: 14px;
            color: #4E4B66;
            font-weight: 500;
        }
        
        /* Error styling */
        .walletup-qr-error-message {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: rgba(216, 50, 47, 0.95);
            color: white;
            padding: 10px;
            display: flex;
            align-items: center;
            transform: translateY(100%);
            transition: transform 0.3s ease;
            border-bottom-left-radius: 12px;
            border-bottom-right-radius: 12px;
        }
        
        .walletup-error-visible {
            transform: translateY(0);
        }
        
        .walletup-error-icon {
            flex-shrink: 0;
            margin-right: 8px;
        }
        
        .walletup-error-text {
            flex: 1;
            font-size: 13px;
        }
        
        .walletup-error-retry {
            background: white;
            color: #D83230;
            border: none;
            border-radius: 4px;
            padding: 4px 8px;
            font-size: 12px;
            font-weight: 500;
            cursor: pointer;
            margin-left: 8px;
            transition: all 0.2s ease;
        }
        
        .walletup-error-retry:hover {
            background: #F8F8F8;
            transform: translateY(-1px);
        }
        
        /* Toast notifications */
        .walletup-toast {
            position: fixed;
            top: 20px;
            right: 20px;
            padding: 12px 16px;
            background: white;
            border-radius: 8px;
            display: flex;
            align-items: center;
            box-shadow: 0 4px 12px rgba(16, 24, 40, 0.15);
            transform: translateX(120%);
            opacity: 0;
            transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            z-index: 9999;
            max-width: 320px;
            font-size: 14px;
            line-height: 1.4;
            color: #344054;
        }
        
        .walletup-toast-visible {
            transform: translateX(0);
            opacity: 1;
        }
        
        .walletup-toast-success {
            border-left: 4px solid #12B76A;
        }
        
        .walletup-toast-error {
            border-left: 4px solid #F04438;
        }
        
        .walletup-toast-info {
            border-left: 4px solid #3E7BFA;
        }
        
        .walletup-toast-icon {
            margin-right: 8px;
            flex-shrink: 0;
        }
        
        .walletup-toast-success .walletup-toast-icon {
            color: #12B76A;
        }
        
        .walletup-toast-error .walletup-toast-icon {
            color: #F04438;
        }
        
        .walletup-toast-info .walletup-toast-icon {
            color: #3E7BFA;
        }
        
        /* Mini toast within elements */
        .walletup-mini-toast {
            position: absolute;
            top: 8px;
            right: 8px;
            background: rgba(20, 20, 40, 0.9);
            color: white;
            font-size: 12px;
            padding: 4px 8px;
            border-radius: 4px;
            opacity: 0;
            transform: translateY(-10px);
            transition: all 0.3s ease;
            pointer-events: none;
            z-index: 5;
        }
        
        .walletup-mini-toast-visible {
            opacity: 1;
            transform: translateY(0);
        }
        
        /* Success indicator */
   .walletup-success-indicator {
            position: absolute;
            top: 50%;
            left: 50%;
            width: 60px;
            height: 60px;
            margin-left: -30px;
            margin-top: -30px;
            background: rgba(18, 183, 106, 0.9);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transform: scale(0.5);
            z-index: 20;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
        }
        
        .walletup-success-indicator svg {
            width: 30px;
            height: 30px;
            stroke: white;
            stroke-width: 3px;
        }
        
        .walletup-indicator-animate {
            animation: successPop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
        }
        
        /* Additional styles for deep link error handling */

        .walletup-fallback-indicator {
            background-color: #F8D7DA;
            color: #721C24;
            border: 1px solid #F5C6CB;
            padding: 8px 12px;
            border-radius: 6px;
            margin-top: 8px;
            font-size: 12px;
            text-align: center;
            display: none; /* Initially hidden, shown with fadeIn() */
        }

        .walletup-status-indicator {
            display: flex;
            align-items: center;
            background-color: #F8F9FA;
            border: 1px solid #E9ECEF;
            border-radius: 6px;
            padding: 6px 10px;
            margin-bottom: 10px;
            font-size: 12px;
            color: #495057;
        }

        .walletup-status-indicator.walletup-device-ios .walletup-status-icon:before {
            content: '';
            display: inline-block;
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background-color: #5CB85C;
            margin-right: 8px;
        }

        .walletup-status-indicator.walletup-device-android .walletup-status-icon:before {
            content: '';
            display: inline-block;
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background-color: #5CB85C;
            margin-right: 8px;
        }

        .walletup-status-indicator.walletup-device-desktop .walletup-status-icon:before {
            content: '';
            display: inline-block;
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background-color: #FFC107;
            margin-right: 8px;
        }

        .walletup-status-indicator.walletup-error .walletup-status-icon:before {
            background-color: #D9534F;
        }

        /* Style for standard links (fallback mode) */
        .walletup-standard-link {
            position: relative;
        }

        .walletup-standard-link:after {
            content: 'Standard';
            position: absolute;
            top: -8px;
            right: -8px;
            background-color: #FFC107;
            color: #212529;
            font-size: 10px;
            padding: 2px 6px;
            border-radius: 10px;
            font-weight: 500;
        }

        /* Animation for transition to standard links */
        @keyframes fallbackTransition {
            0% { background-color: inherit; }
            50% { background-color: #FFF3CD; }
            100% { background-color: inherit; }
        }

        .walletup-fallback-transition {
            animation: fallbackTransition 1s ease;
        }

        /* Deep link error dialog */
        .walletup-deeplink-error-dialog {
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%) scale(0.9);
            background: white;
            border-radius: 12px;
            padding: 20px;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
            max-width: 90%;
            width: 320px;
            z-index: 10000;
            opacity: 0;
            transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }

        .walletup-deeplink-error-dialog.visible {
            opacity: 1;
            transform: translate(-50%, -50%) scale(1);
        }

        .walletup-deeplink-error-dialog-header {
            display: flex;
            align-items: center;
            margin-bottom: 15px;
        }

        .walletup-deeplink-error-dialog-header-icon {
            background-color: #FEF2F2;
            border-radius: 50%;
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 15px;
        }

        .walletup-deeplink-error-dialog-header-icon svg {
            color: #DC2626;
            width: 24px;
            height: 24px;
        }

        .walletup-deeplink-error-dialog-title {
            font-size: 18px;
            font-weight: 600;
            color: #111827;
        }

        .walletup-deeplink-error-dialog-content {
            margin-bottom: 20px;
            color: #4B5563;
            font-size: 14px;
            line-height: 1.6;
        }

        .walletup-deeplink-error-dialog-footer {
            display: flex;
            justify-content: flex-end;
            gap: 10px;
        }

        .walletup-deeplink-error-dialog-button {
            padding: 8px 16px;
            border-radius: 6px;
            font-size: 14px;
            font-weight: 500;
            cursor: pointer;
            transition: background-color 0.2s;
        }

        .walletup-deeplink-error-dialog-button-cancel {
            background-color: #F9FAFB;
            color: #374151;
            border: 1px solid #D1D5DB;
        }

        .walletup-deeplink-error-dialog-button-cancel:hover {
            background-color: #F3F4F6;
        }

        .walletup-deeplink-error-dialog-button-confirm {
            background-color: #DC2626;
            color: white;
            border: none;
        }

        .walletup-deeplink-error-dialog-button-confirm:hover {
            background-color: #B91C1C;
        }

        .walletup-deeplink-error-backdrop {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: rgba(0, 0, 0, 0.5);
            backdrop-filter: blur(2px);
            z-index: 9999;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .walletup-deeplink-error-backdrop.visible {
            opacity: 1;
        }

        /* Page reload overlay */
        .walletup-page-reload-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(255, 255, 255, 0.8);
            backdrop-filter: blur(3px);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 10000;
            opacity: 0;
            transition: opacity 0.3s ease;
        }
        
        .walletup-overlay-visible {
            opacity: 1;
        }
        
        .walletup-page-reload-content {
            background: white;
            padding: 20px;
            border-radius: 12px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
            text-align: center;
            max-width: 320px;
            width: 100%;
        }
        
        .walletup-reload-spinner {
            width: 40px;
            height: 40px;
            margin: 0 auto 16px;
            border: 3px solid rgba(103, 79, 191, 0.2);
            border-radius: 50%;
            border-top-color: #674FBF;
            animation: spinner 1s linear infinite;
        }
        
        .walletup-reload-message {
            font-size: 16px;
            color: #344054;
            font-weight: 500;
        }
        
        /* Bank detection */
        .walletup-bank-detector {
            position: fixed;
            bottom: 20px;
            left: 20px;
            background: white;
            border-radius: 8px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
            padding: 12px;
            display: flex;
            align-items: center;
            z-index: 9900;
            transform: translateY(100px);
            opacity: 0;
            transition: all 0.3s ease;
        }
        
        .walletup-detector-visible {
            transform: translateY(0);
            opacity: 1;
        }
        
        .walletup-detector-content {
            display: flex;
            align-items: center;
        }
        
        .walletup-detector-spinner {
            width: 24px;
            height: 24px;
            border: 2px solid rgba(103, 79, 191, 0.2);
            border-top-color: #674FBF;
            border-radius: 50%;
            animation: spinner 0.8s linear infinite;
            margin-right: 12px;
            flex-shrink: 0;
        }
        
        .walletup-detector-text {
            font-size: 14px;
            color: #344054;
        }
        
        /* Element pulse effect */
        .walletup-element-pulse {
            animation: elementPulse 0.4s ease;
        }
        
        /* Disclaimer styling */
        .walletup-disclaimer {
            margin-top: 12px;
            text-align: center;
        }
        
        .walletup-disclaimer small {
            font-size: 11px;
            color: #667085;
            display: block;
            max-width: 500px;
            margin: 0 auto;
            line-height: 1.4;
        }
        
        /* Animation keyframes */
        @keyframes spinner {
            to { transform: rotate(360deg); }
        }
        
        @keyframes qrUpdate {
            0% { transform: scale(0.96); box-shadow: 0 0 0 0 rgba(158, 119, 237, 0.4); }
            50% { transform: scale(1.02); box-shadow: 0 0 0 10px rgba(158, 119, 237, 0); }
            100% { transform: scale(1); }
        }
        
        @keyframes successPop {
            0% { opacity: 0; transform: scale(0.5); }
            70% { opacity: 1; transform: scale(1.1); }
            100% { opacity: 0; transform: scale(1.5); }
        }
        
        @keyframes selectPulse {
            0% { border-color: #d0d5dd; }
            50% { border-color: #9E77ED; }
            100% { border-color: #d0d5dd; }
        }
        
        @keyframes detectPulse {
            0% { background-color: white; }
            50% { background-color: #F9F5FF; }
            100% { background-color: white; }
        }
        
        @keyframes ripple {
            to { 
                transform: scale(25);
                opacity: 0;
            }
        }
        
        @keyframes badgePop {
            0% { transform: scale(0); }
            70% { transform: scale(1.2); }
            100% { transform: scale(1); }
        }
        
        @keyframes elementPulse {
            0% { transform: scale(1); }
            50% { transform: scale(0.95); }
            100% { transform: scale(1); }
        }
        
        /* Responsive styles */
        @media (max-width: 768px) {
            .walletup-toast {
                width: calc(100% - 32px);
                max-width: none;
                left: 16px;
                right: 16px;
            }
            
            .walletup-bank-selector,
            .walletup-qr-code {
                width: 100%;
            }
        }
    