/* 팝업 기본 스타일 */
#wrapper_popup div[id^='pops_'] {
  width: 100%;
  max-width: 500px;
  position: fixed;  /* 팝업을 화면 고정 */
  background: #fff;
  z-index: 100000;
  box-sizing: border-box;
  border-radius: 5px;
  overflow: visible;  /* 숨김 방지 */
  display: none;
  box-shadow: 5px 5px 10px 0px rgba(0, 0, 0, 0.3);
}

/* 링크 스타일 */
#wrapper_popup div[id^='pops_'] a {
  text-decoration: none;
}

/* 제목 스타일 */
#wrapper_popup div[id^='pops_'] h2 {
  display: block;
  margin: 10px 0 0;
  padding-bottom: 15px;
  border-bottom: 1px solid #d8d8d8;
  font-size: 1.1em;
  font-weight: bold;
}

/* 일반 텍스트 스타일 */
#wrapper_popup div[id^='pops_'] p {
  display: block;
  padding: 20px 0 0;
  margin: 0;
  font-size: 1em;
  line-height: 1.5em;
}

/* 배너 이미지 스타일 */
#wrapper_popup div[id^='pops_'] img.banner-img {
  width: 100%;
  height: auto;
  display: block;
}

/* 취소 버튼 이미지 스타일 */
#wrapper_popup div[id^='pops_'] img.cancel {
  position: absolute;
  right: 10px;
  top: 10px;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

#wrapper_popup div[id^='pops_'] img.cancel:hover {
  opacity: 1;
}

/* 버튼 영역 스타일 */
#wrapper_popup .b-area {
  text-align: center;
  background: #f9f9f9;  /* 버튼 배경 색상 */
  border-top: 1px solid #e8e8e8;  /* 이미지와 버튼 영역 구분선 */
}

#wrapper_popup .b-area a {
  width: 50%;
  float: left;
  display: inline-block;
  color: #444;
  line-height: 45px;
  font-size: 0.9rem;
  cursor: pointer;  /* 클릭 가능 표시 */
  transition: background 0.3s ease;
}

#wrapper_popup .b-area a:after {
  width: 1px;
  height: 45px;
  background: #e8e8e8;
  float: right;
  content: '';
}

#wrapper_popup .b-area a:last-of-type:after {
  display: none;
}

#wrapper_popup .b-area a:hover {
  background: #f2f2f5;
}

/* 리스트 스타일 */
#wrapper_popup ul {
  list-style-type: disc;
  margin: 0 0 20px;
  line-height: 1.5em;
}
