body {
    font-family: 'Noto Sans JP', sans-serif;
    color: #1a1a1a;
    background-color: #faf9f8;
  }
  h1, h2, h3, h4, h5, h6, .headline {
    font-family: 'Noto Serif JP', serif;
  }
      .headline {
    font-family: 'Noto Serif JP', serif;
       text-align: center;
  }
  .tpo-title {
    margin-top: 1rem;
    color: #1a2e49;
    text-align: center;
  }
  
  .tpo-date {
    margin-top: 2rem;
    margin-bottom: 1rem;
    text-align: right;
    font-size: 14px;
  }
  
       .content-block p {
font-size: 16px;
line-height: 1.75;
letter-spacing: 0.02em;
color: #333;
}

  .section-title {
    color: #fff;
     background-color: #1a2e49;
    font-size: 1.2rem;
    font-weight: 600;
    border-left: 4px solid #1a2e49;
    padding-left: 0.5rem;
      padding-top: 0.3rem;
      padding-bottom: 0.5rem;
    margin-top: 2rem;
      margin-bottom: 2rem;
  }
 
  /* ✅ 테마 적용 시: 상위 요소에 .theme-pink 클래스가 있으면 바뀌도록 */
.theme-pink .section-title {
  background-color: rgba(233, 175, 163, 0.7); /* 피치핑크 */
  border-left: 4px solid rgba(233, 175, 163, 0.7);
  color: #fff; /* 필요시 유지 */
}
  .content-block {
    background: #faf9f8;
 
    padding: 1.5rem;
    /* margin-bottom: 1.5rem; */
   
  }
  .content-block h6 {
    font-family: 'Noto Serif JP', serif;
    font-weight: 600;
    margin-bottom: 1.5rem;
  }
  .label {
    font-weight: bold;
    color: #1a2e49;
  }
  .tagline {
    text-align: right;
    margin-top: 3rem;
    font-family: 'Noto Serif JP', serif;
    color: #1a2e49;
  }


    .signature-wrapper {
  position: relative;
  height: 60px; /* 이미지 높이에 따라 조정 가능 */
}

.signature {
  position: relative;
  z-index: 1;
  text-align: right;
  font-family: 'Noto Serif JP', serif;
  font-size: 1rem;
  color: #555;
  margin-top: 1.5rem;
}

.signature-image {
  position: absolute;
  right: 5px;
  bottom: -20px;
  height: 120px;
  z-index: 2;
  pointer-events: none;
}

body.theme-pink .signature-image {
  content: url('signkuma.webp');
}

body.theme-pink .overlay-signature {
  content: url('signkumaw.webp');
}

#loadingOverlay {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background-color: rgba(255, 255, 255, 1.0); /* 밝은 반투명 배경 */
    border-radius: 60px;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.1);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1010;
    opacity: 0;
    transition: opacity 0.15s ease;
  }
  
  #loadingOverlay.show {
    display: flex;
    opacity: 1;
  }
  
  .dot-loader {
    display: flex;
    gap: 6px;
  }
  
  .dot-loader div {
    width: 12px;
    height: 12px;
    background-color: #1a2e49;
    border-radius: 50%;
    animation: bounce 0.3s infinite alternate;
  }
  
  .dot-loader div:nth-child(2) {
    animation-delay: 0.1s;
  }
  
  .dot-loader div:nth-child(3) {
    animation-delay: 0.2s;
  }
  
  @keyframes bounce {
    from {
      transform: translateY(5px);
      opacity: 0.5;
    }
    to {
      transform: translateY(-5px);
      opacity: 1;
    }
  }
  
  /* 눈에 띄는 쿠폰 모달 전용 스타일 */

  #couponModal .modal-dialog {
    pointer-events: none; /* 모달 외 영역 클릭 막기 */
  }
  
  #couponModal .modal-content {
    pointer-events: auto; /* 내부 클릭은 가능하게 유지 */
  }
  
  #couponModal::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75); /* 🔍 검은색 투명 배경 */
    z-index: -1;
  }
  
#couponModal .modal-content {
  background-color: #faf9f8;
  border: 1px solid #f2ddd0;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  color: #333;               /* 진한 텍스트 */
  border-radius: 12px;

}

#couponModal .modal-title {
  color: #007bff; /* Bootstrap primary 색상 */
  font-weight: bold;
}

#couponModal .btn {
  font-weight: 500;
}
#couponModal .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 16px;
  padding: 10px 16px;
  border-radius: 8px;
}

#couponModal .btn svg {
  width: 18px;
  height: 18px;
}
#couponModal .btn:hover {
  transform: scale(1.03);
  transition: all 0.2s ease-in-out;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.08);
}
/* btn-outline-dark를 더 따뜻한 브라운 계열로 조정 */
/* #couponModal .btn-outline-dark {
  border-color: #000000;
  color: #000000;
  background-color: transparent;
}

#couponModal .btn-outline-dark:hover {
  background-color: #fce8d5;
  color: #000000;
  border-color: #000000;
} */
#couponModal h5 {
  color: #1a2e49; /* 네이비 컬러 */
  font-weight: bold;
}

#couponMessage {
  color: #b3a180 !important; /* 부트스트랩의 gray-600 */
}


@media (max-width: 576px) {
  #couponModal .modal-dialog {
    margin: 1rem;
  }

  #couponModal .modal-content {
    padding: 1.2rem;
  }

  #couponModal .btn {
    font-size: 14px;
    padding: 8px 12px;
  }

  #couponModal .fs-5 {
    font-size: 1rem !important;
  }
}
/* 감성 메시지 모달 전용 CSS */
#messageAgreeModal .modal-content {
  border-radius: 12px;
  background-color: #fff;
  font-family: 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', sans-serif;
  color: #333;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
 
}

#messageAgreeModal .emotion-message {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.7;
  text-align: left;
  margin-bottom: 1.5rem;
  font-weight: 300;
}

#messageAgreeModal .emotion-checkbox-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: #444;
}

#messageAgreeModal input[type="checkbox"] {
  transform: scale(1.2);
}

#messageAgreeModal .mb-4 {
    margin-bottom: 4px !important;
}

#shareNote {
  display: none;
}

#shareNote.show-on-paypal {
  display: block;
}
.copyright-wrapper {
  position: fixed;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px; /* 링크 사이 간격 */
  font-size: 11px;
  color: #999;
  z-index: 1000;
}


/* 각각 링크 스타일 */
.copyright-note {
  color: #999;
  text-decoration: none;
}

.copyright-note:hover {
  text-decoration: underline;
  color: #666;
}
 .refund-modal-overlay {
    position: fixed;
    z-index: 9999;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 16px;
  }

  .refund-modal-content {
    background: #fffaf5;
    border: 1px solid #e3dcd2;
    border-radius: 12px;
    padding: 20px;
    max-width: 480px;
    width: 100%;
    font-family: 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', sans-serif;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    color: #3b3b3b;
  }

  .refund-modal-content h2 {
    font-size: 18px;
    margin-bottom: 16px;
    color: #1a2e49;
    border-bottom: 1px dashed #d2c4b0;
    padding-bottom: 8px;
  }

  .refund-modal-content p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 12px;
  }

  .refund-modal-content a {
    color: #5a3e2b;
    text-decoration: underline;
  }

  .refund-modal-content button {
    background-color: #1a2e49;
    color: white;
    border: none;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    margin-top: 8px;
    
  }

  .refund-modal-content button:hover {
    background-color: rgb(30, 33, 82);
  }
  .refund-button-container {
  text-align: right;
}
.danger-asterisk {
  color: red;
  font-size: 12px;
  margin-right: 3px;
}

.styled-image {
  max-width: 100%;
  height: auto;
  border: 1px solid #ccc; /* 연한 회색 테두리 */
  border-radius: 8px; /* 모서리 둥글기 */
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1); /* 약간의 그림자 (선택 사항) */
}

.ai-evaluation-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 1rem;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.modal-title-inline {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.modal-title-icon {
  width: 20px;
  height: 20px;
}

.dropdown-icon {
  width: 20px;
  height: 20px;
}

.cherry_blossom {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    overflow: hidden;
    z-index: 9999;
    perspective: 1000px;
    background: transparent; /* 또는 아예 제거해도 됨 */
}

.cherry_blossom .petal {
    position: absolute;
    background: linear-gradient(-45deg, #ffb6c1 0%, #ffc5d0 40%, #ffdfe6 80%);
    border-radius: 10% 50% 40% 50%;
    z-index: 1;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
    pointer-events: none;
    transform-style: preserve-3d;
    transition: transform 1000ms linear;
}

@keyframes fall {
    0% {
        top: 0;
        opacity: 1;
    }

    80% {
        opacity: 1;
    }

    100% {
        top: 100%;
        opacity: 0.2;
    }
}

/* display: none 대체용 */
.chg-hidden {
  display: none;
}

/* 모달 스크롤 가능한 영역 */
.chg-scrollable {
  max-height: 70vh;
  overflow-y: auto;
}

.header-link {
  text-decoration: none; /* 밑줄 제거 */
}

