/*
  모든 CSS 선택자에 #review-modal ID 접두사를 추가하여 우선순위를 높였습니다.
*/

/* Reset & Utilities */
#review-modal *,
#review-modal *::before,
#review-modal *::after {
  box-sizing: border-box;
}

#review-modal .ellipsis-1 {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

#review-modal .ellipsis-2 {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

#review-modal .ellipsis-3 {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

#review-modal button {
  padding: 0;
  border: none;
  outline: none;
  background-color: transparent;
}

#review-modal img {
  display: block;
  max-width: 100%;
}

/* 모달 공통 스타일 */
#review-modal .modal,
#review-modal .modal *,
#review-modal .modal *::before,
#review-modal .modal *::after {
  letter-spacing: -0.02em;
}

#review-modal .modal {
  position: fixed;
  left: 50%;
  top: 100%;
  transform: translate(-50%, 0);
  width: 100%;
  max-width: 393px;
  height: 622px;
  max-height: 100vh;
  z-index: 10000;
  border-radius: 30px 30px 0 0;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  opacity: 0;
  visibility: hidden;
  overflow: hidden;
  transition:
    transform 0.3s,
    opacity 0.3s,
    visibility 0.3s;
}

#review-modal .modal.active {
  opacity: 1;
  visibility: visible;
  z-index: 9999999999;
  transform: translate(-50%, -100%);
}

#review-modal .modal .modal-header,
#review-modal .modal .modal-cont,
#review-modal .modal .modal-footer {
  width: 100%;
}

#review-modal .modal .btn-modal-close {
  position: absolute;
  right: 20px;
  top: 24px;
  z-index: 100;
  width: 24px;
  cursor: pointer;
}

#review-modal .modal .btn-modal-close img {
  width: 100%;
}

#review-modal .modal .modal-header {
  padding: 24px 24px 0;
}

#review-modal .modal .modal-cont {
  flex: 1;
  overflow-y: auto;
  padding: 0 20px;
}

/* 주석 처리된 스크롤바 스타일 */

#review-modal .modal .modal-cont::-webkit-scrollbar {
  width: 6px;
}

#review-modal .modal .modal-cont::-webkit-scrollbar-track {
  background-color: transparent;
  border: none;
}

#review-modal .modal .modal-cont::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.2);
  width: 3px;
  border-right: 3px solid #fff;
}


#review-modal .modal .modal-footer .btn-block {
  display: flex;
  -webkit-box-align: center;
  align-items: center;
  gap: 9px;
}

#review-modal .modal .modal-footer .btn-block .btn {
  height: 56px;
  line-height: 55px;
  border-radius: 200px;
  color: #000;
  text-align: center;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: normal;
  position: relative;
}

#review-modal .modal .modal-footer .btn-block .btn-white {
  width: 120px;
  flex-shrink: 0;
  border: 1px solid #eee;
  background: #fff;
  color: #666;
}

#review-modal .modal .modal-footer .btn-block .btn-black {
  flex: 1 1 0%;
  background: #000;
  color: #fff;
}

#review-modal .modal .modal-footer .btn-block .btn:disabled {
  background:#F5F5F5;
  color: #111;
  border: none;
}

#review-modal .modal .modal-footer .btn-block .btn .point {
  position: absolute;
  left: 8px;
  top: -12px;
  border-radius: 11px;
  background: #da3023;
  padding: 2px 6px;
  color: #fff;
  text-align: center;
  font-size: 12px;
  font-weight: 500;
  line-height: 140%;
  letter-spacing: normal;
}

/* 후기 종류 선택 모달 */
#review-modal .modal.select-review-type {
  height: 284px;
}

#review-modal .modal.select-review-type .modal-title {
  color: #111;
  font-size: 20px;
  font-weight: 700;
  line-height: 140%;
  margin: 0;
  padding: 0;
}

#review-modal .modal.select-review-type .list {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

#review-modal .modal.select-review-type .item {
  width: 100%;
  position: relative;
  padding: 28px 0;
  display: flex;
  align-items: center;
}

#review-modal .modal.select-review-type .item:nth-of-type(1) {
  border-bottom: 1px solid #eee;
}

#review-modal .modal.select-review-type .item:disabled {
}

#review-modal .modal.select-review-type .item .left {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

#review-modal .modal.select-review-type .item:disabled .left {
  opacity: 0.3;
}

#review-modal .modal.select-review-type .item .img {
  width: 46px;
  flex-shrink: 0;
}

#review-modal .modal.select-review-type .item .top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 2px;
  margin-bottom: 6px;
}

#review-modal .modal.select-review-type .item .item-title {
  display: block;
  color: #111;
  font-size: 16px;
  font-weight: 700;
  line-height: 140%;
}

#review-modal .modal.select-review-type .item .reward {
  border-radius: 21px;
  background: rgba(218, 48, 35, 0.08);
  padding: 4px 6px;
  color: #da3023;
  text-align: center;
  font-size: 12px;
  font-weight: 500;
}

#review-modal .modal.select-review-type .item .item-desc {
  color: #666;
  font-size: 14px;
  font-weight: 400;
  line-height: 140%;
  text-align: left;
}

#review-modal .modal.select-review-type .item .status {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
}

#review-modal .modal.select-review-type .item .status .icon-arrow {
  width: 7px;
}

#review-modal .modal.select-review-type .item:disabled .icon-arrow {
  display: none;
}

#review-modal .modal.select-review-type .item .status .is-pay-completed,
#review-modal .modal.select-review-type .item .status .is-max {
  display: inline-block;
  color: #9a9999;
  text-align: right;
  font-size: 14px;
  font-weight: 500;
  line-height: 140%;
  padding-right: 17px;
  background: url('../images/mypage/order-list/select-review-type/icon-check-gray.png')
    no-repeat right center / 11px;
}

#review-modal .modal.select-review-type .item .status .is-pay-completed {
  display: none;
}

#review-modal .modal.select-review-type
  .item.regular-review:disabled
  .status
  .is-pay-completed {
  display: block;
}

#review-modal .modal.select-review-type .item .status .is-pending {
  color: #da3023;
  text-align: right;
  font-size: 14px;
  font-weight: 500;
  line-height: 140%;
  padding-right: 14px;
  background: url('../images/mypage/order-list/select-review-type/icon-ellipsis-red.png')
    no-repeat right center / 10px;
}

#review-modal .modal.select-review-type .item .status .is-fail {
  color: #da3023;
  text-align: right;
  font-size: 14px;
  font-weight: 500;
  line-height: 140%;
}

/* 리뷰 작성 모달 */
#review-modal .modal.write-review {
  height: 622px;
}

#review-modal .modal.write-review .modal-title {
  color: #111;
  font-size: 20px;
  font-weight: 700;
  line-height: 140%;
  letter-spacing: normal;
  margin-bottom: 10px;
}

#review-modal .modal.write-review .modal-desc {
  color: #666;
  font-size: 14px;
  font-weight: 400;
  line-height: normal;
  letter-spacing: normal;
  margin-bottom: 20px;
}

#review-modal .modal.write-review .modal-desc .color-red {
  color: #da3023;
}

#review-modal .modal.write-review .textarea-wrap {
  width: 100%;
  height: 220px;
  border-radius: 10px;
  border: 1px solid #e0e0e0;
  background: #fff;
  position: relative;
  overflow: hidden;
  padding-bottom: 40px;
  margin-bottom: 20px;
}

#review-modal .modal.write-review .textarea-wrap textarea {
  width: 100%;
  height: 100%;
  border: none;
  outline: none;
  overflow: hidden;
  color: #000;
  font-size: 14px;
  font-weight: 400;
  line-height: 160%;
  padding: 12px 14px 0;
  letter-spacing: normal;
  overflow-y: auto;
  resize: none;
}

#review-modal .modal.write-review .textarea-wrap textarea::placeholder {
  color: rgba(0, 0, 0, 0.3);
}

#review-modal .modal.write-review .textarea-wrap .word-limit {
  position: absolute;
  right: 14px;
  bottom: 12px;
  overflow: hidden;
  color: #999;
  text-align: right;
  font-size: 13px;
  font-weight: 400;
  line-height: 160%;
  letter-spacing: normal;
}

#review-modal .modal.write-review .textarea-wrap .word-limit .color-red {
  color: #da3023;
}

#review-modal .modal.write-review .photo-block {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 30px;
}

#review-modal .modal.write-review .photo-block .btn-upload-img {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  background: #f7f7f7;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  cursor: pointer;
}

#review-modal .modal.write-review .photo-block .btn-upload-img input {
  display: none;
}

#review-modal .modal.write-review .photo-block .btn-upload-img .icon {
  width: 16px;
}

#review-modal .modal.write-review .photo-block .btn-upload-img .text {
  color: #888;
  text-align: center;
  font-size: 12px;
  font-weight: 500;
  line-height: 160%;
  letter-spacing: normal;
}

#review-modal .modal.write-review .photo-block .photo-slider-wrap {
  width: calc(100% - 80px - 8px + 20px);
  height: 80px;
}

#review-modal .modal.write-review .photo-block .photo-slider-wrap .swiper {
  width: 100%;
  padding-right: 20px;
}

#review-modal .modal.write-review .photo-block .photo-slider-wrap .swiper-slide {
  width: auto !important;
  margin-right: 8px;
}

#review-modal .modal.write-review .photo-block .photo-slider-wrap .img {
  width: 80px;
  height: auto;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 8px;
  position: relative;
}

#review-modal .modal.write-review .photo-block .photo-slider-wrap .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

#review-modal
  .modal.write-review
  .photo-block
  .photo-slider-wrap
  .img
  .btn-delete-photo {
  position: absolute;
  right: 4px;
  top: 4px;
  width: 22px;
  cursor: pointer;
}

#review-modal .modal.write-review .point-rules {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

#review-modal .modal.write-review .point-rule {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #666;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: normal;
}

#review-modal .modal.write-review .point-rule.fulfilled {
  color: #0cc14f;
}

#review-modal .modal.write-review .point-rule .rule {
  padding-left: 22px;
  position: relative;
}

#review-modal .modal.write-review .point-rule .rule::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 1px;
  width: 14px;
  height: auto;
  aspect-ratio: 14 / 12;
  background: url('../images/guest-review/icon-check-gray.png') no-repeat center /
    contain;
}

#review-modal .modal.write-review .point-rule.fulfilled .rule::before {
  background-image: url('../images/guest-review/icon-check-green.png');
}

#review-modal .modal.write-review .point-rule .point {
}

#review-modal .modal.write-review .modal-footer {
  padding: 0 20px 20px;
}

/* 캐시백 공지 모달 */
#review-modal .modal.cashback-notice {
  height: 622px;
}

#review-modal .modal.cashback-notice .modal-title {
  color: rgba(17, 17, 17, 0.6);
  font-size: 22px;
  font-weight: 700;
  line-height: 140%;
  letter-spacing: normal;
  margin-bottom: 7px;
  padding-left: 0;
}

#review-modal .modal.cashback-notice .modal-title .color-black {
  color: #111;
}

#review-modal .modal.cashback-notice .modal-cont {
  padding: 0 30px;
}

#review-modal .modal.cashback-notice .modal-cont .img-wrap {
  padding: 0 5px;
}

#review-modal .modal.cashback-notice .notice-title {
  color: #111;
  font-size: 16px;
  font-weight: 700;
  line-height: normal;
  letter-spacing: normal;
  margin-bottom: 20px;
}

#review-modal .modal.cashback-notice .notice-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

#review-modal .modal.cashback-notice .notice-item {
  width: 100%;
  color: #444;
  font-size: 16px;
  font-weight: 500;
  line-height: 150%;
  position: relative;
  padding-left: 28px;
}

#review-modal .modal.cashback-notice .notice-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  width: 16px;
  height: auto;
  aspect-ratio: 1 / 1;
  background: url('../images/guest-review/icon-check-red.png') no-repeat center /
    contain;
}

#review-modal .modal.cashback-notice .modal-footer {
  padding:25px 20px 20px;
}

#review-modal .modal.cashback-notice .modal-footer .btn-block .btn-white {
  color: #000;
}

/* 캐시백 신청 모달 */
#review-modal .modal.cashback-form {
  height: 622px;
}

#review-modal .modal.cashback-form .modal-title {
  color: rgba(17, 17, 17, 1);
  font-size: 20px;
  font-weight: 700;
  line-height: 140%;
  letter-spacing: normal;
  margin-bottom: 20px;
  padding-left: 0;
  width: calc(100% - 38px);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#review-modal .modal.cashback-form .modal-title span{
  font-size: 13px;
  font-weight: 500;
  line-height: normal;
  text-align: right;
  color: #DA3023;
}

#review-modal .modal.cashback-form .modal-cont {
  padding: 0 20px;
}

#review-modal .modal.cashback-form .input-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

#review-modal .modal.cashback-form .input-wrap {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

#review-modal .modal.cashback-form .input-item {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

#review-modal .modal.cashback-form .input-item .label-block {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

#review-modal .modal.cashback-form .input-item .label {
  color: #111;
  font-size: 14px;
  font-weight: 700;
  line-height: normal;
  letter-spacing: normal;
  padding-left: 4px;
  cursor: pointer;
}

#review-modal .modal.cashback-form .input-item .label-block .link {
  color: #999;
  font-size: 12px;
  font-weight: 400;
  line-height: 160%;
  letter-spacing: normal;
  padding-right: 14px;
  background: url('../images/guest-review/icon-link.png') no-repeat right center /
    12px;
}

#review-modal .modal.cashback-form .input-item input,
#review-modal .modal.cashback-form .input-item select {
  width: 100%;
  display: block;
  border-radius: 14px;
  border: 1px solid #ebebeb;
  background: #fff;
  height: 56px;
  padding: 0 24px;
  color: #000;
  font-size: 15px;
  font-weight: 400;
  line-height: normal;
  letter-spacing: normal;
  font-family: 'Pretendard', sans-serif;
}

#review-modal .modal.cashback-form .input-item input::placeholder {
  color: #9a9a9e;
}

#review-modal .modal.cashback-form .input-item select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url('../images/guest-review/icon-select-arrow.png');
  background-repeat: no-repeat;
  background-position: top 50% right 24px;
  background-size: 11px;
}

#review-modal .modal.cashback-form .input-item select:invalid {
  color: #9a9a9e;
}

#review-modal .modal.cashback-form .input-item select option {
  color: #000;
}

#review-modal .modal.cashback-form .notice-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding-left: 4px;
  margin-top: 14px;
}

#review-modal .modal.cashback-form .input-url .notice-list{
  gap: 16px;
}

#review-modal .modal.cashback-form .notice-item {
  width: 100%;
  color: #111;
  font-size: 16px;
  font-weight: 400;
  line-height: 150%;
  letter-spacing: normal;
  position: relative;
  padding-left: 28px;
}

#review-modal .modal.cashback-form .notice-item::before{
  content: '';
  width: 16px;
  height: auto;
  aspect-ratio: 1 / 1;
  position: absolute;
  left: 0;
  top: 4px;
  background: url('../images/guest-review/icon-check-emoji.png') no-repeat center /
    contain;
}

#review-modal .modal.cashback-form .notice-item.red {
  font-size: 13px;
  color: #da3023;
  padding-left: 0;
}

#review-modal .modal.cashback-form .notice-item.red::before{
  display: none;
}

#review-modal .modal.cashback-form .modal-footer {
  padding: 25px 20px 20px;
}

/* 캐시백 후기 작성 가이드 모달 */
#review-modal .modal.cashback-guide {
  height: 622px;
  background-color: #fff;
}

#review-modal .modal.cashback-guide .modal-header {
  background-color: #fff;
  border-bottom: 1px solid #eee;
}

#review-modal .modal.cashback-guide .modal-title {
  color: #111;
  font-size: 20px;
  font-weight: 700;
  line-height: 140%;
  letter-spacing: normal;
  margin-bottom: 24px;
  padding-left: 0;
}

#review-modal .modal.cashback-guide .tabs {
  display: flex;
  align-items: center;
  gap: 20px;
}

#review-modal .modal.cashback-guide .tab {
  cursor: pointer;
  color: #000;
  font-size: 15px;
  font-weight: 500;
  line-height: 160%;
  letter-spacing: normal;
  padding-bottom: 10px;
  position: relative;
}

#review-modal .modal.cashback-guide .tab.active {
  color: #da3023;
  font-weight: 700;
}

#review-modal .modal.cashback-guide .tab.active::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background-color: #da3023;
}

#review-modal .modal.cashback-guide .modal-cont {
  padding: 30px 20px 30px;
}

#review-modal .modal.cashback-guide .tab-contents {
}
#review-modal .modal.cashback-guide .tab-content {
  display: none;
}
#review-modal .modal.cashback-guide .tab-content.active {
  display: block;
}

#review-modal .modal.cashback-guide .tab-content .title-block {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 24px;
}

#review-modal .modal.cashback-guide .tab-content .title-block .title {
  color: #111;
  font-size: 20px;
  font-weight: 700;
  line-height: 140%;
  padding-left: 4px;
  letter-spacing: normal;
}

#review-modal .modal.cashback-guide .tab-content .title-block .link {
  cursor: pointer;
  color: #666;
  font-size: 14px;
  font-weight: 400;
  line-height: 160%;
  letter-spacing: normal;
  padding-right: 12px;
  background: url('../images/guest-review/cashback-guide/icon-link-arrow.png')
    no-repeat right center / 6px;
}

#review-modal .modal.cashback-guide .accordion-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

#review-modal .modal.cashback-guide .accordion-item {
  width: 100%;
}

#review-modal .modal.cashback-guide .accordion-item .item-title-block {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 24px;
  height: 56px;
  cursor: pointer;
  border-radius: 14px;
  border: 1px solid #ebebeb;
  background-color: #fff;
  background-repeat: no-repeat;
  background-size: 12px;
  background-position: right 24px center;
  background-image: url('../images/guest-review/cashback-guide/icon-accordion-arrow-down.png');
  letter-spacing: normal;
  font-size: 16px;
  font-weight: 500;
  line-height: normal;
}

#review-modal .modal.cashback-guide .accordion-item.active .item-title-block {
  border: 1px solid #da3023;
  background-color: #fdf3f2;
  background-image: url('../images/guest-review/cashback-guide/icon-accordion-arrow-up-red.png');
}

#review-modal .modal.cashback-guide .accordion-item .item-no {
  color: #999;
}

#review-modal .modal.cashback-guide .accordion-item .item-title {
  color: #000;
}

#review-modal .modal.cashback-guide .accordion-item.active .item-no,
#review-modal .modal.cashback-guide .accordion-item.active .item-title {
  color: #da3023;
}

#review-modal .modal.cashback-guide .accordion-item .icon-ai {
  width: 19px;
  transform: translateX(-2.5px);
}

#review-modal .modal.cashback-guide .accordion-item .item-content-block {
  display: none;
  padding: 16px 10px 30px;
}

#review-modal .modal.cashback-guide .accordion-item.active .item-content-block {
  display: block;
}

#review-modal .modal.cashback-guide .accordion-item .item-content-block p {
  color: #000;
  font-size: 13px;
  font-weight: 400;
  line-height: 160%;
  letter-spacing: normal;
}

#review-modal .modal.cashback-guide .accordion-item .item-content-block .bold {
  font-weight: 600;
}

#review-modal .modal.cashback-guide .accordion-item .item-content-block a {
  text-decoration-line: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  letter-spacing: normal;
}

#review-modal .modal.cashback-guide .accordion-item .item-content-block img {
  margin-top: 18px;
  width: 100%;
}

#review-modal .modal.cashback-guide .accordion-item .item-content-block .sample-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-top: 18px;
}

#review-modal .modal.cashback-guide .accordion-item .item-content-block .sample-item {
  width: 100%;
  border-radius: 12px;
  border: 1px solid #eee;
  background: #fff;
  padding: 16px 16px 47px;
  position: relative;
}

#review-modal .modal.cashback-guide .accordion-item .item-content-block .sample-item p {
  color: #666;
  font-size: 13px;
  font-weight: 400;
  line-height: 160%;
  letter-spacing: normal;
}

#review-modal
  .modal.cashback-guide
  .accordion-item
  .item-content-block
  .sample-item
  .btn-copy {
  position: absolute;
  right: 19px;
  bottom: 18px;
  color: #da3023;
  font-size: 12px;
  font-weight: 400;
  line-height: 160%;
  text-decoration-line: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

#review-modal .modal.cashback-guide .accordion-item .item-content-block .notice-box {
  width: 100%;
  border-radius: 12px;
  border: 1px solid #eee;
  background: #fff;
  padding: 16px;
  margin-top: 18px;
}

#review-modal .modal.cashback-guide .accordion-item .item-content-block .notice-box ul {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

#review-modal .modal.cashback-guide .accordion-item .item-content-block .notice-box li {
  width: 100%;
  color: #444;
  font-size: 13px;
  font-weight: 400;
  line-height: 160%;
  letter-spacing: normal;
  position: relative;
  padding-left: 17px;
}

#review-modal
  .modal.cashback-guide
  .accordion-item
  .item-content-block
  .notice-box
  li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 5px;
  width: 11px;
  height: auto;
  aspect-ratio: 11 / 9;
  background: url('../images/guest-review/cashback-guide/icon-check-black.png')
    no-repeat center / contain;
}

#review-modal .modal.cashback-guide .modal-footer {
  padding: 0 20px 20px;
}

#review-modal .modal.cashback-guide .modal-footer .btn-block {
  z-index: 2;
  position: relative;
}

/* 완료 모달 */
#review-modal .modal.complete {
  height: 268px;
  overflow: visible;
  z-index: 9999999999999999999; /* 매우 높은 Z-index */
}

#review-modal .modal.complete .img-check {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: -21px;
  width: 42px;
}

#review-modal .modal.complete .modal-title {
  text-align: center;
  color: #111;
  font-size: 22px;
  font-weight: 700;
  line-height: 140%;
  letter-spacing: normal;
  margin-top: 46px;
  margin-bottom: 12px;
}

#review-modal .modal.complete .modal-desc {
  text-align: center;
  color: #666;
  font-size: 15px;
  font-weight: 400;
  line-height: 150%;
  letter-spacing: normal;
}

#review-modal .modal.complete .modal-footer {
  padding: 0 20px 20px;
}

/* 공통 dim (배경 암막) */
#review-modal .common-dim {
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100000;
  transition: all 0.3s;
  opacity: 0;
  pointer-events: none;
}

#review-modal .common-dim.active {
  opacity: 1;
  pointer-events: auto;
}


/* spinner */
#review-loading-spinner{
  position: fixed;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  z-index: 999999999999999999;
  background: rgba(0, 0, 0, 0.7);
}

#review-loading-spinner .spinner{
  position: relative;
  width: 96px;
  height: 96px;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
}

#review-loading-spinner .spinner::after{
  display: block;
  position: absolute;
  content: '';
  width: 52px;
  height: 17px;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
}

#review-loading-spinner .spinner.circle div {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: 76px;
    height: 76px;
    margin: auto;
    border: 1px solid;
    border-color: rgba(255, 255, 255, 1) rgba(255, 255, 255, 0.3)
      rgba(255, 255, 255, 0.3) rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: circle 1.4s linear infinite;
  }
  @keyframes circle {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(360deg);
    }
  }

/* 미디어 쿼리 */
@media screen and (max-width: 500px) {
  #review-modal .modal {
    max-width: 100%;
  }

  #review-modal .modal.select-review-type {
    height: 304px;
  }
}