/* Cancelled Project Details Styles */

/* Back Button - Styles moved to main style.css */

/* Page Title - Styles moved to main style.css */

/* Loading and Error States - Styles moved to main style.css */

/* Profile Block */
.profile-edit-block {
  text-align: center;
  position: relative;
  background-color: var(--color-white);
  border: solid 1px var(--border-plight);
  border-radius: 10px;
  overflow: hidden;
  position: sticky;
  top: 30px;
}

.profile-edit-top {
  padding: 20px 12px 10px;
}

.profile-edit-block .profile-img {
  margin: 0 auto;
  width: 90px;
  height: 90px;
  background-color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-plight);
  padding: 8px;
}

.profile-edit-block .profile-img .profile-update-img {
  border-radius: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-edit-top h5 {
  margin: 4px 0 10px;
  padding-bottom: 10px;
  font-weight: 600;
  font-size: var(--font-large);
  border-bottom: 1px solid var(--border-plight);
  color: var(--typo-secondary);
}

ul.pd-contact {
  display: flex;
  flex-direction: column;
  gap: 0;
}

ul.pd-contact .pd-text {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--text-color);
  font-weight: 500;
  font-size: var(--font-small);
  line-height: normal;
  padding: 5px 10px;
}

.pd-text .icon {
  min-width: 20px;
  height: 20px;
  width: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.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);
}

/* Main Content */
.review-content {
  padding: 30px;
  border-radius: 10px;
  border: 1px solid var(--border-plight);
  background: var(--color-white);
}

.pd-tag {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  margin: 0 0 20px;
}

.pd-tag ul.pd-tag0list {
  display: flex;
  gap: 22px;
  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;
  text-decoration: none;
  transition: all 0.3s ease;
}

.pd-bid .share-profile:hover {
  background: var(--border-color);
}

.pd-head {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 30px;
}

.pd-head .pd-head-titile h2 {
  font-size: var(--font-20);
  line-height: 30px;
  max-width: 600px;
  margin: 0 0 10px;
  color: var(--typo-secondary);
}

.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;
  margin: 0 0 20px;
  color: var(--text-color);
}

.pd-price {
  font-size: var(--font-24);
  line-height: normal;
  font-weight: 700;
  color: var(--h-color);
  white-space: nowrap;
}

/* Cancellation Information */
.cancellation-info {
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 10px;
  padding: 25px;
  margin: 30px 0;
}

.cancellation-info h3 {
  font-size: var(--font-large);
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 25px;
  color: #dc2626;
  display: flex;
  align-items: center;
  gap: 10px;
}

.cancellation-info h3::before {
  content: "⚠️";
  font-size: 20px;
}

.cancellation-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.cancellation-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #fecaca;
}

.cancellation-item:last-child {
  border-bottom: none;
}

.cancellation-item .label {
  font-size: var(--font-small);
  font-weight: 600;
  color: #7f1d1d;
}

.cancellation-item .value {
  font-size: var(--font-small);
  font-weight: 500;
  color: #991b1b;
}

/* Project Description */
.pd-discription {
  padding-top: 20px;
}

.pd-discription h3 {
  font-size: var(--font-large);
  margin-bottom: 10px;
  font-weight: 700;
  line-height: 25px;
  color: var(--typo-secondary);
}

.pd-discription p {
  color: var(--text-color);
  line-height: 1.6;
  margin-bottom: 20px;
}

.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 Section */
.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;
  background: var(--color-white);
}

.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;
  cursor: pointer;
  transition: all 0.3s ease;
}

.download-arrow:hover {
  transform: translateY(2px);
}

.pdf .icon-box { background: #FEE2E2; }
.img .icon-box { background: #FCE3CF; }
.vid .icon-box { background: #E5E2FE; }
.svg .icon-box { background: #E2EEFE; }

/* Button Styles */
.deal-price-outer .custom-btn.red-outline {
  background: #FEE2E2;
  border: solid 1px #FEE2E2;
  color: #dc2626;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: var(--font-small);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  cursor: default;
}

/* Responsive Design */
@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);
  }
  
  .cancellation-details {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 991px) {
  .review-content {
    margin-top: 30px;
  }
  
  .cancellation-details {
    grid-template-columns: 1fr;
  }
}

@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;
  }
  
  .cancellation-details {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  
  .cancellation-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }
}

@media (max-width: 576px) {
  .project-detail-wrapper {
    padding: 40px 0;
  }
  
  .cancellation-info {
    padding: 15px;
    margin: 20px 0;
  }
  
  .cancellation-info h3 {
    font-size: var(--font-regular);
  }
}

/* Print Styles */
@media print {
  .project-detail-wrapper {
    padding: 0;
    background: white;
  }
  
  .back-button,
  .pd-bid {
    display: none;
  }
  
  .profile-edit-block,
  .review-content {
    box-shadow: none;
    border: 1px solid #ccc;
  }
  
  .cancellation-info {
    background: white;
    border: 2px solid #dc2626;
  }
}