/* .card {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    border: none;
    margin-bottom: 1.5rem;
} */

/* .card-header {
    background-color: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
    padding: 1rem;
} */

.affiliate-page .card-header h4 {
    color: #333;
    font-weight: 600;
}

.affiliate-page .table {
    margin-bottom: 0;
}

.affiliate-page .table th {
    font-weight: 600;
    background-color: #f8f9fa;
    border-bottom: 2px solid #dee2e6;
}

.affiliate-page .table td {
    vertical-align: middle;
}

.affiliate-page .table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(0, 0, 0, 0.02);
}

.affiliate-page .table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.affiliate-page .d-flex.justify-content-between {
    padding: 1rem;
    background-color: #f8f9fa;
    border-top: 1px solid #dee2e6;
}

/* Search and Filter Section */
.affiliate-page .input-group {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.affiliate-page .input-group .form-control {
    border-right: none;
}

.affiliate-page .input-group .btn {
    border-left: none;
}

/* Export Button */
.affiliate-page .btn-success {
    background-color: #28a745;
    border-color: #28a745;
    transition: all 0.3s ease;
}

.affiliate-page .btn-success:hover {
    background-color: #218838;
    border-color: #1e7e34;
}

/* Page Size Select */
.affiliate-page .form-select {
    border-radius: 0.25rem;
    border: 1px solid #ced4da;
    padding: 0.375rem 2.25rem 0.375rem 0.75rem;
}

/* Pagination */
.affiliate-page .pagination {
    margin-bottom: 0;
}

.affiliate-page .pagination .page-link {
    color: #007bff;
    border: 1px solid #dee2e6;
    padding: 0.5rem 0.75rem;
}

.affiliate-page .pagination .page-item.active .page-link {
    background-color: #007bff;
    border-color: #007bff;
}

/* Container spacing */
.affiliate-page .container.mt-5 {
    margin-top: 2rem !important;
    padding-top: 1rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .affiliate-page .card-header {
        flex-direction: column;
        gap: 1rem;
    }
    
    .affiliate-page .card-header .d-flex {
        width: 100%;
    }
    
    .affiliate-page .form-select {
        width: 100%;
    }
}
