.wr-search-project-page .wt-proposal-card {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 20px;
  border: 1px solid #e9ecef;
  border-radius: 10px;
  background: #ffffff;
  margin-bottom: 16px;
  gap: 20px;
}

.wr-search-project-page .wt-proposal-card:hover {
  background: #f8f9fa;
}

.wr-search-project-page .wt-proposal-main {
  flex: 1;
}

.wr-search-project-page .wt-proposal-title {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 600;
}

.wr-search-project-page .wt-proposal-title a {
  color: #1f2937;
  text-decoration: none;
}

.wr-search-project-page .wt-proposal-title a:hover {
  color: #238a3e;
}

.wr-search-project-page .wt-proposal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 12px;
}

.wr-search-project-page .wt-proposal-rate {
  color: #238a3e;
  font-weight: 700;
  font-size: 18px;
}

.wr-search-project-page .wt-project-labels {
  display: grid;
  gap: 10px;
}

.wr-search-project-page .wt-project-label {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.wr-search-project-page .wt-project-label__title {
  min-width: 64px;
  font-size: 13px;
  font-weight: 600;
  color: #238a3e;
}

.wr-search-project-page .wt-project-label__values {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* Child Style 1: hide label titles and show tags only */
.wr-search-project-child-style1 .wt-project-label__title {
  display: none;
}

.wr-search-project-child-style1 .wt-project-label__values {
  gap: 10px;
}

.wr-search-project-child-style1 .wt-project-labels {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.wr-search-project-child-style1 .wt-project-label {
  width: 100%;
}

.wr-search-project-child-style1 .wt-project-label:nth-child(4),
.wr-search-project-child-style1 .wt-project-label:nth-child(5) {
  width: auto;
}

/* Child Style 1: hide posted date */
.wr-search-project-child-style1 .wt-proposal-date {
  display: none;
}

/* Child Style 1: align Save button with Apply Now style */
.wr-search-project-child-style1 .wt-proposal-actions .wr_saved_items {
  border: 1px solid #28a745;
  background: #ffffff;
  color: #28a745;
  padding: 10px 16px;
  border-radius: 8px;
}

.wr-search-project-child-style1 .wt-proposal-actions .wr_saved_items:hover {
  background: #eaf7ef;
  color: #1f7a35;
}

.wr-search-project-page .wt-project-label__tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: #eaf7ef;
  border: 1px solid #c6ebd0;
  color: #155f2a;
  font-size: 12px;
  line-height: 1.2;
}

.wr-search-project-page .wt-proposal-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  min-width: 160px;
}

.wr-search-project-page .wt-proposal-actions .wt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 8px;
  border: 1px solid #28a745;
  color: #28a745;
  background: #ffffff;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.wr-search-project-page .wt-proposal-actions .wt-btn:hover {
  background: #eaf7ef;
  color: #1f7a35;
}

.wr-search-project-page .wt-proposal-actions .wr_saved_items {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid #c6ebd0;
  background: #eaf7ef;
  color: #1f7a35;
  cursor: pointer;
  text-decoration: none;
}

.wr-search-project-page .wt-proposal-actions .wr_saved_items i {
  margin-right: 6px;
}

.wr-search-project-page .wt-proposal-actions .wr_saved_items.bg-redheart {
  border-color: #a9dbb7;
  background: #dff3e6;
  color: #1b6e30;
}

/* Child Style 1: Save button should match Apply now */
.wr-search-project-child-style1 .wt-proposal-actions .wr_saved_items {
  border: 1px solid #28a745 !important;
  background: #ffffff !important;
  color: #28a745 !important;
  padding: 0 16px !important;
  border-radius: 8px !important;
  font-weight: 600;
  width: 160px;
  height: 48px;
  justify-content: center;
}

.wr-search-project-child-style1 .wt-proposal-actions .wt-btn {
  width: 160px;
  height: 48px;
}

.wr-search-project-child-style1 .wt-proposal-actions .wr_saved_items:hover {
  background: #eaf7ef !important;
  color: #1f7a35 !important;
}

.wr-search-project-child-style1 .wt-proposal-actions .wr_saved_items i {
  color: inherit !important;
}

@media (max-width: 768px) {
  .wr-search-project-page .wt-proposal-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .wr-search-project-page .wt-proposal-actions {
    width: 100%;
    align-items: flex-start;
  }
}

/* Child Style 2: plugin default card + green palette */
.wr-search-project-child-style2 .wr-projects-grid-item {
  border: 1px solid #e0f0e6 !important;
  border-radius: 12px !important;
  box-shadow: 0 6px 18px rgba(23, 110, 48, 0.06) !important;
}

.wr-search-project-child-style2 .wr-projects-grid-item .wr-project-price-wrapper .wr-project-tag,
.wr-search-project-child-style2 .wr-projects-grid-item .wr-project-tag {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: #1f7a35 !important;
  padding: 0 !important;
}

.wr-search-project-child-style2 .wr-projects-grid-item .wr-project-price-wrapper .wr-project-price {
  color: #1f7a35 !important;
}

.wr-search-project-child-style2 .wr-projects-grid-item .wr-project-info li > i {
  color: #1f7a35 !important;
}

.wr-search-project-child-style2 .wt-project-labels {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.wr-search-project-child-style2 .wr-projects-grid-item .wr-singleservice-tile .wr-tags_links li span,
.wr-search-project-child-style2 .wr-projects-grid-item .wr-blog-tags {
  background: #eaf7ef !important;
  border: 1px solid #bde6c8 !important;
  color: #1f7a35 !important;
}

.wr-search-project-child-style2 .wr-projects-grid-item .wr-projects-grid-footer .wr-secondary-btn {
  border: 1px solid #28a745 !important;
  color: #28a745 !important;
  background: #ffffff !important;
  box-shadow: none !important;
}

.wr-search-project-child-style2 .wr-projects-grid-item .wr-projects-grid-footer .wr-secondary-btn:hover {
  background: #eaf7ef !important;
  color: #1f7a35 !important;
  border-color: #28a745 !important;
  box-shadow: none !important;
}

.wr-search-project-child-style2 .wr-projects-grid-item:hover .wr-projects-grid-footer .wr-secondary-btn,
.wr-search-project-child-style2 .wr-projects-grid-item:focus-within .wr-projects-grid-footer .wr-secondary-btn {
  background: #eaf7ef !important;
  color: #1f7a35 !important;
  border-color: #28a745 !important;
  box-shadow: none !important;
}

.wr-search-project-child-style2 .wr-projects-grid-item .wr-projects-grid-footer .wr-secondary-btn::before {
  background: transparent !important;
  width: 0 !important;
  height: 0 !important;
  transition: none !important;
}

.wr-search-project-child-style2 .wr-projects-grid-item .wr-projects-grid-footer .wr-secondary-btn:hover::before,
.wr-search-project-child-style2 .wr-projects-grid-item .wr-projects-grid-footer .wr-secondary-btn:focus::before {
  background: transparent !important;
  width: 0 !important;
  height: 0 !important;
  transition: none !important;
}
