.g-recaptcha {
  margin: 10px 0px;
}

.cbSearchSpa {
  display: flex !important;
}

[class^="cbFormSectio"] {
  align-items: center !important;
  justify-content: center !important;
  display: flex !important;
}

.bb-table-wrap table {
  font-size: 14px;
}

/* Enhanced Pipeline Controls Styles */
.pipeline-controls-container {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  margin: 24px 0;
  padding: 32px;
  border: 1px solid #e6eaf0;
}

.pipeline-search-form {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.search-section,
.filters-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.section-title {
  font-family: "Sora", sans-serif;
  font-weight: 600;
  font-size: 20px;
  color: #004973;
  margin: 0;
  padding-bottom: 12px;
  border-bottom: 2px solid #e6eaf0;
  position: relative;
  text-align: left;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 60px;
  height: 2px;
  background: #004973;
}

.search-fields,
.filter-fields {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-sizing: border-box;
}

.form-field label {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: #374151;
  margin: 0;
  text-align: left;
}

.form-field input,
.form-field select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #e1ecf5;
  border-radius: 10px;
  background: #fff;
  color: #143b54;
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.25;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04) inset;
  transition: background-color 0.2s ease, border-color 0.2s ease,
    box-shadow 0.2s ease, transform 0.12s ease;
  -webkit-tap-highlight-color: transparent;
  caret-color: #0b4f79;
  box-sizing: border-box;
}

.form-field input:hover,
.form-field select:hover {
  border-color: #d8e7f2;
  box-shadow: 0 1px 0 rgba(16, 24, 40, 0.06) inset;
  transform: translateY(-1px);
}

.form-field input:focus,
.form-field select:focus {
  outline: none;
  border-color: #0b4f79;
  box-shadow: 0 0 0 3px rgba(11, 79, 121, 0.2),
    0 1px 2px rgba(16, 24, 40, 0.04) inset;
}

.form-field input:active,
.form-field select:active {
  transform: translateY(0) scale(0.995);
}

.form-field input::placeholder {
  color: #7a8a99;
  opacity: 1;
}

.form-field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 14px;
  cursor: pointer;
}

.results-info-section {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 24px;
  margin: 8px 0 12px;
  padding: 12px 0;
  border-bottom: 1px solid #e6eaf0;
}

.results-count {
  font-size: 14px;
  color: #374151;
  font-weight: 500;
}

.results-per-page-dropdown {
  display: flex;
  align-items: center;
}

.results-per-page-dropdown select {
  appearance: none;
  -webkit-appearance: none;
  padding: 4px 32px 4px 12px;
  border: 1px solid #e1ecf5;
  border-radius: 6px;
  font-size: 14px;
  background: #fff;
  color: #374151;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="currentColor"><path d="M4.646 6.646a.5.5 0 01.708 0L8 9.293l2.646-2.647a.5.5 0 11.708.708l-3 3a.5.5 0 01-.708 0l-3-3a.5.5 0 010-.708z"/></svg>');
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 12px 12px;
  cursor: pointer;
  min-width: 60px;
  transition: border-color 0.2s ease;
}

.results-per-page-dropdown select:hover {
  border-color: #d8e7f2;
}

.results-per-page-dropdown select:focus {
  outline: none;
  border-color: #0b4f79;
  box-shadow: 0 0 0 2px rgba(11, 79, 121, 0.2);
}

.action-buttons-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
  justify-content: flex-start;
  margin-top: -4px;
}

.action-buttons {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.search-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 10px;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  min-width: 120px;
  width: 120px;
  text-align: center;
  background: #004973;
  color: #fff;
  box-shadow: 0 2px 4px rgba(0, 73, 115, 0.2);
}

.search-btn:hover {
  background: #003d5f;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 73, 115, 0.3);
}

/* Responsive Design */
@media (max-width: 1200px) {
  .search-fields,
  .filter-fields {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .pipeline-controls-container {
    margin: 16px 0;
    padding: 24px 20px;
  }

  .search-fields,
  .filter-fields {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .action-buttons {
    flex-direction: column;
    gap: 12px;
  }

  .search-btn {
    width: 100%;
    min-width: auto;
  }

  .results-info-section {
    flex-direction: row;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
  }

  .results-per-page-dropdown {
    margin-left: auto;
  }
}

@media (max-width: 480px) {
  .pipeline-controls-container {
    padding: 20px 16px;
  }

  .section-title {
    font-size: 18px;
  }
}

/* Sortable column links */
.modern-table th a {
  color: inherit;
  text-decoration: none;
  font-weight: inherit;
}

.modern-table th a:hover {
  color: #fff;
  text-decoration: underline;
}

/* Pipeline Pagination Styles */
.pipeline-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 24px 0;
  padding: 16px 0;
}

.pagination-arrow,
.pagination-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 25px;
  padding: 1px 12px;
  border-radius: 8px;
  text-decoration: none;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.2s ease;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #374151;
}

.pagination-arrow:hover:not(.pagination-disabled) {
  background: #f3f4f6;
  border-color: #d1d5db;
  transform: translateY(-1px);
}

.pagination-number:hover {
  background: #f3f4f6;
  border-color: #d1d5db;
  transform: translateY(-1px);
}

.pagination-active {
  background: #0b4f79 !important;
  color: #fff !important;
  border-color: #0b4f79 !important;
}

.pagination-disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background: #f9fafb;
  color: #9ca3af;
}

.pagination-ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  color: #6b7280;
  font-weight: 500;
}

/* Responsive pagination */
@media (max-width: 768px) {
  .pipeline-pagination {
    gap: 4px;
    margin: 16px 0;
    padding: 12px 0;
  }

  .pagination-arrow,
  .pagination-number {
    min-width: 36px;
    height: 36px;
    padding: 6px 8px;
    font-size: 13px;
  }

  .pagination-arrow {
    min-width: 36px;
    padding: 6px;
  }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .form-field input,
  .form-field select,
  .search-btn {
    transition: none !important;
    transform: none !important;
  }
}

.search_title_content{
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.wrapper-lp {
  padding: 9px 6px !important;
}

.search_title{
  margin: 0px !important;
}