/* 팝업 공지 */
.popup-notice-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  z-index: 1200;
}

.popup-notice-box {
  position: fixed;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
  overflow: hidden;
  color: #111827;
}

.popup-notice-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.popup-notice-close {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 3;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #334155;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.popup-notice-title {
  position: relative;
  z-index: 2;
  margin: 0 0 12px;
  padding-right: 36px;
}

.popup-notice-content {
  position: relative;
  z-index: 2;
  flex: 1;
  overflow: auto;
  line-height: 1.7;
  font-size: 14px;
}

.popup-notice-content p { margin: 0.5em 0; }
.popup-notice-content ul,
.popup-notice-content ol { padding-left: 1.4em; margin: 0.5em 0; }

.popup-notice-footer {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.popup-notice-hide-today {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #475569;
}

.popup-notice-confirm {
  border: none;
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

@media (max-width: 768px) {
  .popup-notice-box {
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: min(92vw, 500px) !important;
    max-height: 85vh !important;
  }
}
