/* =========================================================
   /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-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 .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; }
.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;
  font-size:22px;
  line-height:1;
  cursor:pointer;
}

.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;
}


/* =========================================================
   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;
}

.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]),
.btn,
.rsv2-btn,
.rsv2-btn2 {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 12px 28px;
  border-radius: 999px;
  border: none;

  background: #0f5132;
  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]):hover,
.btn:hover,
.rsv2-btn:hover,
.rsv2-btn2:hover {
  background: #0c4329;
  box-shadow: 0 6px 14px rgba(0,0,0,.18);
}

button:not(.rsv2-item-select):not(.fancybox-button):not([data-fancybox-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;
  color: #0f5132;

  border: 1px solid #0f5132;
  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;

  box-shadow: 0 6px 14px rgba(15, 81, 50, 0.25);
}
.rsv2-btn2.outline:active {
  transform: translateY(1px);
  box-shadow: 0 3px 8px rgba(15, 81, 50, 0.3);
}
.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: #0f5132;
  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;
}




