  
  #exTab1 .tab-content {
    color : white;
    background-color: #428bca;
    padding : 5px 15px;
  }
  
  #exTab2 h3 {
    color : white;
    background-color: #428bca;
    padding : 5px 15px;
  }
  
  /* remove border radius for the tab */
  
  #exTab1 .nav-pills > li > a {
    border-radius: 0;
  }
  
  /* change border radius for the tab , apply corners on top*/
  
  #exTab3 .nav-pills > li > a {
    border-radius: 4px 4px 0 0 ;
  }
  
  #exTab3 .tab-content {
    color : white;
    background-color: #428bca;
    padding : 5px 15px;
  }
  
  
/* Enhanced Fund Wallet Page Styles */
.fund-wallet-container {
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
    min-height: 100vh;
    padding: 20px 0;
}

.fund-wallet-header {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
    padding: 32px;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.fund-wallet-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 50%, #f093fb 100%);
    border-radius: 20px 20px 0 0;
}

.fund-wallet-header h3 {
    font-size: 28px;
    font-weight: 700;
    color: #2d3748;
    margin: 0;
    letter-spacing: -0.5px;
    position: relative;
    display: inline-block;
}

.fund-wallet-header h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
}

/* Quick Actions Card */
.quick-actions-card {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.3);
    padding: 24px;
    margin-bottom: 24px;
    border: none;
    position: relative;
    overflow: hidden;
}

.quick-actions-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    transform: rotate(45deg);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.quick-action-link {
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    padding: 12px 0;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.quick-action-link:hover {
    color: #ffffff;
    transform: translateX(8px);
    text-decoration: none;
}

.quick-action-link i {
    margin-right: 12px;
    font-size: 16px;
    width: 20px;
    text-align: center;
}

/* Enhanced Navigation Tabs */
.funding-nav-tabs {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 16px;
    padding: 8px;
    margin-bottom: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    backdrop-filter: blur(10px);
    border: none;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.funding-nav-tabs .nav-item {
    flex: 1;
    min-width: 150px;
}

.funding-nav-tabs .nav-link {
    border-radius: 12px;
    font-weight: 600;
    font-size: 14px;
    color: #64748b;
    background: transparent;
    border: none;
    padding: 14px 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.funding-nav-tabs .nav-link.active {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    transform: translateY(-1px);
}

.funding-nav-tabs .nav-link:hover:not(.active) {
    background: rgba(102, 126, 234, 0.1);
    color: var(--primary);
    transform: translateY(-1px);
}

/* Enhanced Tab Content */
.funding-tab-content {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
    padding: 32px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.tab-pane {
    animation: fadeInUp 0.4s ease-out;
}

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

/* Enhanced Account Cards */
.account-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(226, 232, 240, 0.6);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.account-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 16px 16px 0 0;
}

.account-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.15);
}

.account-card-header {
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
    padding: 20px;
    border-bottom: 1px solid rgba(226, 232, 240, 0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.account-card-header h5 {
    margin: 0;
    font-weight: 700;
    color: #2d3748;
    font-size: 16px;
}

.copy-btn {
    background: linear-gradient(135deg, #2d3748 0%, #4a5568 100%);
    border: none;
    border-radius: 8px;
    color: white;
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.copy-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.copy-btn:hover::before {
    left: 100%;
}

.copy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(45, 55, 72, 0.3);
}

.account-info {
    text-align: center;
    padding: 24px 20px;
}

.account-info .info-label {
    color: #64748b;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.account-info .info-value {
    font-weight: 700;
    color: #2d3748;
    font-size: 18px;
    margin-bottom: 16px;
    word-break: break-all;
}

.funding-charge-badge {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    color: #4a5568;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid rgba(226, 232, 240, 0.6);
}

/* Enhanced Buttons */
.btn-generate {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border: none;
    border-radius: 12px;
    color: white;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-transform: none;
}

.btn-generate::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-generate:hover::before {
    left: 100%;
}

.btn-generate:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    color: white;
}

.btn-generate:active {
    transform: translateY(0);
}

/* Enhanced Payment Method Cards */
.payment-method-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
    border: 2px solid rgba(226, 232, 240, 0.6);
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    margin-bottom: 16px;
    position: relative;
    overflow: hidden;
}

.payment-method-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
}

.payment-method-card.selected {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
}

.payment-type {
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.payment-badges {
    display: flex;
    gap: 8px;
    align-items: center;
}

.charge-badge {
    background: linear-gradient(135deg, #2d3748 0%, #4a5568 100%);
    color: white;
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 11px;
    font-weight: 600;
}

.payable-badge {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 11px;
    font-weight: 600;
}

/* Enhanced Form Elements */
.form-group label {
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 8px;
    font-size: 14px;
}

.form-control {
    border-radius: 12px;
    border: 2px solid rgba(226, 232, 240, 0.6);
    padding: 14px 16px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.8);
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    outline: none;
}

.form-control-lg {
    padding: 16px 20px;
    font-size: 16px;
}

/* Enhanced Alert Styles */
.modern-alert {
    border-radius: 12px;
    border: none;
    padding: 20px;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
}

.modern-alert-info {
    background: linear-gradient(135deg, rgba(23, 162, 184, 0.1) 0%, rgba(23, 162, 184, 0.05) 100%);
    border-left: 4px solid var(--info);
}

.modern-alert-warning {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.1) 0%, rgba(255, 193, 7, 0.05) 100%);
    border-left: 4px solid var(--warning);
}

.modern-alert-light {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 1px solid rgba(226, 232, 240, 0.6);
}

/* Cashback Display Enhancement */
.cashback-display {
    text-align: center;
    padding: 32px;
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
    border-radius: 16px;
    margin-bottom: 24px;
    border: 1px solid rgba(226, 232, 240, 0.6);
}

.cashback-label {
    color: #64748b;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.cashback-amount {
    font-size: 48px;
    font-weight: 700;
    color: #2d3748;
    margin: 0;
    line-height: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .funding-nav-tabs {
        flex-direction: column;
        gap: 8px;
    }

    .funding-nav-tabs .nav-item {
        min-width: auto;
    }

    .funding-nav-tabs .nav-link {
        padding: 12px 16px;
        font-size: 13px;
    }

    .fund-wallet-header {
        padding: 24px 20px;
    }

    .funding-tab-content {
        padding: 24px 20px;
        padding-bottom: 100px !important; /* Space for mobile navigation */
    }

    .account-card:hover {
        transform: translateY(-4px) scale(1.01);
    }

    .cashback-amount {
        font-size: 36px;
    }
    
    /* Fix button overflow issues */
    .btn {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
        word-wrap: break-word;
    }
    
    /* Fix long button text specifically */
    #create_account_user {
        font-size: 12px !important;
        padding: 8px 12px !important;
        word-wrap: break-word;
        white-space: normal;
        height: auto;
        min-height: 40px;
        max-width: 100%;
        overflow: hidden;
    }
    
    /* Ensure proper container spacing */
    .container-fluid {
        padding-left: 10px !important;
        padding-right: 10px !important;
        padding-bottom: 100px !important;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .funding-tab-content {
        padding-bottom: 100px !important;
    }
    
    #create_account_user {
        font-size: 11px !important;
        padding: 6px 8px !important;
    }
    
    .container-fluid {
        padding-left: 5px !important;
        padding-right: 5px !important;
    }
}

/* Loading Animation */
.account-card {
    animation: slideInUp 0.4s ease-out;
    animation-fill-mode: both;
}

.account-card:nth-child(1) { animation-delay: 0.1s; }
.account-card:nth-child(2) { animation-delay: 0.2s; }
.account-card:nth-child(3) { animation-delay: 0.3s; }
.account-card:nth-child(4) { animation-delay: 0.4s; }

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