.professionals-container {
  display: flex;
  gap: 32px;
  justify-content: space-between;
  @media screen and (max-width: 992px) {
    flex-direction: column;
    margin-left: 32px;
    margin-right: 32px;
  }
}

.professionals-left {
  display: flex;
  flex-direction: column;
  gap: 32px;
  flex: 1;
}

.professionals-right {
  flex: 3;
}

.professional-promo-card {
  position: relative;
  background: linear-gradient(110deg, #6dc1f3 0%, #6dc1f3 80%, #e42fb0 100%);
  padding: 24px;
  border-radius: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;

  h2 {
    font-size: 32px;
    z-index: 2;
    padding: 0;
    margin: 0;
  }

  p {
    font-size: 16px;
    font-weight: 400;
    z-index: 2;
  }
}

.card-decoration {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  z-index: 1;
}

.filters {
  display: flex;
  flex-direction: column;
  gap: 16px;

  h4 {
    font-size: 32px;
    padding: 0;
    margin: 0;
  }
}

.professional-form-group {
  display: flex;
  flex-direction: column;
  gap: 12px;

  p {
    font-size: 24px;
    padding: 24px 0 0 0;
  }
}

.search-input {
  background: #eaf7fe;
  border: none;
  border-radius: 0 24px 0 24px;
  padding: 12px 44px 12px 16px;
  font-size: 16px;
  color: #1a1a1a;
  outline: none;
  width: 100%;
  box-sizing: border-box;
  position: relative;
}

.professional-label {
  font-size: 24px;
  font-weight: bold;
  padding: 16px 0 0 0;
  margin: 0;
}

.input-with-icon {
  position: relative;
  display: flex;
  align-items: center;
}

.input-with-icon .search-input {
  width: 100%;
  padding-right: 2.5em;
  box-sizing: border-box;
}

.input-with-icon img {
  position: absolute;
  right: 0.75em;
  width: 1.2em;
  height: 1.2em;
  pointer-events: none;

  filter: brightness(0) saturate(100%) invert(19%) sepia(53%) saturate(2781%)
    hue-rotate(219deg) brightness(99%) contrast(81%);
}

.professional-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(420px, 1fr));
  gap: 32px;
  @media screen and (max-width: 992px) {
    display: flex;
    flex-direction: column;
  }
}

.professional-card {
  background-color: #e2f3fd;
  border-radius: 40px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 48px;
  
  @media screen and (max-width: 768px) {
    padding: 20px;
    gap: 24px;
    border-radius: 24px;
  }
  
  @media screen and (max-width: 480px) {
    padding: 16px;
    gap: 20px;
  }
}

.professional-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
  
  span {
    font-size: 16px;
    color: #1a1a1a;
    
    @media screen and (max-width: 768px) {
      font-size: 14px;
    }
  }
  
  h3 {
    font-size: 32px;
    padding: 0;
    margin: 0;
    
    @media screen and (max-width: 768px) {
      font-size: 24px;
      line-height: 1.3;
    }
    
    @media screen and (max-width: 480px) {
      font-size: 20px;
    }
  }
}

.professional-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  
  @media screen and (max-width: 768px) {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

.professional-pricing {
  h4 {
    font-size: 24px;
    padding: 0;
    margin: 0;
  }

  p {
    font-size: 16px;
    color: #1a1a1a;
  }
  
  @media screen and (max-width: 768px) {
    h4 {
      font-size: 20px;
    }
    
    p {
      font-size: 14px;
    }
  }
}

.job-link {
  @media screen and (max-width: 768px) {
    width: 100%;
  }
}

.job-link button {
  @media screen and (max-width: 768px) {
    width: 100%;
    max-width: 100%;
    padding: 12px 16px;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  @media screen and (max-width: 480px) {
    font-size: 12px;
    padding: 10px 12px;
  }
}

.job-link button span {
  @media screen and (max-width: 768px) {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: calc(100% - 24px);
  }
}

.job-link button img {
  @media screen and (max-width: 768px) {
    flex-shrink: 0;
    margin-left: 8px;
    width: 10px;
    height: 10px;
  }
}

.professional-pagination {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;

  @media screen and (max-width: 992px) {
    margin-top: 16px;
    width: calc(100% - 32px);
  }

  span {
    font-size: 16px;
    font-weight: bold;
    padding: 8px 12px;
  }

  span:hover {
    cursor: pointer;
    background-color: rgba(55, 75, 163, 0.5);
    border-radius: 4px;
  }
}

.pagination-disabled {
  filter: brightness(0) saturate(100%) invert(45%) sepia(0%) saturate(1%)
    hue-rotate(149deg) brightness(90%) contrast(84%);
  transform: rotate(-135deg);
}

.pagination-next {
  filter: brightness(0) saturate(100%) invert(19%) sepia(53%) saturate(2781%)
    hue-rotate(219deg) brightness(99%) contrast(81%);
  transform: rotate(45deg);
}

.pagination-btn {
  width: 16px;
  height: 16px;
  cursor: pointer;
  transition: filter 0.2s, transform 0.2s;
}

.filter-submit {
  margin-top: 16px;
}

/* Search Results Header */
.search-results-header {
  background: #eaf7fe;
  border-radius: 20px;
  padding: 20px;
  margin-bottom: 24px;
  border: 2px solid #6dc1f3;
}

.search-results-header h3 {
  font-size: 24px;
  margin: 0 0 12px 0;
  color: #1a1a1a;
}

.search-results-header p {
  font-size: 16px;
  margin: 0 0 16px 0;
  color: #666;
}

.clear-filters {
  display: inline-block;
  background: #6dc1f3;
  color: white;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  transition: background 0.2s;
}

.clear-filters:hover {
  background: #5bb0e2;
  color: white;
  text-decoration: none;
}

/* No jobs found styling */
.no-jobs-found {
  text-align: center;
  padding: 40px 20px;
  background: #f8f9fa;
  border-radius: 20px;
  margin: 20px 0;
}

.no-jobs-found p {
  font-size: 18px;
  color: #666;
  margin-bottom: 20px;
}

.no-jobs-found .button {
  display: inline-block;
  background: #6dc1f3;
  color: white;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 20px;
  font-size: 16px;
  transition: background 0.2s;
}

.no-jobs-found .button:hover {
  background: #5bb0e2;
  color: white;
  text-decoration: none;
}