/**
 * notice-popup.css - 공지사항 레이어 팝업 스타일
 */

/* 오버레이 */
.notice-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  backdrop-filter: blur(4px);
}

/* 팝업 컨테이너 */
.notice-popup {
  background: white;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  max-width: 500px;
  width: 90%;
  overflow: hidden;
  animation: slideUp 0.3s ease-out;
}

/* 헤더 */
.notice-header {
  background: linear-gradient(135deg, #D4AF37 0%, #FFD700 100%);
  padding: 0.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid rgba(255, 255, 255, 0.3);
}

.notice-title {
  font-size: 1.25rem;
  font-weight: bold;
  color: white;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.notice-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.notice-close {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  color: white;
}

.notice-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

.notice-close svg {
  width: 20px;
  height: 20px;
}

/* 본문 */
.notice-body {
  padding: 2rem;
  line-height: 1.6;
}

.notice-message {
  font-size: 1rem;
  color: #2C3E50;
  margin: 0 0 1rem 0;
  font-weight: 500;
}

.notice-message:last-child {
  margin-bottom: 0;
}

.notice-submessage {
  font-size: 0.9rem;
  color: #7F8C8D;
  margin: 1.5rem 0 0 0;
  font-style: italic;
}

/* 푸터 */
.notice-footer {
  padding: 0.5rem 2rem;
  background: #F8F9FA;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid #E9ECEF;
}

.notice-checkbox {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  user-select: none;
  font-size: 0.9rem;
  color: #495057;
}

.notice-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: #D4AF37;
}

.notice-confirm {
  background: #D4AF37;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 0.5rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
}

.notice-confirm:hover {
  background: #C19F2F;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
}

.notice-confirm:active {
  transform: translateY(0);
}

/* 애니메이션 */
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-enter-active,
.fade-leave-active {
  transition: opacity 0.3s ease;
}

.fade-enter-from,
.fade-leave-to {
  opacity: 0;
}

/* 반응형 */
@media (max-width: 576px) {
  .notice-popup {
    width: 95%;
  }

  .notice-header {
    padding: 1.25rem 1.5rem;
  }

  .notice-title {
    font-size: 1.1rem;
  }

  .notice-body {
    padding: 1.5rem;
  }

  .notice-message {
    font-size: 0.95rem;
  }

  .notice-footer {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.25rem 1.5rem;
  }

  .notice-confirm {
    width: 100%;
  }
}
