
.data-check {
	/* TODO: 나중에 지울것 */
	color: red;
	font-size: 13px;
	word-break: break-all;
	line-height: 1.5;
	margin-bottom: 1rem;
}

.flex-area {
  display: flex;
  gap: 4px;
}

.flex-area.layout {
	gap: 1rem;
	margin-bottom: 1.5rem;
}

.flex-area.btwn {
	padding: 20px 0 10px;
	align-items: center;
}

.flex-area.btwn .btn.pri {
	margin-left: auto;
}

.img-box {
  width: 72px;
  height: 72px;
}

.img-box img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}


.push_preview {
	width: 500px;
	height: 360px;
	background-color: #f2f3f6;
	padding: 0.75rem;
}

.push_smpl {
	padding: 0.75rem;
	border-radius: 1rem;
	background-color: #fff;
	display: flex;
	gap: 8px;
	box-shadow: 0 0 5px rgba(0,0,0,0.1);
	position: relative;
}

.push_smpl .img {
	width: 64px;
	height: 64px;
}

.push_smpl button {
	position: absolute;
	right: 0.5rem;
	top: 0.5rem;
	width: 16px;
	height: 16px;
	border: 0;
	transform: rotate(90deg);
	transition: 0.2s all;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='18' height='18' fill='rgba(0,0,0,.3)'%3E%3Cpath d='M13.1717 12.0007L8.22192 7.05093L9.63614 5.63672L16.0001 12.0007L9.63614 18.3646L8.22192 16.9504L13.1717 12.0007Z'%3E%3C/path%3E%3C/svg%3E") no-repeat -2px center;
}

.push_smpl button.collapsed {
	transform: rotate(270deg);
}

.pmsg {
	display: flex;
	flex-direction: column;
	font-size: 13px;
}

.pmsg p {
	line-height: 1.4;
	height: auto;
	white-space: pre-line;
}

.pmsg p.collapsed {
	height: 36px;
	text-overflow: ellipsis;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}



/* TODO: need merge */
.help_content dl {
	text-align: left !important;
}

.help_content dl dd + dt {
	margin-top: 1.5rem;
}


.coupon-status-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 28px;
    box-sizing: border-box;
    background-color: #f6f6f6
}

.coupon-status {
    display: flex;
    align-items: center;
    gap: 8px
}

.coupon-status+.coupon-status {
    position: relative;
    padding-left: 21px
}

.coupon-status+.coupon-status::before {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    display: block;
    content: "";
    width: 1px;
    height: 20px;
    background-color: #dbdbdb
}

.coupon-status dt {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500
}

.coupon-status dt::after {
    display: block;
    content: ":"
}

.coupon-status dd {
    font-weight: 500
}

/* td align */
.al-right {
	text-align: right !important;
}

.al-left {
	text-align: left !important;
}


/* point */
.point {
	text-align: right;
	display: inline-flex;
	justify-content: flex-end;
	gap: 2px;
	align-items: center;
}

.point.plus {
	color: blue;
}

.point.minus {
	color: red;
}

.point .unit {
	color: #999;
	font-weight: thin;
}


/* scroll table */
.scroll_area {
	width: 100%;
	max-height: 480px;
	overflow-y: auto;
	position: relative;
}

.scroll_area th {
	position: sticky;
	top: 0;
	z-index: 2;
}

.scroll_area td {
	padding: 6px;
}

button:disabled,
input:disabled {
	cursor: not-allowed;
}


/* receipt */
.receipt_wrap {
	align-items: stretch;
}
.receipt_set {
	flex: 1;
	min-width: 0;
}
.receipt_smpl {
	width: 360px;
	flex-shrink: 0;
	min-height: 0;
	background-color: #f9f9f9;
	padding: 1rem;
	max-height: 600px;
	overflow-y: scroll;
}
.receipt {
  max-width: 360px;
  border: 1px solid rgba(0,0,0,0.07);
  background-color: #fff;
}
.receipt-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
}
.receipt-container::after {
  content: "";
  position: absolute;
  inset: 0;
  top: -100px;
  background: url("../../images/h1_logo.png") center center/205px 54px no-repeat;
  opacity: 0.15;
  pointer-events: none;
}
.receipt-container_header {
  text-align: center;
  padding: 1.5rem 0 1rem;
}
.receipt-container_header strong {
  font-weight: 500;
}
.receipt-container_footer {
  padding: 1rem;
  background-color: #f5f5f5;
  font-size: 0.75rem;
  font-weight: 200;
  color: #424242;
}
.receipt-container_footer ul li {
  padding-left: 0.375rem;
  position: relative;
}
.receipt-container_footer ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.375rem;
  width: 3px;
  height: 3px;
  border-radius: 2px;
  background-color: #424242;
}
.receipt-items-ttl {
  display: block;
  background-color: rgba(0, 0, 0, 0.05);
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 0.375rem 1rem;
  margin-bottom: 0.625rem;
}
.receipt-items dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.5rem 0;
  padding: 0 1rem;
}
.receipt-items dl dt {
  min-width: 100px;
  grid-column: 1;
  font-size: 0.8125rem;
  font-weight: 200;
  color: #424242;
}
.receipt-items dl dd {
  grid-column: 2;
  font-weight: 500;
  font-size: 0.875rem;
  text-align: right;
}
.receipt-items .total-price {
  color: #ef4444;
}
.receipt-items .price {
  color: #000000;
  font-weight: 200;
}
.receipt-items .unit {
  color: #757575;
  font-weight: 200;
}
.receipt .bookstore {
  display: flex;
  justify-content: center;
}
.receipt .bookstore-ttl {
  padding: 1.5rem 0 0.25rem;
  font-size: 1rem;
  font-weight: 500;
}
.receipt .bookstore-comnt {
  font-size: 1rem;
  font-weight: 200;
  margin-bottom: 1rem;
}


.list-pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
	padding: 30px 0;
}
.list-pagination ul.list {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.list-pagination button,
.list-pagination .page-item {
	display: flex;
  justify-content: center;
  align-items: center;
  min-width: 30px;
  height: 30px;
  padding: 0 4px;
  box-sizing: border-box;
  font-size: 16px;
  font-weight: 400;
  border-radius: 4px;
  color: #777;
  background: #fff;
  border: 1px solid #dbdbdb;
  letter-spacing: 1;
  transition: all 0.2 ease;
}
.list-pagination button:hover,
.list-pagination strong:hover,
.list-pagination a:hover {
  background-color: #f6f6f6;
  color: #777;
}
.list-pagination .page-item:disabled,
.list-pagination strong {
  border: 1px solid #666;
  color: #fff;
  font-weight: 600;
}
.list-pagination .page-item.active {
	background: #0099BB;
	border-color: #0099BB;
	color: #fff;
}
.list-pagination .list-pagination.current:disabled {
  background-color: #333;
}

.list-pagination .first-page,
.list-pagination .prev-page,
.list-pagination .next-page,
.list-pagination .last-page {
  border: 1px solid #ddd;
  font-size: 0;
  background-position: center center;
  background-repeat: no-repeat;
  transition: all 0.2 ease;
}

.list-pagination .first-page:hover,
.list-pagination .prev-page:hover,
.list-pagination .next-page:hover,
.list-pagination .last-page:hover {
  background-color: #f6f6f6;
}

.list-pagination .first-page {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='18' height='18' fill='rgba(200,200,200,1)'%3E%3Cpath d='M4.83578 12L11.0429 18.2071L12.4571 16.7929L7.66421 12L12.4571 7.20712L11.0429 5.79291L4.83578 12ZM10.4857 12L16.6928 18.2071L18.107 16.7929L13.3141 12L18.107 7.20712L16.6928 5.79291L10.4857 12Z'%3E%3C/path%3E%3C/svg%3E");
}

.list-pagination .prev-page {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='18' height='18' fill='rgba(200,200,200,1)'%3E%3Cpath d='M10.8284 12.0007L15.7782 16.9504L14.364 18.3646L8 12.0007L14.364 5.63672L15.7782 7.05093L10.8284 12.0007Z'%3E%3C/path%3E%3C/svg%3E");
}

.list-pagination .next-page {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='18' height='18' fill='rgba(200,200,200,1)'%3E%3Cpath d='M13.1717 12.0007L8.22192 7.05093L9.63614 5.63672L16.0001 12.0007L9.63614 18.3646L8.22192 16.9504L13.1717 12.0007Z'%3E%3C/path%3E%3C/svg%3E");
}

.list-pagination .last-page {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='18' height='18' fill='rgba(200,200,200,1)'%3E%3Cpath d='M19.1642 12L12.9571 5.79291L11.5429 7.20712L16.3358 12L11.5429 16.7929L12.9571 18.2071L19.1642 12ZM13.5143 12L7.30722 5.79291L5.89301 7.20712L10.6859 12L5.89301 16.7929L7.30722 18.2071L13.5143 12Z'%3E%3C/path%3E%3C/svg%3E");
}

#purchaserPopupPagination .list-pagination,
#bookstoresPopupPagination .list-pagination {
	padding: 16px 0 !important;
}

/* 이미지보기 팝업 */
.popup-container {
	position: fixed;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	z-index: -1;
	visibility: hidden;
}
.popup-container .popup.popup-img-viewer {
	position: absolute;
	width: 600px;
    left: 50%;
    right: auto;
    top: 50%;
    bottom: auto;
    overflow: hidden;
    opacity: 0;
    transform: translate(-50%, -50%);
}
.popup-container .popup .popup-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 8px;
}
.popup-container .popup .popup-head button {
	border: none;
	width: 24px;
	height: 24px;
	background-color: transparent;
	background-position: center;
	background-repeat: no-repeat;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 6L18 18' stroke='%23ffffff' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M18 6L6 18' stroke='%23ffffff' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	filter: brightness(0) invert(1);
}
.popup-container.show {
  z-index: 1500;
  animation: show 0.5s ease-in-out forwards;
}
.popup-container.show .popup.popup-img-viewer {
	opacity: 1;
}
.popup-container .popup .popup-cont.popup-img-view {
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
}
.popup-container .popup .popup-cont.popup-img-view .popup-img-preview {
  align-self: stretch;
  max-width: 100%;
  min-width: 0;
  max-height: 100px;
  min-height: 100px;
  display: flex;
  flex-wrap: nowrap;
  margin: 1.5rem 0 0;
  gap: 0.25rem;
  overflow-x: auto;
}
.popup-container .popup .popup-cont.popup-img-view .popup-img-preview_item {
  flex: 0 0 6.25rem;
  width: 6.25rem;
  height: 6.25rem;
  cursor: pointer;
  background-color: #EEEEEE;
}
.popup-container .popup .popup-cont.popup-img-view .popup-img-preview_item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.popup-container .popup .popup-img-view-page {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9E9E9E;
  gap: 0.125rem;
  font-size: 0.75rem;
  padding-bottom: 1.875rem;
}
.popup-container .popup .popup-img-view-page .curr-page {
  color: #ffffff;
}
.popup-container .popup.popup-img-viewer {
  background-color: rgba(0, 0, 0, 0.3);
}
.popup-container .popup.popup-img-viewer .popup-head {
  border-color: transparent;
}
.popup-img-view {
  width: 100%;
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  overflow: hidden;
}
.popup-img-view button {
	border: none;
	background: transparent;
}
.popup-img-view img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}


@keyframes show {
  100% {
    visibility: visible;
    background-color: rgba(0, 0, 0, 0.6);
  }
}
