/* Member Status Indicators */
.status-active {
    color: #22c55e;
    font-weight: 500;
}

.status-expiring {
    color: #eab308;
    font-weight: 500;
}

.status-expired {
    color: #ef4444;
    font-weight: 500;
}

/* Member Table */
.member-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 0.5rem;
    table-layout: fixed;
}

.member-table th:nth-child(1) { width: 150px; } /* Member # */
.member-table th:nth-child(2) { width: 200px; } /* Name */
.member-table th:nth-child(3) { width: 250px; } /* Email */
.member-table th:nth-child(4) { width: 120px; } /* Start Date */
.member-table th:nth-child(5) { width: 100px; } /* Rate */
.member-table th:nth-child(6) { width: 100px; } /* Status */
.member-table th:nth-child(7) { width: 120px; } /* Next Payment */
.member-table th:nth-child(8) { width: 80px; } /* Source */
.member-table th:nth-child(9) { width: 200px; } /* Latest Auto Email */

.member-table td {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.member-table th {
    background-color: #f8f9fa;
    color: #4b5563;
    font-weight: 600;
    font-size: 0.875rem;
    text-align: left;
    padding: 0.75rem 1rem;
    border-bottom: 2px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 10;
}

.member-table td {
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    color: #374151;
    border-bottom: 1px solid #e5e7eb;
    background-color: white;
}

.member-table tr:hover td {
    background-color: #f9fafb;
}

/* Pagination */
.pagination-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    border-top: 1px solid #e5e7eb;
    background-color: #f9fafb;
}

.pagination-info {
    color: #6b7280;
    font-size: 0.875rem;
}

.pagination-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.pagination-button {
    padding: 0.5rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.375rem;
    background-color: white;
    color: #374151;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
}

.pagination-button:hover:not(.disabled) {
    background-color: #2085CA;
    border-color: #2085CA;
    color: white;
}

.pagination-button.disabled {
    background-color: #f3f4f6;
    color: #9ca3af;
    cursor: not-allowed;
}

.pagination-pages {
    color: #374151;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Page Header */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.25rem 1.5rem;
    border-bottom: 1px solid #e5e7eb;
    background-color: white;
}

.page-header h1 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #111827;
    margin: 0;
}

.page-actions {
    display: flex;
    gap: 0.5rem;
}

.primary-button {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background-color: #2085CA;
    color: white;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.2s;
}

.primary-button:hover {
    background-color: #1a6ca8;
}

/* Table Container */
.table-container {
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 3rem 1.5rem;
    color: #6b7280;
}

.empty-state p {
    margin-top: 0.5rem;
    font-size: 0.875rem;
}

/* Count Badge */
.count {
    background-color: rgba(255, 255, 255, 0.2);
    padding: 0.125rem 0.5rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    color: #e5e7eb;
}

/* Nav Icon */
.nav-icon {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
    stroke-width: 1.5;
}