@charset "utf-8";
/*
 * layer.css — 레이어 팝업/모달 (clean-room rewrite)
 * 게시판 등에서 사용하는 팝업 컴포넌트. 기본 숨김, 트리거 시 노출.
 */

/* 팝업 컨테이너 */
.layer_wrap {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1000;
  min-width: 320px;
  max-width: 90%;
  background: #fff;
  border: 1px solid #333;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.layer_wrap_cont {
  padding: 0;
}

/* 제목 영역 */
.ly_tit {
  position: relative;
  padding: 16px 48px 16px 20px;
  border-bottom: 1px solid #e5e5e5;
  font-size: 16px;
  font-weight: 700;
  color: #222;
}

/* 본문 영역 */
.ly_cont {
  padding: 20px;
  font-size: 13px;
  color: #444;
}

/* 스크롤 가능한 본문 */
.scroll_box {
  max-height: 60vh;
  overflow-y: auto;
}

/* 닫기 버튼 */
.ly_close,
.layer_close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 24px;
  height: 24px;
  font-size: 0;
  line-height: 0;
  color: transparent;
  cursor: pointer;
  background: transparent;
  border: 0;
}
.ly_close::before,
.ly_close::after,
.layer_close::before,
.layer_close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 2px;
  background: #333;
}
.ly_close::before,
.layer_close::before { transform: translate(-50%, -50%) rotate(45deg); }
.ly_close::after,
.layer_close::after { transform: translate(-50%, -50%) rotate(-45deg); }

/* 비밀번호 확인 팝업 */
.password_layer {
  text-align: center;
}
.password_layer .text {
  width: 200px;
  margin: 0 6px;
}

/* 팝업 하단 버튼 정렬은 common.css의 .btn_center_box / .btn_right_box 사용 */
