/* ===== PREMIUM WALLET / BALANCE STYLES ===== */
.my-wallet {
    margin-bottom: 24px;
    padding: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    color: #fff;
    box-shadow: 0 8px 32px rgba(102,126,234,0.3);
    position: relative;
    overflow: hidden;
}

.my-wallet::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    pointer-events: none;
}

.my-wallet::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    pointer-events: none;
}

.my-wallet p {
    margin-bottom: 6px;
    font-size: 13px;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 500;
}

.my-wallet h3 {
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    margin: 0;
    line-height: 1.2;
    word-break: break-all;
}

.wallet-card-group {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    grid-template-rows: auto;
}

.wallet-card {
    padding: 18px 20px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

.wallet-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary, #6366f1), var(--primary1, #8b5cf6));
    opacity: 0;
    transition: opacity 0.25s ease;
}

.wallet-card:hover {
    background: linear-gradient(135deg, var(--primary, #6366f1), var(--primary1, #8b5cf6));
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(99,102,241,0.25);
    border-color: transparent;
}

.wallet-card:hover::before {
    opacity: 0;
}

.wallet-card:hover p,
.wallet-card:hover h3 {
    color: #fff;
}

.wallet-card p {
    margin-bottom: 6px;
    font-size: 12px;
    color: var(--gray, #777);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    font-weight: 500;
    transition: all 0.25s ease;
}

.wallet-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--heading, #39404a);
    margin: 0;
    transition: all 0.25s ease;
    word-break: break-all;
}

.add-wallet p {
    margin-bottom: 10px;
}

/* ===== WALLET FORM ===== */
.wallet-form input {
    width: 100%;
    padding: 12px 20px;
    border-radius: 10px;
    background: #f8f9fa;
    border: 1.5px solid var(--border, #e8e8e8);
    transition: all 0.2s ease;
    font-size: 14px;
    outline: none;
}

.wallet-form input:focus {
    border-color: var(--primary, #6366f1);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(99,102,241,0.1);
}

.wallet-form button {
    font-size: 14px;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 10px;
    margin-top: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--white, #fff);
    background: linear-gradient(135deg, var(--primary, #6366f1), var(--primary1, #8b5cf6));
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(99,102,241,0.3);
}

.wallet-form button:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(99,102,241,0.4);
}

/* ===== WALLET SUGGEST ===== */
.wallet-suggest {
    margin-top: 15px;
    padding: 0px 4px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.wallet-suggest h6 {
    font-size: 12px;
    font-weight: 600;
    color: var(--gray, #777);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    margin: 0;
}

.wallet-suggest ul {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0;
    padding: 0;
}

.wallet-suggest ul li {
    list-style: none;
    margin: 0;
}

.wallet-suggest ul li a {
    font-size: 13px;
    font-weight: 500;
    padding: 5px 14px;
    line-height: 22px;
    border-radius: 20px;
    color: var(--primary, #6366f1);
    background: rgba(99,102,241,0.08);
    border: 1px solid rgba(99,102,241,0.2);
    transition: all 0.2s ease;
    display: inline-block;
}

.wallet-suggest ul li a:hover {
    color: #fff;
    background: linear-gradient(135deg, var(--primary, #6366f1), var(--primary1, #8b5cf6));
    border-color: transparent;
    transform: translateY(-1px);
}

/* ===== RECHARGE BOTTOM BUTTONS ===== */
.recharge-bottom-btns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 20px;
}

.recharge-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 20px;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
    color: #fff;
    cursor: pointer;
    border: none;
}

.recharge-btn.bank-btn {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    box-shadow: 0 4px 16px rgba(37,99,235,0.3);
}

.recharge-btn.card-btn {
    background: linear-gradient(135deg, #059669, #10b981);
    box-shadow: 0 4px 16px rgba(5,150,105,0.3);
}

.recharge-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.08);
    color: #fff;
}

/* ===== TABLE STYLES ===== */
.table > :not(:last-child) > :last-child > * {
    border-bottom-color: var(--border, #e8e8e8);
}

.table thead tr {
    background: linear-gradient(135deg, #f8f9ff, #f0f4ff);
}

.table thead th {
    font-weight: 700;
    font-size: 13px;
    line-height: 20px;
    color: var(--heading, #39404a);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid rgba(99,102,241,0.15) !important;
}

.table tbody tr th,
.table tbody tr td {
    font-size: 14px;
    font-weight: 400;
    color: var(--text, #555);
    vertical-align: middle;
}

.table tbody tr:hover {
    background: rgba(99,102,241,0.03);
}

.table tbody tr th {
    border-right: 1px solid var(--border, #e8e8e8);
}

.table .fw-bold {
    font-weight: 600 !important;
}

.bottom-paginate {
    border-top: none;
}

/* ===== CARD WALLET HOME ===== */
.card-wallet-home {
    background: #fff !important;
    border: 1px solid rgba(0,0,0,0.06) !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08) !important;
    border-radius: 16px !important;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
    .table {
        overflow-x: auto;
    }
    .recharge-bottom-btns {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575px) {
    .wallet-suggest {
        flex-direction: column;
        align-items: flex-start;
    }
    .my-wallet h3 {
        font-size: 26px;
    }
}