.customer-profile {
  padding-top: 64px;
}
.profile-edit-block {
  text-align: center;
  position: relative;
  background-color: var(--light-gray);
  border-radius: 10px;
  padding-top: 71px;
  padding-bottom: 12px;
}
.profile-edit-block .profile-img {
  margin: 0 auto;
  width: 122px;
  height: 122px;
  background-color: var(--color-white);
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-primary);
  position: absolute;
  top: -64px;
  left: 50%;
  transform: translate(-50%, 0);
}


.profile-edit-block .profile-img .profile-update-img{
  border-radius: 50%;
  max-width: 100px;
  height: 100px;
}
.profile-edit-block .profile-img .edit-btn {
  position: absolute;
  bottom: -6px;
}

.profile-edit-block .profile-img .edit-btn .edit-btn-link{
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3px;
  background-color: var(--color-primary);
  border-radius: 40px;
  border: 1px solid var(--color-primary);
}

.profile-edit-block .profile-img .edit-btn .edit-btn-link:hover{
  background-color: var(--color-white);
}

.profile-edit-block .profile-img .edit-btn .edit-btn-link img{
  filter: brightness(0) invert(1);
}
.profile-edit-block .profile-img .edit-btn .edit-btn-link:hover img{
  filter: none;
}
.profile-edit-block h5 {
  color: var(--text-color);
}
.profile-reviews {
  font-size: var(--font-xs);
  color: var(--typo-secondary);
  line-height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.customer-menu {
  padding-top: 20px;
}
.customer-menu li:not(:last-child) a{
  border-bottom: solid 1px var(--light-gray);
}
.customer-menu li a {
  display: flex;
  align-items: center;
  padding: 15px 30px;
  gap: 10px;
  text-transform: capitalize;
  font-size: 18px;
  font-weight: 600;
  color:var(--text-color);
  position: relative;
}
.customer-menu li a span.massage-count {
  background: #F24747;
  color: #fff;
  height: 15px;
  width: 15px;
  font-size: 10px;
  line-height: normal;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  position: absolute;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
}
.customer-menu li a svg path{
  fill: var(--text-color);
}
.customer-menu li.active a{
  border-bottom: none;
  background-color: rgba(14, 148, 147, 0.2);
  color: var(--typo-primary);
  border-radius: 8px;
}
.customer-menu li a:hover {
  color: var(--typo-primary);
}
.customer-menu li.active a svg path,
.customer-menu li a:hover svg path{
  fill: var(--typo-primary);
}
.customer-menu li:last-child a{
  color: rgba(242, 71, 71, 1);
}
.customer-menu li:last-child a svg path{
  fill: rgba(242, 71, 71, 1);
}


/*  */
.form-wrap{
  background-color: var(--light-gray);
  padding: 30px;
  border-radius: 10px;
}
.form-wrap label {
  font-size: var(--font-small);
  line-height: normal;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--h-color);
}
.input-icon {
  position: relative;
}
.input-icon input {
  font-size: var(--font-small);
  min-height: 40px;
  background-color: var(--color-white);
  border-color: var(--color-white);
  
  border-radius: 8px;
}
.input-icon input:focus {
  box-shadow: none;
  border-color: var(--color-primary);
}

.custom-modal .modal-dialog {
  max-width: 961px;
  border: none !important;
}
.modal .modal-dialog .modal-content {
  padding: 30px;
  border: none;
  box-shadow: none;
  border-radius: 8px;
}
.modal .modal-dialog .modal-content .tab-title{
  align-items: center;
}
.modal .modal-dialog .modal-content .tab-title  h5 {
  margin: 0;
}
.modal .modal-dialog .modal-content .tab-title button.btn-close {
  border: solid 2px #564B43;
  border-radius: 50%;
  background-size: 10px !important;
  background-position: center;
  font-size: 0;
  height: 22px;
  width: 22px;
}

.upload-outer label.form-label {
  color: var(--h-color);
  font-size: var(--font-small);
  margin: 0 0 12px;
  line-height: normal;
}

.upload-area {
  border: 1px dashed var(--typo-primary);
  cursor: pointer;
  transition: border-color 0.3s ease;
  background-color: #fff;
  padding: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 5px;
}

.upload-area:hover {
border-color: #127066;
}

.upload-placeholder {
color: #666;
}
.upload-placeholder p {
  color: var(--h-color);
  font-weight: 600;
  margin: 25px 0 5px;
}
.upload-placeholder p a{
  color: var(--typo-primary);
}
div#previewBox {
  max-width: 161px;
  width: 100%;
  border: solid 1px var(--light-gray);
  border-radius: 8px;
  height: 165px;
  padding: 8px 10px;
}
div#previewBox img#previewImage {
  width: 100% !important;
  height: 100% !important;
}
.remove-btn {
  width: 22px;
  height: 22px;
  line-height: 18px;
  border: solid 2px #F24747 !important;
  color: #F24747;
}
.tab-title {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
.tab-title h5{
  position: relative;
  width: fit-content;
  padding-bottom: 10px;
  margin-bottom: 22px;
}
.tab-title h5::after{
  content: '';
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50%;
  height: 3px;
  background-color: var(--color-primary);
  border-radius: 40px;
}
/* my-project  */
.my-project .tab-title h5 {
  margin: 0;
}
.project-filter {
  display: flex;
  gap: 10px;
}
.project-filter .custom-btn {
  padding: 7px 7px;
}
.search-wrapper {
  border: 1px solid #FCE3CF;
  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: #ff7a00;
}

.search-wrapper input {
  border: none;
  outline: none;
  flex-grow: 1;
  color: #FCE3CF;
}

.custom-select {
  position: relative;
}

.custom-select select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding:5px 35px 5px 12px;
  border: 1px solid #FCE3CF;
  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;
}

.project-card-outer{
  padding-top: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.project-card {
    border: solid 1px var(--border-plight);
    border-radius: 10px;
    overflow: hidden;
    padding-bottom: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.work-outer {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.work-outer .work-profile {
  align-self: flex-end;
  padding: 13px 0 0 20px;
  color: var(--typo-primary);
  font-size: var(--font-small);
  line-height: normal;
  display: flex;
  gap: 8px;
}
.work-time {
  background: var(--light-orange);
  display: flex;
  align-items: center;
  padding: 8px 10px;
  gap: 6px;
  font-size: var(--font-xs);
  align-items: center;
  line-height: normal;
  border-bottom-left-radius: 5px;
}
.project-info {
  padding: 10px 20px 20px;
}
.project-info .project-title {
  font-size: var(--font-20);
  line-height: normal;
  font-weight: 600;
  color: var(--h-color);    
  display: -webkit-box;
  -webkit-line-clamp: 2; /* Limit to 2 lines */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 10px;

}
.project-user {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}
.pu-profile .pu-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  border: solid 1px #FCE3CF;
  padding: 3px;
}
.pu-profile.no-freelancer .pu-img {
  border-color: var(--light-gray);
}
.pu-profile .pu-img img {
  border-radius: 50%;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
}
.pu-profile  .pu-content {
  padding-left: 10px;
}
.pu-profile .pu-content h5 {
  font-size: var(--font-regular);
  line-height: 24px;
  margin-bottom: 0;
}
.pu-profile.no-freelancer .pu-content h5 {
  font-size: var(--font-small);
  line-height: normal;
  font-weight: 400;
  margin-bottom: 0;
  color: var(--text-color);
}
.pu-content > div {
  font-size: 12px;
  color: var(--h-color);
  line-height: normal;
}
.project-user .pu-share {
  display: flex;
  align-items: center;
  gap: 10px;
}
.project-user .pu-share .view-bid {
  padding: 5px 10px;
  display: flex;
  align-items: center;
  gap: 7px;
  border: solid 1px var(--border-plight);
  line-height: normal;
  border-radius: 5px;
  font-size: var(--font-small);
  color: #404A62;
  font-weight: 500;
}
.project-user .pu-share .completed,
.project-user .pu-share .ongoing {
  padding: 5px 10px;
  display: flex;
  align-items: center;
  gap: 7px;
  line-height: normal;
  border-radius: 5px;
  font-size: var(--font-small);
  background: rgba(14, 148, 147, 0.1);
  color: var(--typo-primary);
  font-weight: 500;
}
.project-user .pu-share .ongoing{
  background-color: var(--light-gray);
  color: var(--text-color);
}
.project-user .pu-share  .share-profile {
  padding: 4px 10px;
  background: var(--border-plight);
  line-height: normal;
  border-radius: 6px;
}
.project-info .project-dis {
  font-size: var(--font-small);
  line-height: normal;
  color: var(--h-color);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 10px;
}
.project-bid-oter {
  display: flex;
  justify-content: space-between;
  padding: 8px 24px;
  background-color: var(--light-orange);
  gap: 20px;
}
.deal-price-outer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.deal-price-outer .deal-price {
  display: flex;
  flex-direction: column;
  text-align: right;
  justify-content: center;
  font-size: var(--font-small);
  line-height: normal;
  font-weight: 600;
  color: var(--color-primary);
}
.deal-price-outer .deal-price span{
  font-size: 10px;
  line-height: normal;
  color: #787676;
}
.project-bid-oter .project-bid {
  display: flex;
  gap: 10px;
}
.project-price {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 16px;
}
.project-bid-oter .project-bid .secondary-outline {
  padding: 7px 7px;
}
.custom-btn.cancelled {
  border: none;
  color: #F24747;
  font-weight: 500;
  font-size: var(--font-regular);
}
/*  */
.input-icon .icon {
  position: absolute;
  left: 8px;
  top: 11px;
}
.password-show-hide .icon {
  left: auto;
  right: 8px;
  cursor: pointer;
}
/*  */
@media(max-width:1199px){
  .form-wrap {
      padding: 20px;
  }
  .customer-menu li a {
      padding: 10px 15px;
      gap: 7px;
      font-size: 14px;
  }
  .form-group {
      gap: 20px;
      flex-wrap: wrap;
      margin-bottom: 20px;
  }
  .form-group>div {
      width: 100%;
  }
  .mb-20 {
      margin-bottom: 0px;
  }
  /*  */
  .project-card-outer{
      grid-template-columns: 1fr;
  }
  .project-info .project-title {
      font-size: var(--font-large);
  }
  .upload-area {
      padding: 15px;
  }
  .upload-placeholder p {
      margin: 10px 0 0px;
      line-height: normal;
  }
}
@media(max-width:767px){
  .content-box {
      margin-top: 30px;
  }
  .project-user {
      align-items: flex-start;
      flex-direction: column;
      gap: 15px;
  }
  .work-outer {
      flex-wrap: wrap;
  }
}
@media(max-width:580px){
  .form-group>div {
      width: 100%;
  }
}
@media(max-width:480px){
  .project-bid-oter {
      display: block;
  }
  .project-bid-oter .project-bid {
      margin-top: 15px;
  }
  .project-bid-oter .project-bid a.custom-btn {
      width: 100% !important;
  }
}