@charset "utf-8";

.layer_modal * {
	font-family: 'Noto Sans KR';
}
.layer_modal .text-desc {
	color: #888888;
}
.layer_modal .sub-text-desc {
	font-size: 12px;
}
.layer_modal .text-title {
	color: #333333;
}
.layer_modal .text-default {
	color: #555555;
}
.layer_modal .text-blue {
	color: #6496fa;
}
.layer_modal .text-white {
	color: white;
}
.layer_modal .close-btn {
	width: 40px;
	height: 40px;
	min-width: 40px;
	line-height: 40px;
	position: absolute;
	top: -40px;
	right: -40px;
	background: none;
}
.layer_modal .pc-icon {
	display: inline-block;
}
.layer_modal .mobile-icon {
	display: none;
}
.layer_modal .close-btn img {
	width: inherit;
	min-width: inherit;
	height: inherit;
	vertical-align: baseline;
	object-fit: none;
}
.layer_modal .modal {
	padding: 0 !important;
}
.layer_modal .modal-dialog {
	width: 800px;
	background: #ffffff;
	box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.2);
	border-radius: 20px;
	margin: 6% auto;
}

/*********** modal-header ***********/

.layer_modal .modal-content {
	height: 100%;
	width: 100%;
	box-shadow: none;
	padding: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
}
.layer_modal .modal-content hr {
	margin: 0;
	width: 640px;
	margin: 0 80px 0px 80px;
}
.layer_modal #payment_card_add_modal .modal-content hr {
	margin: 0 80px 20px 80px;
}
.layer_modal .modal-header {
	padding: 0;
	width: 100%;
	text-align: left;
	margin: 0;
	padding: 24px 80px;
}
.layer_modal .modal-title {
	width: 100%;
	height: 24px;
	font-weight: 700;
	font-size: 24px;
	line-height: 100%;
}

/*********** modal-body ***********/

.layer_modal .modal-body {
	width: 800px;
}

.layer_modal .modal-body.modal_section_wrap {
	background-color: #F3F9FE;
}
.layer_modal .modal-body.modal_section_wrap .section_info {
	padding-top: 15px;
}
.layer_modal .modal-body.modal_section_wrap .section_info .header {
	color: #000;
	text-align: left;
	font-size: 17px;
	font-weight: 700;
	margin-bottom: 10px;
}
.layer_modal .modal-body.modal_section_wrap .section_info .header button {
	float: right;
	border: 1px solid #000;
	border-radius: 10px;
	padding: 5px 10px;
	font-size: 12px;
	font-weight: 700;
	background-color: #fff;
	color: #000;

}
.layer_modal .modal-body.modal_section_wrap .section_info .info {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 20px;
	border-radius: 15px;
	background-color: #FFF;
}

.layer_modal .modal-body.modal_section_wrap .section_info .info input[type="text"],
.layer_modal .modal-body.modal_section_wrap .section_info .info input[type="tel"]
{
	width: 100%;
	border: 1px solid #B0AAAA;
	background-color: #fff;
	border-radius: 15px;
	text-indent: 21px;
	height: 52px;
	font-size : 16px;
}


/*********** slide ***********/

.layer_modal .modal-body .slide {
	height: 280px;
	width: 100%;
	overflow: hidden;
	float: left;
	margin-bottom: 30px;
	position: relative;
}
.layer_modal .modal-body .slide .slide-container {
	position: relative;
	width: 406px;
	height: 280px;
	top: 0;
	left: calc((800px / 2) - (406px / 2));
}
.layer_modal .modal-body .slide .slide-container .control-btn {
	width: 40px;
	min-width: 40px;
	height: 40px;
	object-fit: none;
	position: absolute;
	top: calc(244px / 2);
	margin-top: -20px;
	z-index: 1;
	cursor: pointer;
}
.layer_modal .modal-body .slide .slide-container .control-btn.prev {
	left: -56px;
}
.layer_modal .modal-body .slide .slide-container .control-btn.next {
	right: -56px;
}
.layer_modal .modal-body .slide .slide-inner {
	height: 280px;
	display: flex;
	gap: 72px;
	position: absolute;
	top: 0;
}
.layer_modal .modal-body .slide .slide-inner .modal-card {
	cursor: pointer;
	flex-direction: column;
	display: inline-flex;
	align-items: center;
	text-align: center;
}
.layer_modal .modal-body .slide .slide-inner .modal-card .no-card,
.layer_modal .modal-body .slide .slide-inner .modal-card > div {
	width: 406px;
	min-width: 406px;
	height: 244px;
	flex-direction: column;
	display: inline-flex;
	align-items: center;
}
.layer_modal .modal-body .slide .slide-inner .modal-card > div > .card-bg {
	background-color: #F9E200;
	height: 244px;
	width: 406px;
	border-radius: 8px;
}
.layer_modal .modal-body .slide .slide-inner .modal-card > button {
	text-decoration: underline;
	font-size: 12px;
	outline: none;
	margin-top: 20px;
	text-decoration: none; /*변경값*/
	background: none;
	border: none;
}
.layer_modal .modal-body .slide .slide-inner .modal-card > div {
	position: relative;
}
.layer_modal .modal-body .slide .slide-inner .modal-card > div > .check-icon {
	position: absolute;
	width: 40px;
	min-width: 40px;
	height: 40px;
	top: 32px;
	right: 32px;
	border-radius: 50%;
	z-index: 1;
	padding: 12px;
}
.layer_modal .modal-body .slide .slide-inner .modal-card > div > .check-icon {
	border: 1px solid rgba(0, 0, 0, 0.1);
	background: transparent url('../images/icon_check.svg') no-repeat 50%; /*변경값*/
}
.layer_modal .modal-body .slide .slide-inner .modal-card > div > .check-icon.default {
	background: rgba(0, 0, 0, 0.5) url('../images/icon_check_black.svg') no-repeat 50%;/*변경값*/
}
.layer_modal .modal-body .slide .slide-inner .modal-card > div > .card-name {
	position: absolute;
	z-index: 1;
	font-size: 24px;
	top: 40px;
	left: 40px;
}
.layer_modal .modal-body .slide .slide-inner .modal-card > div > .card-number {
	position: absolute;
	z-index: 1;
	font-size: 16px;
	bottom: 40px;
	right: 40px;
}
.layer_modal .modal-body .slide .slide-inner .modal-card .no-card {
	border: 4px solid #e0e0e0;
	height: 244px;
	justify-content: center;
	border-radius: 8px;
}
.layer_modal .modal-body .slide .slide-inner .modal-card .no-card > img {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	padding: 16px;
	width: 50px;
	height: 50px;
	background: #6496fa;
	border-radius: 50%;
	cursor: pointer;
}
.layer_modal .modal-body .slide .slide-inner .modal-card .no-card > span {
	font-weight: 700;
	font-size: 16px;
	line-height: 100%;
	text-align: center;
	margin-top: 16px;
}
.layer_modal .modal-body .pay_body .option-container {
	padding: 0 150px 10px;
}
.layer_modal .modal-body .modal-container {
	display: flex;
	flex-direction: column;
	gap: 32px;
	padding: 0 80px;
	width: 100%;
	margin-bottom: 20px;
	margin-top: 30px;
}
.layer_modal .modal-body .modal-container > .service {
	width: 100%;
	display: flex;
	align-items: center;
}
.layer_modal .modal-body .modal-container > .service > span {
	width: 87px;
	height: 18px;
	font-size: 18px;
	line-height: 100%;
	display: inline-block;
	margin-right: 63px;
	word-spacing: -1.5px;
}
.layer_modal .modal-body .modal-container > .service > select,
.layer_modal .modal-body .pay_body .service > select {
	padding: 20px;
	width: 406px;
	height: 64px;
	border: 1px solid #e0e0e0;
	border-radius: 4px;
	background: #ffffff url('../images/icon_arrow_down_sm.svg') no-repeat 96% center;
}
.layer_modal .modal-body .pay_body .option-container .service {
	text-align: center;
}
.layer_modal .modal-body .modal-desc {
	text-align: right;
	height: 24px;
	font-size: 16px;
	width: 640px;
	margin: 10px auto;
}
.layer_modal .modal-body .modal-desc.inner {
	width: 406px;
	margin: 10px auto 20px;
}
.layer_modal .modal-body .modal-desc span {
	display: inline-flex;
	align-items: center;
}
.layer_modal .modal-body .modal-desc i {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	width: 24px;
	height: 24px;
	border: 1px solid #888888;
	border-radius: 50%;
	font-style: normal;
	margin-left: 8px;
}
.layer_modal .modal-body .checkbox > label {
	padding-left: 25px;
}
.layer_modal .modal-body .checkbox > label input[type=checkbox] {
	top: 4px;
	margin-left: -27px;
	border: 2px solid #6496fa;
	border-radius: 4px;
	width: 18px;
	height: 18px;
	cursor: pointer;
}
.layer_modal .modal-body .checkbox > label input[type=checkbox]:checked {
	background: url(../images/ico_check-small.svg) 50% 50% no-repeat rgb(55, 109, 213);
}
.layer_modal .modal-body .checkbox > label a {
	text-decoration: underline;
}
.layer_modal .modal-body .modal-total > div {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	padding: 24px;
	width: 640px;
	height: 66px;
	margin: 0 auto;
	background: #f2f6fc;
	border-radius: 4px;
}
.layer_modal .modal-body .modal-total * {
	font-size: 18px;
}

/*********** modal-footer ***********/

.layer_modal .modal-footer {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 604px;
	margin: 36px auto;
}
.layer_modal .modal-footer button {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 152px;
	height: 46px;
	font-size: 14px;
	background-color: #6496fa;
	border: none;
}
.layer_modal .modal-footer button:disabled {
	background: #e0e0e0;
}
.layer_modal .modal-footer span {
	margin-top: 18px;
	height: 16px;
	font-size: 16px;
	line-height: 100%;
	color: #888888;
}

.layer_modal .modal_section_wrap .modal_section_footer {
	width: 100%;
}


/************* 카드 등록 모달 *************/

.layer_modal .pay-modal .modal-dialog .modal-content .modal-body .pay-notice {
  margin-bottom: 40px;
	display: block;
}
.layer_modal .pay-modal .modal-dialog .modal-content .modal-body {
  padding: 24px 80px 60px;
}
.layer_modal .pay-modal .modal-dialog .modal-content .modal-body > form {
	display: flex;
	flex-direction: column;
	gap: 16px;
}
.layer_modal .pay-modal .modal-dialog .modal-content .modal-body > form > div {
	display: flex;
	align-items: center;
	gap: 55px;
}
.layer_modal .pay-modal .modal-dialog .modal-content .modal-body > form > div.corporate_credit_card {
	display: none;
}
.layer_modal .pay-modal .modal-dialog .modal-content .modal-body form > div > b {
	width: 60px;
	min-width: 60px;
	white-space: nowrap;
}
.layer_modal .pay-modal .modal-dialog .modal-content .modal-body form > div > input {
	width: 265px;
	height: 56px;
	border: 1px solid #e0e0e0;
	border-radius: 4px;
	text-indent: 21px;
}
.layer_modal .pay-modal .modal-dialog .modal-content .modal-body form > div:first-of-type > input {
	width: 537px;
}
.layer_modal .pay-modal .modal-dialog .modal-content .modal-body form > div > input::placeholder {
	color: #bdbdbd;
}
.layer_modal .pay-modal .modal-dialog .modal-content .modal-body form > div > input.pass_type {
	-webkit-text-security: disc;
}
.layer_modal .pay-modal .modal-dialog .modal-content .modal-body form > div > .wrong {
	border: 1px solid #ff0000;
}
.layer_modal .pay-modal .modal-dialog .modal-content .modal-body form > div > .wrong::placeholder {
	color: #ff0000;
}
.layer_modal .pay-modal .modal-dialog .modal-content .modal-body form > div > div.radio + div.radio {
	margin-top: 0px;
}
.layer_modal .pay-modal .modal-dialog .modal-content .modal-body form > div > div.radio > label {
	padding: 4px 0 4px 28px;
}
.layer_modal .pay-modal .modal-dialog .modal-content .modal-body form > div > div.radio > label input {
	display: none;
}
.layer_modal .pay-modal .modal-dialog .modal-content .modal-body form > div > div.radio > label > .title:before {
	content: "";
	position: absolute;
	left: 0;
	top: 7px;
	width: 20px;
	height: 20px;
	background-image: url('../images/ico_radio_default.svg');
	background-size: 20px;
}
.layer_modal .pay-modal .modal-dialog .modal-content .modal-body form > div > div.radio > label input:checked + .title:before {
	background-image: url('../images/ico_radio_active.svg');
	background-size: 20px;
}
.layer_modal .pay-modal .modal-dialog .modal-content .modal-body > form > div >div.radio > label >span > i {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	width: 20px;
	height: 20px;
	border: 1px solid #888888;
	border-radius: 50%;
	font-style: normal;
	margin-left: 5px;
	margin-top: 2px;
}

/*신용카드 구분 tooltip*/
.layer_modal .pay-modal .modal-dialog .modal-content .modal-body > form > div >div.radio > label .tooltip {
	min-width: 150px;
}
/*카드할부안내 tooltip*/
.section-tooltip .tooltip-inner {
	white-space: pre-wrap;
	text-align: left;
}
.section-tooltip.sm .tooltip-inner {
	min-width: 180px;
}
.section-tooltip.md .tooltip-inner {
	min-width: 280px;
}
.pay-tooltip.lg .tooltip-inner {
	min-width: 380px;
}

/* tooltip css */
.layer_modal .modal-body .section-tooltip {
	font-size: 16px;
}
.layer_modal .modal-body .title-tooltip {
	position: absolute;
	top: 5px;
	left: 110px;
}
.layer_modal .modal-body .title-tooltip.right {
	top: 20px;
	left: unset;
	right: 10px;
}
.layer_modal .modal-body .pay-tooltip {
	display: inline-flex;
	align-items: center;
}
.layer_modal .modal-body .pay-tooltip i {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	width: 24px;
	height: 24px;
	border: 1px solid #888888;
	border-radius: 50%;
	font-style: normal;
	margin-left: 8px;
}

.layer_modal .pay-modal .modal-dialog .modal-footer {
	margin: 0 auto;
	padding-bottom: 80px;
}


/*********** 결제 구분(간편/페이) ***********/
#payment_card_modal .modal-body .section_pay_wrap {
	/*margin-bottom: 20px;*/
}
#payment_card_modal .modal-body .section_pay_wrap .section_first_wrap .pay_header,
#payment_card_modal .modal-body .section_pay_wrap .section_second_wrap .pay_header{
	margin: 0 80px;
}
#payment_card_modal .modal-body .section_pay_wrap .section_second_wrap .pay_header {
	border-top: 1px solid #eee;
	border-bottom: 1px solid #eee;
	position: relative;
}
#payment_card_modal .modal-body .section_pay_wrap .section_second_wrap .pay_body .list_payment {
	margin-left: 100px;
	display: flex;
	flex-wrap: wrap;
}
#payment_card_modal .modal-body .section_pay_wrap .section_second_wrap .pay_body .list_payment li {
	padding: 23px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 13px;
	border: 1px solid #E0E0E0;
	margin: 0 0 -1px -1px;
	cursor: pointer;
}
#payment_card_modal .modal-body .section_pay_wrap .section_second_wrap .pay_body .list_payment li.active {
	border: 1px solid #6496fa;
	z-index: 99;
}
#payment_card_modal .modal-body .section_pay_wrap .section_second_wrap .pay_body .list_payment li.active span {
	font-weight: 600;
	color: #6496fa;
}
#payment_card_modal .modal-body .section_pay_wrap .section_second_wrap .pay_body .list_payment li img {
	width: 80px;
	margin: 0 auto;
	padding: 2px;
}
#payment_card_modal .modal-body .section_pay_wrap .section_second_wrap .pay_body .list_payment li .title{
	text-align: center;
}
#payment_card_modal .modal-body .section_pay_wrap .section_second_wrap .schedule_badge {
	position: relative;
}
#payment_card_modal .modal-body .section_pay_wrap .section_second_wrap .schedule_badge:after {
	content: "오픈예정";
	background-color: #F5F4F6;
	border-radius: 18px;
	padding: 2px;
	position: absolute;
	top: 1px;
	left: 5px;
	font-size: 8px;
}


/*********** 결제 구분(간편/페이) 공통 ***********/
#payment_card_modal .modal-body .section_pay_wrap .pay_header {
	cursor: pointer;
	padding: 20px 15px;
}
#payment_card_modal .modal-body .section_pay_wrap .pay_header .radio label {
	padding-left: 34px;
	line-height: 29px;
	font-size: 20px;
	font-weight: 700;
	color: #333;
	width: 100%;
}
#payment_card_modal .modal-body .section_pay_wrap .pay_header .radio input {
	left: 0;
	width: 24px;
	height: 24px;
	margin-left: 0;
	border: 0;
	background: url("../images/ico_radio_default.svg") no-repeat 0 0;
	background-size: cover;
	cursor: pointer;
}
#payment_card_modal .modal-body .section_pay_wrap .pay_header .radio input:checked {
	background-image: url("../images/ico_radio_active.svg");
}
#payment_card_modal .modal-body .pay_header .content_title .naver_pay_image {
	height: 26px;
}
#payment_card_modal .modal-body .pay_header .content_title .naver_pay_title {
	position: absolute;
	top: -2px;
	left: 125px;
}
#payment_card_modal .modal-body .section_pay_wrap .pay_body {
	display: none;
}
#payment_card_modal .modal-body .section_pay_wrap .pay_body.on {
	width: 100%;
	display: inline-block;
}
.btn_naver_pay:before {
	background-image: url("../images/btn_naver_logo_white.png");
	content: "";
	display: inline-block;
	width: 20px;
	height: 20px;
	margin-right: 4px;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: 50% 50%;
	vertical-align: sub;
}
.btn_naver_pay {
	background-color: #03C75A;
	color: #fff;
	font-weight: 500;
	padding: 0 20px;
	margin: 0 auto;
}

/* 전자책 구매정보 */
#payment_card_modal .modal-body .section_order_info {
	padding: 0 80px;
}
#payment_card_modal .modal-body .section_order_info .order_info_content {
	display: flex;
	padding: 36px 40px;
	gap: 80px;
}
#payment_card_modal .modal-body .section_order_info .order_info_content img {
	width: 133px;
	height: 188px;
	flex-shrink: 0;
	border-radius: 7px;
}
#payment_card_modal .modal-body .section_order_info .order_info_content .order_info {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: left;
	width: 100%;
}
#payment_card_modal .modal-body .section_order_info .order_info_content .order_info .title {
	color: #000;
	text-align: center;
	font-family: "Noto Sans KR";
	font-size: 20px;
	font-style: normal;
	font-weight: 700;
}

/* 종이책 구매 정보 */
.book_purchase_modal .modal-dialog {
	width: 700px;
	background: #ffffff;
	box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.2);
	border-radius: 20px;
	margin: 6% auto;
}

.book_purchase_modal .modal-header {
	padding: 0;
	width: 100%;
	text-align: left;
	margin: 0;
	padding: 24px 64px;
}

.book_purchase_modal .modal-body{
	width: 700px;
	background: #F3F9FE;
	padding : 48px 64px 75px 64px;
}

.book_purchase_modal .modal-body .section_order_info {
	margin-bottom: 20px;
}

.book_purchase_modal .modal-body .section_order_info .header,
.book_purchase_modal .modal-body .section_buyer_info .header,
.book_purchase_modal .modal-body .section_shipping_info .header{
	color: #000;
	text-align: left;
	font-family: Noto Sans KR;
	font-size: 20px;
	font-style: normal;
	font-weight: 700;
	margin-bottom: 20px;
}

.book_purchase_modal .modal-body .section_order_info .order_info_content {
	display: flex;
	padding : 36px 40px;
	border-radius: 15px;
	background: #FFF;
}

.book_purchase_modal .modal-body .section_order_info .order_info_content img{
	width: 133px;
	height: 188px;
	flex-shrink: 0;
}

.book_purchase_modal .modal-body .section_order_info .order_info_content .order_info{
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	justify-content: space-evenly;
	width: 100%;
}

.book_purchase_modal .modal-body .section_order_info .order_info_content .order_info .title{
	color: #000;
	text-align: center;
	font-family: Noto Sans KR;
	font-size: 20px;
	font-style: normal;
	font-weight: 700;
}

.book_purchase_modal .modal-body .section_order_info .order_info_content .order_info .price{
	color: #4E8AFF;
	text-align: center;
	font-family: Noto Sans KR;
	font-size: 18px;
	font-style: normal;
	font-weight: 700;
}

.book_purchase_modal .modal-body .section_order_info .order_info_content .order_info .btn_preview {
	padding: 8px 15px;
	border: 1px solid #000;
	border-radius: 10px;
	background: #fff;
	text-align: center;
	font-size: 14px;
	font-weight: 700;
}

.book_purchase_modal .modal-body .section_buyer_info {
	margin-bottom: 20px;
}

.book_purchase_modal .modal-body .section_buyer_info .buyer_info {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap : 15px;
	padding : 40px 27px;
	border-radius: 15px;
	background: #FFF;
}

.book_purchase_modal .modal-body .section_buyer_info .buyer_info input {
	border-radius: 15px;
	border: 1px solid #B0AAAA;
	background: #FFF;
	padding-left : 25px;
	height: 52px;

	font-size : 16px;
}

.book_purchase_modal .modal-body .section_shipping_info {
	margin-bottom: 20px;
}

.book_purchase_modal .modal-body .section_shipping_info .shipping_info {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap : 15px;
	padding : 20px;
	border-radius: 15px;
	background: #FFF;
}

.book_purchase_modal .modal-body .section_shipping_info .shipping_info input[type="text"] {
	border-radius: 15px;
	border: 1px solid #B0AAAA;
	background: #FFF;
	padding-left : 25px;
	height: 52px;
	font-size : 16px;
}
.book_purchase_modal .modal-body .section_shipping_info select {
	padding: 10px 20px;
	width: 100%;
	height: 44px;
	border: 1px solid #e0e0e0;
	border-radius: 4px;
	background: #ffffff url('../images/icon_arrow_down_sm.svg') no-repeat 96% center;
}

.book_purchase_modal .modal-body .section_shipping_info .shipping_info input#postcode {
	margin-right : 180px;
}

.book_purchase_modal .modal-body .section_shipping_info .shipping_info input#postcode_button {
	position : absolute;
	top :20px;
	right : 20px;
	width : 160px;
	height: 52px;
	border-radius: 10px;
	border: 1px solid #000;
	background: #FFF;

	color: #000;
	text-align: center;
	font-family: Noto Sans KR;
	font-size: 14px;
	font-style: normal;
	font-weight: 700;
}

.book_purchase_modal .modal-footer button {
	/*display: flex;*/
	/*justify-content: center;*/
	/*align-items: center;*/
	width: 152px;
	height: 46px;

	border-radius: 10px;
	border: 1px solid #000;
	background: #FFF;

	color: #000;
	text-align: center;
	font-family: Noto Sans KR;
	font-size: 20px;
	font-style: normal;
	font-weight: 700;
}

.book_purchase_modal .modal-body .modal-desc {
	text-align: left;
	height: 24px;
	font-size: 16px;
	width: 640px;
	margin: 10px auto;
}
.book_purchase_modal .modal-body .modal-desc span {
	display: inline-flex;
	align-items: center;
}
.book_purchase_modal .modal-body .modal-desc i {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	width: 24px;
	height: 24px;
	border: 1px solid #888888;
	border-radius: 50%;
	font-style: normal;
	margin-left: 8px;
}
.book_purchase_modal .modal-body .checkbox > label {
	padding-left: 25px;
}
.book_purchase_modal .modal-body .checkbox > label input[type=checkbox] {
	top: 4px;
	margin-left: -27px;
	border: 2px solid #6496fa;
	border-radius: 4px;
	width: 18px;
	height: 18px;
	cursor: pointer;
}
.book_purchase_modal .modal-body .checkbox > label input[type=checkbox]:checked {
	background: url(../images/ico_check-small.svg) 50% 50% no-repeat rgb(55, 109, 213);
}
.book_purchase_modal .modal-body .checkbox > label a {
	text-decoration: underline;
}

/* 휴대폰 번호 인증 */
.auth_sms_code_modal .modal-dialog {
	width: 500px;
}
.auth_sms_code_modal .modal-content hr {
	width: 340px;
	padding: 0 50px 0px 50px;
}
.auth_sms_code_modal .modal-body {
	width: 500px;
	padding: 15px 50px;
}
.auth_sms_code_modal .modal-footer.footer-right {
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	justify-content: right;
	flex-direction: row;
	gap: 10px;
}
.auth_sms_code_modal .modal-footer button {
	width: 120px;
	height: 40px;
	border-radius: 10px;
	border: 1px solid #000;
	background-color: #fff;
	color: #000;
	font-weight: 700;
}

/* Container box */
#payment_card_modal_body .payment-coupon-box {
	padding: 20px;
	background: white;
	border-radius: 10px; /* Rounded corners */
	/*box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.15);*/ /* Soft shadow effect */
	font-family: Arial, sans-serif;
	border: 1px solid #dfe3e8;
}

/* General styling for text */
#payment_card_modal_body .payment-coupon-box p {
	font-size: 14px;
	color: #666;
	display: flex;
	justify-content: space-between;
	margin: 8px 0;
}

/* Discount text (in red) */
#payment_card_modal_body .payment-coupon-box .discount {
	color: red;
	font-weight: bold;
}

/* Final price row */
#payment_card_modal_body .payment-coupon-box .final-price {
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-top: 1px solid #eee;
	padding-top: 10px;
	margin-top: 10px;
	font-size: 18px;
	font-weight: bold;
}

/* Final price amount */
#payment_card_modal_body .payment-coupon-box .final-price .amount {
	font-size: 20px;
	font-weight: bold;
}


@media (max-width: 768px) {
	.layer_modal .modal-dialog {
		width: 100%;
		height: 100%;
		min-height: 850px;
		background: #ffffff;
		box-shadow: none;
		border-radius: 0;
		padding: 0 !important;
		margin: 0;
	}
	.layer_modal .mobile-icon {
		display: inline-block;
		position: unset;
		width: 24px;
		height: 24px;
		margin-right: 16px;
		min-width: 24px;
		vertical-align: baseline;
	}
	.layer_modal .modal-content .modal-header {
		display: flex;
		align-items: center;
		padding: 12px 20px;
		margin: 0;
	}
	.layer_modal .modal-content hr {
		margin: 0 80px 5px 80px;
	}
	.layer_modal .modal-title {
		line-height: 24px;
		font-size: 14px;
	}
	.layer_modal .modal-body {
		width: 100vw;
	}
	.layer_modal .modal-body .slide {
		height: 170px;
		margin-bottom: 24px;
	}
	.layer_modal .modal-body .slide .slide-inner {
		height: calc(8px + 12px + 147px);
		gap: 40px;
	}
	.layer_modal .modal-body .slide .slide-container {
		height: 147px;
		width: 244px;
		left: calc((100vw / 2) - (244px / 2));
	}
	.layer_modal .modal-body .slide .slide-container .control-btn {
		top: calc(147px / 2);
		margin-top: -6px;
		width: 12px;
		min-width: 12px;
		height: 12px;
	}
	.layer_modal .modal-body .slide .slide-container .control-btn.prev {
		left: -26px;
	}
	.layer_modal .modal-body .slide .slide-container .control-btn.next {
		right: -26px;
	}
	.layer_modal .modal-body .slide .slide-inner .modal-card .no-card,
	.layer_modal .modal-body .slide .slide-inner .modal-card > div {
		width: 244px;
		min-width: 244px;
		height: 147px;
	}
	.layer_modal .modal-body .slide .slide-inner .modal-card > div > .card-bg {
		width: 244px;
		height: 147px;
	}
	.layer_modal .modal-body .slide .slide-inner .modal-card > div > .check-icon {
		width: 22px;
		min-width: 22px;
		height: 22px;
		top: 24px;
		right: 24px;
		padding: 6px;
	}
	.layer_modal .modal-body .slide .slide-inner .modal-card > div > .card-name {
		font-size: 14px;
		top: 30px;
		left: 30px;
	}
	.layer_modal .modal-body .slide .slide-inner .modal-card > div > .card-number {
		font-size: 10px;
		bottom: 30px;
		right: 30px;
	}
	.layer_modal .modal-body .slide .slide-inner .modal-card > button {
		font-size: 8px;
		margin-top: 11px;
	}
	.layer_modal .modal-body .slide .slide-inner .modal-card .no-card img {
		width: 30px;
		height: 30px;
		min-width: 30px;
		padding: 10px;
	}
	.layer_modal .modal-body .slide .slide-inner .modal-card .no-card > span {
		height: 14px;
		font-size: 14px;
		margin-top: 8px;
	}
	.layer_modal .modal-body .modal-container {
		gap: 20px;
		padding: 0 20px;
		margin-top: 20px;
	}
	.layer_modal .modal-body .modal-container > .service {
		justify-content: space-between;
	}
	.layer_modal .modal-body .modal-container > .service > b {
		font-size: 12px;
	}
	.layer_modal .modal-body .modal-container > .service > span {
		font-weight: 400;
		font-size: 12px;
	}
	.layer_modal .modal-body .modal-container > .service > select {
		height: 38px;
		width: 225px;
		padding: 10px 20px;
		font-size: 12px;
	}
	.layer_modal .modal-body .modal-desc {
		height: 12px;
		font-size: 10px;
		padding: 0 20px;
		margin: 10px 0 20px;
		width: 100%;
	}
	.layer_modal .modal-body .modal-desc.inner {
		width: 244px;
		padding-right: 0;
		margin: 10px auto 30px;
	}
	.layer_modal .modal-body .modal-desc i {
		width: 12px;
		height: 12px;
		margin-left: 6px;
	}
	.layer_modal .modal-body .checkbox > label input[type=checkbox] {
		top: 0px;
		width: 16px;
		height: 16px;
		margin-left: -22px;
	}
	.layer_modal .modal-body .modal-total {
		padding: 0 20px;
		width: 100%;
	}
	.layer_modal .modal-body .modal-total > div {
		padding: 18px 24px;
		width: 100%;
	}
	.layer_modal .modal-body .modal-total * {
		font-size: 12px;
	}
	#payment_card_modal .modal-body .section_pay_wrap .section_second_wrap .pay_body .list_payment {
		margin-left: 40px;
	}
	#payment_card_modal .modal-body .section_pay_wrap .section_second_wrap .pay_body .list_payment li {
		gap: 10px;
		padding: 18px;
	}
	#payment_card_modal .modal-body .section_pay_wrap .section_second_wrap .pay_body .list_payment li img {
		width: 75px;
		padding: 2px;
	}
	.layer_modal .modal-footer {
		margin-top: 42px;
		width: 100%;
	}
	.layer_modal .modal-footer button {
		width: 125px;
		height: 36px;
		font-size: 12px;
	}
	.layer_modal .modal-footer span {
		margin-top: 20px;
		font-size: 12px;
		height: 12px;
	}

	.layer_modal .modal-body .section-tooltip {
		font-size: 10px;
	}
	.layer_modal .modal-body .pay-tooltip {
		font-size: 10px;
	}
	.layer_modal .modal-body .pay-tooltip i {
		width: 12px;
		height: 12px;
		margin-left: 6px;
	}
	.layer_modal .modal-body .title-tooltip {
		top: 4px;
		left: 80px;
		font-size: 12px;
	}
	.layer_modal .modal-body .title-tooltip.right {
		top: 17px;
	}
	.layer_modal .modal-body .title-tooltip i {
		width: 16px;
		height: 16px;
	}




	/************* section *************/
	.layer_modal .modal-body.modal_section_wrap .section_info .header{
		font-size: 14px;
	}
	.layer_modal .modal-body.modal_section_wrap .section_info .info input[type="text"],
	.layer_modal .modal-body.modal_section_wrap .section_info .info input[type="tel"] {
		height: 40px;
		text-indent: 12px;
		font-size: 12px;
		border-radius: 8px;
	}
	.layer_modal .modal-body.modal_section_wrap .section_info .header button {
		padding: 3px 8px;
		font-size: 12px;
	}

	/************* 카드 등록 모달 *************/
	.layer_modal .pay-modal .modal-dialog .modal-content hr {
		margin-bottom: 16px;
	}
	.layer_modal .pay-modal .modal-dialog .modal-content .modal-body {
    padding: 0 20px 50px;
  }
	.layer_modal .pay-modal .modal-dialog .modal-content .modal-body .pay-notice {
    margin-bottom: 32px;
  }
	.layer_modal .pay-modal .modal-dialog .modal-content .modal-body > form {
    gap: 8px;
  }
	.layer_modal .pay-modal .modal-dialog .modal-content .modal-body > form > div {
    gap: 45px;
  }
	.layer_modal .pay-modal .modal-dialog .modal-content .modal-body form > div > b {
    width: 45px;
    min-width: 45px;
    font-size: 12px;
  }
	.layer_modal .pay-modal .modal-dialog .modal-content .modal-body form > div > input {
    width: 100%;
    height: 40px;
  }
	.layer_modal .pay-modal .modal-dialog .modal-content .modal-body form > div:first-of-type > input {
    width: 100%;
  }
	.layer_modal .pay-modal .modal-dialog .modal-content .modal-body form > div > div.radio > label > .title:before {
		top: 4px;
	}
	.layer_modal .pay-modal .modal-dialog .modal-content .modal-body > form > div >div.radio > label >span > i {
		margin-top: 0px;
		padding-bottom: 1px;
	}
	.layer_modal .pay-modal .modal-dialog .modal-footer {
    margin: 0 auto;
    padding-bottom: 80px;
  }

	/*********** 카드 구분(간편 / 페이) ***********/
	#payment_card_modal .modal-body .section_pay_wrap {
		margin-bottom: 0;
	}
	#payment_card_modal .modal-body .section_pay_wrap .section_first_wrap .pay_header,
	#payment_card_modal .modal-body .section_pay_wrap .section_second_wrap .pay_header {
		margin: 0 20px;
		padding: 15px 10px;
	}

	#payment_card_modal .modal-body .section_pay_wrap .pay_header .radio label {
		padding-left: 28px;
		line-height: 22px;
		font-size: 14px;
	}
	#payment_card_modal .modal-body .section_pay_wrap .pay_header .radio input {
		width: 20px;
		height: 20px;
	}
	#payment_card_modal .modal-body .pay_header .content_title .naver_pay_image {
		height: 20px;
	}
	#payment_card_modal .modal-body .pay_header .content_title .naver_pay_title {
		left: 100px;
	}
	#payment_card_modal .modal-body .pay_header .tooltip-naver {
		font-size: 12px;
		top: 10px;
	}

	.layer_modal .modal-body .pay_body .option-container {
		padding: 0 20px;
	}

	/* 할부 select box */
	#payment_card_modal .modal-body .card_quota_select {
		width: 244px;
		height: 38px;
		padding: 8px 20px 10px;
		font-size: 12px;
	}


	/* 종이책 구매 정보 */
	.book_purchase_modal .modal-body{
		padding : 20px;
		min-height: 1000px;
	}

	.book_purchase_modal .modal-body .section_order_info {
		margin-bottom: 20px;
	}

	.book_purchase_modal .modal-body .section_order_info .header,
	.book_purchase_modal .modal-body .section_buyer_info .header,
	.book_purchase_modal .modal-body .section_shipping_info .header{
		font-size: 14px;
		margin-bottom: 10px;
	}

	.book_purchase_modal .modal-body .section_order_info .order_info_content {
		padding : 20px;
	}

	.book_purchase_modal .modal-body .section_order_info .order_info_content img{
		width: 100px;
		height: 141px;
	}

	.book_purchase_modal .modal-body .section_order_info .order_info_content .order_info .title{
		font-size: 14px;
	}

	.book_purchase_modal .modal-body .section_order_info .order_info_content .order_info .price{
		font-size: 12px;
	}
	.book_purchase_modal .modal-body .section_order_info .order_info_content .order_info .btn_preview {
		font-size: 12px;
		padding: 7px 10px;
	}

	.book_purchase_modal .modal-body .section_buyer_info {
		margin-bottom: 20px;
	}

	.book_purchase_modal .modal-body .section_buyer_info .buyer_info {
		gap : 10px;
		padding : 20px;
	}

	.book_purchase_modal .modal-body .section_buyer_info .buyer_info input {
		border-radius: 12px;
		height: 36px;
		padding-left: 20px;
		font-size : 12px;
	}

	.book_purchase_modal .modal-body .section_shipping_info .shipping_info {
		gap : 10px;
	}

	.book_purchase_modal .modal-body .section_shipping_info .shipping_info input[type="text"] {
		border-radius: 12px;
		height: 36px;
		padding-left: 20px;
		font-size : 12px;
	}

	.book_purchase_modal .modal-body .section_shipping_info .shipping_info input#postcode {
		margin-right : 130px;
	}

	.book_purchase_modal .modal-body .section_shipping_info .shipping_info input#postcode_button {
		width : 120px;
		height: 36px;
		font-size: 12px;
	}

	.book_purchase_modal .modal-footer button {
		width: 125px;
		height: 36px;
		font-size: 12px;
	}

	.book_purchase_modal .modal-body .modal-desc {
		height: 12px;
		font-size: 10px;
		padding: 0px;
		margin: 10px 0 20px;
		width: 100%;
	}
	.book_purchase_modal .modal-body .modal-desc i {
		width: 12px;
		height: 12px;
		margin-left: 6px;
	}
	.book_purchase_modal .modal-body .checkbox > label input[type=checkbox] {
		top: 0px;
		width: 16px;
		height: 16px;
		margin-left: -22px;
	}

	.book_purchase_modal .modal-content hr {
		display: none;
	}

	.book_purchase_modal .modal-footer {
		margin-top: 20px;
	}

	/*휴대폰인증 팝업*/
	.auth_sms_code_modal .modal-dialog {
		min-height: unset;
		height: unset;
	}
	.auth_sms_code_modal .modal-content {
		background-color: #F3F9FE;
	}
	.auth_sms_code_modal .modal-content	.modal-header{
		background-color: #fff;
	}
	.auth_sms_code_modal .modal-body {
		padding: 10px 20px;
	}

	#payment_card_modal_body .payment-coupon-box {
		padding: 5px 20px 10px;
	}
	#payment_card_modal_body .payment-coupon-box p {
		font-size: 12px;
	}
	#payment_card_modal_body .payment-coupon-box .final-price {
		font-size: 14px;
	}
	#payment_card_modal_body .payment-coupon-box .final-price .amount {
		font-size: 14px;
	}
}

/*********** 휴대폰 인증 모달 전용 스타일 ***********/
.layer_modal #auth_sms_modal .modal-dialog {
	width: 500px;
	margin: 10% auto;
}

.layer_modal #auth_sms_modal .modal-content {
	border-radius: 16px;
	padding: 0;
}

.layer_modal #auth_sms_modal .modal-header {
	text-align: center;
	padding: 24px 60px 20px;
	position: relative;
	border-bottom: 1px solid #e0e0e0;
}

.layer_modal #auth_sms_modal .modal-title {
	font-size: 18px;
	font-weight: 700;
	color: #000;
	width: 100%;
}

.layer_modal #auth_sms_modal .close-btn {
	position: absolute;
	top: 20px;
	right: 20px;
	width: 24px;
	height: 24px;
	min-width: 24px;
	padding: 0;
	background: none;
	border: none;
}

.layer_modal #auth_sms_modal .close-btn img {
	width: 24px;
	height: 24px;
	object-fit: contain;
}

.layer_modal #auth_sms_modal hr {
	display: none;
}

.layer_modal #auth_sms_modal .modal-body {
	width: 100%;
	padding: 24px 40px 40px;
	background-color: #fff;
	border-radius: 16px;
}

.layer_modal #auth_sms_modal .section_info {
	padding: 0;
	margin-bottom: 24px;
}

.layer_modal #auth_sms_modal .section_info .header {
	font-size: 14px;
	font-weight: 700;
	margin-bottom: 12px;
	text-align: left;
	line-height: 1.4;
}

.layer_modal #auth_sms_modal .section_info .info {
	padding: 0;
	background: none;
	border-radius: 0;
	gap: 0;
}

.layer_modal #auth_sms_modal input[type="tel"],
.layer_modal #auth_sms_modal input[type="text"] {
	width: 100%;
	height: 52px;
	background: #F5F5F5;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	padding: 0 20px;
	font-size: 16px;
	color: #000;
	text-indent: 0;
}

.layer_modal #auth_sms_modal input[type="tel"]::placeholder,
.layer_modal #auth_sms_modal input[type="text"]::placeholder {
	color: #999;
}

.layer_modal #auth_sms_modal input[type="tel"]:focus,
.layer_modal #auth_sms_modal input[type="text"]:focus {
	outline: none;
	border-color: #5B9BFF;
}

.layer_modal #auth_sms_modal .modal-footer {
	padding: 0;
	margin: 0;
	border: none;
	width: 100%;
}

.layer_modal #auth_sms_modal .modal-footer button {
	width: 100%;
	height: 52px;
	background: #5B9BFF;
	border: none;
	border-radius: 8px;
	color: #fff;
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
	transition: background 0.3s;
}

.layer_modal #auth_sms_modal .modal-footer button:hover {
	background: #4A8AEE;
}

.layer_modal #auth_sms_modal .modal-footer button:disabled {
	background: #E0E0E0;
	cursor: not-allowed;
}

.layer_modal #auth_sms_modal .text-desc {
	position: absolute;
	top: 15px;
	right: 16px;
	font-size: 14px;
	color: #888;
}

.layer_modal #auth_sms_modal .input-desc {
	display: block;
	font-size: 12px;
	color: #888;
	margin-top: 8px;
	line-height: 1.4;
}

/* 재발송 버튼 스타일 */
.layer_modal #auth_sms_modal .section_info .header button {
	float: right;
	border: 1px solid #5B9BFF;
	border-radius: 6px;
	padding: 3px 12px;
	font-size: 12px;
	font-weight: 700;
	background-color: #fff;
	color: #5B9BFF;
	cursor: pointer;
	margin-left: 10px;
}

.layer_modal #auth_sms_modal .section_info .header button:hover {
	background-color: #5B9BFF;
	color: #fff;
}

/* 확인/취소 버튼 (footer-right) */
.layer_modal #auth_sms_modal .modal-footer.footer-right {
	display: flex;
	gap: 12px;
	justify-content: flex-end;
	width: 100%;
}

.layer_modal #auth_sms_modal .modal-footer.footer-right button {
	width: auto;
	min-width: 100px;
	height: 44px;
	padding: 0 24px;
	border-radius: 8px;
	font-size: 14px;
}

.layer_modal #auth_sms_modal .modal-footer.footer-right .btn_no {
	background: #E0E0E0;
	color: #666;
}

.layer_modal #auth_sms_modal .modal-footer.footer-right .btn_no:hover {
	background: #D0D0D0;
}

.layer_modal #auth_sms_modal .modal-footer.footer-right .btn_yes {
	background: #5B9BFF;
	color: #fff;
}

.layer_modal #auth_sms_modal .modal-footer.footer-right .btn_yes:hover {
	background: #4A8AEE;
}

/* open_apply 단계 스타일 */
.layer_modal #auth_sms_modal .section_info .header {
	text-align: left;
}

/* 완료 단계 스타일 */
.layer_modal #auth_sms_modal .success-icon {
	width: 60px;
	height: 60px;
	margin: 20px auto 20px;
	background: #5B9BFF;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 36px;
	color: #fff;
	font-weight: bold;
}

.layer_modal #auth_sms_modal .section_info.success-content {
	text-align: center;
	padding: 20px 0;
}

.layer_modal #auth_sms_modal .section_info.success-content .header {
	font-size: 20px;
	font-weight: 700;
	color: #000;
	margin-bottom: 12px;
	text-align: center;
}

.layer_modal #auth_sms_modal .section_info.success-content .desc {
	font-size: 14px;
	color: #888;
	text-align: center;
	margin-top: 8px;
}

/* phone 표시 스타일 (confirm 단계) */
.layer_modal #auth_sms_modal .section_info .info .phone {
	font-size: 18px;
	font-weight: 600;
	color: #000;
	padding: 16px 20px;
	background: #F5F5F5;
	border-radius: 8px;
	text-align: center;
	margin: 0;
}

/* 모바일 반응형 */
@media (max-width: 768px) {
	.layer_modal #auth_sms_modal .modal-dialog {
		width: 90%;
		margin: 20% auto;
	}
	
	.layer_modal #auth_sms_modal .modal-header {
		padding: 24px 30px 20px;
	}
	
	.layer_modal #auth_sms_modal .modal-title {
		font-size: 14px;
	}
	
	.layer_modal #auth_sms_modal .close-btn {
		top: 16px;
		right: 16px;
		width: 20px;
		height: 20px;
		min-width: 20px;
	}
	
	.layer_modal #auth_sms_modal .close-btn img {
		width: 20px;
		height: 20px;
	}
	
	.layer_modal #auth_sms_modal .modal-body {
		padding: 20px 30px 30px;
	}
	
	.layer_modal #auth_sms_modal .section_info {
		margin-bottom: 20px;
	}
	
	.layer_modal #auth_sms_modal .section_info .header {
		font-size: 13px;
		margin-bottom: 10px;
	}
	
	.layer_modal #auth_sms_modal input[type="tel"],
	.layer_modal #auth_sms_modal input[type="text"] {
		height: 48px;
		font-size: 14px;
		padding: 0 16px;
	}
	
	.layer_modal #auth_sms_modal .modal-footer button {
		height: 48px;
		font-size: 15px;
	}
	
	.layer_modal #auth_sms_modal .modal-footer.footer-right button {
		height: 42px;
		font-size: 13px;
		min-width: 80px;
		padding: 0 20px;
	}
	
	.layer_modal #auth_sms_modal .success-icon {
		width: 50px;
		height: 50px;
		font-size: 30px;
		margin: 15px auto 15px;
	}
	
	.layer_modal #auth_sms_modal .section_info.success-content .header {
		font-size: 18px;
	}
	
	.layer_modal #auth_sms_modal .section_info.success-content .desc {
		font-size: 13px;
	}
	
	.layer_modal #auth_sms_modal .section_info .info .phone {
		font-size: 16px;
		padding: 14px 16px;
	}
	
	.layer_modal #auth_sms_modal .input-desc {
		font-size: 11px;
		margin-top: 6px;
	}
}
