/* =========================================================
   /2026/research_v2/assets/app.css
   RSV2 UI Styles (cleaned)
   - 공통 UI
   - 모달(공통)
   - secR 전용(상단 타이틀/탭/도움말/모달 보정)
   ========================================================= */


/* =========================================================
   1) 공통 레이아웃/타이포
   ========================================================= */

.rsv2-wrap { width:100%; color:#111; }

.rsv2-title { margin:14px 0 10px; color:rgba(255,255,255,.7); }
.rsv2-title .rsv2-t1 { font-size:18px; font-weight:600; color:#fff; }
.rsv2-title .rsv2-t2 { font-size:13px; margin-top:4px; }

.rsv2-stage { width:100%; }

.rsv2-card{
  width:100%;
  background:#fff;
  border-radius:2px;
  padding:25px;
  box-sizing:border-box;
}

.rsv2-h { font-size:18px; font-weight:700; margin-bottom:8px; }
.rsv2-p { font-size:13px; color:#666; margin-bottom:14px; }

.rsv2-row { margin:30px 0px; }
.rsv2-row span{ display: block;font-size: 0.8em; }
.rsv2-l { display:block; font-size:15px; margin-bottom:5px; color:#333; }

.rsv2-in{
  width:100%;
  height:40px;
  border:1px solid #ddd;
  padding:0 10px;
  box-sizing:border-box;
  outline:none;
}

.rsv2-btn{
  height:42px;
  padding:0 18px;
  border:0;
  background:#111;
  color:#fff;
  cursor:pointer;
}

.rsv2-msg { margin-top:8px; font-size:13px; }
.rsv2-msg.err { color:#d00; }
.rsv2-msg.ok { color:#1a7f37; }

.rsv2-grid2 { display:grid; grid-template-columns:1fr 1fr; gap:10px; }

.rsv2-select{
  width:100%;
  height:40px;
  border:1px solid #ddd;
  padding:0 10px;
}

.rsv2-list { display:grid; gap:8px; }
.rsv2-item { padding:10px; border:1px solid #eee; cursor:pointer; }
.rsv2-item:hover { background:#f7f7f7; }

.rsv2-q { margin:10px 0; }
.rsv2-q span{ font-weight:800;}
.rsv2-q .qtxt { font-size:13px; margin-bottom:8px; }
.rsv2-radio { display:flex; gap:10px; flex-wrap:wrap; }
.rsv2-radio label { font-size:12px; }


/* =========================================================
   2) 섹션/그룹 UI (공통)
   ========================================================= */

.rsv2-section{
  margin:12px 0;
  padding-top:6px;
  border-top:1px solid rgba(255,255,255,0.12);
}
.rsv2-section-title{ font-weight:700; margin:10px 0 8px; font-size:1.2rem;}
.rsv2-section-title span{ font-weight:500; color:#666;}
.rsv2-section-items{ display:grid; gap:8px; }

.rsv2-linkbtn{
  border:0;
  background:transparent;
  text-decoration:underline;
  cursor:pointer;
  padding:0 4px;
  font:inherit;
}

/* 대분류 선택 토글 표시 */
.rsv2-item-select.on{
  outline: 2px solid rgba(0,0,0,.35);
  font-weight: 700;
}

/* 대분류 섹션 */
.rsv2-gsection{
  margin: 14px 0;
  padding-top: 10px;
  border-top: 2px solid rgba(0,0,0,.08);
}
.rsv2-gsection-title{
  font-weight: 800;
  margin: 6px 0 10px;
  font-size: 16px;
}


/* =========================================================
   3) 리커트(점수/척도) UI (공통)
   ========================================================= */

/* 1) dot 형태 */
.rsv2-likert{ margin-top:10px; }
.rsv2-likert-labels{
  display:flex;
  justify-content:space-between;
  font-size:12px;
  opacity:.75;
  margin-bottom:8px;
}

.rsv2-likert-line{
  position:relative;
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:10px 6px;
}
.rsv2-likert-line:before{
  content:"";
  position:absolute; left:10px; right:10px; top:50%;
  height:2px; background:rgba(0,0,0,.25);
  transform:translateY(-50%);
}

.rsv2-dot{ position:relative; z-index:1; cursor:pointer; }
.rsv2-dot input{ position:absolute; opacity:0; pointer-events:none; }

.rsv2-dot-ui{
  width:18px; height:18px; border-radius:50%;
  border:2px solid rgba(0,0,0,.35);
  background:#fff;
  display:inline-block;
}
.rsv2-dot input:checked + .rsv2-dot-ui{
  border-color:rgba(0,0,0,.9);
  background:rgba(0,0,0,.9);
}
.rsv2-likert-state{ text-align:center; margin-top:6px; font-size:12px; opacity:.75; }

/* 2) lk 형태(다른 컴포넌트) */
.rsv2-lk-item{ margin:18px 0; }
.rsv2-lk-q{ margin-bottom:10px; line-height:1.4; }
.rsv2-lk-top{ display:flex; justify-content:space-between; font-size:12px; opacity:.8; margin-bottom:6px; }
.rsv2-lk-radios{ display:flex; justify-content:space-between; align-items:center; gap:10px; }
.rsv2-lk-dot{ display:flex; align-items:center; }
.rsv2-lk-dot input{ display:none; }
.rsv2-lk-dot span{ width:18px; height:18px; border:2px solid #bbb; border-radius:50%; display:inline-block; }
.rsv2-lk-dot input:checked + span{ border-color:#333; background:#333; }
.rsv2-lk-mid{ text-align:center; margin-top:8px; font-size:13px; opacity:.8; }


/* =========================================================
   4) 공통 모달(일반)
   ========================================================= */

.rsv2-modal{
  position:fixed;
  left:0; top:0;
  width:100%; height:100%;
  z-index:9999;
}

.rsv2-modal-dim{
  position:absolute;
  left:0; top:0;
  width:100%; height:100%;
  background:rgba(0,0,0,.55);
}

.rsv2-modal-box{
  position:relative;
  width:min(680px, calc(100% - 32px));
  max-height:calc(100% - 64px);
  margin:32px auto;
  background:#fff;
  border-radius:10px;
  overflow:hidden;
  display:flex;
  flex-direction:column;
}

.rsv2-modal-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 16px;
  border-bottom:1px solid rgba(0,0,0,.08);
}

.rsv2-modal-title{ font-weight:700; }

.rsv2-modal-x{
  border:0;
  background:transparent !important;
  font-size:22px;
  line-height:1;
  cursor:pointer;
  color:#000 !important;
  padding: 12px 0px !important;
}

.rsv2-modal-body{
  padding:14px 16px;
  overflow:auto;
}

.rsv2-modal-foot{
  padding:12px 16px;
  border-top:1px solid rgba(0,0,0,.08);
  display:flex;
  gap:8px;
  justify-content:flex-end;
}


.rsv2-row.rsv2-consent{
  font-size:0.9em;
}

/* =========================================================
   5) secR 전용 스타일 (디자인/반응형)
   ========================================================= */

/* secR 기준 컨테이너(도움말 모달/오버레이/버튼 배치용) */
#secR .sec-inner{ position: relative; }

/* 상단 제목 바 */
#secR .sec-inner #rsv2App .rsv2-title{
  background-color: #002f1c;
  color: #ffffff;
  width: calc(100% + 50px);
  margin: 0 -25px 16px;
  padding: 14px 16px;
  text-align: center;
}

/* =========================================================
   5-1) secR 상단 3탭 메뉴
   ========================================================= */

#secR .sec-inner .rsv2-topmenu{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;

  margin: 0 0 12px;
  padding: 10px 12px;

  background: rgba(0,0,0,.18);
  border-radius: 14px;
  box-sizing: border-box;

  position: sticky;
  top: 8px;
  z-index: 50;
}

#secR .sec-inner .rsv2-topmenu .rsv2-tab{
  display: block;
  text-align: center;
  text-decoration: none;

  padding: 10px 8px;
  border-radius: 10px;

  font-weight: 700;
  font-size: 13px;
  line-height: 1;

  color: rgba(255,255,255,.78);
  background: rgba(0,0,0,.18);
  border: 1px solid rgba(255,255,255,.14);

  -webkit-tap-highlight-color: transparent;
}

#secR .sec-inner .rsv2-topmenu .rsv2-tab:visited,
#secR .sec-inner .rsv2-topmenu .rsv2-tab:hover,
#secR .sec-inner .rsv2-topmenu .rsv2-tab:focus{
  color: rgba(255,255,255,.85);
  text-decoration: none;
}

#secR .sec-inner .rsv2-topmenu .rsv2-tab.is-active{
  color: #fff;
  background: #002f1c;
  border-color: rgba(255,255,255,.22);
}


/* =========================================================
   5-2) secR 하단 “조사 안내” 버튼 + secR 내부 모달
   ========================================================= */

#secR .rsv2-help-btn{
  position: absolute;
  right: 25px;
  bottom: 25px;
  z-index: 60;

  display: inline-flex;
  align-items: center;
  gap: 8px;

  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.14);
  background: rgba(255,255,255,.92);
  color: #111;
  cursor: pointer;

  box-shadow: 0 10px 25px rgba(0,0,0,.12);
}

#secR .rsv2-help-q{
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  background: #002f1c;
  color: #fff;
  font-weight: 900;
  font-size: 16px;
  line-height: 1;
}

#secR .rsv2-help-text{
  font-weight: 800;
  font-size: 13px;
}



/* =========================================================
   6) 브랜드 평가 모달( rsv2-survey-modal ) 투명도/레이어 보정
   - dim이 box 위로 덮여서 투명해 보이는 현상 방지
   ========================================================= */

.rsv2-survey-modal{
  position: fixed;
  inset: 0;
  z-index: 9999;
}

.rsv2-survey-modal .dim{
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0,0,0,.45);
}

.rsv2-survey-modal .box{
  position: relative;
  z-index: 2;
  background: #fff;
  opacity: 1;
  isolation: isolate; /* 모바일에서 stacking 꼬임 방지 */
}












/* =========================================================
   secR를 "카드 패널"처럼 보이게
   ========================================================= */

/* secR 배경은 유지(이미 배경 이미지/초록이 있으니) */
#secR{
  /* 필요하면 배경 톤을 더 진하게 */
  /* background: transparent; */
}

/* 카드 컨테이너: sec-inner를 카드화 */
#secR .sec-inner{
  position: relative;                 /* (필수) 도움말/모달 absolute 기준 */
  width: min(520px, calc(100% - 24px));
  margin: 18px auto;
  padding: 16px 16px 22px;



  box-sizing: border-box;
}

/* 상단 제목 바(이미 있으니 카드 라운드에 맞게 다듬기) */
#secR .sec-inner #rsv2App .rsv2-title{
  width: calc(100% + 32px);          /* sec-inner padding(16*2) */
  margin: -16px -16px 14px;          /* 카드 상단에 붙임 */
  border-radius: 18px 18px 0 0;
}

/* 탭 메뉴도 카드 폭에 맞추고 살짝 띄우기 */
#secR .sec-inner .rsv2-topmenu{
  margin: 0 0 12px;
  border-radius: 14px;
}

/* 카드 안의 .rsv2-card는 "카드 안 카드" 느낌 줄이기(선택) */
#secR .rsv2-card{
  border-radius: 14px;
  box-shadow: none;

}

/* PC에서는 카드 폭 조금 넓게 */
@media (min-width: 768px){
  #secR .sec-inner{
    width: min(780px, calc(100% - 48px));
    padding: 18px 18px 26px;
    min-height: -webkit-fill-available;
  }
  #secR .sec-inner #rsv2App .rsv2-title{
    width: calc(100% + 36px);
    margin: -18px -18px 16px;
  }
}




/* =========================================================
   Elegant Survey Modal (brand evaluation)
   ========================================================= */

/* 모달 컨테이너 */
.rsv2-survey-modal{
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;

  opacity: 0;
  pointer-events: none;
}

.rsv2-survey-modal.show{
  display: block;
  opacity: 1;
  pointer-events: auto;
}

/* Dim : 유리감 + 부드러운 어둠 */
.rsv2-survey-modal .dim{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.42);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);

  animation: rsv2FadeIn .18s ease-out both;
  z-index: 1;
}

/* Box : 우아한 카드 팝업 */
.rsv2-survey-modal .box{
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -46%);

  width: min(900px, calc(100% - 28px));
  max-height: calc(100% - 28px);

  background: rgba(255,255,255,.92);
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.35);

  box-shadow:
    0 26px 60px rgba(0,0,0,.28),
    0 2px 0 rgba(255,255,255,.35) inset;

  overflow: hidden;
  display: flex;
  flex-direction: column;

  animation: rsv2PopUp .22s cubic-bezier(.2,.9,.2,1) both;
  z-index: 2;

  isolation: isolate; /* 모바일 stacking 꼬임 방지 */
}

/* 모바일에서는 폭 조금 줄이기 */
@media (max-width: 420px){
  .rsv2-survey-modal .box{
    width: calc(100% - 20px);
    border-radius: 16px;
  }
}

/* =========================================================
   내부 콘텐츠 보정 (기존 구조 유지)
   ========================================================= */

/* 브랜드 평가 모달 내부 스크롤 영역 */
.rsv2-survey-modal .box .content,
.rsv2-survey-modal .box .body,
.rsv2-survey-modal .box .inner{
  overflow: auto;
}

/* =========================================================
   애니메이션 (조사 안내 모달과 공유)
   ========================================================= */

@keyframes rsv2FadeIn{
  from{ opacity: 0; }
  to{ opacity: 1; }
}

@keyframes rsv2PopUp{
  from{
    opacity: 0;
    transform: translate(-50%, -42%) scale(.98);
  }
  to{
    opacity: 1;
    transform: translate(-50%, -46%) scale(1);
  }
}

/* 모션 최소화 선호 */
@media (prefers-reduced-motion: reduce){
  .rsv2-survey-modal .dim,
  .rsv2-survey-modal .box{
    animation: none !important;
  }
}



/* 브랜드 조사 모달은 정확히 세로 중앙 */
.rsv2-survey-modal .box{
  top: 50% !important;
  transform: translate(-50%, -50%) !important;
}



/* ==========================================
   rsv2-survey-modal: 모바일(mob) 대응
   - 가로/세로 뷰포트 안에 100% 들어오게
   - 내용은 box 내부에서만 스크롤
   ========================================== */

.rsv2-survey-modal.mob .box{
  left: 50% !important;
  top: 12px !important;                         /* ✅ 상단 여백 */
  transform: translateX(-50%) !important;       /* ✅ Y 이동 제거 */

  width: calc(100% - 20px) !important;          /* ✅ 좌우 여백 */
  max-width: 520px !important;                  /* ✅ 너무 넓어지지 않게 */
  max-height: calc(100dvh - 24px) !important;   /* ✅ 모바일 뷰포트 기준 */
  overflow: hidden !important;                  /* ✅ box는 고정 */
  border-radius: 16px !important;
}

/* 모달 내용 영역만 스크롤(헤더/푸터는 고정 효과) */
.rsv2-survey-modal.mob .box .body{
  max-height: calc(100dvh - 24px - 56px - 64px) !important;
  overflow: auto !important;
  -webkit-overflow-scrolling: touch;
}

/* 헤더/푸터 높이가 다르면 아래 값만 조절하면 됩니다 */
.rsv2-survey-modal.mob .box .head{
  position: sticky;
  top: 0;
  z-index: 2;
  background: #fff;
}

.rsv2-survey-modal.mob .box .foot{
  position: sticky;
  bottom: 0;
  z-index: 2;
  background: #fff;
  text-align: center;
}

.rsv2-survey-modal.mob{ padding-bottom: env(safe-area-inset-bottom); }


/* secRSwap을 카드로 */
#secR #secRSwap{
  width: 100%;
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 20px !important;
  box-shadow: 0 12px 34px rgba(0,0,0,.30);
  padding: 26px 26px;
  overflow: hidden; /* 둥근 모서리 밖으로 삐져나오는 요소 정리 */
}

/* 카드가 떠보이도록 섹션 여백 */
#secR{
  padding: 48px 0;
}
#secR .sec-inner{
  max-width: 1200px;
  margin: 0 auto;
  padding: 0px !important;
}

/* (옵션) 내부 .rsv2-card가 이미 카드라 "카드 안 카드"로 과하면 톤 다운 */
#secR #secRSwap .rsv2-card{
  box-shadow: none;               /* 필요하면 유지/삭제 */

}

#secR #secRSwap .rsv2-card.step1{
  background: transparent;            /* 필요하면 유지/삭제 */


}



/* (옵션) 타이틀 영역이 카드와 너무 붙어 보이면 간격 보정 */
#secR #secRSwap .rsv2-title{
  margin-bottom: 18px;
}

/* 반응형 */
@media (max-width: 640px){
  #secR{
    padding: 36px 0;
  }
  #secR #secRSwap{
    padding: 16px 16px;
    border-radius: 16px;

    box-shadow: 0 10px 26px rgba(0,0,0,.10);
  }
}



/* 대분류 아이콘 카드 */
#rsv2Groups{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.rsv2-item-select{
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 14px;
}

.rsv2-item-select .ico{
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.rsv2-item-select .txt{
  font-size: 0.9rem;
  font-weight: 600;
}

/* 선택 상태 */
.rsv2-item-select.on{
  background: #fff;
  color: #fff;
}


/* 검색 영역 정렬 */
.rsv2-gsearch {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* 아이콘 버튼 공통 */
.rsv2-gsearch .icon-btn {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

/* 검색 버튼 */
.rsv2-gsearch .btn.primary {
  background: #111;
  color: #fff;
  border: none;
}

/* 초기화 버튼 */
.rsv2-gsearch .btn:not(.primary) {
  background: #fff;
  color: #333;
}

/* =========================
   액션 버튼 공통 스타일
   (대분류 선택 버튼 제외 + Fancybox 제외)
========================= */
button:not(.rsv2-item-select):not(.fancybox-button):not([data-fancybox-close]):not(.x):not(.agree-close):not(.rsv2-event-close):not(.rsv2-help-close),
.btn,
.rsv2-btn,
.rsv2-btn2 {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 12px 28px;
  border-radius: 999px;
  border: none;

  background: #333;
  color: #ffffff;

  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.2px;

  cursor: pointer;
  transition:
    background .2s ease,
    transform .15s ease,
    box-shadow .15s ease;

}





button:not(.rsv2-item-select):not(.fancybox-button):not([data-fancybox-close]):not(.x):not(.agree-close):not(.rsv2-event-close):not(.rsv2-help-close):hover,
.btn:hover,
.rsv2-btn:hover,
.rsv2-btn2:hover {
  background: #ebb234;
  box-shadow: 0 6px 14px rgba(0,0,0,.18);
}

button:not(.rsv2-item-select):not(.fancybox-button):not([data-fancybox-close]):not(.x):not(.agree-close):not(.rsv2-event-close):not(.rsv2-help-close):active,
.btn:active,
.rsv2-btn:active,
.rsv2-btn2:active {
  transform: translateY(1px);
  box-shadow: 0 3px 8px rgba(0,0,0,.2);
}

/* 대분류 선택 버튼은 기존 스타일 유지 */
.rsv2-item-select {
  background: inherit;
  box-shadow: none;
  border-radius: 14px; /* 기존 값 */
}


/* 진행/초기화/다음/처음으로 같은 액션 버튼 높이 통일 */
.rsv2-btn,
.rsv2-btn2,
#rsv2BtnNext,
#rsv2BtnResetAll {
  box-sizing: border-box;
  height: 44px;              /* 원하는 고정 높이 */
  padding: 0px 26px;           /* 좌우만 */
  line-height: 44px;         /* 텍스트 수직정렬 */
  border-radius: 999px;
  border: 0;
}


/* 조사 첫 페이지에서 '처음으로' 숨김 */
.rsv2-card.step1 #rsv2BtnResetAll {
  display: none;
}


/* =========================
   rsv2-btn2 outline 버튼
========================= */
.rsv2-btn2.outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 12px 26px;
  height: 44px;

  background: transparent !important;
  color: #333 !important;

  border: 1px solid #333 !important;
  border-radius: 999px;

  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.2px;

  cursor: pointer;
  box-sizing: border-box;

  transition:
    background .2s ease,
    color .2s ease,
    box-shadow .2s ease,
    transform .15s ease;
}
.rsv2-btn2.outline:hover {
  background: #eee !important;

  box-shadow: 0 6px 14px rgba(15, 81, 50, 0.25) !important;
}
.rsv2-btn2.outline:active {
  transform: translateY(1px);
  box-shadow: 0 3px 8px rgba(15, 81, 50, 0.3) !important;
}
.rsv2-btn2.outline:disabled {
  color: #9fb6ab;
  border-color: #9fb6ab;
  cursor: not-allowed;
  box-shadow: none;
}



/* =========================
   입력란 UX 개선 (PC/모바일 공통)
========================= */
/* =========================
   입력란 통일 (로그인/검색 포함)
========================= */

/* 공통 input/textarea/select */
.rsv2-in,
.rsv2-gsearch .in,
#rsv2GroupSearch,
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="password"],
select,
textarea{
  box-sizing: border-box;
  width: 100%;
  height: 52px;
  padding: 0 14px;

  border: 1px solid #d6d6d6;
  border-radius: 12px;

  background: #fff;
  color: #111;

  font-size: 16px;          /* 모바일 iOS 자동 확대 방지 */
  line-height: 1.2;

  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}

/* 검색 입력은 flex 안에서 폭이 유지되게 */
.rsv2-gsearch .in{
  flex: 1 1 auto;
  min-width: 0;
}

/* textarea */
textarea{
  height: auto;
  min-height: 120px;
  padding: 12px 14px;
  resize: vertical;
}

/* placeholder */
.rsv2-in::placeholder,
.rsv2-gsearch .in::placeholder,
input::placeholder,
textarea::placeholder{
  color: rgba(0,0,0,.35);
}

/* focus */
.rsv2-in:focus,
.rsv2-gsearch .in:focus,
input:focus,
textarea:focus,
select:focus{
  border-color: #333;
  box-shadow: 0 0 0 4px rgba(15,81,50,.15);
}

/* 모바일에서 좀 더 두툼하게 */
@media (max-width: 768px){
  .rsv2-in,
  .rsv2-gsearch .in,
  #rsv2GroupSearch{
    height: 56px;
    border-radius: 14px;
  }
}


/* 핸드폰 3칸을 한 줄로 + 하이픈 표시 */
.rsv2-tel{
  display:flex;
  align-items:center;
  gap:10px;              /* 칸 사이 간격 */
}

.rsv2-tel .rsv2-in{
  flex:1;                /* 3칸이 한 줄에 균등하게 */
  min-width:0;
}

/* 가운데/마지막 칸 살짝 더 넓게(선택) */
.rsv2-tel #rsv2Tel1{ flex:0 0 90px; }
.rsv2-tel #rsv2Tel2{ flex:1 1 120px; }
.rsv2-tel #rsv2Tel3{ flex:1 1 120px; }

/* 하이픈 텍스트 추가 */
.rsv2-tel::before,
.rsv2-tel::after{
  content:"";
}
.rsv2-tel input#rsv2Tel1{ position:relative; }
.rsv2-tel input#rsv2Tel1::after{ content:""; } /* (input에는 ::after가 안 먹어서 아래 방식 사용) */

/* 하이픈은 가상요소를 span처럼 만들 수 없으니, 래퍼에 배경/가이드 방식 대신
   가장 간단한 방법: HTML을 안 바꾸고 싶으면 ‘gap’을 두고 UI는 충분히 구분되게.
   그래도 반드시 '-'가 보여야 하면 아래처럼 JS 없이도 가능한 방식(라벨로 표시) */

/* ✅ '-'를 꼭 보이게 하는 CSS 트릭: 래퍼에 grid + 배경으로 하이픈 위치 표시 */
.rsv2-tel{
  display:grid;
  grid-template-columns: 90px 18px 1fr 18px 1fr;
  column-gap:0;
}
.rsv2-tel #rsv2Tel1{ grid-column:1; }
.rsv2-tel #rsv2Tel2{ grid-column:3; }
.rsv2-tel #rsv2Tel3{ grid-column:5; }

/* 하이픈 칸 만들기 */
.rsv2-tel::before,
.rsv2-tel::after{ display:none; } /* 기존 before/after 안 씀 */

.rsv2-tel{
  position:relative;
}
.rsv2-tel:before{
  content:"-";
  position:absolute;
  left:90px;
  top:50%;
  transform:translate(50%,-50%);
  width:18px;
  text-align:center;
  opacity:.5;
  pointer-events:none;
}
.rsv2-tel:after{
  content:"-";
  position:absolute;
  left:calc(90px + 18px + (100% - 90px - 36px)/2);
  top:50%;
  transform:translate(50%,-50%);
  width:18px;
  text-align:center;
  opacity:.5;
  pointer-events:none;
}


/* ✅ "전문보기"를 보조 버튼(아웃라인) 느낌으로 */
#rsv2BtnViewPolicy.rsv2-linkbtn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:8px 14px;
  margin-left:8px;
  border-radius:999px;
  border:1px solid #999;   /* 그린 보더 */
  background:#fff;            /* 흰 배경 */
  color:#666;              /* 그린 텍스트 */
  text-decoration:none;
  font-weight:700;
  font-size:13px;
  line-height:1;
  cursor:pointer;
  transition: background .15s ease, transform .15s ease, box-shadow .15s ease, color .15s ease;
}




#rsv2BtnViewPolicy.rsv2-linkbtn:focus-visible{
  outline: 3px solid rgba(15,81,50,.25);
  outline-offset: 2px;
}


/* ✅ 브랜드를 로고 그리드로 */
.rsv2-section-items{
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 항상 3칸 */
  gap: 12px;
}
@media (max-width: 420px){
  .rsv2-section-items{ grid-template-columns: repeat(2, 1fr); }
}

/* ✅ 로고 카드 */
.rsv2-item2--bi{
  background:#fff !important;
  border:1px solid rgba(0,0,0,.12) !important;
  border-radius:12px !important;
  padding:12px 10px !important;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:150px;
}
.rsv2-item2--bi .biBox{
  width:100%;
  height:120px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.rsv2-item2--bi .biBox img{
  max-width:100%;
  max-height:120px;
  width:auto; height:auto;
  object-fit:contain;
  display:block;
}
.rsv2-item2--bi .biName{
  font-size:14px;
  font-weight:700;
  text-align:center;
  line-height:1.2;
  color:#111;
  word-break:keep-all;
}

/* =========================
   완료 브랜드: 회색 오버레이
========================= */

/* 로고 카드(done) 위에 오버레이 */
.rsv2-item2--bi.done{
  position: relative;           /* 오버레이 기준 */
  overflow: hidden;             /* 둥근 모서리 밖 정리 */
}

/* 회색 오버레이 레이어 */
.rsv2-item2--bi.done::before{
  content:"";
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.45);  /* ✅ 회색 오버레이 */
  z-index: 2;
}

/* 내용은 오버레이 아래로 */
.rsv2-item2--bi.done .biBox,
.rsv2-item2--bi.done .biName{
  position: relative;
  z-index: 1;
}

/* (선택) 완료 텍스트를 오버레이 위로 */
.rsv2-item2--bi.done::after{
  content: "조사완료";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  z-index: 3;
 white-space: nowrap;   /* ✅ 조사완료 줄바꿈 방지 */
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(0,0,0,.55);
  color: #fff;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0px;
}


/* ===== Survey Modal Header: 로고 가운데 + 우측 상단 X ===== */
.rsv2-survey-modal .head{
  position: sticky;
  top: 0;
  background:#fff;
  border-bottom:1px solid rgba(0,0,0,.08);
  padding:20px 16px 14px;
  display:block;              /* 기존 flex 영향 제거 */
}

/* 브랜드 영역을 가운데 정렬 */
.rsv2-survey-modal .brand-area{
  width:100%;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  gap:10px;
}

/* BI 박스(로고) */
.rsv2-survey-modal .brand-bi{
  width:100%;
  display:flex;
  justify-content:center;
  align-items:center;
}

/* BI 이미지 사이즈: “앞 스샷” 느낌 */
.rsv2-survey-modal .brand-bi img{
  max-width:180px;
  max-height:60px;
  width:auto;
  height:auto;
  object-fit:contain;
  display:block;
}

/* 브랜드명은 BI 아래 작게(원하면 키우셔도 됨) */
.rsv2-survey-modal .brand-name{
  font-weight:700;
  font-size:14px;
  color:#111;
}

/* 닫기 버튼: 초록 원형 제거 → 얇은 X 버튼 */
.rsv2-survey-modal .x{
  all: unset;
  position:absolute;
  right:16px;
  top:14px;
  width:44px;
  height:44px;
  background: #fff !important;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  font-size:28px;
  line-height:1;
  color:#666 !important;
  z-index:10;
}

/* hover */
.rsv2-survey-modal .x:hover{
  color:#111 ;
}



      .rsv2-item2.done{opacity:.55}
      .rsv2-item2.done .t:after{content:" (등록완료)"; font-size:.9em; opacity:.85}
      .rsv2-item2[disabled]{cursor:not-allowed}

      .rsv2-linkbtn{background:none;border:0;padding:0;margin:0;color:#2b6cff;cursor:pointer;text-decoration:underline;font:inherit}

      /* ====== Group Search Bar ====== */
      .rsv2-gsearch{display:flex; gap:8px; margin:12px 0 14px}
      .rsv2-gsearch .in{
        flex:1; height:44px; padding:0 12px;
        border:1px solid rgba(0,0,0,.15);
        border-radius:12px; outline:none;
      }
      .rsv2-gsearch .btn{
        height:44px; padding:0 14px;
        border-radius:12px;
        border:1px solid rgba(0,0,0,.12);
        background:#fff; cursor:pointer;
      }
      .rsv2-gsearch .btn.primary{
        border-color:transparent;
        background:#111; color:#fff;
      }
      .rsv2-gsearch-status{font-size:12px; opacity:.8; margin:8px 0 0}

      /* ====== Group Cards (icon + text) ====== */
      #rsv2Groups{display:grid; grid-template-columns:repeat(auto-fit, minmax(140px, 1fr)); gap:12px;}
      @media (max-width: 420px){ #rsv2Groups{grid-template-columns:repeat(2, 1fr);} }

      .rsv2-item-select{display:flex; align-items:center; gap:0px; padding:5px 16px 15px; border-radius:5px; flex-direction:column;}
      .rsv2-item-select .ico{width:60px; height:60px; flex-shrink:0;}
      .rsv2-item-select .txt{font-weight:700;color: #000 !important;}
      .rsv2-item-select.on{
        background: transparent !important;
        color: inherit !important;
        box-shadow: 0 0 0 3px #FFD400;
        outline:none;
      }

      /* ====== Survey Modal ====== */
      .rsv2-survey-modal{display:none;}
      .rsv2-survey-modal.show{display:block;}
      .rsv2-survey-modal{ position:fixed; inset:0; z-index:9999; }
      .rsv2-survey-modal .dim{ position:absolute; inset:0; background:rgba(0,0,0,.45); }

      .rsv2-survey-modal.pc .box{
        position:absolute;
        left:50%;
        transform:translateX(-50%);
        width:min(760px, calc(100% - 40px));
        max-height:calc(100vh - 40px);
        background:#fff;
        border-radius:16px;
        box-shadow:0 18px 50px rgba(0,0,0,.25);
        overflow:auto;
      }

      .rsv2-survey-modal .head{
        position:sticky; top:0; background:#fff;
        padding:16px 16px 12px 16px;
        border-bottom:1px solid rgba(0,0,0,.08);
        display:flex; align-items:center; justify-content:center; /* ✅ 중앙 */
        z-index:2;
      }

      /* ✅ 로고/브랜드 중앙 정렬 */
      .rsv2-survey-modal .brand-area{
        width:100%;
        text-align:center;
        display:flex;
        flex-direction:column;
        align-items:center;
        gap:8px;
        padding-right:52px; /* 닫기버튼 공간 확보(시각적 중앙) */
        padding-left:52px;
        box-sizing:border-box;
      }
      .rsv2-survey-modal .brand-bi{
        width:200px;
        height:200px;
        display:flex;
        align-items:center;
        justify-content:center;
        background:#fff;
        border-radius:12px;
      }
      .rsv2-survey-modal .brand-bi img{
        max-width:200px;
        max-height:200px;
        object-fit:contain;
        display:block;
      }
      .rsv2-survey-modal .brand-name{
        font-weight:700;
        font-size:16px;
        line-height:1.2;
      }
      .rsv2-survey-modal .meta{
        font-size:13px;
        opacity:.75;
        margin-top:2px;
      }

      /* ✅ 닫기 버튼: 기본 button 스타일 영향 차단 */
      .rsv2-survey-modal .x{
        all:unset;
        position:absolute;
        right:16px;
        top:16px;
        width:44px;
        height:44px;
        border-radius:50%;
        background:#333;
        color:#fff;
        display:flex;
        align-items:center;
        justify-content:center;
        cursor:pointer;
        z-index:5;
      }
      .rsv2-survey-modal .x i{ pointer-events:none; font-size:18px; line-height:1; }

      .rsv2-survey-modal .body{ padding:16px; }
      .rsv2-survey-modal .foot{
        position:sticky; bottom:0; background:#fff;
        padding:12px 16px 16px 16px;
        border-top:1px solid rgba(0,0,0,.08);
        z-index:2;
      }

      .rsv2-qitem{margin:14px 0 18px}
      .rsv2-qitem .rsv2-q{font-weight:600; margin-bottom:10px}





/* ===== Slider Scale (0=미참여, 1~7) ===== */
.rsv2-scale--slider{ margin-top:10px; }

/* ✅ thumb 크기 변수 */
.rsv2-scale--slider{ --thumb: 22px; }

.rsv2-range-wrap{
  position:relative;
  /* ✅ 양끝을 thumb/2 만큼 인셋 -> dot과 thumb 이동범위 정렬 */
  padding:6px calc(var(--thumb) / 2) 0;
}

/* ✅ range 자체는 인셋을 무시하고 "끝까지" 깔아줘야 함 */
.rsv2-range{
  position:relative;
  left: calc(var(--thumb) / -2);
  width: calc(100% + var(--thumb));
  -webkit-appearance:none;
  appearance:none;
  height:4px;
  border-radius:999px;
  background:#cfd6da;
  outline:none;

  /* ✅ 모바일 드래그 안정화 */
  touch-action: pan-x;
  -webkit-tap-highlight-color: transparent;
}

/* WebKit thumb */
.rsv2-range::-webkit-slider-thumb{
  -webkit-appearance:none;
  appearance:none;
  width:var(--thumb);
  height:var(--thumb);
  border-radius:50%;
  background:#333;
  border:0;
  box-shadow:0 2px 8px rgba(0,0,0,.18);
  cursor:pointer;
}


















/* ===============================
   RSV2 Slider Scale (0=미참여, 1~7)
   - 점은 양끝까지(선의 시작/끝)
   - 트랙/점/thumb 세로 중앙 정렬
   =============================== */

.rsv2-scale--slider{
  margin-top:10px;
  --thumb: 22px;     /* 핸들 크기 */
  --track: 1px;      /* 선 두께 */
  --dot: 8px;        /* 점 크기 */
}

/* wrap을 thumb 높이 기준으로 잡고 중앙정렬 */
.rsv2-range-wrap{
  position:relative;
  min-height: var(--thumb);
  display:flex;
  align-items:center;
  padding: 0;        /* ✅ 인셋 제거(양끝 점이 끝으로 가게) */
}

/* range는 100% 끝까지 */
.rsv2-range{
  width:100%;
  margin:0;
  padding:0;
  -webkit-appearance:none;
  appearance:none;
  background: transparent;     /* 트랙은 아래 track에서 */
  outline:none;

  /* ✅ 모바일 드래그 안정화 */
  touch-action: pan-x;
  -webkit-tap-highlight-color: transparent;
}

/* ===== 트랙(선) ===== */
.rsv2-range::-webkit-slider-runnable-track{
  height: var(--track);
  background:#999;
  border-radius:999px;
}
.rsv2-range::-moz-range-track{
  height: var(--track);
  background:#999;
  border-radius:999px;
}

/* ===== thumb ===== */
.rsv2-range::-webkit-slider-thumb{
  -webkit-appearance:none;
  appearance:none;
  width:var(--thumb);
  height:var(--thumb);
  border-radius:50%;
  background:#333;
  border:0;
  box-shadow:0 2px 8px rgba(0,0,0,.18);
  cursor:pointer;
  margin-top: calc((var(--track) - var(--thumb)) / 2); /* ✅ 트랙 중앙에 맞춤 */
}
.rsv2-range::-moz-range-thumb{
  width:var(--thumb);
  height:var(--thumb);
  border-radius:50%;
  background:#333;
  border:0;
  box-shadow:0 2px 8px rgba(0,0,0,.18);
  cursor:pointer;
}

/* ===== ticks(점 8개: 0~7) ===== */
.rsv2-ticks{
  position:absolute;
  left:0;            /* ✅ 양끝까지 */
  right:0;           /* ✅ 양끝까지 */
  top:50%;
  transform:translateY(-50%);
  display:grid;
  grid-template-columns:repeat(8, 1fr);
  pointer-events:none;
}


/* labels */
.rsv2-range-labels{
  display:flex;
  justify-content:space-between;
  font-size:12px;
  margin-top:8px;
  color:#111;
}

 .rsv2-range-mid{
  text-align:center;
  flex:1;
  opacity:.75;
}
.rsv2-range-mid.on{ opacity:1; font-weight:700; font-size:1.2em;}



/* ===============================
   FINAL: RSV2 Slider (0~7) 정렬 fix
   - 트랙/틱/썸(thumb) 기준을 "같은 좌표계"로 맞춤
   - 양끝은 thumb/2 만큼 여유를 주고, 틱은 트랙 시작/끝에 딱 위치
   =============================== */
.rsv2-scale--slider{
  --thumb: 30px;   /* 핸들 크기 */
  --track: 1px;    /* 선 두께 */
  --dot: 5px;      /* 틱(점) 크기 */
  width: 100%;
}

.rsv2-scale--slider .rsv2-range-wrap{
  position: relative;
  width: 100%;
  height: var(--thumb);
  display: flex;
  align-items: center;

  /* ✅ 양끝 여유 = thumb/2
     -> 트랙 시작/끝과 1번/8번 틱이 같은 좌표가 됨 */
  padding: 0 calc(var(--thumb) / 2);
  box-sizing: border-box;
}

/* ✅ range는 wrap 안에서 100% (왼쪽 보정/확장 제거) */
.rsv2-scale--slider .rsv2-range{
  flex: 1 1 auto;
  width: 100%;
  margin: 0;
  padding: 0;

  position: relative;
  left: 0 !important;         /* ✅ 이전 left 보정 무력화 */
  background: transparent !important;

  -webkit-appearance: none;
  appearance: none;
  outline: none;

  touch-action: pan-x;
  -webkit-tap-highlight-color: transparent;
  z-index: 999;
}

/* 트랙 */
.rsv2-scale--slider .rsv2-range::-webkit-slider-runnable-track{
  height: var(--track);
  background: #999;
  border-radius: 999px;
}
.rsv2-scale--slider .rsv2-range::-moz-range-track{
  height: var(--track);
  background: #999;
  border-radius: 999px;
}

/* thumb (트랙 중앙 정렬) */
.rsv2-scale--slider .rsv2-range::-webkit-slider-thumb{
  -webkit-appearance: none;
  appearance: none;
  width: var(--thumb);
  height: var(--thumb);
  border-radius: 50%;
  background: #333;
  border: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,.18);
  cursor: pointer;


  margin-top: calc((var(--track) - var(--thumb)) / 2);
}
.rsv2-scale--slider .rsv2-range::-moz-range-thumb{
  width: var(--thumb);
  height: var(--thumb);
  border-radius: 50%;
  background: #333;
  border: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,.18);
  cursor: pointer;

}

/* ✅ ticks는 "트랙과 동일한 가로 영역"에 8등분 */
.rsv2-scale--slider .rsv2-ticks {
position: absolute;
    left: calc(var(--thumb) / 2);
    right: calc(var(--thumb) / 2);
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    grid-template-columns: repeat(8, 1fr);
    pointer-events: none;
    justify-content: space-around;
    gap: 70px;

}


@media (max-width: 768px){

.rsv2-scale--slider .rsv2-ticks {
display: none;
}


}



.rsv2-scale--slider .rsv2-ticks span{
  border-radius: 50%;

  justify-self: center;
  z-index:99;
}

/* ✅ range는 전역 input:focus 링 제외 */
input[type="range"]:focus,
input[type="range"]:focus-visible{
  border-color: transparent !important;
  box-shadow: none !important;
  outline: none !important;
}



.rsv2-emailedit-desc{
  display: block;
  text-align: center;
  padding:20px 0px 10px;

}

.rsv2-emailedit-input{
  padding:20px 0px 40px;
}


.rsv2-emailedit-btns{

  text-align: center;
  padding:0px 0px 20px;

}





.end_cmt{
  margin:30px auto;text-align:center;
}



.q_cmt{
  display: block;
  padding-top:15px;
}


.rsv2-btn2.sm {
  padding: 10px 20px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  letter-spacing: -0.2px !important;
  height: 36px !important;
}






.rsv2-help-close i {
  pointer-events: none;
}




.rsv2-row.rsv2-consent{
  display:flex;
  gap:10px;
  align-items:center;
}
.rsv2-consent-label{
  flex:1;
}





/* 모바일 *****************************/


@media (max-width: 768px){

.rsv2-row {
    margin: 20px 0px;
}
.rsv2-desc {
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.3;
    text-align: center;
    padding-top: 0px;
    padding-bottom: 10px;
    word-break: keep-all;
}

  .rsv2-qitem .rsv2-q{font-size:0.8em;}

.rsv2-survey-modal .brand-bi {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 12px;
}


.rsv2-survey-modal .brand-bi img {
    max-width: 100px;
    max-height: 100px;
    object-fit: contain;
    display: block;
}

.end_cmt {
    word-break: keep-all;
    margin: 20px auto 30px;
    text-align: center;
    font-size: 0.9em;
}

}


.rsv2-scale--slider.is-unset .rsv2-range-mid{ opacity:.75; }

/* ✅ 미참여 상태 */
.rsv2-scale--slider.is-unset .rsv2-range::-webkit-slider-thumb{
  background:#bbb;
  box-shadow:0 0 0 2px #bbb;
}

.rsv2-scale--slider.is-unset .rsv2-range::-moz-range-thumb{
  background:#bbb;
  box-shadow:0 0 0 2px #bbb;
}



/* ✅ 슬라이더 하단 라벨: 항상 정확히 중앙 정렬(미참여/점수) */
.rsv2-range-labels{
  position: relative;
  display: block !important;   /* flex 영향 제거 */
  width: 100%;
  min-height: 26px;            /* 라벨 높이 확보 */
  margin-top: 8px;
}

/* 좌측/우측 문구는 끝으로 고정 */
.rsv2-range-labels > span:first-child{
  position: absolute;
  left: 0;
  top: 0;
  white-space: nowrap;
}
.rsv2-range-labels > span:last-child{
  position: absolute;
  right: 0;
  top: 0;
  white-space: nowrap;
}

/* 가운데(미참여/점수)는 진짜 중앙 고정 */
.rsv2-range-mid{
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  white-space: nowrap;
  text-align: center;
  margin: 0 !important;        /* 혹시 남아있는 margin 제거 */
}








/* ✅ 틱 클릭 영역 확장(보이는 점 크기는 그대로) */
.rsv2-ticks span{
  position: relative;
  width:30px;
  height:30px;
  display:inline-block;
  cursor:pointer;
}


/* ===== 틱 클릭 UX 개선(PC) ===== */
.rsv2-range-wrap{ position: relative; }

/* ticks를 트랙 위 레이어로 올림 */
.rsv2-ticks{
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;               /* ✅ range보다 위 */
  pointer-events: none;     /* ✅ 기본은 통과 */
}

/* 각 틱은 클릭 가능 + 영역 크게 */
.rsv2-ticks span{
  pointer-events: auto;     /* ✅ 얘만 클릭 받기 */
  cursor: pointer;          /* ✅ 손모양 */
  display: block;
  width: 40px;              /* ✅ 클릭 영역 */
  height: 40px;
  border-radius: 50%;
}

/* 실제 보이는 점은 가운데 작은 점 */
.rsv2-ticks span::after{
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 6px;
  height: 6px;
  transform: translate(-50%,-50%);
  border-radius: 50%;
  background: #999;
}

/* hover 때 살짝 강조(PC) */
@media (hover:hover){
  .rsv2-ticks span:hover::after{
    transform: translate(-50%,-50%) scale(1.35);
  }
}

/* range가 ticks 아래로 가도록(겹침 방지) */
.rsv2-range{
  position: relative;
  z-index: 3;
}





/* === Agree UI (스크샷 스타일) === */
.agree-wrap{ margin-top:8px; }
.agree-all{
  padding:10px 0 12px;

  font-weight:700;
}
.agree-list{ list-style:none; padding:0; margin:0; }
.agree-list li{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:10px 0;

}
.agree-list li:last-child{ border-bottom:none; }
.agree-list label{
  display:flex;
  align-items:center;
  gap:8px;
  line-height:1.3;
}
.agree-list input[type="checkbox"]{ width:18px; height:18px; }
.agree-view{
  white-space:nowrap;
  font-size:13px;
  text-decoration:underline;
  opacity:.8;
}


a.agree-view{
  color:#000;
  font-weight:500;
}


/* ✅ 전문보기 레이어가 항상 화면 위에 뜨도록 */
.agree-layer{
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
}
.agree-layer.is-open{ display:block; }

.agree-layer .agree-layer-inner{
  position:absolute;
  inset:0;

  /* 어두운 배경 */
  background: rgba(0,0,0,0.45);

  /* 블러 효과 */
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);

  display:flex;
  align-items:center;
  justify-content:center;
  padding:20px;
}

.agree-layer .sheet_agree{
  position: relative;
  width: min(920px, 100%);
  max-height: 80vh;
  overflow:auto;

  background:#fff;
  border-radius:14px;
  padding:30px 40px;

  box-shadow: 0 25px 60px rgba(0,0,0,.35);
}

.agree-layer .sheet_agree h1{
  font-size: 1.3em;
}

.agree-layer table{
  width:100%;
  border-collapse: collapse;
  border-spacing:0;
}

.agree-layer .sheet_agree th,
.agree-layer .sheet_agree td{
  border:1px solid #e6e6e6;
  padding:10px;
  text-align: center;
  line-height: 1.5;
}

.agree-layer .sheet_agree th{
  background:#f7f7f7;
  font-weight:600;
}






/* 100% 동일한 커스텀 체크박스 */
.agree-wrap input[type="checkbox"]{
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  margin: 0;
  border: 1.5px solid #bfc5cc;
  border-radius: 3px;
  background: #fff;
  display: inline-grid;
  place-content: center;
  box-sizing: border-box;
  cursor: pointer;
}

.agree-wrap input[type="checkbox"]::before{
  content: "";
  width: 10px;
  height: 10px;
  transform: scale(0);
  transition: transform .12s ease;
  background: #6b5cff;          /* 체크 표시 색(원하시면 바꿔드림) */
  clip-path: polygon(14% 44%, 0 60%, 40% 100%, 100% 20%, 84% 6%, 40% 74%);
}

.agree-wrap input[type="checkbox"]:checked{
  border-color: #6b5cff;
}

.agree-wrap input[type="checkbox"]:checked::before{
  transform: scale(1);
}

/* 라벨 정렬 */
.agree-wrap label{
  display:flex;
  align-items:center;
  gap:8px;
  line-height:1.3;
}


/* ✅ 항목 전체(라벨+전문보기) 행 높이/정렬 통일 */
.agree-list li{
  display:flex;
  align-items:flex-start;   /* <- 중요: 위 기준으로 맞춤 */
  justify-content:space-between;
  gap:12px;
}

/* ✅ 라벨 내부도 위 기준으로 정렬 + 줄바꿈 자연스럽게 */
.agree-list li > label{
  display:flex;
  align-items:flex-start;   /* <- 중요 */
  gap:10px;
  flex: 1 1 auto;
  min-width: 0;             /* <- 긴 텍스트 줄바꿈 필수 */
  line-height: 1.35;        /* 통일 */
}

/* ✅ 텍스트가 길면 줄바꿈되게 */
.agree-list li > label{
  white-space: normal;
  word-break: keep-all;
      font-size: 0.9em;  /* 한글 보기 좋게 */
}

/* ✅ 체크박스는 줄바꿈/폰트 영향 안 받도록 고정 */
.agree-wrap input[type="checkbox"]{
  flex: 0 0 18px;
  margin-top: 2px;          /* 텍스트 첫줄과 시각적 정렬 */
}


/* 모달 닫기 버튼 */

.agree-close{
  position:absolute;
  top:12px;
  right:18px;

  width:32px;
  height:32px;

  border:0;
background-color: #fff !important;
  border-radius:50%;
  font-size:24px;
  line-height:32px;
  text-align:center;
  cursor:pointer;
}


/* 클릭 시 눌림 효과 제거 */
.agree-close:active{
  transform:none !important;

  box-shadow:none !important;
}

/* 포커스 테두리 제거 */
.agree-close:focus{
  outline:none !important;
  box-shadow:none !important;
}

/* 클릭 후 포커스 유지도 제거 */
.agree-close:focus-visible{
  outline:none !important;
}


.re_cmt{
  margin:10px 0 18px;
  padding:12px 14px;

  font-size:0.9rem;
  line-height:1.55;

  color:#5a5a5a;
  background:#f7f8f7;


  border-radius:6px;
}

.re_cmt p{
  margin:4px 0;
  padding-left:22px;
  position:relative;
  font-size:0.9rem;
  line-height:1.5;
  color:#555;
}

.re_cmt p::before{
  content:"•";
  position:absolute;
  left:0;
  top:0;
  color:#1f6b45;
  font-size:14px;
}




.ntc_title {
    color: #1f6b45;
    font-weight: 800;
    width: fit-content;
    margin: 35px auto 25px;
    padding-bottom: 3px;
    font-size: 1.4em;
    border-bottom: 1px solid #1f6b45;
}

.ntc_text h2{
  color:#000;
  font-weight:800;
  font-size:1.1em;
}

.ntc_text .ntc_info{
color: #1f6b45;
    font-weight: 800;
    font-size: 0.9em;
    line-height: 1.3;
    margin-bottom: 30px;
    margin-top: 20px;
}








      #center{
        position:relative;
      }

.rsv2-toast{
  position: fixed;
  top: 90px;
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  min-width: 260px;
  max-width: min(82vw, 520px);
  padding: 14px 18px;
  border-radius: 0px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  color: #fff;
  box-shadow: 0 12px 30px rgba(0,0,0,.18);
  z-index: 99999;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
  text-align: center;
}

.rsv2-toast.show{
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.rsv2-toast.ok{
  background: #198754;
}

.rsv2-toast.err{
  background: #000;
}