/*--------------------------------------
🔹 Layout & Utility Overrides
----------------------------------------*/
#views-panel > div > .inline-selects {
  display: flex !important;
  flex-wrap: nowrap !important;
  white-space: nowrap !important;
  gap: 10px;
  overflow-x: auto;
  align-items: center;
}

.tabs-separator {
  position: absolute;
  top: 45px;
  left: 0;
  width: 100%;
  height: 1px;
}

/*--------------------------------------
🔹 Select Box Widths
----------------------------------------*/
select.min-w-200 {
  width: 200px !important;
  min-width: 220px !important;
  max-width: 200px !important;
}

select.min-w-225 {
  width: 225px !important;
  min-width: 225px !important;
  max-width: 225px !important;
}

/* Push second select of "less than" group down */
.filter-videos-modal__viewsmax-select {
  align-self: flex-end;
  /* or margin-top: 6px; */
}

/*--------------------------------------
🔹 Video Search Form: Keyword Suggestions
----------------------------------------*/
.videosearch-form__ajax-kwlist {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  z-index: 1050;
  border-radius: 0 0 0.375rem 0.375rem;
  background-color: var(--bs-custom-white-dark);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  margin-top: -1px;
  padding: 0;
  list-style: none;
}

.videosearch-form__ajax-kwlist .videosearch-form__ajax-kw {
  cursor: pointer;
  background-color: var(--bs-custom-white-dark);
  border: none !important;
  font-size: 0.9rem;
  border-radius: 0;
  padding: 8px 14px;
  white-space: nowrap;
  color: var(--bs-body-color);
  transition: background-color 0.2s ease;
}

.videosearch-form__ajax-kwlist .videosearch-form__ajax-kw:first-child {
  padding-top: 0.5rem;
  margin-top: -8px;
}

.videosearch-form__ajax-kwlist .videosearch-form__ajax-kw:hover,
.videosearch-form__ajax-kwlist .videosearch-form__ajax-kw:focus {
  background-color: var(--bs-custom-fill);
}

.videosearch-form__ajax-kwlist .videosearch-form__ajax-kw:active {
  background-color: var(--bs-custom-stroke-weak);
}

/* Highlight on keypress */
.videosearch-form__ajax-kwlist .list-group-item.active {
  background-color: #f0f0f0;
  color: #000;
}

/*--------------------------------------
🔹 Video Search Form: Input & Button
----------------------------------------*/
.videosearch-form__search-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.1rem;
  color: #6c757d;
}

.videosearch-form__search-input {
  width: 100%;
}
.video-table__search-input {
	padding-left: 2.5rem !important;
}

.edit-campaign-video-table__search-input {
	padding-left: 2.5rem !important;
}




/*--------------------------------------
🔹 Advanced Search Section
----------------------------------------*/
.video-advance-search-input {
  width: 2.5em;
  height: 20px;
}

.video-advance-search-wrapper {
  display: none;
}

.video-advance-search-wrapper__title {
  color: var(--bs-custom-text-strong);
}

/* Select2 layout tweaks inside advanced search */
.video-advance-search-wrapper .col-md-5 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.video-advance-search-wrapper .col-md-5 .select2-container {
  max-width: 300px;
  width: 100% !important;
  margin-top: 4px;
}

.video-advance-search-wrapper input[type="date"] {
  max-width: 300px !important;
  width: 100% !important;
  margin-top: 4px;
}

/*--------------------------------------
🔹 Datatables: Table Layouts
----------------------------------------*/
.video-occurences-table thead th {
  text-align: left !important;
  vertical-align: middle;
  font-size: 16px !important;
  font-weight: 400 !important;
  font-family: "Poppins", sans-serif !important;
  color: var(--bs-body-color) !important;
  background-color: var(--bs-custom-fill) !important;
  border-bottom: 2px solid var(--bs-custom-stroke-weak) !important;
}



table.video-table td {
  padding: 1.2rem;
  white-space: wrap !important;
}



.dataTables__scrollbar-wrapper--videos-wrapper {
  max-height: 700px;
  max-width: 100%;
}

/*--------------------------------------
🔹 Datatables: Column Widths
----------------------------------------*/
.width-250 {
  min-width: 200px;
}

.title-column-width {
  width: 260px !important;
  min-width: 260px !important;
}

.desc-column-width {
  width: 260px !important;
  min-width: 360px !important;
}

.tags-column-width {
  width: 200px !important;
  min-width: 250px !important;
}

.topics-column-width {
  width: 150px !important;
  white-space: wrap;
  overflow: hidden;
  overflow-wrap: break-word;
}

/*--------------------------------------
🔹 Datatables: Buttons
----------------------------------------*/

.video-million-views-color {
  color: var(--bs-custom-red) !important;
}


.inc-exc-videos__dom-buttons {
  padding: 20px;
}

.inc-exc-videos__dom-buttons li {
  display: inline;
  float: left;
}

.editinc-exc-videos__dom-buttons {
  padding: 20px;
}

.editinc-exc-videos__dom-buttons li {
  display: inline;
  float: left;
}

/*--------------------------------------
🔹 Dropdown States
----------------------------------------*/
.videocolumnselector-dropdown.show > .common-dropdown-btn {
  background-color: var(--bs-primary) !important;
  color: var(--bs-custom-text-strong) !important;
  box-shadow: none !important;
  outline: none !important;
}

/*--------------------------------------
🔹 Misc Fixes
----------------------------------------*/
.videooptions-dropdown__occurences-link span {
  display: inline-flex;
  align-items: center;
  transform: translateY(-2px); /* Adjust this value as needed */
}


.videosearch-form__search-icon {
  position: absolute;
  left: 14px;             /* Move icon closer to left edge */
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.1rem;
  color: #6c757d;
  pointer-events: none;  /* So clicks go through icon to input */
}

.videosearch-form__search-input {
  padding-left: 2.8rem;    /* Enough space for icon + small gap */
}

/*--------------------------------------
🔹 Channel Search
----------------------------------------*/

.channelsearch-form__input-wrapper {
  position: relative;
}

.channelsearch-form__icon {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  pointer-events: none;
}

.channelsearch-form__search-input {
  padding-left: 37px;
}

/*--------------------------------------
🔹 Channel Advanced Search Section
----------------------------------------*/
.channel-advance-search-wrapper {
  display: none;
}

.channel-advance-search-wrapper .col-md-5 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.channel-advance-search-wrapper .col-md-5 .select2-container {
  max-width: 300px;
  width: 100% !important;
  margin-top: 4px;
}

.channel-advance-search-wrapper input[type="date"] {
  max-width: 300px !important;
  width: 100% !important;
  margin-top: 4px;
}

/*--------------------------------------
🔹 Popular Search Section
----------------------------------------*/

   .popularsearch__container .popularsearch__field {
    margin-top: -1rem;
  }