/* Frontend Wallet Styles */
.peteitcms-wallet-container {
    max-width: 800px;
    margin: 20px auto;
}

.wallet-balance {
    background: #00a884;    
    color: white;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 30px;
    text-align: center;
}

.wallet-balance h3 {
    margin: 0 0 10px 0;
    font-size: 18px;
    opacity: 0.9;
}

.balance-amount {
    font-size: 36px;
    font-weight: bold;
}

.wallet-transactions {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.wallet-transactions h3 {
    margin: 0 0 20px 0;
}

.wallet-table {
    width: 100%;
    border-collapse: collapse;
}

.wallet-table th {
    background: #f5f5f5;
    padding: 12px;
    text-align: left;
    font-weight: 600;
    border-bottom: 2px solid #ddd;
}

.wallet-table td {
    padding: 12px;
    border-bottom: 1px solid #eee;
}

.wallet-table tr:hover {
    background: #f9f9f9;
}

.wallet-table .positive {
    color: #10b981;
    font-weight: 600;
}

.wallet-table .negative {
    color: #ef4444;
    font-weight: 600;
}

/* Admin Backend Styles */
.wallet-admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.stat-box {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    text-align: center;
    border-left: 4px solid #667eea;
}

.stat-box h3 {
    margin: 0;
    font-size: 32px;
    color: #667eea;
    font-weight: bold;
}

.stat-box p {
    margin: 10px 0 0 0;
    color: #666;
    font-size: 14px;
}

/* Chart Containers */
.wallet-charts-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin: 30px 0;
}

.wallet-chart-container {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.wallet-chart-container h2 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 18px;
    color: #333;
    border-bottom: 2px solid #667eea;
    padding-bottom: 10px;
}

.wallet-chart-container canvas {
    max-height: 300px;
}

@media (max-width: 1200px) {
    .wallet-charts-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .wallet-admin-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .wallet-admin-stats {
        grid-template-columns: 1fr;
    }
}

/* Payout Styles */
.wallet-payout-container {
    max-width: 800px;
    margin: 20px auto;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.wallet-payout-info {
    margin-bottom: 30px;
    padding: 20px;
    background: #333;
    border-radius: 8px;
}

.wallet-payout-info h3 {
    margin-top: 0;
}

.wallet-payout-form {
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 40px;
    background: #333;
}

.wallet-payout-form .form-group {
    margin-bottom: 20px;
}

.wallet-payout-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.wallet-payout-form input,
.wallet-payout-form select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
}

.wallet-payout-form input:focus,
.wallet-payout-form select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.payment-fields {
    padding: 20px;
    background: #333;
    border-radius: 8px;
    margin-top: 20px;
}

.wallet-button {
    background: #00a884;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s;
}

.wallet-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.wallet-payout-history {
    margin-top: 40px;
}

.wallet-payout-history h3 {
    margin-bottom: 20px;
}

.wallet-table {
    width: 100%;
    border-collapse: collapse;
}

.wallet-table th,
.wallet-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #eee;
    color: #333;
}

.wallet-table th {
    background: #f8f9fa;
    font-weight: 600;
    color: #333;
}

.status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
}

.status-badge.status-pending {
    background: #ffc107;
    color: #000;
}

.status-badge.status-approved {
    background: #28a745;
    color: white;
}

.status-badge.status-rejected {
    background: #dc3545;
    color: white;
}

.wallet-message {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.wallet-message.success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.wallet-message.error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.wallet-message.info {
    background: #d1ecf1;
    border: 1px solid #bee5eb;
    color: #0c5460;
}

