/* static/css/menu_modal.css */

.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
  z-index: 10000;
}

.modal-overlay.active {
  display: flex;
}

.modal-content {
  position: relative;   /* ← 닫기 버튼이 이 안에서 위치하도록 */
  background: #111;
  border-radius: 8px;
  max-width: 800px;
  width: 90%;
  max-height: 90%;
  overflow-y: auto;
}

.modal-close {
  position: absolute;
  top: 8px;
  right: 8px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
    color: #fff;          /* 흰색 */

    z-index: 10001;       /* content 보다 위 */

}

.modal-img {
  width: 100%;
  height: auto;
  display: block;
}

.modal-body {
  padding: 30px;
  background: #fff;
  border-radius: 0 0 8px 8px;
}
.modal-title {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 600;
  color: #1D1B20;
}
.modal-desc {
  margin: 0;
  font-size: 18px;
  font-weight: 400;
  color: rgba(0, 0, 0, 0.8);
}