﻿/* 기본 설정 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    height: 100%;
    overflow-y: auto;
    /* 전역 스크롤 허용 */
    overflow-x: auto;
}

/* 메뉴가 열려서 스크롤이 사라질 때, 강제로 오른쪽 여백을 주어 밀림 방지 */
body.x-no-scroll {
    padding-right: 17px; /* 윈도우 스크롤바 평균 너비 */
    overflow: hidden;
}

body {
    font-family: 'Pretendard Variable', 'Noto Sans KR', sans-serif;
    background-color: #f5f5f5;
    color: #333;

    /* Flexbox 중앙 정렬 */
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}
:root[data-menu]{
    --menu-bg:#ffffff;
    --menu-muted:#9aa0a6;
    --menu-divider:#e9ecef;
    --menu-accent:#ffb000;
    --menu-font:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'Noto Sans KR','Helvetica Neue',Arial;
  }
  a{text-decoration:none;color:inherit;border-radius:0}
	.x-dim{position:fixed;inset:0;background:rgba(0,0,0,0.1);z-index:9999998;opacity:0;pointer-events:none;transition:opacity .22s ease}
  .x-dim.is-show{opacity:1;pointer-events:auto}
	.x-drawer{position:fixed;top:0;right:0;height:100%;width:420px;max-width:90%;background:var(--menu-bg, #ffffff);box-shadow:-8px 0 28px rgba(30,30,40,0.08);transform:translateX(110%);transition:transform .28s cubic-bezier(.2,.9,.3,1);display:flex;flex-direction:column;font-family:var(--menu-font, -apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'Noto Sans KR','Helvetica Neue',Arial);z-index:9999999;overflow:hidden}
  .x-drawer.is-open{transform:translateX(0)}

  .x-drawer-close{position:absolute;top:10px;right:18px;width:36px;height:36px;display:flex;align-items:center;justify-content:center;background:transparent;border:none;border-radius:0;cursor:pointer;z-index:10}
  .x-drawer-close i{font-size:28px;color:#333;transition:background 0.2s ease}
  .x-drawer-close:hover i{background:none}

  .x-drawer-nav{padding:12px 0 8px 0;flex:1;overflow:auto}
  .x-drawer a{text-decoration:none;color:inherit;border-radius:0}
  .x-drawer .item{display:flex;align-items:center;gap:14px;padding:14px 18px;border-bottom:1px solid var(--menu-divider, #e9ecef);font-size:14px;transition:background 0.2s ease;border-radius:0}
  .x-drawer .item:hover{background:#f2f3f5;border-radius:0}
  .x-drawer .item:last-child{border-bottom:1px solid var(--menu-divider, #e9ecef)}
  .x-drawer .item i{font-size:22px;color:#555;min-width:28px;text-align:center}
  .x-drawer .label{flex:1;color:#222}
  .x-drawer .chev{font-size:18px;color:#999}
  .x-drawer .divider-line{height:10px;background:#f6f7fb;border-top:1px solid var(--menu-divider, #e9ecef);border-bottom:1px solid var(--menu-divider, #e9ecef)}
  .x-drawer .bottom{padding:12px 18px;border-top:1px solid var(--menu-divider, #e9ecef);display:flex;align-items:center;justify-content:space-between}
  .x-drawer .info-edit{display:flex;align-items:center;gap:8px;color:#333;font-size:15px;border-radius:0}
  .x-drawer .info-edit:hover{color:#007aff}
  .x-drawer .logout{color:#666;font-size:15px;border-radius:0}

  .x-userbox{padding:16px 20px 14px;border-bottom:1px solid #f3f4f6;}
  .x-userbox *{box-sizing:border-box;font-family:'Pretendard Variable','Noto Sans KR',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif;}
  .x-user-inline{display:flex;align-items:center;gap:12px;}
  .x-avatar{width:40px;height:40px;border-radius:999px;background:#690f24;color:#fff;font-weight:800;font-size:18px;display:flex;align-items:center;justify-content:center;}
  .x-avatar-guest{background:#e5e7eb;color:#6b7280;font-size:18px;}
  .x-user-meta{flex:1;display:flex;flex-direction:column;gap:1px;}
  .x-user-row{display:flex;align-items:center;gap:6px;}
  .x-username{margin:0;font-size:15px;font-weight:700;color:#111827;}
  .x-admin span{display:inline-flex;align-items:center;padding:2px 8px;border-radius:999px;font-size:11px;background:#111827;color:#fff;}
  .x-verify-row{display:flex;align-items:center;gap:6px;font-size:11px;}
  .x-cert-badge{display:inline-flex;align-items:center;padding:3px 8px;border-radius:999px;font-weight:500;}
  .x-cert-ok{background:#ecfdf3;color:#15803d;}
  .x-cert-warn{background:#fef2f2;color:#b91c1c;}
	.x-cert-btn{display:inline-flex;align-items:center;gap:4px;padding:5px 12px;border-radius:999px !important;font-size:11.5px;font-weight:600;background:#f3f4f6;border:1px solid #e5e7eb;color:#374151;text-decoration:none;line-height:1;}
	.x-cert-btn i{font-size:15px !important;}
  .x-user-point{margin-top:10px;padding:8px 10px;border-radius:12px;background:#f9fafb;display:flex;align-items:center;justify-content:space-between;font-size:12px;color:#4b5563;}
  .x-point-label{font-weight:500;}
  .x-point-value{font-size:14px;font-weight:800;color:#111827;}


  

.doc-tab-wrap{display:flex;gap:8px;flex-wrap:wrap;padding:0 0 14px;margin-bottom:10px}
.doc-tab{flex:1 1 calc(25% - 8px);display:inline-flex;align-items:center;justify-content:center;gap:5px;padding:9px 6px;border:1px solid #eee;border-radius:999px;background:#fff;color:#555;font-size:13px;font-weight:600;text-decoration:none;white-space:nowrap}
.doc-tab i{font-size:16px;color:#555}
.doc-tab.active{background:#ffeef5;border-color:#ffb7d1;color:#e83e8c}
.doc-tab.active i{color:#e83e8c}
.doc-guide-card{background:#fff;border:1px solid #eee;border-radius:16px;padding:18px;margin-bottom:16px}
.doc-guide-title{font-size:17px;font-weight:700;margin-bottom:8px}
.doc-guide-desc{font-size:14px;color:#555;line-height:1.6;margin-bottom:14px}
.doc-list{display:flex;flex-direction:column;gap:10px}
.doc-item{display:flex;gap:10px;align-items:flex-start;padding:12px;border-radius:12px;background:#fafafa;border:1px solid #f0f0f0}
.doc-num{min-width:24px;height:24px;border-radius:50%;background:#690f24;color:#fff;font-size:12px;font-weight:700;display:flex;align-items:center;justify-content:center}
.doc-text strong{display:block;font-size:14px;margin-bottom:3px}
.doc-text span{display:block;font-size:13px;color:#666;line-height:1.5}
.doc-notice{margin-top:14px;padding:12px;border-radius:12px;background:#fff5f8;color:#d6336c;font-size:13px;line-height:1.5}
.doc-img-box{margin-top:10px;width:90%;border:1px solid #eee;border-radius:10px;overflow:hidden;background:#fff}
.doc-img-box img{display:block;width:100%;height:auto}


/*카드 할부안내*/
.installment-wrap{ padding:18px 0 32px; letter-spacing:-0.7px; }
.installment-title{ margin:0 0 14px; font-size:22px; font-weight:800; color:#111827; }
.installment-desc{ margin:0 0 18px; padding:15px 16px; border-radius:16px; background:#f8fafc; border:1px solid #edf2f7; color:#475569; font-size:14px; line-height:1.55; }

.installment-table{ width:100%; border-collapse:separate; border-spacing:0; background:#fff; border:1px solid #edf2f7; border-radius:18px; overflow:hidden; }
.installment-table thead th{ padding:14px 12px; background:#f8fafc; color:#475569; font-size:13px; font-weight:800; text-align:center; border-bottom:1px solid #edf2f7; }
.installment-table tbody tr{ background:#fff; }
.installment-table tbody tr + tr td{ border-top:1px solid #f1f5f9; }
.installment-table tbody td{ padding:16px 12px; vertical-align:middle; font-size:14px; }

.card-name-box{ display:flex; align-items:center; gap:11px; min-width:120px; }

.card-logo{ width:40px; height:40px; border-radius:14px; background:#fff; border:1px solid #edf2f7; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.card-logo img{ max-width:28px; max-height:28px; display:block; }

.card-name{ font-size:14px; font-weight:800; color:#111827; white-space:nowrap; }
.free-month{ display:inline-flex; align-items:center; justify-content:center; min-width:72px; padding:7px 11px; border-radius:999px; background:#ffeef5; color:#c2185b; font-weight:800; font-size:13px; }
.partial-text{ color:#334155; line-height:1.6; text-align:center; word-break:keep-all; font-size:12px; }
.empty-text{ color:#cbd5e1; font-weight:700; }
.installment-notice{ margin-top:14px; padding:15px 16px; border-radius:16px; background:#fff; border:1px solid #edf2f7; color:#64748b; font-size:13px; line-height:1.65; }

.installment-table{ width:100%; table-layout:fixed; border-collapse:separate; border-spacing:0; background:#fff; border:1px solid #edf2f7; border-radius:18px; overflow:hidden; }



/* 섹션이 레이어를 자르지 않도록 */
.addr-section { overflow: visible; }

/* 상세주소 input 바로 아래 레이어 */
.addr-box { position: relative; }

.postcode-layer {
  position: relative;
  top: calc(100% + 6px); /* 상세주소 인풋 하단 기준 */
  left: 0;
  width: 100%;
  height: 530px;                /* ✅ 요구사항 */
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  display: none;
  overflow: hidden;
  z-index: 30;
}

.postcode-layer.active { display: block; }

.postcode-layer .layer-header {
  height: 48px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 12px;
  border-bottom: 1px solid #eee;
  font-weight: 600;
}

.layer-close { font-size:14px; }
#postcodeContainer { height: calc(100% - 48px); }

.cert_wrap{max-width:520px;margin:0 auto;}

.cert_alert{border:1px solid #ffd1df;background:#fff0f5;border-radius:16px;padding:14px;margin-top:15px;}
.cert_alert_desc{margin-top:6px;font-size:12px;color:#e11d48;font-weight:600;}

.cert_card { margin-top:14px; border:1px solid #eee; border-radius:16px; background:#fff; padding:16px; }
.cert_step_sub { margin-top:6px; color:#9aa0a6; }

.cert_input{width:100%;height:46px;border-radius:14px;border:1px solid #eee;padding:0 14px;font-size:14px;background:#fff;}
.cert_input:focus{outline:none;border-color:#ff2d7a;}

.cert_input_disabled { width:100%; height:46px; border-radius:14px; border:1px solid #eee; padding:14px; background:#f9f9f9; text-align:center; }
.cert_input_disabled::placeholder{color:#000;}

.cert_btn_outline { width:100%; height:44px; margin-top:12px; border:1.5px solid #690f245c; border-radius:999px; padding:13px; background:#fff; color:#111827; display:flex; align-items:center; justify-content:center; gap:8px; transition:.2s; cursor:pointer; }
.cert_btn_outline:hover{background:#f3f4f6;}
.cert_btn_outline i{font-size:20px;}

.cert_btn_main{width:100%;border:0;border-radius:999px;padding:16px;font-weight:900;font-size:15px;color:#fff;background:#690f24;cursor:pointer;margin-top:20px;}

.cert_select_box{width:100%;height:46px;border-radius:14px;border:1px solid #eee;padding:0 14px;display:flex;align-items:center;justify-content:center;background:#fff;cursor:pointer;font-size:14px;}
.cert_select_box:hover{border-color:#ffd1df;background:#fafafa;}
.cert_select_text{color:#9aa0a6;}
.cert_select_box i{font-size:20px;color:#9aa0a6;}


/* ===== 은행 모달 전용 ===== */
.x-bank-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;           /* 기존 것보다 위로 */
  pointer-events: none;    /* 기본은 클릭 안 되게 */
  display: block;          /* display:none 으로 안 가게 고정 */
}

.x-bank-modal[aria-hidden="true"] {
  opacity: 0;
  visibility: hidden;
}

.x-bank-modal.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* 배경 */
.x-bank-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.35);
}

/* 바닥 시트 (모바일 스타일) */
.x-bank-sheet {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);   /* 중앙 정렬 핵심 */
  width: min(460px, 92vw);
  max-height: 80vh;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0,0,0,.16);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* 헤더 */
.x-bank-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid #eee;
}

.x-bank-title {
  font-weight: 700;
  font-size: 15px;
}

.x-bank-close {
  background: transparent;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  cursor: pointer;
}

/* 바디 */
.x-bank-body {
  padding: 12px 16px 16px;
  overflow-y: auto;
}

/* 작은 화면에서 전체 덮게 하고 싶으면 */
@media (max-width: 540px) {
  .x-bank-sheet {
    width: 100%;
    max-height: 80vh;
  }
}



/* 은행 칩 */
.bank-list { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; padding:8px 0; overflow:visible; }
.bank-item {
  display:flex; align-items:center; justify-content:center; gap:8px;
  height:40px; padding:0 10px;
  border:1px solid #e5e7eb; border-radius:9999px; background:#fff;
  cursor:pointer; transition:transform .08s, box-shadow .12s, background .12s, border-color .12s;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
.bank-item:hover{ background:#f9fafb; box-shadow:0 2px 8px rgba(0,0,0,.06); transform:translateY(-1px); }
.bank-item.selected{ border-color:#690f24; background:#690f24; }
.bank-item.selected span{color: #fff;}
/* 아이콘(원형 아바타) */
.bn-avatar {
  width:22px; height:22px; border-radius:9999px; flex:0 0 22px;
  display:inline-flex; align-items:center; justify-content:center;
  background:#f3f4f6; font-size:12px; font-weight:700; color:#374151; overflow:hidden;
}
.bn-avatar img{ width:100%; height:100%; object-fit:contain; display:block; }

/* 텍스트 */
.bn-title { font-weight:600; font-size:14px; line-height:1; color:#333; }

/* 우편번호 레이어보다 은행 모달이 위에 오도록 */
.postcode-layer{ z-index:30; }

/* 필드 에러 메시지 */
.field-error { margin-top:6px; font-size:12px; font-weight:700; color:#ef4444; }
.has-error { border-color:#ef4444 !important; }

/* 수정모드 계약유형 고정 표시 */
.ct-locked { opacity:.88; }


/* 스코프 전용: 테마 변수 + 리셋 + 컨테이너 바디역할 */
.login_shell{
	/* 테마 토큰 */

	--text:#0f172a;
	--muted:#6b7280;
	--line:#e5e7eb;
	--kakao:#FEE500;
	--naver:#04be35;
	--pink:#ff4d7e; /* ONE */
	--pink-700:#ff2a6b;
	--btn-grad-start:#ff52d0;
	--btn-grad-end:#ff6aa6;
	--focus:#2563eb;

	/* body 대체 */
	min-height:100svh;
	margin:0;
	background:var(--bg);
	color:var(--text);
	font-family:"Pretendard Variable", "Noto Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

	/* 레이아웃 루트 */
	display:block;
}
.login_shell *{ box-sizing:border-box }

/* Layout */
.login_wrap{min-height:100%;display:flex;justify-content:center}
.login_phone{width:100%;max-width:430px;min-height:100svh;padding:15px 20px 24px;display:flex;flex-direction:column;gap:24px}

/* Header */
.login_brand{margin-top:8px;text-align:center}
.login_brand_inner{display:inline-flex;align-items:center;justify-content:center;gap:8px}
.login_tag{margin-top:10px;color:#4b5563;font-size:14px}

/* SSO buttons */
.login_btn{
    width:100%;
    border-radius:999px;
    border:0;
    padding:16px 18px;
    font-size:18px;
    font-weight:800;
    cursor:pointer;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:12px;
    transition:transform .04s ease;
    position:relative; /* ★ 추가 */
}


/* 태그 및 타이틀 스타일 */
.xwap_tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
}

.xwap_tag {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #690f24;
  color: #690f24;
  padding: 8px 16px;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 400;
  transition: all 0.3s ease;
  cursor: pointer;
}

.xwap_tag:hover {
  background: #690f24;
  color: white;
  transform: translateY(-2px);
}

.xwap_title-sub {
  font-size: 2.2rem;
  color: #333;
  font-weight: 300;
  letter-spacing: -2px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.xwap_title-main {
  font-size: 3rem;
  font-weight: 700;
  color: #000000;
  letter-spacing: -2px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.xwap_desc {
  color: #666;
  font-size: 1rem;
  line-height: 1.6;
  letter-spacing: -1px;
  margin-bottom: 30px;
  font-weight: 300;
}


.withdraw-wrap *{
    box-sizing:border-box;
    font-family:'Pretendard Variable','Noto Sans KR',sans-serif;
  }
  
  .withdraw-wrap{
    max-width:600px;
    margin:0 auto;
    padding:20px 0px 40px;
  }
  
  /* 제목 */
  .withdraw-title{
    font-size:17px;
    font-weight:700;
    margin-bottom:6px;
    color:#111827;
  }
  .withdraw-sub{
    font-size:13px;
    color:#6b7280;
    margin-bottom:20px;
    line-height:1.5;
  }
  
  /* 안내 */
  .withdraw-alert{
    background:#fef2f2;
    border:1px solid #fecaca;
    padding:12px;
    border-radius:10px;
    margin-bottom:22px;
    font-size:12px;
    color:#b91c1c;
    line-height:1.4;
  }
  .withdraw-alert b{
    display:block;
    margin-bottom:6px;
  }
  
  /* 섹션 타이틀 */
  .section-title{
    font-size:15px;
    font-weight:700;
    margin-bottom:6px;
  }
  .section-help{
    font-size:12px;
    color:#9ca3af;
    margin-bottom:12px;
  }
  
  /* 라디오 그룹 */
  .reason-group{
    display:flex;
    flex-direction:column;
    gap:10px;
    margin-bottom:12px;
  }
  .reason-item{
    display:flex;
    align-items:center;
    gap:8px;
    font-size:13px;
    cursor:pointer;
  }
  .reason-item input{
    width:18px;
    height:18px;
  }
  
  /* 기타 사유 */
  .reason-etc textarea{
    width:100%;
    min-height:70px;
    border:1px solid #e5e7eb;
    border-radius:8px;
    padding:8px;
    font-size:13px;
    resize:vertical;
    margin-bottom:16px;
  }
  .reason-etc textarea:focus{
    border-color:#f97373;
    outline:none;
  }
  
  /* 동의 */
  .confirm-box{
    display:flex;
    gap:8px;
    align-items:flex-start;
    background:#f3f4f6;
    padding:0;
    border-radius:10px;
    margin-bottom:18px;
  }
  .confirm-checkbox{
    width:16px;
    height:16px;
  }
  .confirm-text{
    font-size:13px;
    line-height:1.4;
  }
  
  /* 버튼 */
  .btn-row{
    margin-top:10px;
    display:flex;
    gap:10px;
  }
  .btn-row button{
    flex:1;
    border:none;
    border-radius:10px;
    padding:12px 0;
    font-size:14px;
    font-weight:600;
      cursor:pointer;
  }
  .btn-cancel{
    background:#e5e7eb;
    color:#374151;
  }
  .btn-submit{
    background:#690f24;
    color:#fff;
  }
  
  /* 비밀번호 모달 */
  .leave-modal-dim{
    display:none;
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.5);
    z-index:9999;
  }
  .leave-modal{
    position:absolute;
    left:50%;
    top:50%;
    transform:translate(-50%,-50%);
    background:#fff;
    border-radius:12px;
    padding:16px 16px 14px;
    width:90%;
    max-width:360px;
    box-shadow:0 10px 30px rgba(15,23,42,0.25);
  }
  .leave-modal-title{
    margin:0 0 8px;
    font-size:16px;
    font-weight:700;
    color:#111827;
  }
  .leave-modal-desc{
    margin:0 0 12px;
    font-size:13px;
    color:#6b7280;
  }
  .leave-modal-input{
    width:100%;
    border:1px solid #e5e7eb;
    border-radius:8px;
    padding:8px 10px;
    font-size:13px;
    margin-bottom:12px;
  }
  .leave-modal-btns{
    display:flex;
    gap:8px;
    justify-content:flex-end;
  }
  .leave-modal-btns button{
    border:none;
    border-radius:8px;
    padding:8px 12px;
    font-size:13px;
    font-weight:600;
    cursor:pointer;
  }
  .leave-modal-cancel{
    background:#ffffff;
    border:1px solid #e5e7eb;
    color:#374151;
  }
  .leave-modal-ok{
    background:#ef4444;
    color:#ffffff;
  }



/* 공통 myinfo 스타일 (3개 파일에서 가져온 것 합침) */
.myinfo-wrap{
    max-width:768px;
    margin:0 auto 32px;
    font-family:'Pretendard Variable',system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Arial,sans-serif;
  }
  .myinfo-title{
    margin:0;
    padding:10px 0 16px;
    font-size:20px;
    font-weight:700;
  }
  .myinfo-card{
    background:#ffffff;
    border-radius:18px;
    border:1px solid #eef1f4;
    box-shadow:0 5px 10px rgba(15,23,42,.08);
    overflow:hidden;
  }
  .myinfo-list{list-style:none;margin:0;padding:0;}
  .myinfo-item{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:14px 16px;
    border-bottom:1px solid #f3f4f6;
  }
  .myinfo-item:last-child{border-bottom:none;}
  .myinfo-label{
    font-size:14px;
    color:#4b5563;
    font-weight:600;
  }
  .myinfo-right{
    display:flex;
    align-items:center;
    gap:8px;
    font-size:14px;
  }
  .myinfo-value{
    color:#111827;
    font-weight:500;
  }
  .myinfo-value-muted{
    color:#9ca3af;
    font-weight:400;
  }
  .myinfo-badge{
    display:inline-flex;
    align-items:center;
    padding:2px 8px;
    border-radius:999px;
    font-size:11px;
    font-weight:600;
    border:1px solid #fee2e2;
    color:#b91c1c;
    background:#fef2f2;
  }
  .myinfo-badge.ok{
    border-color:#bbf7d0;
    color:#166534;
    background:#ecfdf3;
  }
  .action-btn{
    padding:4px 10px;
    border-radius:999px;
    border:1px solid #e5e7eb;
    background:#f9fafb;
    font-size:12px;
    font-weight:600;
    color:#4b5563;
    cursor:pointer;
  }
  .action-btn:hover{
    background:#f3f4f6;
  }
  .myinfo-chevron{
    font-size:18px;
    color:#d1d5db;
  }
  .myinfo-footer{
    margin-top:16px;
    padding:0 4px;
    display:flex;
    flex-direction:column;
    gap:10px;
  }
  .myinfo-submit-btn{
    width:100%;
    border:none;
    border-radius:999px;
    padding:12px 0;
    font-size:15px;
    font-weight:700;
    background:#690f24;
    color:#ffffff;
    cursor:pointer;
  }
  .myinfo-submit-btn:disabled{
    opacity:.5;
    cursor:not-allowed;
  }
  .myinfo-leave{
    text-align:center;
  }
  .myinfo-leave button{
    background:none;
    border:none;
    font-size:13px;
    color:#9ca3af;
    text-decoration:underline;
    cursor:pointer;
  }
  
  /* 이메일 / 비밀번호 모달 공통 */
  .email-modal-dim,
  .pw-modal-dim{
    position:fixed;
    inset:0;
    background:rgba(15,23,42,.35);
    opacity:0;
    pointer-events:none;
    transition:opacity .2s ease;
    z-index:9998;
  }
  .email-modal-dim.show,
  .pw-modal-dim.show{
    opacity:1;
    pointer-events:auto;
  }
  .email-modal,
  .pw-modal{
    position:fixed;
    left:50%;
    top:50%;
    transform:translate(-50%,-50%) scale(.96);
    width:90%;
    max-width:360px;
    background:#ffffff;
    border-radius:18px;
    box-shadow:0 20px 40px rgba(15,23,42,.25);
    padding:18px 18px 16px;
    opacity:0;
    pointer-events:none;
    transition:opacity .2s ease, transform .2s ease;
    z-index:9999;
  }
  .email-modal.show,
  .pw-modal.show{
    opacity:1;
    pointer-events:auto;
    transform:translate(-50%,-50%) scale(1);
  }
  .email-modal-header,
  .pw-modal-header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    margin-bottom:8px;
  }
  .email-modal-title,
  .pw-modal-title{
    font-size:15px;
    font-weight:700;
    color:#111827;
  }
  .email-modal-close-btn,
  .pw-modal-close-btn{
    width:26px;height:26px;border-radius:999px;
    border:none;background:#f3f4f6;
    font-size:16px;font-weight:700;
    cursor:pointer;color:#6b7280;
  }
  .email-modal-desc,
  .pw-modal-desc{
    margin:0 0 10px;
    font-size:13px;
    color:#6b7280;
    line-height:1.5;
  }
  .email-modal-input,
  .pw-modal-input{
    width:100%;
    border-radius:999px;
    border:1px solid #e5e7eb;
    padding:10px 12px;
    font-size:14px;
    margin-bottom:8px;
  }
  .email-modal-actions,
  .pw-modal-actions{
    display:flex;
    gap:8px;
    margin-top:12px;
  }
  .btn-modal-secondary,
  .btn-modal-primary{
    flex:1;
    padding:10px 0;
    border-radius:999px;
    font-size:14px;
    font-weight:600;
    cursor:pointer;
  }
  .btn-modal-secondary{
    background:#f9fafb;
    color:#4b5563;
    border:1px solid #e5e7eb;
  }
  .btn-modal-primary{
    background:#690f24;
    color:#ffffff;
    border:1px solid #690f24;
  }
  
  /* 이메일 중복 안내 문구 */
  #msg_mb_id{
    display:block;
    margin-top:6px;
    font-size:12px;
    line-height:1.4;
  }
  #msg_mb_id.ok{
    color:#16a34a; /* 등록가능한 이메일 */
  }
  #msg_mb_id.err{
    color:#dc2626; /* 이미 등록된 이메일 */
  }
  
  /* 이메일 중복 안내 문구 */
  #msg_mb_id{
    display:block;
    margin-top:6px;
    font-size:12px;
    line-height:1.4;
    color:#6b7280; /* 기본 안내색 */
  }
  #msg_mb_id.ok{
    color:#16a34a; /* 등록가능한 이메일 */
  }
  #msg_mb_id.err{
    color:#dc2626; /* 이미 등록된 이메일 */
  }
  


/* ========== Right Drawer (전체 메뉴) ========== */
body.x-no-scroll {
  overflow: hidden;
}

.xwap_dim {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .4);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
  z-index: 2000;
}

.xwap_dim.is-show {
  opacity: 1;
  pointer-events: auto;
}

.xwap_drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(360px, 90vw);
  height: 100vh;
  background: #fff;
  box-shadow: -8px 0 20px rgba(0, 0, 0, .1);
  transform: translate3d(100%, 0, 0);
  transition: transform .28s ease;
  z-index: 2001;
  display: flex;
  flex-direction: column;
  visibility: hidden;
  pointer-events: none;
}

.xwap_drawer.is-open {
  transform: translate3d(0, 0, 0);
  visibility: visible;
  pointer-events: auto;
}

.xwap_drawer-close {
  position: absolute;
  top: 10px;
  right: 18px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 28px;
  color: #333;
  z-index: 10;
}

.xwap_userbox {
  padding: 16px 20px 14px;
  border-bottom: 1px solid #f3f4f6;
}

.xwap_user-inline {
  display: flex;
  align-items: center;
  gap: 12px;
}

.xwap_avatar {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: #ff4b93;
  color: #fff;
  font-weight: 800;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.xwap_avatar-guest {
  background: #e5e7eb;
  color: #6b7280;
}

.xwap_user-meta {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.xwap_user-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.xwap_username {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: #111827;
}

.xwap_admin span {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  background: #111827;
  color: #fff;
}

.xwap_verify-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
}

.xwap_cert-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 999px;
  font-weight: 500;
}

.xwap_cert-ok {
  background: #ecfdf3;
  color: #15803d;
}

.xwap_cert-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  color: #374151;
  text-decoration: none;
  line-height: 1;
}

.xwap_user-point {
  margin-top: 10px;
  padding: 8px 10px;
  border-radius: 12px;
  background: #f9fafb;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: #4b5563;
}

.xwap_point-value {
  font-size: 14px;
  font-weight: 800;
  color: #111827;
}

.xwap_drawer-nav {
  padding: 10px 8px 20px;
  overflow-y: auto;
  flex: 1;
}

.xwap_item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-bottom: 1px solid #e9ecef;
  font-size: 15px;
  color: #111;
  text-decoration: none;
  transition: background 0.2s ease;
}

.xwap_item:hover {
  background: #f2f3f5;
}

.xwap_item i {
  font-size: 22px;
  color: #555;
  min-width: 28px;
  text-align: center;
}

.xwap_label {
  flex: 1;
  color: #222;
}

.xwap_chev {
  font-size: 18px;
  color: #999;
}

.xwap_divider-line {
  height: 10px;
  background: #f6f7fb;
  border-top: 1px solid #e9ecef;
  border-bottom: 1px solid #e9ecef;
}

.xwap_drawer-bottom {
  padding: 12px 18px;
  border-top: 1px solid #e9ecef;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.xwap_info-edit {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #333;
  font-size: 15px;
  text-decoration: none;
}

.xwap_logout a {
  color: #666;
  font-size: 15px;
  text-decoration: none;
}

/*=================================================================================================
 클릭시 오른쪽 메뉴
==================================================================================================*/
/* ========== Right Drawer (fixed off-canvas) ========== */
body.x-no-scroll { overflow: hidden; }

.x-dim {
position: fixed; inset: 0;
/*background: rgba(0,0,0,.4);*/
opacity: 0; pointer-events: none;
transition: opacity .25s ease;
z-index: 1000;
}

.x-drawer {
position: fixed; top: 0; right: 0;                  /* 필요하면 right:-1px; 로 미세 seam 제거 */
width: min(360px, 90vw); height: 100vh;
background: #fff;
box-shadow: -8px 0 20px rgba(0,0,0,.1);
transform: translate3d(100%, 0, 0);                 /* 화면 밖으로 완전히 */
transition: transform .28s ease;
z-index: 1001;
display: flex; flex-direction: column;

/* 닫힌 상태에서 아예 상호작용/페인트를 막아 가로 스크롤 & 가장자리 노출 방지 */
visibility: hidden;
pointer-events: none;
will-change: transform;
}

.x-drawer.is-open {
transform: translate3d(0, 0, 0);
visibility: visible;             /* 열릴 때만 보이기 */
pointer-events: auto;
}

.x-dim.is-show { opacity: 1; pointer-events: auto; }

.x-drawer-header {
display: flex; align-items: center; justify-content: space-between;
padding: 16px 18px; border-bottom: 1px solid #f1f1f1;
font-size: 16px;
}

.x-drawer-close {
appearance: none; border: 0; background: transparent;
font-size: 20px; line-height: 1; cursor: pointer; color: #555;
}

.x-drawer-nav {
padding: 10px 8px 20px; overflow-y: auto; flex: 1;
}

.x-drawer-nav a {
display: block; padding: 12px 12px; border-radius: 10px;
color: #111; text-decoration: none; font-size: 15px;
}

.x-drawer-nav a:hover { background: #f6f7f9; }

.x-drawer-nav hr {
border: 0; border-top: 1px solid #eee; margin: 10px 6px;
}

html, body { overflow-x: hidden; }
/* ========== /Right Drawer ========== */


/*=================================================================================================
 모바일 전용: 푸터 뷰포트 고정 & 패딩/세이프에어리어/체인 정리
==================================================================================================
@media (max-width: 767.98px){
/* 그리드의 3번째 행은 사실상 비움 
.con-r .mobile-app{
  grid-template-rows: 56px 1fr 0px !important;
}

/* 푸터를 뷰포트 하단에 고정 (width:100vw 제거) 
.con-r .app-footer{
  position: fixed;
  left: 0; right: 0; bottom: 0;
  margin: 0;
  transform: none;
  z-index: 9999;

  /* 안전영역 보정 + 좌우 패딩 
  padding-left:  max(12px, env(safe-area-inset-left));
  padding-right: max(12px, env(safe-area-inset-right));
  padding-bottom: max(8px, env(safe-area-inset-bottom));
}

/* 본문 가려짐 방지(모바일에서만 적용) 
.con-r .app-main{
  padding-bottom: calc(
    var(--footer-h)
    + (var(--fab-size) * (var(--fab-pop) / 100))
    + max(16px, env(safe-area-inset-bottom))
  ) !important;

  /* 네이티브 PTR/체인 살리기 
  overscroll-behavior-y: auto !important;
}
}


/*=================================================================================================
 모달
==================================================================================================*/
.modal { position:fixed; inset:0; display:none; align-items:center; justify-content:center; z-index:9998; }
.modal.show { display:flex; }
.modal .backdrop { position:absolute; inset:0; background:rgba(0,0,0,.35); }
.modal .sheet {
position:relative;
width:calc(100% - 24px);
max-width:768px;
max-height:60vh;
display:flex;
flex-direction:column;
background:#fff;
border-radius:1rem;
box-shadow:0 20px 40px rgba(0,0,0,.18);
overflow:hidden;
}
.sheet-header { display:flex; align-items:center; justify-content:space-between; padding:14px 16px; border-bottom:1px solid #eee; }
.sheet-title { font-weight:800; color:#171717; }
.sheet-close { width:36px; height:36px; border-radius:9999px; }
.sheet-close:hover { background:#f5f5f5; }
.sheet-body { flex:1; overflow:auto; -webkit-overflow-scrolling:touch; padding:12px; }
.note { margin:8px 4px 14px; padding:10px 12px; border-radius:12px; background:#ffe8ee; color:#e11d48; font-weight:700; text-align:center; font-size:14px; }
.cat-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;}

@media(min-width:768px){
.cat-grid{grid-template-columns:repeat(3,minmax(0,1fr));}
}

.cat-item { display:flex; align-items:center; gap:12px; padding:12px; border:1px solid #eee; border-radius:14px; background:#fff; }
.cat-item i { font-size:26px;}
.cat-text { display:flex; flex-direction:column; text-align:left; }
.cat-title { font-size:16px; font-weight:800; color:#171717; }
.cat-sub { font-size:12px; color:#737373; margin-top:2px; }


/*=================================================================================================
 가이드
==================================================================================================*/
.guide_step{background:#690f24;color:#fff;height:21px;line-height:22px;}
.guide_right_txt{padding:6px 10px;border:1px solid #ffd6e3;background:#fff1f2;color:#e11d48;line-height:1;}


.btn-none-bg-border  {background: none; border: none;}






/* =========================
 Z-INDEX 안정화
 ========================= */

/* 메인 래퍼 기준 stacking context 생성 */
.xwap_wrap{
position: relative;
z-index: 0;
}

/* 헤더 */
.xwap_header{
position: sticky;
top: 0;
z-index: 1100;
}

/* 컨텐츠 */
.xwap_content{
position: relative;
z-index: 1;
}

/* 배너 */
#banner-track{
position: relative;
z-index: 1;
}

/* 푸터 (클릭 안되는 문제 해결 핵심) */
.xwap_footer{
position: sticky;
bottom: 0;
z-index: 1100;
}

/* FAB 버튼 */
.xwap_fab-wrapper{
position: relative;
z-index: 1200;
}

/* drawer dim */
.x-dim{
z-index: 2000;
}

/* drawer */
.x-drawer{
z-index: 2001;
}

/* modal */
.modal{
z-index: 3000;
}
/*계약관리 버튼 3개일경우 버튼 안에 글자 안떨어지게*/
@media (max-width: 380px) {
.contract-action-3 {
  gap: 6px;
}

.contract-action-3 .cell button {
  padding: 11px 4px !important;
  min-height: 50px;
}

.contract-action-3 .cell button span {
  font-size: 12px !important;
  white-space: nowrap;
  letter-spacing: -0.8px;
}

.contract-action-3 .cell button i {
  font-size: 13px !important;
  padding-right: 2px !important;
}
}

@media (max-width:768px) {

  /* 앱 WebView 보정 */
  .xwap_footer {
      position: fixed !important;
      left: 0 !important;
      right: 0 !important;
      bottom: 0 !important;
      z-index: 99999 !important;
      overflow: visible !important;
  }

  .xwap_fab-wrapper {
      overflow: visible !important;
  }

  .xwap_fab-text {
      display: block !important;
      position: relative !important;
      top: 0 !important;
  }

  .xwap_content {
      padding-bottom: calc(78px + env(safe-area-inset-bottom)) !important;
  }
  .app-main{
    margin-bottom: 15px;
  }

  .xwap_container,
  .xwap_wrap {
      transform: none !important;
  }
}




.login_btn:active{transform:translateY(1px)}
.login_btn.login_kakao{background:var(--kakao);color:#111}
.login_btn.login_naver{background:var(--naver);color:#fff}
.login_ico{width:28px;height:28px;display:inline-grid;place-items:center}
.login_ico img{width:24px;height:24px;object-fit:contain}

/* Divider */
.login_div_wrap{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;color:#9ca3af;gap:16px;font-size:13px;}
.login_div_wrap::before, .login_div_wrap::after{content:"";height:1px;background:var(--line)}

/* Form */
.login_field{display:grid;gap:8px}
.login_label{font-size:15px;font-weight:700;color:#374151}
.login_input{width:100%;padding:13px;border-radius:14px;border:1px solid var(--line);font-size:13px;outline:0;background:#fff}
.login_input:focus{border-color:var(--focus);box-shadow:0 0 0 3px rgba(37,99,235,.15)}

/* Checkbox row */
.login_row{display:flex;align-items:center;gap:6px}
.login_check { appearance:none; width:22px; height:22px; border:1.5px solid #6b7280; border-radius:4px; cursor:pointer; transition:.15s;}
.login_check:checked { background:#111; border-color:#111; }
.login_check:checked::after { content:"✔"; font-size:13px; color:#fff; margin-left:3px; }
.login_row label{font-weight:800;color:#111; font-size: 15px;}

/* Primary button */
.login_cta{margin-top:6px}
.login_btn_primary{width:100%;border-radius:999px;border:0;padding:18px 20px;margin-top: 10px; font-size:15px;font-weight:900;color:#fff;cursor:pointer;background: #690f24;}
.login_btn_primary:hover{filter:brightness(1.03)}
.login_btn_primary:active{transform:translateY(1px)}

/* Footer links */
.login_links{display:flex;justify-content:space-between;gap:12px;color:#6b7280;font-size:13px;margin-top:6px}
.login_links a{color:inherit;text-decoration:none}
.login_links a:hover{text-decoration:underline}

/* Customer center */
.login_cs{margin-top:100px;text-align:center;color:#6b7280;font-size:15px}
.login_num{display:inline-block;color:#111;font-weight:900;border-bottom:3px solid #111;padding-bottom:2px}

/* Accessibility */
.login_sr_only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* 최근 로그인 배지 (말풍선 꼬리 없음) */
.login_recent_badge{
    position:absolute;
    top:-10px;
    right:16px;
    padding:3px 10px;
    border-radius:999px;
    font-size:11px;
    font-weight:700;
    background:#ffffff;
    color:#111;               /* 기본 텍스트 컬러 → 버튼별로 override */
    border:1px solid currentColor;
    white-space:nowrap;
    box-shadow:0 2px 4px rgba(0,0,0,0.08);
}

/* 카카오: 갈색 테두리 + 글자 */
.login_kakao .login_recent_badge{
    color:#3D3037;
    border-color:#3D3037;
}

/* 네이버: 초록 테두리 + 글자 */
.login_naver .login_recent_badge{
    color:#005600;
    border-color:#005600;
}


.signup-wrap{
    max-width:768px;
    margin:0 auto;
    padding:5px 0px 20px;
    font-family:'Pretendard Variable', -apple-system, BlinkMacSystemFont, system-ui;
  }
  .signup-title{
    font-size:22px;
    font-weight:700;
    margin-bottom:20px;
    color:#111827;
  }
  .signup-label{
    font-size:13px;
    font-weight:600;
    color:#4b5563;
    margin:16px 0 6px;
  }
  .signup-input{
    width:100%;
    background:#ffffff;
    padding:13px 14px;
    font-size:13px;
    border-radius:12px;
    border:1px solid #e5e7eb;
    outline:none;
  }
  .signup-input::placeholder{color:#c5c7ca;}
  .signup-input:focus{
    border-color:#690f24;
    box-shadow:0 0 0 1px rgba(86, 14, 50, 0.25);
  }
  .signup-input + .signup-input{
    margin-top:8px;
  }
  /* readonly (PASS 이후 자동표시용) */
  .signup-input[readonly]{
    background:#f9fafb;
    color:#6b7280;
  }
  
  /* 휴대폰 라인 */
  .signup-phone-row{
    display:flex;
    gap:8px;
    align-items:center;
  }
  .signup-phone-row .signup-input{
    flex:1;
    margin:0;
  }
  
  .signup-phone-custom{display:flex;gap:6px;align-items:center;}
  .signup-phone-custom .signup-input{margin:0;flex:none;}
  .signup-phone-custom .hp1{width:30%;text-align:center;}
  .signup-phone-custom .hp2{width:30%;text-align:center;}
  .signup-phone-custom .hp3{width:30%;text-align:center;}
  .signup-phone-custom span{font-size:16px;color:#6b7280;font-weight:600;}
  
  .signup-phone-btn{
    padding:0 12px;
    height:42px;
    border-radius:12px;
    border:1px solid #e5e7eb;
    background:linear-gradient(135deg,#ff2f78 0%, #f72585 45%, #e21e63 100%);
    font-size:13px;
    font-weight:500;
    color:#ffffff;
    cursor:pointer;
    white-space:nowrap;
  }
  
  /* 약관 영역 */
  .signup-terms{
    margin-top:20px;
    padding:14px 14px 10px;
    border-radius:12px;
    border:1px solid #e5e7eb;
    background:#f9fafb;
    font-size:13px;
    color:#4b5563;
  }
  .signup-check{
    display:flex;
    align-items:center;
    gap:6px;
  }
  .signup-check input{
    width:16px;
    height:16px;
  }
  .signup-check span{
    flex:1;
  }
  .signup-terms-all{
    font-weight:600;
    margin-bottom:8px;
  }
  .signup-terms-list{
    margin-top:4px;
    display:grid;
    gap:4px;
  }
  .signup-link{
    font-size:12px;
    color:#9ca3af;
    text-decoration:underline;
    cursor:pointer;
  }
  
  /* 버튼 */
  .signup-btn{
    width:100%;
    padding:14px 0;
    border-radius:12px;
    background:#690f24;
    color:#fff;
    font-size:15px;
    font-weight:600;
    border:0;
    cursor:pointer;
    margin-top:24px;
  }
  
  .signup-input-phone{
    cursor:pointer;
  }
  
  /* ===== 약관 레이어 팝업 ===== */
  .terms-layer{
    position:fixed;
    inset:0;
    z-index:9999;
    display:none;
    align-items:center;
    justify-content:center;
  }
  .terms-layer.on{
    display:flex;
  }
  .terms-dim{
    position:absolute;
    inset:0;
    background:rgba(15,23,42,.45);
  }
  .terms-box{
    position:relative;
    width:100%;
    max-width:640px;
    margin:0 16px;
    background:#ffffff;
    border-radius:16px;
    overflow:hidden;
    display:flex;
    flex-direction:column;
    height:60vh;	
    max-height:60vh;
    box-shadow:0 20px 40px rgba(15,23,42,.25);
  }
  .terms-header{
    padding:12px 16px;
    border-bottom:1px solid #e5e7eb;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:8px;
  }
  .terms-header-title{
    font-size:14px;
    font-weight:600;
    color:#111827;
  }
  .terms-close-btn{
    border:0;
    background:transparent;
    font-size:20px;
    line-height:1;
    cursor:pointer;
    color:#6b7280;
  }
  .terms-body{
    flex:1;
    overflow:hidden;
  }
  .terms-iframe{
    width:100%;
    height:100%;
    border:0;
    overflow:auto;
  }
  #msg_mb_id {
    display:block;
    margin-top:6px;   /* 폼과 간격 */
    font-size:12px;
    line-height:1.4;
    color:#6b7280; /* 기본 */
  }
  
  #msg_mb_id.ok { color:#16a34a; }   /* 초록 */
  #msg_mb_id.err { color:#dc2626; }  /* 빨강 */
  
  /* ★ 이메일 형식 오류용 */
  #msg_mb_id.format { 
    color:#dc2626; 
  }

  /******* 비밀번호 재설정 ********/
  .pay-lost-wrap { max-width: 500px; margin: 40px auto; padding: 20px; font-family: 'Noto Sans KR', sans-serif; text-align: center; }
  .pay-lost-box { background: #fff; border-radius: 15px; padding: 40px 20px; box-shadow: 0 5px 20px rgba(0,0,0,0.05); border: 1px solid #eee; }
  
  .lost-icon { font-size: 60px; color: #eee; margin-bottom: 20px; }
  .lost-desc { font-size: 20px; color: #333; margin-bottom: 10px; font-weight: 700; letter-spacing: -1px;}
  .lost-sub { font-size: 14px; color: #888; margin-bottom: 40px; line-height: 1.5; }

  /* 본인인증 버튼 스타일 - 회색 테두리 제거(border:0) */
  .btn_submit { 
      display: block; 
      width: 100%; 
      padding: 18px 0; 
      background:#690f24; 
      color: #fff; 
      border: 0 !important; 
      outline: 0; 
      border-radius: 8px; 
      font-size: 16px; 
      font-weight: 700; 
      cursor: pointer; 
      transition: opacity 0.3s;
      margin-bottom: 10px;
      box-shadow: 0 4px 10px rgba(255, 77, 121, 0.3);
      -webkit-appearance: none;
  }
  .btn_submit:hover { opacity: 0.9; }
  
  .btn_submit.sub-cert {
      background: #fff;
      color: #333;
      border: 1px solid #eee !important;
      box-shadow: none;
  }

@media (hover: none) and (pointer: coarse) {
	#payone-ptr {
		position: fixed;
		top: 12px;
		left: 50%;
		transform: translateX(-50%) translateY(-70px);
		width: 42px;
		height: 42px;
		border-radius: 50%;
		background: #fff;
		box-shadow: 0 4px 14px rgba(0,0,0,.16);
		z-index: 99999;
		display: flex;
		align-items: center;
		justify-content: center;
		opacity: 0;
		transition: transform .18s ease, opacity .18s ease;
		pointer-events: none;
	}

	#payone-ptr.show {
		opacity: 1;
	}

	#payone-ptr.refreshing {
		transform: translateX(-50%) translateY(0);
		opacity: 1;
	}

	#payone-ptr .spinner {
		width: 22px;
		height: 22px;
		border: 3px solid #eee;
		border-top-color: #e83e8c;
		border-radius: 50%;
		animation: payone-spin .75s linear infinite;
	}

	@keyframes payone-spin {
		to { transform: rotate(360deg); }
	}
}
.row-set1,
	.row-set2,
	.row-set3 { width:100%; gap:8px; }

	/* 50% 양쪽 */
	.row-set2 { display:flex; }
	.row-set2 .cell { flex:1 1 50%; }

	/* 3분할 */
	.row-set3 { display:grid; grid-template-columns:repeat(3, 1fr); }


    /* 예약송금 */
    .payone-top-tabs{display:flex;height:44px;padding:4px;border-radius:15px;background:#f3f4f6;margin:10px 0 12px}
.payone-tab{flex:1;height:36px;border:0;background:transparent;border-radius:15px;font-family:'Pretendard Variable','Noto Sans KR',sans-serif;font-size:14px;font-weight:700;color:#6b7280;cursor:pointer}
.payone-tab.is-active{background:linear-gradient(135deg,#ff2f78 0%,#f72585 45%,#e21e63 100%);color:#fff;box-shadow:0 2px 3px rgba(255,77,126,.35)}

.resv-wrap *{box-sizing:border-box;font-family:'Pretendard Variable','Noto Sans KR',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif}

/* 필터줄 */
.resv-filter{font-size:15px;margin-bottom:8px;margin-top:8px;}
.resv-filter .num{color:var(--hot);font-weight:700}

/* 카드 */
.resv-card{background:var(--card);border:1px solid #eef1f4;border-radius:16px;padding:16px;}
.resv-top{display:flex;align-items:center;font-size:13px;color:#6b7280}

/* 수정 버튼 */
.resv-gear{display:inline-flex;align-items:center;gap:4px;color:#e21e63;font-weight:700;font-size:13px;background:#fff0f6;border:1px solid #ffd0e0;border-radius:20px;padding:5px 12px;cursor:pointer;transition:all .2s ease;}
.resv-gear:hover{background:#ffe6ef}
.resv-gear i{font-size:16px}

.resv-title{margin:8px 0 2px 0;font-size:16px;line-height:1.35;font-weight:600;color:#0f172a}
.resv-sub{margin:0 0 14px 0;font-size:18px;font-weight:700;line-height:1.35;color:#0f172a}
.resv-sub .money{color:var(--hot)}

/* 출금카드/입금은행 */
.kv-lines{display:grid;gap:8px;margin:10px 0}
.kv-line{display:flex;align-items:center;gap:8px}
.kv-label { display:inline-block; min-width:70px; text-align:center; padding:5px 5px; background:#f8f9fa; border:1px solid #e5e7eb; border-radius:8px; font-size:12px; font-weight:600; color:#111827; }
.kv-val{font-size:14px;color:#374151}

/* 하단 버튼 */
.resv-btns{display:flex;gap:10px;margin-top:16px}
.resv-btn{flex:1;border-radius:12px;height:48px;border:1px solid #eef1f4;background:#f7f8fa;color:#111827;font-size:16px;font-weight:700;display:flex;align-items:center;justify-content:center;gap:6px;transition:all .2s ease;}
.resv-btn i{font-size:18px;color:#e21e63}
.resv-btn:hover{background:#f3f4f6}
.resv-list{display:grid;gap:14px;margin-top:12px}

.resv-add{
width:100%;height:44px;
border:1.5px solid #ffd1df;
border-radius:12px;
display:inline-flex;align-items:center;justify-content:center;gap:6px;
font-size:15px;font-weight:600;
color:#111827;
background:#f9fafb;
cursor:pointer;
box-shadow:none;
margin:6px 0 14px
}

.resv-add:active{transform:scale(.98)}
.resv-add i{font-size:18px;color:#e21e63}
.resv-add:hover{background:#f3f4f6}
.resv-add:active{transform:translateY(1px);filter:brightness(0.95)}

/* 카드 이미지 공통 스타일 */
.kv-card-img{width:70px;height:auto;vertical-align:middle;margin-right:6px;border:1px solid #e5e7eb;border-radius:4px;padding:3px}

/* 은행 이미지 공통 스타일 */
.kv-bank-img{width:22px;height:auto;vertical-align:middle;margin-right:3px}

/* 빈 상태 안내 */
.txn-empty{padding:40px 16px 26px;text-align:center;color:#6b7280;font-size:13px;}
.txn-empty-icon{font-size:44px;margin-bottom:8px;color:#d1d5db;}
.txn-empty-title{margin:0;font-size:15px;font-weight:700;color:#111827;}
.txn-empty-sub{margin:6px 0 0;line-height:1.5;}

/* 완료 워터마크 - 빨간 도장 느낌 */
.resv-card.done{
    position:relative;
    overflow:hidden;
    background:#fafafa;
}

.resv-card.done::after{
    content:"완료";
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%) rotate(-16deg);
    
    padding:18px 42px;
    border:10px solid rgba(225,29,72,0.22);
    color:rgba(225,29,72,0.22);
    border-radius:80px;

    font-size:42px;
    font-weight:900;
    letter-spacing:6px;
    color:rgba(225,29,72,0.22);
    
    pointer-events:none;
    user-select:none;
    white-space:nowrap;
}


/*이용내역*/
.x-txn{--bg:#fff;--ink:#111827;--muted:#999;--line:#e5e7eb;--pink:#f895c3;--hot:#e22750;}
.x-txn{font-family:'Noto Sans KR',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif;color:var(--ink);}

/* === 날짜검색 === */
.x-txn .filter{display:flex;align-items:center;gap:8px;flex-wrap:nowrap;padding:14px 0 10px;flex-direction:row;}
.x-txn .date{flex:1 1 auto;min-width:0;border:1px solid var(--line);border-radius:10px;padding:8px 12px;background:#fff;display:flex;align-items:center;justify-content:center;}
.x-txn .date input{border:none;outline:none;width:100%;min-width:0;font-size:14.5px;font-family:'Noto Sans KR';text-align:center;color:#000;background:transparent;cursor:pointer;}
.x-txn .filter .dash{color:var(--muted);font-weight:500;flex:0 0 auto;}

/* === 조회 버튼 (밑으로 넓게, 더 진한 핫핑크) === */
.x-txn .btn-search{width:100%;margin-top:10px;margin-bottom:18px;display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:13px 18px;border:none;border-radius:10px;background:#690f24;color:#fff;font-size:15px;font-weight:800;cursor:pointer;transition:transform .12s ease,box-shadow .12s ease;box-shadow:0 2px 8px rgba(72, 14, 30, 0.503);}
.x-txn .btn-search i{font-size:18px;}
.x-txn .btn-search:hover{/* box-shadow:0 6px 6px rgba(231,50,100,.55); */filter:brightness(1.05);}
.x-txn .btn-search:active{transform:translateY(1px);filter:brightness(0.95);}

/* === 리스트 카드 === */
.x-txn .list{padding:6px 0 2px}
.x-txn .card{border:1px solid var(--line);border-radius:16px;/* box-shadow:0 4px 14px rgba(0,0,0,.05);overflow:hidden; */margin-bottom:14px;background:#fff;transition:.2s;}
.x-txn .head{display:flex;align-items:center;gap:10px;padding: 10px 14px;}
.x-txn .badge{padding:5px 7px;border-radius:10px;font-size:11px;font-weight:500;color:var(--hot);background:#fff7fa;border:1.5px solid #fda4c8;}
.x-txn .addr{flex:1;font-size:15px;font-weight:700;}
.x-txn .date-right{font-size:11px;color:#999;margin-right:4px;}
.x-txn .chev{font-size:22px;color:#777;transition:.2s;}
.x-txn .body{display:none;border-top:1px solid var(--line);}
.x-txn .row{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:14px;}
.x-txn .row + .row{border-top:1px solid var(--line);}
.x-txn .meta{display:flex;align-items:center;gap:10px;color:#333;font-weight:600;font-size:13px;}
.x-txn .price{font-size:13px;color:#999;font-weight:500;}

/* 이용금액 (맨 위) */
.x-txn .row.amount .meta { color:#555; font-weight:700; }
.x-txn .row.amount .price { color:#690f24; font-weight:800; font-size:clamp(16px,4.2vw,20px); letter-spacing:-0.2px; }

/* 서류보기 버튼 */
.x-txn .btn-small{border:1px solid #690f24;border-radius:8px;padding:3px 8px;font-size:12px;color:#690f24;background:#fff;cursor:pointer;transition:all .15s ease;}
.x-txn .btn-small:hover{background:#690f24;color:#fff;}

/* 카드 열림 효과 */
.x-txn .card.is-open{border-color:#690f24;box-shadow:0 6px 18px rgba(248,149,195,0.15);}
.x-txn .card.is-open .body{display:block;}
.x-txn .card.is-open .chev{transform:rotate(180deg);}

/* 빈 상태 안내 */
.x-txn .txn-empty{padding:10px 16px 26px;text-align:center;color:#6b7280;font-size:13px;}
.x-txn .txn-empty-icon{font-size:44px;margin-bottom:8px;color:#d1d5db;}
.x-txn .txn-empty-title{margin:0;font-size:15px;font-weight:700;color:#111827;}
.x-txn .txn-empty-sub{margin:6px 0 0;line-height:1.5;}

/* ===== 은행 정보 2줄 레이아웃 ===== */
.bank-info{display:grid;grid-template-columns:18px auto;column-gap:10px;row-gap:2px;align-items:center;line-height:1.2;}
.bank-logo{width:22px;height:22px;object-fit:cover;border-radius:4px;grid-row:1/span 2;}
.bank-line{font-size:12px;color:#666;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.bank-acct{font-size:12px;color:#999;}
@media(max-width:380px){.bank-line,.bank-acct{font-size:11px}}


.point-wrap *{box-sizing:border-box;font-family:'Pretendard Variable','Noto Sans KR',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif;}
.point-wrap{padding:0 0px 32px;}
.point-wrap section{margin:0 -16px 12px;padding:0 16px;border-bottom:1px solid #f3f4f6;}
.pt-balance-card{margin-top:8px;margin-bottom:14px;padding:14px 16px;border-radius:16px;background:#f9fafb;border:1px solid #eef1f4;display:flex;align-items:center;justify-content:space-between;font-size:13px;color:#4b5563;}
.pt-balance-label{font-weight:600;}
.pt-balance-value{font-size:18px;font-weight:800;color:#111827;}
.pt-list{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:10px;}
.pt-item{padding:10px 12px;border-radius:12px;border:1px solid #eef1f4;background:#ffffff;}
.pt-item-use{background:#fff7f7;border-color:#fee2e2;}
.pt-top{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;margin-bottom:6px;}
.pt-title{font-size:13px;font-weight:600;color:#111827;word-break:keep-all;}
.pt-point{font-size:14px;font-weight:700;}
.pt-point.plus{color:#e832a1;}
.pt-point.minus{color:#dc2626;}
.pt-meta{display:flex;justify-content:space-between;align-items:center;font-size:11px;color:#6b7280;gap:8px;}
.pt-meta-left i{margin-right:3px;}
.pt-expire.txt_expired{text-decoration:line-through;color:#9ca3af;}
.pt-summary{margin-top:4px;padding:10px 12px;border-radius:12px;border:1px dashed #e5e7eb;background:#fafafa;font-size:12px;display:flex;align-items:center;justify-content:space-between;gap:10px;color:#4b5563;}
.pt-summary-label{font-weight:600;}
.pt-summary-values{display:flex;gap:10px;font-weight:700;}
.pt-summary-values span:first-child{color:#e832a1;}
.pt-summary-values span:last-child{color:#dc2626;}
.pt-empty{padding:40px 16px 26px;text-align:center;font-size:13px;color:#6b7280;border-radius:16px;border:1px dashed #e5e7eb;background:#fafafa;}
.point-wrap .pg_wrap{margin-top:18px;}
/* 
   PC 배경 (Fixed)
   - xwap_bg-pc
*/
:root[data-menu] {
    --menu-bg: #ffffff;
    --menu-muted: #9aa0a6;
    --menu-divider: #e9ecef;
    --menu-accent: #ffb000;
    --menu-font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Noto Sans KR', 'Helvetica Neue', Arial;
}

.xwap_bg-pc {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    background: url('../img/allbg.png') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
}

/* 
   중앙 정렬 컨테이너 (Centered Container)
   - xwap_container
   - 높이는 auto로 설정하여 컨텐츠만큼 늘어남
*/
.xwap_container {
    width: 1024px;
    /* 512px (Left) + 512px (Center) */
    min-height: 100%;
    position: relative;
    display: flex;
    align-items: flex-start;
    /* 자식들이 위쪽에 붙도록 */
    flex-shrink: 0;
}

/* 
   왼쪽 영역 (Left Area)
   - xwap_left-area
   - Sticky 포지셔닝으로 스크롤 시 고정됨
*/
.xwap_left-area {
    position: sticky;
    /* Sticky 고정 */
    top: 0;
    width: 553px;
    height: 100vh;
    /* 화면 전체 높이 */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    padding-right: 60px;
    text-align: left;
    color: #333;
    flex-shrink: 0;
    overflow: hidden;
}

.xwap_left-area>div {
    max-width: 500px;
    width: 100%;
}

/* 
   오른쪽 영역 (Right Area)
   - xwap_right-area
   - Sticky 포지셔닝으로 변경하여 세로 스크롤 시 고정됨
   - Flex 아이템으로 배치되어 가로 스크롤 시에는 컨테이너와 함께 이동
*/
.xwap_right-area {
    position: sticky;
    /* Sticky 고정 */
    top: 0;
    /* left: 100%; 제거 (Flex 흐름 따름) */
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 20px;
    padding-left: 50px;
    text-align: left;
    color: #555;
    font-weight: bold;
    pointer-events: auto;
    width: 300px;
    flex-shrink: 0;
    /* 크기 줄어들지 않도록 */
}

.xwap_right-box {
    background: rgba(255, 255, 255, 0.8);
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

/* 
   중앙 래퍼 (Main Wrapper)
   - xwap_wrap
   - 컨텐츠에 따라 높이가 늘어남
*/
.xwap_wrap {
    width: 512px;
    min-height: 100vh;
    background: linear-gradient(to bottom, #FFFFFF 0%, #f1f1f1 100%);
    position: relative;
    /*box-shadow: 0 0 30px rgba(0, 0, 0, 0.1); 컨텐츠 그림자 */ 
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
}

/* 헤더 (Header) - Sticky */
.xwap_header {
    position: sticky;
    /* Sticky 고정 */
    top: 0;
    width: 100%;
    height: 60px;
    background-color: #fff;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    /* z-index: 900;*/
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid #e5e7eb;
}

/* 컨텐츠 (Content) - 일반 흐름 */
.xwap_content {
    flex: 1;
	width: 100%;
	max-width: 98%;              /* 본문만 폭 제한 */	
	min-height: 100vh;
	padding: 0 18px;
    overflow: visible;
	box-sizing: border-box;
	margin:0 auto;
}

/* 하단 고정 메뉴 (Footer) - Sticky */
.xwap_footer {
    position: sticky;
    /* Sticky 고정 */
    bottom: 0;
    width: 100%;
    height: 70px;
    background-color: #fff;
    color: #333;
    display: grid;
    grid-template-columns: 1fr 65px 1fr;
    align-items: stretch;
    padding: 0 12px;
    /*z-index: 900;*/
    border-top: 1px solid #e5e7eb;
    box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.04);
}

.xwap_nav-group {
    display: flex;
    justify-content: space-evenly;
    align-items: stretch;
    gap: 8px;
    min-width: 0;
    align-self: stretch;
}

.xwap_nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    min-width: 56px;
    color: #0f172a;
}

.xwap_nav-btn i {
    font-size: 24px;
    margin-bottom: 4px;
}

.xwap_nav-btn span {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: -0.5px;
}



/* FAB (Floating Action Button) */
/* ========== 중앙 버튼 수정 스타일 (붙여넣기) ========== */

/* 1. 버튼 전체 영역 (위치 잡기용 투명 박스) */
.xwap_fab-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    background: none;
    border: none;
    cursor: pointer;
    width: 65px;
    height: 100%;
    
    /* 기존 2px -> 14px로 변경 (글자를 위로 올림) */
    padding-bottom: 13px; 
    
    z-index: 1001;
    overflow: visible;
}

/* 2. 분홍색 원 (아이콘만 감쌈) */
.xwap_fab-circle {
    position: absolute;
    top: -22px; /* 위로 툭 튀어나오게 위치 조정 */
    left: 50%;
    transform: translateX(-50%);
    width: 56px; /* 원 크기 (아이콘만 들어가니 기존 65보다 조금 작게) */
    height: 56px;
    border-radius: 50%;
    background:#690f24;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(52, 64, 84, 0.25);
    transition: transform 0.2s ease;
}

/* 클릭 시 눌리는 효과 */
.xwap_fab-wrapper:active .xwap_fab-circle {
    transform: translateX(-50%) scale(0.95);
}

.xwap_fab-circle i {
    font-size: 30px;
}

/* 3. 하단 텍스트 (다른 메뉴와 정렬 맞춤) */
.xwap_fab-text {
    font-size: 13px;
    font-weight: 700;
    color: #000; /* 옆 메뉴들과 같은 검은색 계열 */
    letter-spacing: -0.5px;
    margin-top: 4px;
    line-height: 1.2;
}

.xwap_box {
    background: #f9f9f9;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #eee;
}

.xwap_text-red {
    color: red;
    font-weight: bold;
    margin-bottom: 10px;
    display: block;
}

/* 
   반응형 1단계: 1519px 이하
   - 오른쪽 영역 숨김
*/
@media (max-width: 1519px) {
    .xwap_right-area {
        display: none;
    }
}

/* 
   반응형 2단계: 768px 이하 (모바일)
   - 왼쪽 영역 숨김
   - 중앙 컨텐츠만 보임 (width: 100%)
   - 스크롤바 숨김
*/
@media (max-width: 900px) {
    .xwap_bg-pc {
        display: none;
    }

    .xwap_container {
        width: 100%;
        display: block;
    }

    .xwap_left-area {
        display: none;
    }

    .xwap_wrap {
        width: 100%;
        box-shadow: none;
    }

    /* 모바일에서만 스크롤바 숨김 */
    body {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    body::-webkit-scrollbar {
        display: none;
    }
    #ctt_con{
        font-size: 13px;
    }

    .doc-guide-title{
        font-size: 15px;
    }
    .doc-guide-desc{
        font-size: 13px;
    }

    .doc-notice{
        font-size: 11px;
    }
    .pay-lost-box{
        padding: 15px 20px;
    }
    .lost-desc{
        font-size: 17px;
    }
    .lost-sub{font-size: 13px;}
    .btn_submit{
        font-size: 15px;
    }





















}
