
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Google Sans', 'Segoe UI', sans-serif;
        }

        /* Loading Screen Styles */
        .loading-screen {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, #FF9933, #FF9933, #FF9933);
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            z-index: 9999;
            transition: opacity 0.5s ease;
        }

        .loading-logo {
            display: flex;
            align-items: center;
            font-size: 48px;
            font-weight: bold;
            color: white;
            margin-bottom: 30px;
        }

        .loading-logo-icon {
            width: 48px;
            height: 48px;
            background-color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 16px;
            font-size: 32px;
            color: #FF9933;
        }

        .logo-text {
            display: flex;
            align-items: center;
        }

        .loading-slider {
            width: 300px;
            height: 8px;
            background: rgba(255, 255, 255, 0.3);
            border-radius: 4px;
            overflow: hidden;
        }

        .loading-progress {
            height: 100%;
            width: 0%;
            background: white;
            border-radius: 4px;
            transition: width 0.3s ease;
        }

        /* Main App Styles (hidden initially) */
        .app-container {
            display: none;
        }

        body {
            background-color: #f5f5f5;
            color: #333;
            padding-bottom: 80px;
            transition: all 0.3s ease;
        }

        /* Header Styles */
        .header {
            background: linear-gradient(135deg, #FF9933, #FF9933, #FF9933);
            color: white;
            padding: 20px 16px;
            border-radius: 0 0 20px 20px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            position: relative;
            overflow: hidden;
        }

        .header::before {
            content: "";
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
            transform: rotate(30deg);
        }

        .header-top {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
        }

        .logo {
            display: flex;
            align-items: center;
            font-size: 24px;
            font-weight: bold;
        }

        .logo-icon {
            width: 24px;
            height: 24px;
            background-color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 8px;
            font-size: 16px;
            color: #FF9933;
        }

        .header-icons {
            display: flex;
            gap: 20px;
            align-items: center;
        }

        .header-icons i {
            font-size: 20px;
            cursor: pointer;
        }

        .notification-badge {
            position: relative;
        }

        .badge {
            position: absolute;
            top: -8px;
            right: -8px;
            background: #EA4335;
            color: white;
            border-radius: 50%;
            width: 18px;
            height: 18px;
            font-size: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        /* Balance Cards Grid */
        .balance-cards {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 15px;
            margin-bottom: 20px;
        }

        .balance-card {
            background: white;
            border-radius: 16px;
            padding: 15px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
            display: flex;
            flex-direction: column;
            cursor: pointer;
            transition: transform 0.2s ease;
            color: #333;
        }

        .balance-card:hover {
            transform: translateY(-3px);
        }

        .card-title {
            font-size: 14px;
            opacity: 0.9;
            margin-bottom: 5px;
            color: #333;
        }

        .card-value {
            font-size: 20px;
            font-weight: bold;
            margin-bottom: 10px;
            word-break: break-all;
            color: #333;
        }

        .card-actions {
            display: flex;
            justify-content: flex-end;
        }

        .eye-btn {
            background: none;
            border: none;
            color: #333;
            font-size: 16px;
            cursor: pointer;
            opacity: 0.8;
        }

        .eye-btn:hover {
            opacity: 1;
        }

        /* Wallet Balance Card - Same size as other cards */
        .wallet-card {
            background: white;
            border-radius: 16px;
            padding: 15px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
            display: flex;
            flex-direction: column;
            cursor: pointer;
            transition: transform 0.2s ease;
            grid-column: span 2;
            color: #333;
        }

        .wallet-card:hover {
            transform: translateY(-3px);
        }

        .wallet-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 10px;
        }

        .wallet-title {
            font-size: 16px;
            font-weight: bold;
            display: flex;
            align-items: center;
            gap: 8px;
            color: #333;
        }

        .wallet-icon {
            width: 20px;
            height: 20px;
            background-color: #FF9933;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 12px;
            color: white;
        }

        .wallet-amount {
            font-size: 24px;
            font-weight: bold;
            color: #333;
        }

        /* Quick Actions */
        .quick-actions {
            display: flex;
            justify-content: space-between;
            padding: 20px 16px;
            background: white;
            border-radius: 20px;
            margin: 20px 16px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
            flex-wrap: wrap;
        }

        .action-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            cursor: pointer;
            transition: all 0.3s ease;
            width: calc(20% - 10px);
            min-width: 60px;
        }

        .action-item:hover {
            transform: translateY(-5px);
        }

        .action-icon {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 8px;
            font-size: 20px;
            color: white;
        }

        .action-item:nth-child(1) .action-icon { background: #4285F4; }
        .action-item:nth-child(2) .action-icon { background: #34A853; }
        .action-item:nth-child(3) .action-icon { background: #FBBC05; }
        .action-item:nth-child(4) .action-icon { background: #EA4335; }
        .action-item:nth-child(5) .action-icon { background: #9C27B0; }

        .action-label {
            font-size: 16px;
            text-align: center;
            color: #666;
            line-height: 1.3;
            font-weight: bold;
        }

        /* Recent Transactions */
        .section-title {
            padding: 0 16px;
            font-size: 24px;
            font-weight: bold;
            margin: 25px 0 15px;
            color: #333;
        }

        .transactions {
            background: white;
            margin: 0 16px;
            border-radius: 16px;
            overflow: hidden;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
        }

        .transaction-item {
            display: flex;
            align-items: center;
            padding: 16px;
            border-bottom: 1px solid #eee;
            cursor: pointer;
        }

        .transaction-item:last-child {
            border-bottom: none;
        }

        .transaction-icon {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 15px;
            font-size: 18px;
            color: white;
        }

        .transaction-details {
            flex: 1;
        }

        .transaction-name {
            font-weight: bold;
            margin-bottom: 3px;
        }

        .transaction-date {
            font-size: 12px;
            color: #888;
        }

        .transaction-amount {
            font-weight: bold;
            font-size: 16px;
        }

        .amount-positive {
            color: #34A853;
        }

        .amount-negative {
            color: #EA4335;
        }

        /* Bottom Navigation */
        .bottom-nav {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            background: white;
            display: flex;
            justify-content: space-around;
            padding: 12px 0;
            box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
            z-index: 100;
        }

        .nav-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            cursor: pointer;
            color: #777;
            font-size: 12px;
            transition: all 0.3s ease;
            width: 20%; /* Adjusted for 5 items */
        }

        .nav-item.active {
            color: #FF9933;
        }

        .nav-item i {
            font-size: 20px;
            margin-bottom: 4px;
        }

        /* Payment Modal */
        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            z-index: 1000;
            justify-content: center;
            align-items: center;
        }

        .modal-content {
            background: white;
            border-radius: 20px;
            width: 90%;
            max-width: 450px;
            padding: 30px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
            max-height: 90vh;
            overflow-y: auto;
        }

        .modal-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 25px;
        }

        .modal-title {
            font-size: 24px;
            font-weight: bold;
        }

        .close-modal {
            background: none;
            border: none;
            font-size: 28px;
            cursor: pointer;
            color: #888;
        }

        .payment-methods {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 20px;
            margin-bottom: 30px;
        }

        .payment-option {
            border: 2px solid #eee;
            border-radius: 15px;
            padding: 20px;
            text-align: center;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .payment-option:hover, .payment-option.active {
            border-color: #FF9933;
            background: rgba(255, 153, 51, 0.05);
        }

        .payment-icon {
            font-size: 28px;
            margin-bottom: 15px;
            color: #FF9933;
        }

        .payment-name {
            font-weight: bold;
            font-size: 18px;
        }

        .pay-button {
            width: 100%;
            padding: 18px;
            background: linear-gradient(135deg, #FF9933, #FF9933);
            color: white;
            border: none;
            border-radius: 15px;
            font-size: 20px;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.3s ease;
            margin-top: 20px;
        }

        .pay-button:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(255, 153, 51, 0.4);
        }

        /* Input Fields */
        .phone-input-container {
            display: flex;
            align-items: center;
            margin-bottom: 25px;
            display: none;
        }

        .phone-input {
            flex: 1;
            padding: 18px;
            border: 2px solid #eee;
            border-radius: 15px 0 0 15px;
            font-size: 20px;
            outline: none;
            background: white;
            color: #333;
        }

        .phone-input:focus {
            border-color: #FF9933;
        }

        .input-buttons {
            display: flex;
        }

        .input-button {
            padding: 18px;
            border: 2px solid #eee;
            border-left: none;
            background: #f5f5f5;
            color: #333;
            cursor: pointer;
            font-size: 20px;
            transition: background 0.2s ease;
        }

        .input-button:hover {
            background: #e0e0e0;
        }

        .backspace-button {
            border-radius: 0;
        }

        .reset-button {
            border-radius: 0 15px 15px 0;
        }

        /* Contacts List */
        .contacts-list {
            max-height: 250px;
            overflow-y: auto;
            margin-bottom: 25px;
            border: 1px solid #eee;
            border-radius: 15px;
            padding: 15px;
            display: none;
        }

        .contact-item {
            padding: 15px;
            border-bottom: 1px solid #eee;
            cursor: pointer;
            display: flex;
            align-items: center;
            transition: background 0.2s ease;
        }

        .contact-item:hover {
            background: rgba(0, 0, 0, 0.05);
        }

        .contact-item:last-child {
            border-bottom: none;
        }

        .contact-avatar {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background: #4285F4;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: bold;
            margin-right: 15px;
            font-size: 20px;
        }

        .contact-info {
            flex: 1;
        }

        .contact-name {
            font-weight: bold;
            font-size: 18px;
            margin-bottom: 3px;
        }

        .contact-number {
            font-size: 16px;
            color: #666;
        }

        /* Selected Contact Card */
        .selected-contact {
            background: rgba(255, 153, 51, 0.1);
            border: 2px solid #FF9933;
            border-radius: 15px;
            padding: 20px;
            margin-bottom: 25px;
            display: none;
            align-items: center;
        }

        .selected-contact-avatar {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            background: #34A853;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: bold;
            margin-right: 20px;
            font-size: 24px;
        }

        .selected-contact-info {
            flex: 1;
        }

        .selected-contact-name {
            font-weight: bold;
            font-size: 20px;
            margin-bottom: 5px;
        }

        .selected-contact-number {
            font-size: 18px;
            color: #666;
        }

        .remove-contact {
            background: none;
            border: none;
            color: #EA4335;
            font-size: 24px;
            cursor: pointer;
        }

        /* Amount Modal */
        .amount-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            z-index: 1000;
            justify-content: center;
            align-items: center;
        }

        .amount-modal-content {
            background: white;
            border-radius: 20px;
            width: 90%;
            max-width: 500px;
            padding: 25px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
            max-height: 90vh;
            overflow-y: auto;
        }

        .amount-input-container {
            display: flex;
            align-items: center;
            margin-bottom: 25px;
        }

        .amount-input-wrapper {
            position: relative;
            flex: 1;
        }

        .amount-input-wrapper::before {
            content: "₹";
            position: absolute;
            left: 20px;
            top: 50%;
            transform: translateY(-50%);
            font-size: 28px;
            font-weight: bold;
            color: #333;
            z-index: 2;
        }

        .amount-input {
            width: 100%;
            padding: 25px 25px 25px 50px;
            border: 2px solid #eee;
            border-radius: 15px 0 0 15px;
            font-size: 28px;
            outline: none;
            background: white;
            color: #333;
            font-weight: bold;
            height: 78px; /* Match button height */
        }

        .amount-input:focus {
            border-color: #FF9933;
        }

        .amount-buttons {
            display: flex;
        }

        .amount-button {
            width: 78px; /* Square buttons */
            height: 78px; /* Same height as input */
            border: 2px solid #eee;
            border-left: none;
            background: #f5f5f5;
            color: #333;
            cursor: pointer;
            font-size: 22px;
            transition: background 0.2s ease;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .amount-button:hover {
            background: #e0e0e0;
        }

        .amount-backspace-button {
            border-radius: 0;
        }

        .amount-reset-button {
            border-radius: 0 15px 15px 0;
        }

        /* Quick Amount Buttons */
        .quick-amounts {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 15px;
            margin: 25px 0;
        }

        .quick-amount-btn {
            padding: 20px;
            background: #f5f5f5;
            border: 1px solid #ddd;
            border-radius: 12px;
            font-weight: bold;
            font-size: 18px;
            cursor: pointer;
            transition: all 0.2s ease;
            text-align: center;
            min-height: 70px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .quick-amount-btn:hover {
            background: #e0e0e0;
            transform: translateY(-2px);
        }

        /* Account Selection Modal */
        .account-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            z-index: 1000;
            justify-content: center;
            align-items: center;
        }

        .account-modal-content {
            background: white;
            border-radius: 20px;
            width: 90%;
            max-width: 500px;
            padding: 35px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        }

        .account-item {
            padding: 20px;
            border-bottom: 1px solid #eee;
            cursor: pointer;
            transition: background 0.2s ease;
        }

        .account-item:hover {
            background: rgba(0, 0, 0, 0.05);
        }

        .account-item:last-child {
            border-bottom: none;
        }

        .account-name {
            font-weight: bold;
            font-size: 20px;
            margin-bottom: 8px;
        }

        .account-details {
            font-size: 16px;
            color: #666;
        }

        .account-balance {
            font-weight: bold;
            font-size: 20px;
            color: #333;
            margin-top: 8px;
        }

        /* UPI PIN Modal */
        .upi-pin-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            z-index: 1000;
            justify-content: center;
            align-items: center;
        }

        .upi-pin-content {
            background: white;
            border-radius: 20px;
            width: 90%;
            max-width: 500px;
            padding: 30px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
            text-align: center;
        }

        .upi-logo {
            width: 80px;
            height: 80px;
            background: #FF9933;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 20px;
            font-size: 40px;
            color: white;
            font-weight: bold;
        }

        .receiver-info {
            margin-bottom: 30px;
        }

        .receiver-name {
            font-size: 22px;
            font-weight: bold;
            margin-bottom: 10px;
        }

        .receiver-account {
            font-size: 18px;
            color: #666;
            margin-bottom: 15px;
        }

        .payment-amount {
            font-size: 32px;
            font-weight: bold;
            color: #333;
            margin-bottom: 30px;
        }

        .pin-input-container {
            display: flex;
            justify-content: center;
            gap: 15px;
            margin-bottom: 30px;
        }

        .pin-digit {
            width: 50px;
            height: 60px;
            border: 2px solid #ddd;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
            font-weight: bold;
            background: #f9f9f9;
        }

        .pin-digit.filled {
            border-color: #FF9933;
            background: rgba(255, 153, 51, 0.1);
        }

        .numeric-keypad {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 15px;
            max-width: 300px;
            margin: 0 auto;
        }

        .keypad-button {
            padding: 20px;
            background: #f5f5f5;
            border: 1px solid #ddd;
            border-radius: 12px;
            font-size: 24px;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .keypad-button:hover {
            background: #e0e0e0;
            transform: translateY(-2px);
        }

        .backspace-key {
            background: #FF9933;
            color: white;
        }

        .pay-now-button {
            width: 100%;
            padding: 18px;
            background: linear-gradient(135deg, #FF9933, #FF9933);
            color: white;
            border: none;
            border-radius: 15px;
            font-size: 20px;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.3s ease;
            margin-top: 25px;
        }

        .pay-now-button:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(255, 153, 51, 0.4);
        }

        .cancel-button {
            background: none;
            border: none;
            color: #FF9933;
            font-size: 18px;
            cursor: pointer;
            margin-top: 15px;
            font-weight: bold;
        }

        /* Payment Success Modal */
        .payment-success-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            z-index: 1000;
            justify-content: center;
            align-items: center;
        }

        .payment-success-content {
            background: white;
            border-radius: 20px;
            width: 90%;
            max-width: 500px;
            padding: 30px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
            text-align: center;
        }

        .success-icon {
            width: 100px;
            height: 100px;
            background: #34A853;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 20px;
            font-size: 50px;
            color: white;
        }

        .success-title {
            font-size: 28px;
            font-weight: bold;
            color: #34A853;
            margin-bottom: 10px;
        }

        .success-amount {
            font-size: 32px;
            font-weight: bold;
            margin-bottom: 30px;
        }

        .payment-details {
            text-align: left;
            background: #f9f9f9;
            border-radius: 15px;
            padding: 20px;
            margin-bottom: 30px;
        }

        .detail-row {
            display: flex;
            justify-content: space-between;
            padding: 12px 0;
            border-bottom: 1px solid #eee;
        }

        .detail-row:last-child {
            border-bottom: none;
        }

        .detail-label {
            font-weight: bold;
            color: #666;
        }

        .detail-value {
            font-weight: bold;
            text-align: right;
        }

        .done-button {
            width: 100%;
            padding: 18px;
            background: linear-gradient(135deg, #34A853, #34A853);
            color: white;
            border: none;
            border-radius: 15px;
            font-size: 20px;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .done-button:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(52, 168, 83, 0.4);
        }

        /* Transaction Detail Modal */
        .transaction-detail-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            z-index: 1000;
            justify-content: center;
            align-items: center;
        }

        .transaction-detail-content {
            background: white;
            border-radius: 20px;
            width: 90%;
            max-width: 500px;
            padding: 30px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        }

        .transaction-detail-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 25px;
        }

        .transaction-detail-title {
            font-size: 24px;
            font-weight: bold;
        }

        .transaction-detail-icon {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 20px;
            font-size: 30px;
            color: white;
        }

        .transaction-amount-detail {
            font-size: 32px;
            font-weight: bold;
            text-align: center;
            margin-bottom: 30px;
        }

        .transaction-detail-info {
            background: #f9f9f9;
            border-radius: 15px;
            padding: 20px;
            margin-bottom: 30px;
        }

        .transaction-detail-row {
            display: flex;
            justify-content: space-between;
            padding: 12px 0;
            border-bottom: 1px solid #eee;
        }

        .transaction-detail-row:last-child {
            border-bottom: none;
        }

        .transaction-detail-label {
            font-weight: bold;
            color: #666;
        }

        .transaction-detail-value {
            font-weight: bold;
            text-align: right;
        }

        .close-detail-modal {
            background: none;
            border: none;
            font-size: 28px;
            cursor: pointer;
            color: #888;
        }

        /* Card/Wallet Selection Modal */
        .card-wallet-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            z-index: 1000;
            justify-content: center;
            align-items: center;
        }

        .card-wallet-content {
            background: white;
            border-radius: 20px;
            width: 90%;
            max-width: 500px;
            padding: 30px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        }

        .card-wallet-options {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 20px;
            margin: 20px 0;
        }

        .card-wallet-option {
            border: 2px solid #eee;
            border-radius: 15px;
            padding: 25px 15px;
            text-align: center;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .card-wallet-option:hover {
            border-color: #FF9933;
            background: rgba(255, 153, 51, 0.05);
        }

        .card-wallet-icon {
            font-size: 36px;
            margin-bottom: 15px;
            color: #FF9933;
        }

        .card-wallet-name {
            font-weight: bold;
            font-size: 18px;
        }

        /* Wallet Payment Modal */
        .wallet-payment-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            z-index: 1000;
            justify-content: center;
            align-items: center;
        }

        .wallet-payment-content {
            background: white;
            border-radius: 20px;
            width: 90%;
            max-width: 500px;
            padding: 25px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
            max-height: 90vh;
            overflow-y: auto;
        }

        .wallet-balance {
            background: #f0f8ff;
            border-radius: 15px;
            padding: 20px;
            margin-bottom: 25px;
            text-align: center;
        }

        .wallet-balance-title {
            font-size: 18px;
            color: #666;
            margin-bottom: 10px;
        }

        .wallet-balance-amount {
            font-size: 32px;
            font-weight: bold;
            color: #333;
        }

        /* Card Selection Modal */
        .card-selection-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            z-index: 1000;
            justify-content: center;
            align-items: center;
        }

        .card-selection-content {
            background: white;
            border-radius: 20px;
            width: 90%;
            max-width: 500px;
            padding: 30px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
            max-height: 80vh;
            overflow-y: auto;
        }

        .card-item {
            padding: 20px;
            border: 2px solid #eee;
            border-radius: 15px;
            margin-bottom: 15px;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .card-item:hover {
            border-color: #FF9933;
            background: rgba(255, 153, 51, 0.05);
        }

        .card-item:last-child {
            margin-bottom: 0;
        }

        .card-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
        }

        .card-type {
            font-weight: bold;
            font-size: 18px;
        }

        .card-icon {
            font-size: 24px;
            color: #FF9933;
        }

        .card-number {
            font-size: 18px;
            margin-bottom: 10px;
            letter-spacing: 2px;
        }

        .card-details {
            display: flex;
            justify-content: space-between;
            color: #666;
        }

        .card-account {
            font-size: 14px;
            color: #333;
            margin-top: 8px;
            font-weight: bold;
        }

        .add-card-item {
            padding: 20px;
            border: 2px dashed #FF9933;
            border-radius: 15px;
            text-align: center;
            cursor: pointer;
            transition: all 0.3s ease;
            margin-top: 15px;
        }

        .add-card-item:hover {
            background: rgba(255, 153, 51, 0.1);
        }

        .add-card-icon {
            font-size: 36px;
            color: #FF9933;
            margin-bottom: 10px;
        }

        .add-card-text {
            font-weight: bold;
            font-size: 18px;
            color: #FF9933;
        }

        /* Add Card Modal */
        .add-card-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            z-index: 1000;
            justify-content: center;
            align-items: center;
        }

        .add-card-content {
            background: white;
            border-radius: 20px;
            width: 90%;
            max-width: 500px;
            padding: 30px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        }

        .form-group {
            margin-bottom: 20px;
        }

        .form-label {
            display: block;
            margin-bottom: 8px;
            font-weight: bold;
            color: #333;
        }

        .form-input {
            width: 100%;
            padding: 15px;
            border: 2px solid #eee;
            border-radius: 10px;
            font-size: 16px;
            background: white;
            color: #333;
        }

        .form-input:focus {
            border-color: #FF9933;
            outline: none;
        }

        .card-number-inputs {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 10px;
        }

        .expiry-cvv {
            display: grid;
            grid-template-columns: 2fr 1fr;
            gap: 15px;
        }

        .add-card-button {
            width: 100%;
            padding: 18px;
            background: linear-gradient(135deg, #FF9933, #FF9933);
            color: white;
            border: none;
            border-radius: 15px;
            font-size: 20px;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.3s ease;
            margin-top: 10px;
        }

        .add-card-button:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(255, 153, 51, 0.4);
        }

        /* OTP Modal */
        .otp-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            z-index: 1000;
            justify-content: center;
            align-items: center;
        }

        .otp-content {
            background: white;
            border-radius: 20px;
            width: 90%;
            max-width: 500px;
            padding: 30px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
            text-align: center;
        }

        .otp-icon {
            width: 80px;
            height: 80px;
            background: #FF9933;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 20px;
            font-size: 40px;
            color: white;
        }

        .otp-title {
            font-size: 24px;
            font-weight: bold;
            margin-bottom: 15px;
        }

        .otp-description {
            color: #666;
            margin-bottom: 25px;
            line-height: 1.5;
        }

        .otp-input-container {
            display: flex;
            justify-content: center;
            gap: 15px;
            margin-bottom: 30px;
        }

        .otp-digit {
            width: 50px;
            height: 60px;
            border: 2px solid #ddd;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
            font-weight: bold;
            background: #f9f9f9;
        }

        .otp-digit.filled {
            border-color: #FF9933;
            background: rgba(255, 153, 51, 0.1);
        }

        .otp-keypad {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 15px;
            max-width: 300px;
            margin: 0 auto 25px;
        }

        .otp-keypad-button {
            padding: 20px;
            background: #f5f5f5;
            border: 1px solid #ddd;
            border-radius: 12px;
            font-size: 24px;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .otp-keypad-button:hover {
            background: #e0e0e0;
            transform: translateY(-2px);
        }

        .otp-backspace-key {
            background: #FF9933;
            color: white;
        }

        .resend-otp {
            color: #FF9933;
            background: none;
            border: none;
            font-size: 16px;
            cursor: pointer;
            font-weight: bold;
            margin-top: 15px;
        }

        /* Bank Details Modal */
        .bank-details-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            z-index: 1000;
            justify-content: center;
            align-items: center;
        }

        .bank-details-content {
            background: white;
            border-radius: 20px;
            width: 90%;
            max-width: 500px;
            padding: 30px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        }

        .bank-details-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 25px;
        }

        .bank-details-title {
            font-size: 24px;
            font-weight: bold;
        }

        .bank-details-form {
            margin-top: 20px;
        }

        .bank-details-group {
            margin-bottom: 20px;
        }

        .bank-details-label {
            display: block;
            margin-bottom: 8px;
            font-weight: bold;
            color: #333;
        }

        .bank-details-input {
            width: 100%;
            padding: 15px;
            border: 2px solid #eee;
            border-radius: 10px;
            font-size: 16px;
            background: white;
            color: #333;
        }

        .bank-details-input:focus {
            border-color: #FF9933;
            outline: none;
        }

        .bank-details-buttons {
            display: flex;
            gap: 15px;
            margin-top: 25px;
        }

        .bank-details-btn {
            flex: 1;
            padding: 15px;
            border: none;
            border-radius: 12px;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.2s ease;
            font-size: 16px;
        }

        .bank-details-cancel {
            background: #f5f5f5;
            color: #333;
        }

        .bank-details-confirm {
            background: linear-gradient(135deg, #FF9933, #FF9933);
            color: white;
        }

        .bank-details-btn:hover {
            transform: translateY(-2px);
        }

        .bank-details-confirm:hover {
            box-shadow: 0 5px 15px rgba(255, 153, 51, 0.4);
        }

        /* Card Amount Modal */
        .card-amount-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            z-index: 1000;
            justify-content: center;
            align-items: center;
        }

        .card-amount-content {
            background: white;
            border-radius: 20px;
            width: 90%;
            max-width: 500px;
            padding: 25px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
            max-height: 90vh;
            overflow-y: auto;
        }

        .card-amount-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 25px;
        }

        .card-amount-title {
            font-size: 24px;
            font-weight: bold;
        }

        .card-amount-input-container {
            display: flex;
            align-items: center;
            margin-bottom: 25px;
        }

        .card-amount-input-wrapper {
            position: relative;
            flex: 1;
        }

        .card-amount-input-wrapper::before {
            content: "₹";
            position: absolute;
            left: 20px;
            top: 50%;
            transform: translateY(-50%);
            font-size: 28px;
            font-weight: bold;
            color: #333;
            z-index: 2;
        }

        .card-amount-input {
            width: 100%;
            padding: 25px 25px 25px 50px;
            border: 2px solid #eee;
            border-radius: 15px 0 0 15px;
            font-size: 28px;
            outline: none;
            background: white;
            color: #333;
            font-weight: bold;
            height: 78px; /* Match button height */
        }

        .card-amount-input:focus {
            border-color: #FF9933;
        }

        .card-amount-buttons {
            display: flex;
        }

        .card-amount-button {
            width: 78px; /* Square buttons */
            height: 78px; /* Same height as input */
            border: 2px solid #eee;
            border-left: none;
            background: #f5f5f5;
            color: #333;
            cursor: pointer;
            font-size: 22px;
            transition: background 0.2s ease;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .card-amount-button:hover {
            background: #e0e0e0;
        }

        .card-amount-backspace-button {
            border-radius: 0;
        }

        .card-amount-reset-button {
            border-radius: 0 15px 15px 0;
        }

        /* Quick Amount Buttons */
        .card-quick-amounts {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 15px;
            margin: 25px 0;
        }

        .card-quick-amount-btn {
            padding: 20px;
            background: #f5f5f5;
            border: 1px solid #ddd;
            border-radius: 12px;
            font-weight: bold;
            font-size: 18px;
            cursor: pointer;
            transition: all 0.2s ease;
            text-align: center;
            min-height: 70px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .card-quick-amount-btn:hover {
            background: #e0e0e0;
            transform: translateY(-2px);
        }

        .card-amount-pay-button {
            width: 100%;
            padding: 18px;
            background: linear-gradient(135deg, #FF9933, #FF9933);
            color: white;
            border: none;
            border-radius: 15px;
            font-size: 20px;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.3s ease;
            margin-top: 20px;
        }

        .card-amount-pay-button:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(255, 153, 51, 0.4);
        }

        /* Profile Modal */
        .profile-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            z-index: 1000;
            justify-content: center;
            align-items: center;
        }

        .profile-content {
            background: white;
            border-radius: 20px;
            width: 90%;
            max-width: 500px;
            padding: 30px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
            max-height: 90vh;
            overflow-y: auto;
        }

        .profile-header {
            text-align: center;
            margin-bottom: 30px;
        }

        .profile-avatar {
            width: 100px;
            height: 100px;
            border-radius: 50%;
            background: #FF9933;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 20px;
            font-size: 40px;
            color: white;
            font-weight: bold;
        }

        .profile-name {
            font-size: 24px;
            font-weight: bold;
            margin-bottom: 5px;
        }

        .profile-email {
            color: #666;
            margin-bottom: 20px;
        }

        .profile-details {
            background: #f9f9f9;
            border-radius: 15px;
            padding: 20px;
            margin-bottom: 25px;
        }

        .profile-detail-row {
            display: flex;
            justify-content: space-between;
            padding: 12px 0;
            border-bottom: 1px solid #eee;
        }

        .profile-detail-row:last-child {
            border-bottom: none;
        }

        .profile-detail-label {
            font-weight: bold;
            color: #666;
        }

        .profile-detail-value {
            font-weight: bold;
            text-align: right;
        }

        .profile-actions {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 15px;
            margin-top: 25px;
        }

        .profile-action-btn {
            padding: 15px;
            border: 1px solid #ddd;
            border-radius: 12px;
            background: white;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.2s ease;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
        }

        .profile-action-btn:hover {
            background: #f0f0f0;
            transform: translateY(-2px);
        }

        .profile-action-icon {
            font-size: 24px;
            margin-bottom: 10px;
            color: #FF9933;
        }

        /* Edit Profile Modal */
        .edit-profile-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            z-index: 1000;
            justify-content: center;
            align-items: center;
        }

        .edit-profile-content {
            background: white;
            border-radius: 20px;
            width: 90%;
            max-width: 500px;
            padding: 30px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
            max-height: 90vh;
            overflow-y: auto;
        }

        .edit-profile-form {
            margin-top: 20px;
        }

        .edit-form-group {
            margin-bottom: 20px;
        }

        .edit-form-label {
            display: block;
            margin-bottom: 8px;
            font-weight: bold;
            color: #333;
        }

        .edit-form-input {
            width: 100%;
            padding: 15px;
            border: 2px solid #eee;
            border-radius: 10px;
            font-size: 16px;
            background: white;
            color: #333;
        }

        .edit-form-input:focus {
            border-color: #FF9933;
            outline: none;
        }

        .edit-profile-buttons {
            display: flex;
            gap: 15px;
            margin-top: 25px;
        }

        .edit-profile-btn {
            flex: 1;
            padding: 15px;
            border: none;
            border-radius: 12px;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.2s ease;
            font-size: 16px;
        }

        .edit-profile-cancel {
            background: #f5f5f5;
            color: #333;
        }

        .edit-profile-save {
            background: linear-gradient(135deg, #FF9933, #FF9933);
            color: white;
        }

        .edit-profile-btn:hover {
            transform: translateY(-2px);
        }

        .edit-profile-save:hover {
            box-shadow: 0 5px 15px rgba(255, 153, 51, 0.4);
        }

        /* Set Balance Modal */
        .set-balance-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            z-index: 1000;
            justify-content: center;
            align-items: center;
        }

        .set-balance-content {
            background: white;
            border-radius: 20px;
            width: 90%;
            max-width: 500px;
            padding: 30px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        }

        .set-balance-title {
            font-size: 24px;
            font-weight: bold;
            text-align: center;
            margin-bottom: 25px;
        }

        .set-balance-input-container {
            display: flex;
            align-items: center;
            margin-bottom: 30px;
        }

        .set-balance-input-wrapper {
            position: relative;
            flex: 1;
        }

        .set-balance-input-wrapper::before {
            content: "₹";
            position: absolute;
            left: 20px;
            top: 50%;
            transform: translateY(-50%);
            font-size: 24px;
            font-weight: bold;
            color: #333;
            z-index: 2;
        }

        .set-balance-input {
            width: 100%;
            padding: 20px 20px 20px 50px;
            border: 2px solid #eee;
            border-radius: 15px;
            font-size: 24px;
            outline: none;
            background: white;
            color: #333;
            font-weight: bold;
        }

        .set-balance-input:focus {
            border-color: #FF9933;
        }

        .set-balance-buttons {
            display: flex;
            gap: 15px;
        }

        .set-balance-btn {
            flex: 1;
            padding: 18px;
            border: none;
            border-radius: 15px;
            font-size: 18px;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .set-balance-cancel {
            background: #f5f5f5;
            color: #333;
        }

        .set-balance-confirm {
            background: linear-gradient(135deg, #FF9933, #FF9933);
            color: white;
        }

        .set-balance-btn:hover {
            transform: translateY(-2px);
        }

        .set-balance-confirm:hover {
            box-shadow: 0 5px 15px rgba(255, 153, 51, 0.4);
        }

        /* History Modal */
        .history-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            z-index: 1000;
            justify-content: center;
            align-items: center;
        }

        .history-content {
            background: white;
            border-radius: 20px;
            width: 90%;
            max-width: 600px;
            padding: 30px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
            max-height: 90vh;
            overflow-y: auto;
        }

        .history-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 25px;
        }

        .history-title {
            font-size: 24px;
            font-weight: bold;
        }

        .history-transactions {
            max-height: 400px;
            overflow-y: auto;
            margin-bottom: 20px;
            border: 1px solid #eee;
            border-radius: 15px;
            padding: 10px;
        }

        .history-transaction-item {
            display: flex;
            align-items: center;
            padding: 15px;
            border-bottom: 1px solid #eee;
        }

        .history-transaction-item:last-child {
            border-bottom: none;
        }

        .history-transaction-icon {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 15px;
            font-size: 18px;
            color: white;
        }

        .history-transaction-details {
            flex: 1;
        }

        .history-transaction-name {
            font-weight: bold;
            margin-bottom: 3px;
        }

        .history-transaction-date {
            font-size: 12px;
            color: #888;
        }

        .history-transaction-amount {
            font-weight: bold;
            font-size: 16px;
        }

        .history-amount-positive {
            color: #34A853;
        }

        .history-amount-negative {
            color: #EA4335;
        }

        .date-filter {
            display: flex;
            gap: 15px;
            margin-bottom: 20px;
            flex-wrap: wrap;
        }

        .date-input-group {
            flex: 1;
            min-width: 120px;
        }

        .date-label {
            display: block;
            margin-bottom: 8px;
            font-weight: bold;
            color: #333;
        }

        .date-input {
            width: 100%;
            padding: 12px;
            border: 2px solid #eee;
            border-radius: 10px;
            font-size: 16px;
            background: white;
            color: #333;
        }

        .date-input:focus {
            border-color: #FF9933;
            outline: none;
        }

        .filter-button {
            width: 100%;
            padding: 15px;
            background: linear-gradient(135deg, #4285F4, #4285F4);
            color: white;
            border: none;
            border-radius: 12px;
            font-size: 18px;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.3s ease;
            margin-top: 10px;
        }

        .filter-button:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(66, 133, 244, 0.4);
        }

        .no-transactions {
            text-align: center;
            padding: 30px;
            color: #888;
            font-style: italic;
        }

        .pagination {
            display: flex;
            justify-content: center;
            gap: 10px;
            margin-top: 20px;
        }

        .page-button {
            padding: 10px 15px;
            background: #f5f5f5;
            border: 1px solid #ddd;
            border-radius: 8px;
            cursor: pointer;
            font-weight: bold;
            transition: all 0.2s ease;
        }

        .page-button:hover {
            background: #e0e0e0;
        }

        .page-button.active {
            background: #FF9933;
            color: white;
            border-color: #FF9933;
        }

        .page-button:disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }

        /* Enhanced Set Balance Modal */
        .bank-selection-box {
            background: #f9f9f9;
            border-radius: 15px;
            padding: 20px;
            margin-bottom: 20px;
            cursor: pointer;
            transition: all 0.3s ease;
            border: 2px solid #eee;
        }

        .bank-selection-box:hover {
            border-color: #FF9933;
            background: rgba(255, 153, 51, 0.05);
        }

        .bank-selection-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
        }

        .bank-selection-title {
            font-weight: bold;
            font-size: 18px;
            color: #333;
        }

        .bank-selection-icon {
            font-size: 20px;
            color: #FF9933;
        }

        .bank-selection-content {
            font-size: 16px;
            color: #666;
        }

        .bank-balance {
            font-size: 24px;
            font-weight: bold;
            color: #333;
            margin-top: 10px;
        }

        .edit-balance-btn {
            width: 100%;
            padding: 15px;
            background: linear-gradient(135deg, #4285F4, #4285F4);
            color: white;
            border: none;
            border-radius: 12px;
            font-size: 18px;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.3s ease;
            margin-top: 20px;
        }

        .edit-balance-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(66, 133, 244, 0.4);
        }

        .bank-accounts-list {
            display: none;
            background: white;
            border-radius: 12px;
            padding: 15px;
            margin-top: 15px;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        }

        .bank-account-item {
            padding: 15px;
            border-bottom: 1px solid #eee;
            cursor: pointer;
            transition: background 0.2s ease;
        }

        .bank-account-item:hover {
            background: rgba(0, 0, 0, 0.05);
        }

        .bank-account-item:last-child {
            border-bottom: none;
        }

        .bank-account-name {
            font-weight: bold;
            font-size: 16px;
            margin-bottom: 5px;
        }

        .bank-account-details {
            font-size: 14px;
            color: #666;
            margin-bottom: 8px;
        }

        .bank-account-balance {
            font-weight: bold;
            font-size: 18px;
            color: #333;
        }

        /* Settings Modal */
        .settings-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            z-index: 1000;
            justify-content: center;
            align-items: center;
        }

        .settings-content {
            background: white;
            border-radius: 20px;
            width: 90%;
            max-width: 500px;
            padding: 30px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
            max-height: 90vh;
            overflow-y: auto;
        }

        .settings-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 25px;
        }

        .settings-title {
            font-size: 24px;
            font-weight: bold;
        }

        .settings-section {
            margin-bottom: 25px;
        }

        .settings-section-title {
            font-size: 18px;
            font-weight: bold;
            margin-bottom: 15px;
            color: #333;
            padding-bottom: 10px;
            border-bottom: 1px solid #eee;
        }

        .settings-item {
            display: flex;
            align-items: center;
            padding: 15px;
            border-bottom: 1px solid #eee;
            cursor: pointer;
            transition: background 0.2s ease;
        }

        .settings-item:hover {
            background: #f9f9f9;
        }

        .settings-item:last-child {
            border-bottom: none;
        }

        .settings-item-icon {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 15px;
            font-size: 18px;
            color: white;
            background: #4285F4;
        }

        .settings-item-content {
            flex: 1;
        }

        .settings-item-title {
            font-weight: bold;
            margin-bottom: 3px;
        }

        .settings-item-description {
            font-size: 14px;
            color: #666;
        }

        .settings-item-arrow {
            color: #ccc;
            font-size: 18px;
        }

        /* Notifications Modal */
        .notifications-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            z-index: 1000;
            justify-content: center;
            align-items: center;
        }

        .notifications-content {
            background: white;
            border-radius: 20px;
            width: 90%;
            max-width: 500px;
            padding: 30px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
            max-height: 90vh;
            overflow-y: auto;
        }

        .notifications-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 25px;
        }

        .notifications-title {
            font-size: 24px;
            font-weight: bold;
        }

        .notifications-list {
            max-height: 400px;
            overflow-y: auto;
        }

        .notification-item {
            padding: 15px;
            border-bottom: 1px solid #eee;
            display: flex;
            align-items: flex-start;
        }

        .notification-item:last-child {
            border-bottom: none;
        }

        .notification-icon {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 15px;
            font-size: 18px;
            color: white;
        }

        .notification-content {
            flex: 1;
        }

        .notification-title {
            font-weight: bold;
            margin-bottom: 5px;
        }

        .notification-message {
            font-size: 14px;
            color: #666;
            margin-bottom: 8px;
            line-height: 1.4;
        }

        .notification-time {
            font-size: 12px;
            color: #888;
        }

        .no-notifications {
            text-align: center;
            padding: 30px;
            color: #888;
            font-style: italic;
        }

        /* Rewards Modal */
        .rewards-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            z-index: 1000;
            justify-content: center;
            align-items: center;
        }

        .rewards-content {
            background: white;
            border-radius: 20px;
            width: 90%;
            max-width: 600px;
            padding: 30px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
            max-height: 90vh;
            overflow-y: auto;
        }

        .rewards-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 25px;
        }

        .rewards-title {
            font-size: 24px;
            font-weight: bold;
        }

        .rewards-summary {
            background: linear-gradient(135deg, #FF9933, #FF9933);
            border-radius: 15px;
            padding: 20px;
            color: white;
            margin-bottom: 25px;
            text-align: center;
        }

        .rewards-total {
            font-size: 36px;
            font-weight: bold;
            margin-bottom: 5px;
        }

        .rewards-description {
            font-size: 16px;
            opacity: 0.9;
        }

        .rewards-tabs {
            display: flex;
            margin-bottom: 20px;
            border-bottom: 1px solid #eee;
        }

        .reward-tab {
            flex: 1;
            padding: 15px;
            text-align: center;
            cursor: pointer;
            font-weight: bold;
            color: #666;
            border-bottom: 3px solid transparent;
        }

        .reward-tab.active {
            color: #FF9933;
            border-bottom: 3px solid #FF9933;
        }

        .rewards-list {
            max-height: 300px;
            overflow-y: auto;
        }

        .reward-item {
            padding: 20px;
            border-bottom: 1px solid #eee;
            display: flex;
            align-items: center;
        }

        .reward-item:last-child {
            border-bottom: none;
        }

        .reward-icon {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 15px;
            font-size: 20px;
            color: white;
            background: #34A853;
        }

        .reward-details {
            flex: 1;
        }

        .reward-title {
            font-weight: bold;
            margin-bottom: 5px;
        }

        .reward-description {
            font-size: 14px;
            color: #666;
            margin-bottom: 8px;
        }

        .reward-expiry {
            font-size: 12px;
            color: #888;
        }

        .reward-amount {
            font-weight: bold;
            font-size: 18px;
            color: #34A853;
            margin-right: 15px;
        }

        .redeem-button {
            padding: 10px 20px;
            background: #34A853;
            color: white;
            border: none;
            border-radius: 8px;
            font-weight: bold;
            cursor: pointer;
            transition: background 0.2s ease;
        }

        .redeem-button:hover {
            background: #2d8f46;
        }

        .redeem-button:disabled {
            background: #ccc;
            cursor: not-allowed;
        }

        .no-rewards {
            text-align: center;
            padding: 30px;
            color: #888;
            font-style: italic;
        }

        /* Add Money to Wallet Modal */
        .add-money-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            z-index: 1000;
            justify-content: center;
            align-items: center;
        }

        .add-money-content {
            background: white;
            border-radius: 20px;
            width: 90%;
            max-width: 500px;
            padding: 30px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
            max-height: 90vh;
            overflow-y: auto;
        }

        .add-money-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 25px;
        }

        .add-money-title {
            font-size: 24px;
            font-weight: bold;
        }

        .add-money-account {
            background: #f0f8ff;
            border-radius: 15px;
            padding: 20px;
            margin-bottom: 25px;
            text-align: center;
            cursor: pointer;
            transition: all 0.3s ease;
            border: 2px solid #eee;
        }

        .add-money-account:hover {
            border-color: #FF9933;
            background: rgba(255, 153, 51, 0.05);
        }

        .add-money-account-title {
            font-size: 18px;
            color: #666;
            margin-bottom: 10px;
        }

        .add-money-account-name {
            font-size: 20px;
            font-weight: bold;
            color: #333;
            margin-bottom: 5px;
        }

        .add-money-account-balance {
            font-size: 24px;
            font-weight: bold;
            color: #333;
        }

        .add-money-account-icon {
            font-size: 20px;
            color: #FF9933;
        }

        /* Add Money Account Selection Modal */
        .add-money-account-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            z-index: 1000;
            justify-content: center;
            align-items: center;
        }

        .add-money-account-modal-content {
            background: white;
            border-radius: 20px;
            width: 90%;
            max-width: 500px;
            padding: 35px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        }

        .add-money-account-item {
            padding: 20px;
            border-bottom: 1px solid #eee;
            cursor: pointer;
            transition: background 0.2s ease;
        }

        .add-money-account-item:hover {
            background: rgba(0, 0, 0, 0.05);
        }

        .add-money-account-item:last-child {
            border-bottom: none;
        }

        .add-money-account-name {
            font-weight: bold;
            font-size: 20px;
            margin-bottom: 8px;
        }

        .add-money-account-details {
            font-size: 16px;
            color: #666;
        }

        .add-money-account-balance {
            font-weight: bold;
            font-size: 20px;
            color: #333;
            margin-top: 8px;
        }

        /* Permitted List Modal */
        .permitted-list-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            z-index: 1000;
            justify-content: center;
            align-items: center;
        }

        .permitted-list-content {
            background: white;
            border-radius: 20px;
            width: 90%;
            max-width: 500px;
            padding: 30px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
            max-height: 90vh;
            overflow-y: auto;
        }

        .permitted-list-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 25px;
        }

        .permitted-list-title {
            font-size: 24px;
            font-weight: bold;
        }

        .add-contact-btn {
            width: 100%;
            padding: 15px;
            background: linear-gradient(135deg, #4285F4, #4285F4);
            color: white;
            border: none;
            border-radius: 12px;
            font-size: 18px;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.3s ease;
            margin-bottom: 20px;
        }

        .add-contact-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(66, 133, 244, 0.4);
        }

        .permitted-contacts-list {
            max-height: 300px;
            overflow-y: auto;
            border: 1px solid #eee;
            border-radius: 15px;
            padding: 15px;
        }

        .permitted-contact-item {
            display: flex;
            align-items: center;
            padding: 15px;
            border-bottom: 1px solid #eee;
        }

        .permitted-contact-item:last-child {
            border-bottom: none;
        }

        .permitted-contact-avatar {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background: #4285F4;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: bold;
            margin-right: 15px;
            font-size: 20px;
        }

        .permitted-contact-info {
            flex: 1;
        }

        .permitted-contact-name {
            font-weight: bold;
            font-size: 18px;
            margin-bottom: 3px;
        }

        .permitted-contact-number {
            font-size: 16px;
            color: #666;
        }

        .remove-permitted-contact {
            background: none;
            border: none;
            color: #EA4335;
            font-size: 20px;
            cursor: pointer;
        }

        .no-permitted-contacts {
            text-align: center;
            padding: 30px;
            color: #888;
            font-style: italic;
        }

        /* Add Contact Modal */
        .add-contact-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            z-index: 1000;
            justify-content: center;
            align-items: center;
        }

        .add-contact-content {
            background: white;
            border-radius: 20px;
            width: 90%;
            max-width: 500px;
            padding: 30px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        }

        .add-contact-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 25px;
        }

        .add-contact-title {
            font-size: 24px;
            font-weight: bold;
        }

        .add-contact-form {
            margin-bottom: 20px;
        }

        .add-contact-group {
            margin-bottom: 20px;
        }

        .add-contact-label {
            display: block;
            margin-bottom: 8px;
            font-weight: bold;
            color: #333;
        }

        .add-contact-input {
            width: 100%;
            padding: 15px;
            border: 2px solid #eee;
            border-radius: 10px;
            font-size: 16px;
            background: white;
            color: #333;
        }

        .add-contact-input:focus {
            border-color: #FF9933;
            outline: none;
        }

        .add-contact-buttons {
            display: flex;
            gap: 15px;
        }

        .add-contact-btn-action {
            flex: 1;
            padding: 15px;
            border: none;
            border-radius: 12px;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.2s ease;
            font-size: 16px;
        }

        .add-contact-cancel {
            background: #f5f5f5;
            color: #333;
        }

        .add-contact-save {
            background: linear-gradient(135deg, #4285F4, #4285F4);
            color: white;
        }

        .add-contact-btn-action:hover {
            transform: translateY(-2px);
        }

        .add-contact-save:hover {
            box-shadow: 0 5px 15px rgba(66, 133, 244, 0.4);
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .quick-actions {
                padding: 15px 10px;
            }
            
            .action-item {
                width: calc(20% - 8px);
            }
            
            .action-icon {
                width: 45px;
                height: 45px;
                font-size: 18px;
            }
            
            .action-label {
                font-size: 14px;
            }
            
            .card-value {
                font-size: 18px;
            }
            
            .modal-content {
                width: 95%;
                max-width: 90%;
                padding: 20px;
            }
            
            .amount-modal-content {
                width: 95%;
                max-width: 90%;
                padding: 20px;
            }
            
            .account-modal-content {
                width: 95%;
                max-width: 90%;
                padding: 25px;
            }
        }

        @media (max-width: 480px) {
            .header-top {
                flex-direction: row;
            }
            
            .logo {
                font-size: 20px;
            }
            
            .logo i {
                margin-right: 6px;
            }
            
            .header-icons {
                gap: 15px;
            }
            
            .dark-mode-toggle {
                font-size: 18px;
            }
            
            .balance-cards {
                gap: 10px;
            }
            
            .balance-card {
                padding: 12px;
            }
            
            .card-title {
                font-size: 12px;
            }
            
            .card-value {
                font-size: 16px;
            }
            
            .eye-btn {
                font-size: 14px;
            }
            
            .quick-actions {
                padding: 12px 8px;
            }
            
            .action-item {
                width: calc(20% - 6px);
            }
            
            .action-icon {
                width: 40px;
                height: 40px;
                font-size: 16px;
            }
            
            .action-label {
                font-size: 12px;
            }
            
            .section-title {
                font-size: 20px;
                padding: 0 12px;
            }
            
            .transaction-item {
                padding: 12px;
            }
            
            .transaction-name {
                font-size: 14px;
            }
            
            .transaction-date {
                font-size: 11px;
            }
            
            .transaction-amount {
                font-size: 14px;
            }
            
            .nav-item {
                font-size: 10px;
            }
            
            .nav-item i {
                font-size: 18px;
            }
            
            .modal-content {
                padding: 15px;
            }
            
            .amount-modal-content {
                padding: 15px;
            }
            
            .account-modal-content {
                padding: 20px;
            }
            
            .amount-input {
                padding: 20px 20px 20px 45px;
                font-size: 24px;
                height: 70px;
            }
            
            .amount-input-wrapper::before {
                font-size: 24px;
                left: 15px;
            }
            
            .amount-button {
                width: 70px;
                height: 70px;
                font-size: 18px;
            }
            
            .quick-amount-btn {
                padding: 15px;
                font-size: 16px;
                min-height: 60px;
            }
            
            .quick-amounts {
                gap: 10px;
            }
            
            .modal-title {
                font-size: 20px;
            }
            
            .payment-methods {
                gap: 15px;
            }
            
            .payment-option {
                padding: 15px;
            }
            
            .payment-name {
                font-size: 16px;
            }
            
            .pin-digit {
                width: 40px;
                height: 50px;
                font-size: 20px;
            }
            
            .keypad-button {
                padding: 15px;
                font-size: 18px;
            }
            
            .success-icon {
                width: 80px;
                height: 80px;
                font-size: 40px;
            }
            
            .success-title {
                font-size: 24px;
            }
            
            .success-amount {
                font-size: 28px;
            }
            
            .transaction-detail-title {
                font-size: 20px;
            }
            
            .transaction-amount-detail {
                font-size: 28px;
            }
            
            .card-wallet-option {
                padding: 20px 10px;
            }
            
            .card-wallet-icon {
                font-size: 30px;
            }
            
            .card-wallet-name {
                font-size: 16px;
            }
            
            .wallet-balance-amount {
                font-size: 28px;
            }
            
            .card-number {
                font-size: 16px;
            }
            
            .card-type {
                font-size: 16px;
            }
            
            .add-card-text {
                font-size: 16px;
            }
            
            .otp-digit {
                width: 40px;
                height: 50px;
                font-size: 20px;
            }
            
            .otp-keypad-button {
                padding: 15px;
                font-size: 18px;
            }
            
            .wallet-payment-content {
                padding: 20px;
            }
            
            .wallet-balance-title {
                font-size: 16px;
            }
            
            .wallet-balance-amount {
                font-size: 28px;
            }
            
            .card-selection-content {
                padding: 20px;
            }
            
            .card-item {
                padding: 15px;
            }
            
            .card-type {
                font-size: 16px;
            }
            
            .card-number {
                font-size: 16px;
            }
            
            .card-details {
                font-size: 14px;
            }
            
            .add-card-item {
                padding: 15px;
            }
            
            .add-card-icon {
                font-size: 28px;
            }
            
            .add-card-text {
                font-size: 16px;
            }
            
            .add-card-content {
                padding: 20px;
            }
            
            .form-group {
                margin-bottom: 15px;
            }
            
            .form-label {
                font-size: 14px;
            }
            
            .form-input {
                padding: 12px;
                font-size: 14px;
            }
            
            .card-number-inputs {
                gap: 8px;
            }
            
            .expiry-cvv {
                gap: 10px;
            }
            
            .add-card-button {
                padding: 15px;
                font-size: 18px;
            }
            
            .otp-content {
                padding: 20px;
            }
            
            .otp-title {
                font-size: 20px;
            }
            
            .otp-description {
                font-size: 14px;
            }
            
            .otp-digit {
                width: 35px;
                height: 45px;
                font-size: 18px;
            }
            
            .otp-keypad {
                gap: 10px;
            }
            
            .otp-keypad-button {
                padding: 12px;
                font-size: 18px;
            }
            
            .resend-otp {
                font-size: 14px;
            }
            
            .profile-content {
                padding: 20px;
            }
            
            .profile-name {
                font-size: 20px;
            }
            
            .profile-actions {
                grid-template-columns: 1fr;
            }
            
            .set-balance-input {
                padding: 15px 15px 15px 45px;
                font-size: 20px;
            }
            
            .set-balance-input-wrapper::before {
                font-size: 20px;
                left: 15px;
            }
            
            .set-balance-btn {
                padding: 15px;
                font-size: 16px;
            }
            
            .edit-profile-content {
                padding: 20px;
            }
            
            .edit-profile-btn {
                padding: 12px;
                font-size: 14px;
            }
            
            .date-filter {
                flex-direction: column;
                gap: 10px;
            }
            
            .date-input-group {
                min-width: auto;
            }
            
            .settings-item {
                padding: 12px;
            }
            
            .settings-item-title {
                font-size: 16px;
            }
            
            .settings-item-description {
                font-size: 13px;
            }
            
            .notification-item {
                padding: 12px;
            }
            
            .notification-title {
                font-size: 16px;
            }
            
            .notification-message {
                font-size: 13px;
            }
            
            .reward-item {
                padding: 15px;
            }
            
            .reward-icon {
                width: 40px;
                height: 40px;
                font-size: 16px;
            }
            
            .reward-amount {
                font-size: 16px;
            }
            
            .redeem-button {
                padding: 8px 15px;
                font-size: 14px;
            }
        }

        @media (max-width: 360px) {
            .header {
                padding: 15px 12px;
            }
            
            .header-top {
                margin-bottom: 15px;
            }
            
            .logo {
                font-size: 18px;
            }
            
            .logo i {
                margin-right: 6px;
            }
            
            .header-icons {
                gap: 12px;
            }
            
            .balance-cards {
                gap: 8px;
            }
            
            .balance-card {
                padding: 10px;
            }
            
            .card-title {
                font-size: 11px;
            }
            
            .card-value {
                font-size: 14px;
            }
            
            .quick-actions {
                padding: 10px 6px;
            }
            
            .action-icon {
                width: 35px;
                height: 35px;
                font-size: 14px;
            }
            
            .action-label {
                font-size: 11px;
            }
            
            .amount-input {
                padding: 15px 15px 15px 40px;
                font-size: 20px;
                height: 60px;
            }
            
            .amount-input-wrapper::before {
                font-size: 20px;
                left: 12px;
            }
            
            .amount-button {
                width: 60px;
                height: 60px;
                font-size: 16px;
            }
            
            .quick-amount-btn {
                padding: 12px;
                font-size: 14px;
                min-height: 50px;
            }
            
            .wallet-payment-content {
                padding: 15px;
            }
            
            .wallet-balance-title {
                font-size: 14px;
            }
            
            .wallet-balance-amount {
                font-size: 24px;
            }
            
            .card-selection-content {
                padding: 15px;
            }
            
            .card-item {
                padding: 12px;
            }
            
            .card-type {
                font-size: 14px;
            }
            
            .card-number {
                font-size: 14px;
            }
            
            .card-details {
                font-size: 12px;
            }
            
            .add-card-item {
                padding: 12px;
            }
            
            .add-card-icon {
                font-size: 24px;
            }
            
            .add-card-text {
                font-size: 14px;
            }
            
            .add-card-content {
                padding: 15px;
            }
            
            .form-group {
                margin-bottom: 12px;
            }
            
            .form-label {
                font-size: 12px;
            }
            
            .form-input {
                padding: 10px;
                font-size: 12px;
            }
            
            .card-number-inputs {
                gap: 6px;
            }
            
            .expiry-cvv {
                gap: 8px;
            }
            
            .add-card-button {
                padding: 12px;
                font-size: 16px;
            }
            
            .otp-content {
                padding: 15px;
            }
            
            .otp-title {
                font-size: 18px;
            }
            
            .otp-description {
                font-size: 12px;
            }
            
            .otp-digit {
                width: 30px;
                height: 40px;
                font-size: 16px;
            }
            
            .otp-keypad {
                gap: 8px;
            }
            
            .otp-keypad-button {
                padding: 10px;
                font-size: 16px;
            }
            
            .resend-otp {
                font-size: 12px;
            }
            
            .profile-content {
                padding: 15px;
            }
            
            .profile-name {
                font-size: 18px;
            }
            
            .profile-detail-label {
                font-size: 14px;
            }
            
            .profile-detail-value {
                font-size: 14px;
            }
            
            .profile-action-btn {
                padding: 12px;
            }
            
            .profile-action-icon {
                font-size: 20px;
            }
            
            .set-balance-input {
                padding: 12px 12px 12px 40px;
                font-size: 18px;
            }
            
            .set-balance-input-wrapper::before {
                font-size: 18px;
                left: 12px;
            }
            
            .set-balance-btn {
                padding: 12px;
                font-size: 14px;
            }
            
            .edit-profile-content {
                padding: 15px;
            }
            
            .edit-form-group {
                margin-bottom: 15px;
            }
            
            .edit-form-label {
                font-size: 12px;
            }
            
            .edit-form-input {
                padding: 10px;
                font-size: 12px;
            }
            
            .edit-profile-btn {
                padding: 10px;
                font-size: 12px;
            }
        }