/* Table Selector Styles */
.tablePreviewContainer {
    max-height: calc(100vh - 250px);
    overflow-y: auto;
}

.tableCard {
    transition: all 0.2s ease;
    position: relative;
}

.tableCard:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.tableCard.selected {
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.3);
}

.tablePreview {
    overflow: auto;
    max-height: 200px;
}

/* Table styling within the preview */
.tablePreview :global(table) {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.tablePreview :global(th),
.tablePreview :global(td) {
    border: 1px solid #e5e7eb;
    padding: 0.5rem;
    text-align: left;
}

.tablePreview :global(th) {
    background-color: #f9fafb;
    font-weight: 500;
}

.tablePreview :global(tr:nth-child(even)) {
    background-color: #f9fafb;
}

.tablePreview :global(tr:hover) {
    background-color: #f3f4f6;
}

/* Selection indicator */
.selectedIndicator {
    position: absolute;
    top: 8px;
    right: 8px;
    background-color: #3b82f6;
    color: white;
    border-radius: 9999px;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}
