/* 팝업 모달 스타일 */
#welcomePopup .modal-dialog {
  max-width: 900px;
}

#welcomePopup .modal-content {
  border-radius: 10px;
  overflow: hidden;
  border: none;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

#welcomePopup .modal-header {
  border: none;
  padding: 10px 15px;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 10;
}

#welcomePopup .modal-header .close {
  font-size: 2rem;
  font-weight: 300;
  opacity: 0.9;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  padding: 0;
  margin: 0;
  transition: all 0.3s ease;
}

#welcomePopup .modal-header .close:hover {
  opacity: 1;
  transform: scale(1.1);
}

#welcomePopup .modal-body {
  padding: 0;
}

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

#welcomePopup .modal-footer {
  border: none;
  padding: 15px 20px;
  background-color: #f8f9fa;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

#welcomePopup .form-check {
  margin: 0;
}

#welcomePopup .form-check-label {
  font-size: 14px;
  color: #666;
  cursor: pointer;
  user-select: none;
}

#welcomePopup .form-check-input {
  cursor: pointer;
}

#welcomePopup .btn-close-popup {
  background-color: #6c757d;
  color: white;
  border: none;
  padding: 8px 20px;
  border-radius: 5px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

#welcomePopup .btn-close-popup:hover {
  background-color: #5a6268;
}

/* 반응형 */
@media (max-width: 768px) {
  #welcomePopup .modal-dialog {
    max-width: 90%;
    margin: 1.75rem auto;
  }

  #welcomePopup .modal-footer {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }

  #welcomePopup .btn-close-popup {
    width: 100%;
  }
}

