.multiselect,
.multiselect__input,
.multiselect__single {
	font-size: 14px !important;
}
.multiselect__option {
	padding: 13px !important;
}

.row.gutter-tiny {
	margin-left: -4px;
	margin-right: -4px;
}

.row.gutter-tiny > .col,
.row.gutter-tiny > [class*="col-"] {
	padding-left: 4px;
	padding-right: 4px;
}
/* Parent Tabs - Browser style with connected content */
.parent-tabs-row {
  display: flex;
  align-items: center;
  padding: 0 0.5rem;
  background-color: #f1f3f5;
  overflow-x: auto;
  white-space: nowrap;
}

.tab-item {
  position: relative;
  padding: 0.5rem 1rem;
  margin-right: 0.25rem;
  cursor: pointer;
  font-weight: 500;
  background-color: #e9ecef;
  border-radius: 8px 8px 0 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.tab-item:hover {
  background-color: #dee2e6;
}

.tab-item.active {
  background-color: #fff;
  color: #007bff;
  border-color: #dee2e6 #dee2e6 #fff #dee2e6; /* top/right/bottom/left */
  border-bottom: none; /* connects to content */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.12);
  z-index: 2; /* stay above content */
}

/* Close button inside tabs */
.tab-item .close-btn {
  position: absolute;
  top: 4px;
  right: 4px;
  font-weight: bold;
  color: #6c757d;
  font-size: 0.85rem;
  cursor: pointer;
  transition: color 0.2s ease;
}

.tab-item .close-btn:hover {
  color: #dc3545;
}

/* Child Tabs */
.child-tabs {
  display: flex;
  align-items: center;
  padding: 0 0.5rem;
  background-color: #f8f9fa;
  overflow-x: auto;
  white-space: nowrap;
}

.tab-item.child {
  font-size: 0.875rem;
  background-color: #e9ecef;
  border-radius: 6px 6px 0 0;
  margin-right: 0.2rem;
  padding: 0.4rem 0.8rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  border: 1px solid transparent;
}

.tab-item.child.active {
  background-color: #fff;
  color: #17a2b8;
  border-color: #dee2e6 #dee2e6 #fff #dee2e6;
  border-bottom: none;
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1);
  z-index: 2;
}

/* Content Box */
#tc_content {
  flex: 1;
  padding: 1rem;
  background-color: #fff;
  border: 1px solid #dee2e6;
  border-radius: 0 8px 8px 8px; /* round bottom and right corners */
  margin-top: -1px; /* connect with active tab */
  overflow-y: auto;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05);
}

/* Scrollbar for tabs */
.parent-tabs-row::-webkit-scrollbar,
.child-tabs::-webkit-scrollbar {
  height: 6px;
}

.parent-tabs-row::-webkit-scrollbar-thumb,
.child-tabs::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.15);
  border-radius: 3px;
}

/* Smooth scroll for tabs */
.parent-tabs-row,
.child-tabs {
  scroll-behavior: smooth;
}
