/* 공지 팝업 전체 레이어 */
.notice-modal {
  display: block; /* 접속 시 항상 표시 */
  position: fixed;
  top: 50px;
  left: 50px;
  z-index: 9999;
  width: fit-content;
  max-width: calc(100vw - 100px); /* 화면을 벗어나지 않도록 제한 */
  background-color: #ffffff;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  font-family: sans-serif;
}

/* 이미지 영역 */
.notice-body {
  line-height: 0;
}

.notice-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 70vh;
  object-fit: contain;
}

/* 하단 닫기 버튼 영역 */
.notice-footer {
  display: flex;
  justify-content: flex-end;
  background-color: #f8f9fa;
  padding: 8px 12px;
  border-top: 1px solid #eee;
}

.notice-footer button {
  background: #333333;
  color: #ffffff;
  border: none;
  padding: 6px 16px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 13px;
  font-weight: bold;
}

.notice-footer button:hover {
  background: #000000;
}