/**
 * Modern Table Styles
 * Common styles for tables across the administrative interface.
 */

.custom-table thead th {
    background-color: #f8fafc;
    border-bottom: 1px solid #edf2f7;
    padding-top: 0.75rem !important;
    padding-bottom: 0.75rem !important;
}

.custom-table tbody td {
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
}

.custom-table tbody tr {
    transition: all 0.2s;
}

.custom-table tbody tr:hover {
    background-color: #f1f5f9;
    transform: scale(1.002);
}

.bg-soft-success {
    background-color: rgba(34, 197, 94, 0.1);
}

.bg-soft-danger {
    background-color: rgba(239, 68, 68, 0.1);
}

.btn-icon {
    width: 36px;
    height: 36px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.75rem;
    transition: all 0.2s;
}

.btn-icon:hover {
    transform: translateY(-2px);
}

.pagination {
    gap: 5px;
}

.page-link {
    border-radius: 0.5rem !important;
    border: none;
    color: #64748b;
    padding: 0.5rem 0.85rem;
}

.page-item.active .page-link {
    background-color: var(--primary-color);
    box-shadow: 0 4px 6px -1px rgba(67, 97, 238, 0.3);
}

.dropdown-item {
    font-size: 0.9rem;
}

.dropdown-item:hover {
    background-color: #f8fafc;
}
