/* /modal.css */

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 10, 15, 0.8); /* 반투명 블랙 */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal {
  background-color: #FFFFFF; /* 흰 배경 */
  color: #0A0A0F; /* 텍스트는 기본 검정 */
  border-radius: 8px;
  max-width: 500px;
  width: 90%;
  padding: 24px 32px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  position: relative;
  font-family: 'Noto Sans', sans-serif;
}

.modal h2 {
  color: #C8A15D; /* 헤딩 컬러 */
  margin-top: 0;
  font-size: 1.5rem;
  font-weight: bold;
}

.modal p {
  color: #0A0A0F;
  margin-bottom: 16px;
  line-height: 1.5;
}

.modal-button {
  background-color: #C8A15D; /* 버튼 배경 */
  color: #FFFFFF;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
}

.modal-button:hover {
  background-color: #E5C07B; /* hover 시 보조컬러 */
}

.modal-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: none;
  border: none;
  font-size: 20px;
  color: #282828;
  cursor: pointer;
  line-height: 1;
}

.modal-close:hover {
  color: #C8A15D; /* hover 효과로 포인트 컬러 */
}

@media (max-width: 480px) {
  .modal h2 {
    font-size: 1.25rem;
  }

  .modal p {
    font-size: 0.95rem;
  }

  .modal-button {
    font-size: 0.95rem;
    padding: 8px 16px;
  }
}
