/* Modal Overlay */
.peer-modal {
  display: none; /* Initially hidden */
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
}

/* Modal Content */
.peer-modal-content {
  background-color: var(--modal-bg);
  margin: 5% auto;
  width: 90%;
  max-width: 790px;
  border-radius: 8px;
  overflow: hidden;
}

/* Modal Header */
.peer-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #ddd;
  font-size: 24px;
  font-weight: 600;
  color: var(--h1);
  padding: 30px;
  height: 90px;
}

/* Close Button */
.peer-modal-close {
  cursor: pointer;
}

/* Description Section */
.detail-discription {
  font-family: Urbanist;
  font-size: 18px;
  font-weight: 400;
  line-height: 30px;
  letter-spacing: 0.01em;
  text-align: left;
  color: var(--p);
}

.peer-modal-description h3 {
  font-size: 18px;
  margin-bottom: 10px;
  margin-top: 30px;
  font-family: Urbanist;
  font-size: 20px;
  font-weight: 600;
  line-height: 24px;
  text-align: left;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
  color: var(--p);
}

.peer-modal-description,
.peer-modal-description ul {
  font-size: 14px;
  color: #555;
}

.peer-modal-description ul {
  list-style: none;
  padding: 0;
}

.peer-modal-description ul li {
  font-family: Urbanist;
  font-size: 20px;
  font-weight: 600;
  line-height: 24px;
  text-align: left;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
  margin-top: 35px;
  margin-bottom: 35px;
}

/* Step Indicator */
.peer-modal-step-indicator {
  display: flex;
  justify-content: center;
  flex-direction: column;
  gap: 30px;

  font-size: 14px;
  color: var(--p);
}
.confirm-msg {
  display: flex;
  justify-content: center;
  flex-direction: column;
  width: 624px;
  margin: 0 auto;
}
.confirm-msg p {
  margin: 20px auto;
}
.tick {
  display: flex;
  margin: 0 auto;
  width: 90px;
  height: 90px;
}
.blue-text {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: Urbanist;
  font-size: 18px;
  font-weight: 500;
  line-height: 30px;
  letter-spacing: 0.01em;
  text-align: left;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
  color: #0378a4;
}
.blue-text2 {
  display: flex;
  align-items: center;

  gap: 10px;
  font-family: Urbanist;
  font-size: 18px;
  font-weight: 500;
  margin-top: 50px;
  margin-bottom: 40px;

  color: #0378a4;
}
.criterion p {
  font-family: Urbanist;
  font-size: 20px;
  font-weight: 600;
  line-height: 24px;
  text-align: left;
  margin-top: 30px;
}
.text-area-div {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-top: 20px;
}
.stars-text {
  width: 402px;
  font-family: Urbanist;
  font-size: 18px;
  font-weight: 400;
  line-height: 30px;
  letter-spacing: 0.01em;
  color: var(--p);
}
textarea {
  background-color: var(--input);
  width: 692px;
  height: 140px;
  top: 112px;
  gap: 0px;
  border-radius: 10px;
  border: 1px solid #e5e5e5;
  opacity: 0px;
  font-family: Urbanist;
  font-size: 18px;
  font-weight: 400;
  margin-top: 20px;
  resize: none;
}
.li-div {
  display: flex;
  justify-content: center;
  align-items: center;
  border: 5px;
  margin-right: 10px;
  background-color: #0378a40d;
  height: 42px;
  width: 42px;
}
.li-main {
  display: flex;
  align-items: center;
  color: var(--p);
}
.peer-modal-step-indicator .step {
  flex: 1;
}

.recommendation-section p {
  font-weight: bold;
}

.recommendation-section label {
  display: block;
  margin: 10px 0;
  font-family: Urbanist;
  font-size: 18px;
  font-weight: 400;
  line-height: 22px;
  letter-spacing: 0.01em;
  text-align: left;
  color: var(--h1);
}
.heading {
  font-family: Urbanist;
  font-size: 20px;
  font-weight: 600;
  line-height: 24px;
  margin-top: 50px;
  margin-bottom: 20px;
}
.heading-discription {
  font-family: Urbanist;
  font-size: 18px;
  font-weight: 400;
  line-height: 24px;
  text-align: left;
  color: #5a5a5a;
}

/* Footer */
.peer-modal-footer {
  padding: 20px 30px;
}

.peer-modal-button {
  padding: 10px 20px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  margin: 0 5px;
  font-size: 14px;
}

.peer-modal-button.peer-modal-cancel {
  background-color: transparent;
  color: #007bff;
  border: 1px solid #007bff;
}

.peer-modal-button:hover {
  opacity: 0.9;
}

.confirmation-content {
  max-width: 600px;
  text-align: center;
  padding: 40px;
}

.progress-steps {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 30px 0;
}

.step {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #0378a4;
}

.step-line {
  flex-grow: 1;
  height: 2px;
  background-color: #0378a4;
  margin: 0 10px;
}

.checkmark-container {
  width: 80px;
  height: 80px;
  margin: 30px auto;
  background-color: #e8f7fc;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.checkmark-icon {
  width: 40px;
  height: 40px;
}

.thank-you-message {
  color: #666;
  margin: 20px 0;
  line-height: 1.5;
}

.badge-container {
  background-color: #f8f9fa;
  border-radius: 8px;
  padding: 20px;
  margin: 30px 0;
  display: flex;
  align-items: center;
  gap: 20px;
}

.badge-icon {
  width: 60px;
  height: 60px;
}

.badge-text {
  text-align: left;
  color: #666;
  line-height: 1.5;
}

.close-btn-primary {
  background-color: #0378a4;
  color: white;
  border: none;
  padding: 12px 40px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  margin-top: 20px;
}
.create-button {
  display: block;
  width: 100%;
  padding: 15px;
  margin-top: 20px;
  font-size: 18px;
  color: #ffffff;
  background-color: #0378a4;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  text-align: center;
}

@media (max-width: 768px) {
  .peer-modal-header {
    height: 70px;
    height: 70px;
    font-family: Urbanist;
    font-size: 22px;
    font-weight: 600;
    line-height: 30px;
    padding: 10px;
  }
  .peer-modal-description h3 {
    font-family: Urbanist;
    font-size: 20px;
    font-weight: 600;
    line-height: 24px;
    text-align: left;
  }
  .li-main {
    font-family: Urbanist;
    font-size: 16px;
    font-weight: 600;
    line-height: 19.2px;
    text-align: left;
  }
  .blue-text {
    font-family: Urbanist;
    font-size: 18px;
    font-weight: 500;
    line-height: 30px;
    letter-spacing: 0.01em;
    text-align: left;
  }
  .btn-outline {
    width: 100%;
  }
  .blue-text2 {
    font-family: Urbanist;
    font-size: 18px;
    font-weight: 500;
    line-height: 30px;
    letter-spacing: 0.01em;
    text-align: left;
  }
  .text-area-div {
    display: flex;
    flex-direction: column;
  }

  .stars-text {
    font-family: Urbanist;
    font-size: 18px;
    font-weight: 400;
    line-height: 30px;
    letter-spacing: 0.01em;
    text-align: left;
    width: 304px;
  }
  textarea {
    width: 100%;
    height: 133px;
  }
  .confirm-msg {
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    text-align: center;
    align-items: center;
  }
  .badge-section {
    width: 290px;
    /* height:303px ; */
    margin: 0 auto;
  }
}
