﻿@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
.paymentList {
  font-family: "Noto Sans KR", sans-serif;
  color: #000;
}
.paymentList .inner {
  max-width: 480px;
  margin: 0 auto;
  padding: 0 20px;
}
.paymentList .summary {
  margin-top: 40px;
  margin-bottom: 30px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  background-color: #F2F4F6;
  list-style: none;
  gap: 10px;
}
.paymentList .summary .row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.paymentList .summary .row li {
  flex: 1 0 48%;
  min-width: 142px;
}
.paymentList .summary li {
  display: flex;
  align-items: center;
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: -0.56px;
}
.paymentList .summary li:first-child::before {
  display: none;
}
.paymentList .summary li > div {
  padding-right: 10px;
}
.paymentList .summary li > div:first-child {
  font-weight: 400;
}
.paymentList .result_info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding-bottom: 10px;
  border-bottom: 1px solid #ddd;
  margin-bottom: 20px;
  font-size: 14px;
  gap: 10px;
}
.paymentList .result_info b {
  color: #156082;
}
.paymentList .result_info .msg {
  color: #888;
  font-size: 12px;
}
.paymentList .listWrap {
  font-size: 14px;
}
.paymentList .listWrap .item + .item {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #ddd;
}
.paymentList .listWrap .item .date {
  margin-bottom: 16px;
  color: #666;
}
.paymentList .listWrap .item .group {
  display: flex;
  justify-content: space-between;
  width: 100%;
  gap: 10px;
  margin-bottom: 20px;
}
.paymentList .listWrap .item .left {
  flex: 1 0 0;
  width: 50%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.paymentList .listWrap .item .right {
  flex: 0 0 auto;
  min-width: 110px;
  text-align: right;
  font-size: 16px;
  font-weight: 600;
}
.paymentList .listWrap .item .store {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #12ccc1;
}
.paymentList .listWrap .item .store a {
  color: inherit;
}
.paymentList .listWrap .item .detail {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.paymentList .listWrap .item .sub {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #666;
  line-height: 1;
}
.paymentList .listWrap .item .time {
  padding-right: 6px;
  border-right: 1px solid #9c9c9c;
}
.paymentList .listWrap .item .type {
  padding-right: 6px;
  border-right: 1px solid #9c9c9c;
}
.paymentList .listWrap .item .cancel {
  color: #ff5050;
}
.paymentList .listWrap .item .pay {
  padding-bottom: 10px;
}
.paymentList .listWrap .item .statement {
  font-size: 13px;
  width: 100px;
  height: 32px;
  color: #777;
  background-color: #fff;
  border: 1px solid #777;
}
.paymentList .notice {
  display: flex;
  justify-content: flex-end;
  color: #888;
  font-size: 12px;
  margin-bottom: 10px;
}
.paymentList .result_info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding-bottom: 10px;
  border-bottom: 1px solid #ddd;
  margin-bottom: 20px;
  font-size: 14px;
  gap: 10px;
}
.paymentList .result_info .select {
  position: relative;
}
.paymentList .result_info .select .arrow {
  position: absolute;
  top: 18px;
  right: 10px;
}
.paymentList .result_info .select select {
  color: #333;
  font-family: "Noto Sans KR";
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: 150%; /* 21px */
  letter-spacing: -0.56px;
  border: 1px solid #CCC;
  height: 40px;
  padding: 0 28px 0 10px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

/*핸드폰 PASS 인증번호 창 관련 CSS 설정*/
.auth-box{
  max-width:800px;
  margin:1.8rem auto;
  padding:1.6rem 1.8rem;
  background:#fff;
  border-radius:5px;
  display:flex;
  justify-content:space-between;
  align-items: center;
  gap:1.4rem;
}

/* 아이콘·버튼·메시지 */
.auth-icon { width:150px; height:150px; margin-bottom:0.6rem; }

/* 색상·아웃라인 (성공·요청·실패 별도 지정) */
.auth-success   { background:rgba(18,204,193,0.12);
  border:0.5px solid rgba(18,204,193,0.6);
  box-shadow:0 0 0 1px rgba(18,204,193,0.6);
  display:flex;
  flex-wrap:wrap;
}
.auth-prompt    { background:rgba(18,204,193,0.12); border:0.5px solid rgba(18,204,193,0.6);
  box-shadow:0 0 0 1px rgba(18,204,193,0.6); }
.auth-failure   { background:rgba(220,0,0,0.12); border:0.5px solid rgba(220,0,0,0.6);
  box-shadow:0 0 0 1px rgba(220,0,0,0.6); }

/* 왼쪽 이미지 (고정 100×100) */
.auth-thumb{
  flex:0 0 100px;
  height:100px;
  border-radius:5px;
  overflow:hidden;                 /* 이미지가 둥글게 보이도록 */
}
.auth-thumb img{
  width:100%; height:100%; object-fit:cover;
}

/* 가운데 내용 영역 (두 개의 컬럼) */
.auth-content{
  flex:1;
  display:flex;
  gap:1rem;
  align-items:center;
}


/* 버튼 컬럼 – 오른쪽 끝에 붙이고 최소폭만 차지 */
.auth-button{
  flex:0 0 auto;                  /* 내용에 맞게 축소 */
  margin-left:auto;               /* 오른쪽으로 밀어 붙임 */
}

.auth-content .auth-col.auth-button{
  flex:0 0 auto;              /* 내용에 맞게 축소 */
  display:flex;
  justify-content:flex-end;   /* 버튼을 오른쪽 끝에 붙임 */
  align-self:center;
}

/* ── 기본 레이아웃을 컬럼 형태로 전환 ── */
.auth-box.auth-success {
  display: flex;
  gap:0;
}

.auth-box .auth-success-content {
  flex:1;
  display:flex;
  flex-direction:column;
  gap:0.6rem;
}

/* ── 한 줄(row) 스타일 ── */
.auth-box.auth-success .auth-content {
  display: flex;
  justify-content: space-between;   /* 라벨은 왼쪽, 값은 오른쪽 정렬 */
  padding: 0.55rem 0.9rem;
}

/*숨김처리*/
.auth-hidden { display:none; }

/*핸드폰 인증번호 창 관련 CSS 설정(모바일)*/
.auth-mobile-box{
  max-width:800px;
  margin:1.8rem auto;
  padding:1.6rem 1.8rem;
  background:#fff;
  border-radius:var(5px);
  display:flex;                     /* 기본은 가로 배치 */
  justify-content:space-between;
  gap:1.4rem;
}

/* 아이콘·버튼·메시지 */
.auth-mobile-icon{ width:150px; height:150px; margin-bottom:0.6rem; }

/* 색상·아웃라인 (성공·요청·실패 별도 지정) */
.auth-success{
  background:rgba(18,204,193,0.12);
  border:0.5px solid rgba(18,204,193,0.6);
  box-shadow:0 0 0 1px rgba(18,204,193,0.6);
  display:flex; flex-wrap:wrap;
}
.auth-prompt{
  background:rgba(18,204,193,0.12);
  border:0.5px solid rgba(18,204,193,0.6);
  box-shadow:0 0 0 1px rgba(18,204,193,0.6);
}
.auth-failure{
  background:rgba(220,0,0,0.12);
  border:0.5px solid rgba(220,0,0,0.6);
  box-shadow:0 0 0 1px rgba(220,0,0,0.6);
}

/* 왼쪽 이미지 (고정 100×100) */
.auth-thumb{
  flex:0 0 80px;
  height:80px;
  border-radius:5px;
  overflow:hidden;               /* 이미지 둥글게 */
}
.auth-thumb img{
  width:100%; height:100%; object-fit:cover;
}

/* 가운데 내용 영역 (두 개의 컬럼) */
.auth-mobile-content{
  flex:1;
  display:flex;
  gap:1rem;
  align-items:center;
}

/* 텍스트 컬럼 – 한 줄 고정, 넘칠 경우 … 로 표시 */
.auth-mobile-text{
  flex:1 1 0;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  padding-right:0.8rem;
}

/* 버튼 컬럼 – 오른쪽 끝에 붙이고 최소폭만 차지 */
.auth-mobile-btn{
  flex:0 0 auto;
  margin-left:auto;               /* 기본: 오른쪽 정렬 */
}

.auth-mobile-content .col.auth-mobile-btn{
  flex:0 0 auto;
  display:flex;
  justify-content:flex-end;
  align-self:center;
}

/* .auth-mobile-box 내부 레이아웃을 세로 스택 */
.auth-mobile-box .auth-mobile-content {
  flex-direction: column;
  align-items: stretch;
  gap: 0.8rem;
}

/* 텍스트 영역 – 줄바꿈 허용, 오버플로우 제거 */
.auth-mobile-box .auth-mobile-content .auth-mobile-text {
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  padding-right: 0;
}

/* 버튼 영역 – 화면에 보이게, 전체 폭 차지 */
.auth-mobile-box .auth-mobile-content .auth-mobile-btn {
  margin-left: 0;
  width: 100%;
  text-align: right;
}

.auth-mobile-box .auth-mobile-content .auth-mobile-btn button.success-btn{
  width:100%;
  padding:0.6rem 1rem;
  font-size:1rem;
  background:rgba(18,204,193,0.6);
  border:none;
  border-radius:5px;
  color:#fff;
  cursor:pointer;
  transition:background .2s;
}

/* ── 실패 버튼  ── */
.auth-mobile-box .auth-mobile-content .auth-mobile-btn button.fail-btn{
  width:100%;
  padding:0.45rem 1rem;
  font-size:1rem;
  background:rgba(220,0,0,0.6);
  border:none;
  border-radius:5px;
  color:#fff;
  cursor:pointer;
  transition:background .2s;
}

.auth-mobile-box, .auth-mobile-box .auth-mobile-content {
  overflow: visible;
}
