/* 개인정보 동의 컨테이너 */
.agree-container {
  display: flex;
  align-items: center;
  font-size: 14px;
  color: #333;
  margin-bottom: 10px;
  justify-content: flex-start; /* 왼쪽 정렬 */
  gap: 5px; /* 요소 사이 간격 */
}

.agree-container input[type="checkbox"] {
  margin: 0;
  cursor: not-allowed;
}

.agree-container label {
  margin: 0;
}

.agree-container a {
  color: #007BFF;
  text-decoration: none;
  cursor: pointer;
  margin-bottom: 6px;
}

.agree-container a:hover {
  text-decoration: underline;
}

/* 모달 오버레이 */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

/* 모달 창 */
.modal {
  background: #fff;
  border-radius: 8px;
  width: 90%;
  max-width: 500px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  animation: fadeIn 0.3s ease-in-out;
}

/* 모달 헤더 */
.modal-header {
  background: #007BFF;
  color: #fff;
  padding: 16px;
  font-size: 16px;
  text-align: center;
}

/* 모달 본문 */
.modal-body {
  padding: 16px;
  font-size: 14px;
  line-height: 1.6;
  color: #333;
  max-height: 60vh; /* 모바일 화면 높이에 맞춤 */
  overflow-y: auto; /* 스크롤 가능 */
}

/* 모바일 반응형 */
@media (max-width: 768px) {
  .modal {
    width: 95%; /* 화면 전체 너비에 더 가깝게 설정 */
    max-width: 400px;
  }

  .modal-body {
    padding: 12px; /* 모바일에서 더 작은 패딩 */
  }

  .modal-header {
    padding: 12px;
    font-size: 14px;
  }
}

/* 모달 애니메이션 */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
