.affiliate-statistics-container {
    max-width: 1200px;
    margin: 20px 0;
    font-family: "Poppins", sans-serif;
}

.affiliate-summary {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    border-left: 4px solid #007cba;
}

.uap-account-summary-graph-title {
    margin-top: 0;
    margin-bottom: 15px;
    color: #23282d;
    font-size: 20px;
    font-weight: 600;
    font-family: "Poppins", sans-serif;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 15px;
    background: white;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    font-family: "Poppins", sans-serif;
}

.summary-item.total {
    background: #111;
    color: white;
    font-weight: bold;
}

.summary-item.pending {
    background: #ffc107;
    color: #333;
    font-weight: bold;
}

.summary-item.approve {
    background: #28a745;
    color: white;
    font-weight: bold;
}

.summary-item.withdraw {
    background: #007cba;
    color: white;
    font-weight: bold;
}

.summary-item.pending-withdraw {
    background: #e22403;
    color: #fff;
    font-weight: bold;
}

.summary-item.komisi {
    background: #820fcf;
    color: white;
    font-weight: bold;
}

.summary-item .label {
    font-weight: 500;
}

.affiliate-transactions .uap-account-summary-graph-title {
    color: #23282d;
    margin-bottom: 15px;
}

.table-responsive {
    overflow-x: auto;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    border-radius: 8px;
}

.affiliate-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    margin: 0;
    font-family: "Poppins", sans-serif;
}

.affiliate-table th,
.affiliate-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #e1e5e9;
}

.affiliate-table th {
    background: #f8f9fa;
    font-weight: 600;
    color: #23282d;
    border-bottom: 2px solid #dee2e6;
    font-family: "Poppins", sans-serif;
}

.affiliate-table tr:hover {
    background: #f8f9fa;
}

.status {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    font-family: "Poppins", sans-serif;
}

.status-pending {
    background: #fff3cd;
    color: #856404;
}

.status-approved {
    background: #d1edff;
    color: #0c5460;
}

.status-draft {
    background: #f8d7da;
    color: #721c24;
}

.status-refused {
    background: #f8d7da;
    color: #721c24;
}

.affiliate-stats-error {
    background: #f8d7da;
    color: #721c24;
    padding: 15px;
    border-radius: 6px;
    border-left: 4px solid #dc3545;
    margin: 20px 0;
    font-family: "Poppins", sans-serif;
}

/* Responsive */
@media (max-width: 768px) {
    .summary-grid {
        grid-template-columns: 1fr;
    }
    
    .affiliate-table {
        font-size: 14px;
    }
    
    .affiliate-table th,
    .affiliate-table td {
        padding: 8px 10px;
    }
    
    .uap-account-summary-graph-title {
        font-size: 18px;
    }
}

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
