.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 h2 {
  font-size: var(--font-large);
  line-height: 30px;
  font-weight: 700;
  margin: 0 0 37px;
}

/*  */
.profile-edit-top{
  padding: 0 20px;
}
.project-detail-wrapper.py-40.freelancer-project-detail-wrap.client-project-detail-wrapper .pu-profile{
  padding: 20px 0;
  border-bottom: 1px solid var(--border-plight);
}
.pu-profile:last-child{
  border-bottom:none;
}
.pu-profile .pu-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  border: solid 1px #FCE3CF;
  padding: 3px;
}
.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: 0 0 5px 0;
  font-weight: 600;
}

.deal-price-outer {
  margin-top: 15px;
}

.deal-price {
  background: var(--light-gray);
  padding: 5px 10px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  text-align: center;
  font-size: 18px;
  line-height: 16px;
  font-weight: 700;
  color: var(--color-primary);
}

.deal-price span {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: var(--text-color);
  margin-top: 2px;
}

.custom-btn.red-outline {
  background: transparent;
  color: #dc3545;
  border: 1px solid #dc3545;
  padding: 10px 20px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
}

.custom-btn.red-outline:hover {
  background: #dc3545;
  color: var(--color-white);
}

.custom-btn.red-outline:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.pu-content > div {
  font-size: 12px;
  color: var(--h-color);
  line-height: normal;
}

.chat-btn {
  display: flex;
  padding: 12px 15px;
  justify-content: center;
  color:var(--color-primary);
  gap: 7px;
  font-weight: 500;
  font-size: var(--font-small);
  line-height: normal;
  background-color: var(--border-plight);
  margin-bottom: 0 !important;
  text-decoration: none;
}

.review-content{
  padding: 30px;
  border-radius: 10px;
  border:1px solid var(--border-plight);
}
.pd-tag {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  margin: 0 0 20px;
}
.pd-tag ul.pd-tag0list {
  display: flex;
  gap: 10px;
  row-gap: 10px;
  flex-wrap: wrap;
}
.pd-tag ul.pd-tag0list li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--light-gray);
  padding: 5px 10px;
  line-height: normal;
  border-radius: 5px;
  font-size: var(--font-small);
  font-weight: 500;
}
.pd-tag ul.pd-tag0list li.bg-light-sec{
  background-color: rgba(14,148,147,0.10);
  color: var(--typo-primary);
}

.pd-bid .share-profile{
  padding: 5px 10px;
  background: var(--border-plight);
  color: var(--color-primary);
  line-height: normal;
  border-radius: 6px;
  display: flex;
  font-size: var(--font-small);
  font-weight: 500;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.pd-head {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}
.pd-head .pd-head-titile h2 {
  font-size: var(--font-20);
  line-height: 30px;
  max-width: 600px;
}
.pd-head .pd-head-titile .pd-time {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  line-height: normal;
  font-size: var(--font-small);
  font-weight: 500;
}
.pd-price {
  font-size: var(--font-24);
  line-height: normal;
  font-weight: 700;
  color: var(--h-color);
  white-space: nowrap;
}
.pd-discription {
  padding-top: 20px;
}
.pd-discription h3{
  font-size: var(--font-large);
  font-weight: 700;
  line-height: 25px;
}
.pd-discription ul{
  margin-bottom: 20px;
}
.pd-discription ul li {
  color: var(--text-color);
  position: relative;
  padding-left: 20px;
  line-height: 24px;
  font-size: var(--font-regular);
}
.pd-discription ul li:not(:last-child){
  margin-bottom: 10px;
}
.pd-discription ul li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  height: 6px;
  width: 6px;
  border-radius: 50%;
  background:  var(--text-color);
  font-size: 16px;
}


.document-wrapper {
  max-width: 900px;
  margin: auto;
}

.document-wrapper h4 {
  font-size: 18px;
  margin-bottom: 20px;
}

.doc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.doc-card {
  display: flex;
  align-items: center;
  border: 1px solid var(--border-plight);
  border-radius: 10px;
  padding: 12px 16px;
  justify-content: space-between;
  transition: 0.2s ease;
}

.doc-card:hover {
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.doc-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-box {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  background: #ffe5db;
}

.icon-box img {
  width: 24px;
}

.doc-text {
  display: flex;
  flex-direction: column;
  font-size: var(--font-regular);
  font-weight: 600;
  line-height: 24px;
  color: var(--text-color);
}

.doc-text .size {
  font-size: 12px;
  font-weight: 400;
  color: #787676;
}

.download-arrow {
  color: #f58220;
  font-size: 18px;
}

.pdf .icon-box { background: #FEE2E2; }
.img .icon-box { background: #FCE3CF; }
.vid .icon-box { background: #E5E2FE; }
.svg .icon-box { background: #E2EEFE; }

.project-detail-sidebar{
  text-align: center;
  position: relative;
  background-color: var(--color-white) !important;
  border: solid 1px var(--border-plight) !important; 
  border-radius: 10px;
  position: sticky;
  top: 30px;
  padding-top: 0;
  padding-bottom: 0;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  backdrop-filter: blur(4px);
}

.cancel-modal {
  background: var(--color-white);
  border-radius: 15px;
  width: 90%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 30px;
  border-bottom: 1px solid var(--border-color);
}

.modal-header h3 {
  font-size: var(--font-20);
  font-weight: 700;
  color: var(--typo-secondary);
  margin: 0;
}

.close-btn {
  background: none;
  border: none;
  font-size: 24px;
  color: var(--text-color);
  cursor: pointer;
  padding: 5px;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.close-btn:hover:not(:disabled) {
  background-color: var(--light-gray);
  color: var(--typo-secondary);
}

.close-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.modal-body {
  padding: 30px;
}

.warning-message {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 20px;
  background-color: #fff5f5;
  border: 1px solid #fed7d7;
  border-radius: 10px;
  margin-bottom: 25px;
}

.warning-message svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.warning-message p {
  margin: 0;
  color: #9b2c2c;
  font-size: var(--font-small);
  line-height: 1.5;
}

.modal-body .form-group {
  margin-bottom: 0;
}

.modal-body .form-label {
  font-size: var(--font-small);
  font-weight: 600;
  color: var(--typo-secondary);
  margin-bottom: 8px;
  display: block;
}

.modal-body .form-control {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  font-size: var(--font-small);
  color: var(--text-color);
  transition: all 0.3s ease;
  resize: vertical;
  min-height: 100px;
}

.modal-body .form-control:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(239, 115, 16, 0.1);
}

.modal-body .form-control:disabled {
  background-color: var(--light-gray);
  opacity: 0.7;
}

.modal-body .form-text {
  font-size: var(--font-xs);
  color: var(--text-color);
  margin-top: 5px;
  text-align: right;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 15px;
  padding: 25px 30px;
  border-top: 1px solid var(--border-color);
}

/* .custom-btn.secondary-outline {
  background-color: transparent;
  color: var(--text-color);
  border: 2px solid var(--border-color);
  padding: 12px 24px;
  border-radius: 8px;
  font-size: var(--font-small);
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
}

.custom-btn.secondary-outline:hover:not(:disabled) {
  background-color: var(--light-gray);
  border-color: var(--text-color);
} */

.custom-btn.red-fill {
  background-color: #dc3545;
  color: var(--color-white);
  border: 2px solid #dc3545;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: var(--font-small);
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
}

.custom-btn.red-fill:hover:not(:disabled) {
  background-color: #c82333;
  border-color: #c82333;
}

.custom-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* File Type Specific Styling */
.doc-card.pdf .icon-box {
  background-color: #ffebee;
}

.doc-card.svg .icon-box {
  background-color: #e8f5e8;
}

.doc-card.img .icon-box {
  background-color: #e3f2fd;
}

.doc-card.vid .icon-box {
  background-color: #fce4ec;
}
.modal-overlay
{
  position: fixed;
  top: 0;
  left: 0;
}

@media (max-width: 1199px) {
  .review-content {
    padding: 20px;
  }
  .pd-head .pd-head-titile h2 {
    font-size: var(--font-large);
    line-height: 28px;
  }
  .pd-discription ul li{
    font-size: var(--font-small);
  }
}
@media (max-width: 991px) {
  .review-content {
    margin-top: 30px;
  }
  .pu-profile {
    padding: 10px 0;
  }
}
@media (max-width: 767px) {
  .pd-tag,
  .pd-head{
    gap: 20px;
    flex-wrap: wrap;
  }
  .doc-grid {
    grid-template-columns: 1fr;
  }
  .pd-discription ul li:not(:last-child) {
    margin-bottom: 5px;
  }
  .doc-card {
    padding: 5px 10px;
  }
  .icon-box{
    min-width: 32px;
    height: 32px;
    width: 32px;
  }
  .doc-text{
    font-size: var(--font-small);
    line-height: normal;
  }
}