@import url("./index.css");

.filters {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 20px;
  font-size: 18px;
  color: var(--color-text)
}
.frame-parent {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  color: var(--color-text);

}
.list-overview {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  align-self: stretch;
  position: relative;
}

.list-of-reviews-9-parent {
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  text-align: left;
  color: var(--color-text)
}
.list-title{
  font-size: var(--fs-39);
  font-weight: var(  --fw-bold);
  text-align: center;
  width: 100%;
  margin-bottom: 12px;
}

@media (max-width: 1172px) {
  .list-of-reviews-9-parent {
    flex-direction: column;
    gap: 12px;
    justify-content: start;
    align-items: start;
  }
}
.list-title{
  font-size: var(--fs-31);
  margin-bottom: 0;

}

.show-more-btn {
    color: var(--color-text);
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: 150%;
  border: none;
  background: transparent;
  margin: 0 auto;
}
@media (max-width: 1172px) {
  .show-more-btn {
    font-size: 16px;
  }
}

.button-back {
  display: flex;
  width: 52px;
  height: 52px;
  padding: 14px;
  justify-content: center;
  align-items: center;
  border-radius: 1000px;
  background: var(--color-text);
  box-shadow: 4px 4px 4px 0 rgba(255, 193, 7, 0.04);
  border: none;
  z-index: 10;
  cursor: pointer;
}
@media (min-width: 1172px) {
  .button-back {
    display: flex;
    width: 60px;
    height: 60px;
    padding: 14px;
    justify-content: center;
    align-items: center;
  }
}

.back-btn-container {
  position: sticky;
  bottom: 32px;
  width: 100%;
  display: flex;
  justify-content: end;
  margin: 0 auto;
}
@media (max-width: 1172px) {
  .back-btn-container {
    margin: auto;
    margin-bottom: 20px;
    margin-right: 10px;
  }
}

.button-back.show {
  display: none;
}


.review-frame {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
    align-self: stretch;
  }

.card-frame-main {
  display: flex;
  padding: 28px;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  align-self: stretch;
  border-radius: 12px;
  border: 1.5px solid var(--color-text);
}

.card-frame-usual {
  display: flex;
  padding: 28px;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  align-self: stretch;
  border-radius: 12px;
  border: 1px solid #e0e0e0;
}

.card-frame-usual {
  display: none;
}

.card-frame-usual.visible {
  display: block;
}

.card-gap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 40px;
  align-self: stretch;
}
@media (max-width: 1172px) {
  .card-gap {
    gap: 28px;
  }
}

.card-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  align-self: stretch;
}

.card-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
  align-self: stretch;
}

.card-header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  align-self: stretch;
}
@media (max-width: 1172px) {
  .card-header-content {
    flex-direction: column-reverse;
    gap: 16px;
    align-items: start;
    justify-content: start;
  }
}

.card-status {
  display: flex;
  align-items: center;
  gap: 8px;
}

.card-header-text {
    color: var(--color-text);
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
}

.card-user {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  align-self: stretch;
}

.card-user-rating {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
}
@media (max-width: 1172px) {
  .card-user-rating {
    flex-direction: column-reverse;
    align-items: start;
    gap: 8px;
  }
}

.card-user-name {
    color: var(--color-text);
  font-size: 25px;
  font-style: normal;
  font-weight: 700;
  line-height: 130%; /* 32.5px */
  text-transform: capitalize;
}
@media (max-width: 1172px) {
  .card-user-name {
    font-size: 20px;
  }
}

.user-star-review {
  display: flex;
  align-items: center;
  gap: 4px;
}

.star-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.user-info-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 16px;
}
@media (max-width: 1172px) {
  .user-info-container {
    flex-direction: column;
    align-items: start;
  }
}

.user-info-container-box {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

@media (max-width: 1172px) {
  #line {
    display: none;
  }
}

.info-box {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
}

.info-box-text {
  color: var( --color-text-grey);
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
}
@media (max-width: 1172px) {
  .info-box-text {
    font-size: 16px;
  }
}

.info-box-label {
  display: flex;
  padding: 4px 16px;
  align-items: flex-start;
  gap: 10px;
  border-radius: 40px;
  background: white;
  border: 1px solid var(--color-primary);
}

.label-text {
  color: var(--color-text);
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: 150%;
}

.line {
  width: 1px;
  height: 20px;
  background: #e0e0e0;
}

.card-content-gap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  align-self: stretch;
}

.card-review-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  align-self: stretch;
}

.review-header-box {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-text {
    color: var(--color-text);
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: 130%;
}
@media (max-width: 1172px) {
  .review-text {
    font-size: 18px;
  }
}

.review-category-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
}
@media (max-width: 1172px) {
  .review-category-container {
    flex-direction: column;
    align-items: start;
    justify-content: center;
    gap: 8px;
  }
}

.category-label {
  display: flex;
  padding: 4px 12px;
  align-items: center;
  gap: 8px;
  border-radius: 40px;
  background: #f5f5f5;
}

.category-label-star-box {
  display: flex;
  align-items: center;
  gap: 4px;
}

.review-img {
  width: 100px;
  height: 100px;
  border-radius: 8px;
}

.feedback-form {
  display: flex;
  justify-content: space-between;
  align-items: center;
  align-self: stretch;
}

.feedback-action {
  display: flex;
  align-items: center;
  gap: 32px;
}

.feedback-action-stats {
  display: flex;
  align-items: center;
  gap: 8px;
}

.report-text {
  color: var(--color-report);
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%; /* 27px */
}
@media (max-width: 1172px) {
  .report-text {
    font-size: 16px;
  }
}

.img-container {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.custom-checkbox input {
  display: none;
}

.custom-checkbox {
  display: inline-block;
  position: relative;
  padding-left: 32px;
  cursor: pointer;
  user-select: none;
  margin: 0;
  line-height: 24px;
  align-items: center;
}
@media (max-width: 1172px) {
  .custom-checkbox {
    font-size: 16px;
  }
}
.custom-checkbox {
  display: inline-flex;
  align-items: center;
  position: relative;
  padding-left: 36px; /* spațiu pentru checkbox */
  cursor: pointer;
  user-select: none;
  font-size: 16px;
  line-height: 1.2;
  color: var(--color-text, #333);
  margin-right: 20px;
}

.custom-checkbox input {
  display: none;
}

.custom-checkbox .checkmark {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  border: 2px solid var(--color-text, #333);
  border-radius: 5px;
  background: white;
  box-sizing: border-box;

  display: flex;
  justify-content: center;
  align-items: center;
  transition: border-color 0.3s ease;
}

.custom-checkbox input:checked + .checkmark {
  border-color: #ffc107;
}

.custom-checkbox .icon {
  width: 16px;
  height: 16px;
  display: none;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.custom-checkbox input:checked + .checkmark .icon {
  display: block;
}


.icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;

} 
@media (min-width: 1172px) {
  .icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;margin: auto;
  }
}

.modal {
  display: none;
  position: fixed;
  z-index: 12;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background-color: #ffffff;
  position: relative;
  display: flex;
  width: 860px;
  padding: 40px;
  flex-direction: column;
  flex-shrink: 0;
  border-radius: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  margin: auto;
}
@media (max-width: 1172px) {
  .modal-content {
    display: flex;
    width: 327px;
    padding: 24px;
  }
}

.modal-frame {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  align-self: stretch;
}

.modal-content-frame {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  align-self: stretch;
}

.modal-input-frame {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  align-self: stretch;
}

.modal-star-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.modal-star-content {
  display: flex;
  justify-content: start;
  gap: 16px;
}
@media (max-width: 1172px) {
  .modal-star-content {
    justify-content: space-between;
    gap: 0;
  }
}

.review-modal {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  align-self: stretch;
}

.review-modal-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  align-self: stretch;
}

.star-frame {
  display: flex;
  justify-content: end;
  align-items: end;
}

.star-effectiveness .star .star-satisfaction {
  cursor: pointer;
}

.star-text-container {
  display: flex;
  width: 108px;
  justify-content: start;
  align-items: center;
}
@media (max-width: 1172px) {
  .star-text-container {
    width: auto;
  }
}

.rating__count{
  color:var(--color-text);
  font-size: var(--fs-18);
  font-weight: var(--fw-regular);
  line-height: 27px;
  word-wrap: break-word;
 
}
