.wallet-deposit-form {
    max-width: 500px;
    margin: 30px auto;
    padding: 25px 30px;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    font-family: "Segoe UI", Roboto, sans-serif;
}

.wallet-deposit-form h3 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
    font-size: 1.5em;
}

.wallet-deposit-form form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.wallet-deposit-form label {
    font-weight: 600;
    color: #444;
    margin-bottom: 5px;
}

.wallet-deposit-form input[type="text"],
.wallet-deposit-form input[type="number"] {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.2s ease;
}

.wallet-deposit-form input[type="text"]:focus,
.wallet-deposit-form input[type="number"]:focus {
    border-color: #2271b1;
    box-shadow: 0 0 0 2px rgba(34,113,177,0.1);
    outline: none;
}

.wallet-deposit-form .wallet-balance {
    background: #f9f9f9;
    padding: 10px 12px;
    border-radius: 8px;
    font-weight: bold;
    color: #2271b1;
}

.wallet-deposit-form .required {
    color: red;
}

.wallet-deposit-form h4 {
    margin-top: 10px;
    font-size: 1.1em;
    color: #333;
}

.wallet-deposit-form .payment-methods {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-left: 10px;
}

.wallet-deposit-form .payment-methods label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: normal;
    cursor: pointer;
}

.wallet-deposit-form .wallet-btn {
    padding: 10px 15px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.2s ease;
}

.wallet-deposit-form .wallet-btn:hover {
    opacity: 0.9;
}

.wallet-deposit-form .wallet-btn:not(.cancel) {
    background-color: #2271b1;
    color: #fff;
}

.wallet-deposit-form .wallet-btn.cancel {
    background: #f5f5f5;
    color: #555;
}

.wallet-deposit-form .wallet-btn.cancel:hover {
    background: #e5e5e5;
}

.wc-wallet-page {
    max-width: 900px;
    margin: 40px auto;
    padding: 30px;
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    font-family: "Segoe UI", Roboto, sans-serif;
}

.wc-wallet-page h2 {
    text-align: center;
    font-size: 1.8em;
    color: #222;
    margin-bottom: 25px;
    border-bottom: 2px solid #2271b1;
    display: inline-block;
    padding-bottom: 5px;
}

/* Số dư ví */
.wc-wallet-balance {
    text-align: center;
    background: #f7fbff;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #dbe8f6;
    margin-bottom: 25px;
}

.wc-wallet-balance h3 {
    margin-bottom: 10px;
    color: #333;
    font-size: 1.2em;
}

.wc-wallet-balance .balance-amount {
    font-size: 1.8em;
    font-weight: bold;
    color: #2271b1;
}

/* Nút hành động */
.wc-wallet-actions {
    text-align: center;
    margin-bottom: 30px;
}

.wc-wallet-recharge-btn {
    background-color: #2271b1;
    color: #fff;
    padding: 12px 25px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.1s ease;
}

.wc-wallet-recharge-btn:hover {
    background-color: #1b5e94;
    transform: translateY(-2px);
}

/* Bảng lịch sử giao dịch */
.wc-wallet-transactions {
    margin-top: 30px;
}

.wc-wallet-transactions h3 {
    font-size: 1.3em;
    color: #333;
    margin-bottom: 15px;
}

.wc-wallet-transactions-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    font-size: 15px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.wc-wallet-transactions-table th,
.wc-wallet-transactions-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
    text-align: left;
}

.wc-wallet-transactions-table th {
    background: #f5f7fa;
    color: #555;
    font-weight: 600;
}

.wc-wallet-transactions-table tr:hover td {
    background: #f9fbfd;
}

/* Cột số tiền */
.wc-wallet-transactions-table td.amount-credit {
    color: #2e8b57; /* xanh lá cho nạp tiền */
    font-weight: 600;
}

.wc-wallet-transactions-table td.amount-debit {
    color: #c0392b; /* đỏ cho thanh toán */
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .wc-wallet-page {
        padding: 20px;
    }

    .wc-wallet-transactions-table,
    .wc-wallet-transactions-table thead,
    .wc-wallet-transactions-table tbody,
    .wc-wallet-transactions-table th,
    .wc-wallet-transactions-table td,
    .wc-wallet-transactions-table tr {
        display: block;
    }

    .wc-wallet-transactions-table thead {
        display: none;
    }

    .wc-wallet-transactions-table tr {
        margin-bottom: 15px;
        border: 1px solid #eee;
        border-radius: 8px;
        overflow: hidden;
    }

    .wc-wallet-transactions-table td {
        padding: 10px;
        text-align: right;
        position: relative;
    }

    .wc-wallet-transactions-table td::before {
        content: attr(data-label);
        position: absolute;
        left: 10px;
        color: #666;
        font-weight: 600;
        text-transform: capitalize;
    }
}
.wc-wallet-topup {
    border: 1px solid #ddd;
    padding: 25px;
    border-radius: 12px;
    background: #fff;
    max-width: 900px;
    margin: 30px auto;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    font-family: "Segoe UI", Roboto, sans-serif;
}

.wc-wallet-topup h2 {
    font-size: 1.6em;
    margin-bottom: 25px;
    color: #222;
    border-left: 4px solid #2271b1;
    padding-left: 10px;
}

.wc-wallet-topup .content {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    flex-wrap: wrap;
}

/* Cột trái */
.wc-wallet-topup .left {
    flex: 1;
    text-align: center;
}

.wc-wallet-topup .left h3 {
    font-size: 1.2em;
    margin-bottom: 15px;
    color: #333;
}

.wc-wallet-topup .qr-box {
    background: #f9fbff;
    border: 1px solid #dbe8f6;
    border-radius: 10px;
    padding: 15px;
    display: inline-block;
}

.wc-wallet-topup .qr-image {
    max-width: 220px;
    border-radius: 10px;
}

.wc-wallet-topup .status {
    margin-top: 10px;
    font-size: 15px;
    color: #555;
}

.wc-wallet-topup .status span {
    color: #e67e22;
    font-weight: 600;
}

/* Cột phải */
.wc-wallet-topup .right {
    flex: 1;
}

.wc-wallet-topup .right h3 {
    font-size: 1.2em;
    margin-bottom: 15px;
    color: #333;
}

.wc-wallet-topup .right p {
    margin: 8px 0;
    color: #444;
    font-size: 15px;
}

.wc-wallet-topup .transfer-content {
    color: #c0392b;
    font-weight: bold;
}

.wc-wallet-topup .note {
    background: #fff8e1;
    border-left: 4px solid #f1c40f;
    padding: 12px 15px;
    border-radius: 8px;
    margin-top: 15px;
    font-size: 14px;
}

/* Link quay lại */
.wc-wallet-topup .back-link {
    display: inline-block;
    margin-top: 25px;
    color: #2271b1;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.wc-wallet-topup .back-link:hover {
    color: #1b5e94;
    text-decoration: underline;
}

.wc-wallet-topup h2, .wc-wallet-topup h3 {
    margin-bottom: 10px;
}
.manual-paypal-info {
    margin-top: 20px;
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #eee;
}
.manual-paypal-info .note {
    color: #555;
    font-style: italic;
    margin-top: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    .wc-wallet-topup .content {
        flex-direction: column;
    }
}
