.back-button {
  padding: 0 0 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
}
.back-button .back-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--color-primary);
}
.page-title{
  display: flex;
  justify-content: space-between;
  margin: 0 0 30px;
  align-items: center;
}
.page-title > h2 {
  font-size: var(--font-large);
  line-height: 30px;
  font-weight: 700;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/*  */
.project-filter {
  display: flex;
  gap: 10px;
}
.project-filter .custom-btn {
  padding: 7px 7px;
}
.search-wrapper {
  border: 1px solid var(--border-plight);
  border-radius: 4px;
  padding: 7px 12px;
  max-width: 322px;
  display: flex;
  align-items: center;
}

.search-wrapper svg {
  width: 16px;
  height: 16px;
  margin-right: 8px;
  color: var(--color-primary);
}

.search-wrapper input {
  border: none;
  outline: none;
  flex-grow: 1;
  font-size: var(--font-small);
  color: var(--color-primary);
}
.search-wrapper input::placeholder {
  color: var(--color-primary);
}
.custom-select {
  position: relative;
}

.custom-select select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding:5px 35px 5px 12px;
  border: 1px solid var(--border-plight);
  border-radius: 4px;
  width: 100%;
}

.custom-select::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 12px;
  width: 18px;
  height: 9px;
  pointer-events: none;
  transform: translateY(-50%);
  background-image: url('data:image/svg+xml,<svg width="18" height="9" viewBox="0 0 18 9" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M8.99953 8.80062C8.29953 8.80062 7.59953 8.53063 7.06953 8.00063L0.549531 1.48062C0.259531 1.19062 0.259531 0.710625 0.549531 0.420625C0.839531 0.130625 1.31953 0.130625 1.60953 0.420625L8.12953 6.94062C8.60953 7.42062 9.38953 7.42062 9.86953 6.94062L16.3895 0.420625C16.6795 0.130625 17.1595 0.130625 17.4495 0.420625C17.7395 0.710625 17.7395 1.19062 17.4495 1.48062L10.9295 8.00063C10.3995 8.53063 9.69953 8.80062 8.99953 8.80062Z" fill="%230E9493"/></svg>');
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

.viewbid-listing {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 30px;
}

.viewbid-card{
  padding: 20px;
  border: solid 1px var(--border-plight);
  border-radius: 10px;
}
.viewbid-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin: 0 0 15px;
}
.viewbid-top .custom-btn{
  background: #e6f4f4;
  color: var(--typo-primary);
  border-color: #e6f4f4;
  font-size: var(--font-small);
  font-weight: 600;
}
.viewbid-top .custom-btn:hover{
  background: var(--typo-primary);
  color: var(--color-white);
  border-color: var(--typo-primary);
}
.fc-profile .fc-img {
  width:72px;
  height:72px;
  border-radius: 50%;
  overflow: hidden;
  border: solid 1px var(--border-plight);
  padding: 5px;
}

.fc-profile .fc-img img {
  border-radius: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fc-profile  .fc-content {
  padding-left: 10px;
}
.fc-profile .fc-content h5{
  font-size: var(--font-large);
  line-height: 30px;
  margin-bottom: 2px;
}
.fc-content > div {
  font-size: 12px;
  color: var(--h-color);
  line-height: normal;
}
.fc-dis {
  padding-top: 10px;
}
.viewbid-chat {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}
ul.fc-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
ul.fc-contact .fc-text {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--text-color);
  font-weight: 500;
  font-size: var(--font-xs);
  line-height: normal;
}
.fc-text .icon {
  min-width: 14px;
  height: 14px;
  width: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fc-dis p{
  font-size: var(--font-small);
  color: #000;
}
.divider {
  border-bottom: 1px solid var(--border-plight);
  margin: 20px 0;
}
.project-bid-oter {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}
.project-price {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 16px;
  color: var(--h-color);
}
.deal-price-outer .deal-price {
  font-size: var(--font-small);
  line-height: normal;
  color: var(--text-color);
  font-weight: 500;
}
.project-bid-oter .project-bid {
  display: flex;
  gap: 10px;
}
.project-bid-oter .project-bid .red-outline {
  padding: 7px;
}

.custom-btn:disabled {
  opacity: 0.5 !important;
  cursor: not-allowed !important;
  background-color: #f8f9fa !important;
  border-color: #dee2e6 !important;
  color: #6c757d !important;
}

.custom-btn:disabled:hover {
  background-color: #f8f9fa !important;
  border-color: #dee2e6 !important;
  color: #6c757d !important;
}

@media(max-width:1199px){
  .viewbid-listing {
    gap: 20px;
  }
  .viewbid-card {
    padding: 15px;
  }
  .viewbid-top .fc-profile {
    margin: 0 0 10px;
  }
  .fc-profile .fc-content h5 {
    font-size: var(--font-small);
    line-height: normal;
  }
  .fc-profile .fc-img {
    width: 56px;
    height: 56px;
    min-width: 56px;
  }
  .viewbid-top{
    display: block;
  }
  .viewbid-chat .custom-btn svg {
    display: none;
  }
  .deal-price-outer .deal-price{
    font-size: 10px;
  }
  .project-bid-oter {
    gap: 10px;
  }
  .divider {
    margin: 10px 0;
  }
  .custom-select::after {
    background-size: 12px;
    background-position: right;
  }
}

@media(max-width:991px){
  .viewbid-listing {
    grid-template-columns: 1fr 1fr;
  }
  .page-title {
    flex-wrap: wrap;
    gap: 20px;
  }
  .project-filter {
    flex-wrap: wrap;
  }
}
@media(max-width:767px){
  .viewbid-listing {
    grid-template-columns: 1fr;
  }
}