@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@100..900&display=swap');

body {
	background: #e9f4f7;
	height: 100dvh; /* 뷰포트 전체 높이 */
	/* overflow:hidden;*/
	overflow-x:hidden;
	overflow-y:auto;
	-webkit-overflow-scrolling: touch; /* iOS에서 부드러운 스크롤 */
}

.scroll_area {
	overflow:auto;
}
.text-strike {
    text-decoration: line-through;
}


.scroll-b::-webkit-scrollbar {
	width: 5px;
}
.scroll-b::-webkit-scrollbar-thumb {
	height: 20%;
	background-color: rgba(0, 0, 0, 0.2);
	border-radius: 20px;
}
.scroll-b::-webkit-scrollbar-track {
	background-color: rgba(0, 0, 0, 0);
}

@media (max-width: 600px) {
	.bar {
		height: 12vh !important;
		flex-wrap: wrap;
	}
}

.bar {
	background-color: #282828;
	display: flex;
	gap: 10px;
	padding: 15px;
	height: 6vh;
	width:100%;
	justify-content: space-between;
	align-items: center;
	/* position: absolute;
	top: 0;
	left: 0;
	right: 0; */
}

.bar .logo {
	display: flex;
	align-items: center;
	gap: 10px;
}

.bar .logo>i {
	color: #FFF;
}

.logo_img {
	cursor: pointer;
	width: 100px;
}
.logo .store_cont {
	display:flex;
	align-items:center;
	gap:5px;
}
.logo .store_cont .store_name {
	color:#f2c904;
	font-size:0.9rem;
	display:flex;
	align-items:center;
	font-weight:500;
}
.logo .store_cont .store_name::before {
	content:"\e5d4";
	font-family: material symbols outlined;
	margin-right:5px;
}




.bar .logo .title {
	background-color: transparent;
	font-size: var(--title-font_size-xs);
	display: flex;
	gap: 10px;
	align-items: center;
}

.bar .logo .login_btn {
	background-color: transparent;
	height: 1.2rem;
}

.bar .logo .title .nick_tit {
	color: #FFF;
	font-size: var(--body-font_size-m);
	display: flex;
	gap: 10px;
	cursor: pointer;
	padding: 5px 10px;
	align-items: center;
}

.bar .logo .title .nick_tit>i {
	font-size: 1rem;
}

.bar .logo .title .nick_tit:hover {
	background: rgba(255, 255, 255, 0.1);
	border-radius: 30px;
}


.bar .logo .title .nick_tit>span {
	border-left: 1px solid rgba(255, 255, 255, 0.5);
	padding-left: 10px;
}


.bar .call {
	display: flex;
	align-items: center;
	gap: 15px;
}
.bar .call .logout {
	background:rgba(255,255,255,0.10);
	color:rgba(255,255,255,0.8);
	border:none;
	border-radius:30px;
	padding:3px 10px;
	cursor:pointer;
}
.bar .call .call_btn {
	background: linear-gradient(45deg, #e00505, #ffa600 150%);
	color: #FFF;
	height: 6vh;
	padding: 0 20px;
	border: none;
	font-weight: 600;
	cursor: pointer;
}

.bar .call>button i {
	font-size: 1.3rem;
}
.bar .call .passwodr_btn {
	border:none;
	background:transparent;
	color:#FFF;
	cursor: pointer;
	display:flex;
	align-items:center;
	gap:5px;
	font-size:0.8rem;
}
.bar .call .passwodr_btn::before {
	content:"\f02e";
	font-family:material symbols outlined;
	font-size:1rem;
}


.bar .button {
	align-items: center;
	background-color: #b3261e;
	border-radius: 100px;
}
.logo .room_cont {
	display:none;
}

/* 스위치 */
.switch {
	position: relative;
	display: inline-block;
	width: 55px;
	height: 28px;
}

/* Hide default HTML checkbox */
.switch input {
	opacity: 0;
	width: 0;
	height: 0;
}


.no-data {
	text-align:center;
	padding:20% 0 0 0;
	color:#b4b4b4;
}
.no-data .btn {
	border:none;
	color:#fff;
	background:#333;
	margin-top:10px;
	border-radius:30px;
	padding:7px 20px;
	cursor:pointer;
}
.no-data .btn i {
	font-size:1rem;
}



/* The slider */
.slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #ccc;
	-webkit-transition: .4s;
	transition: .4s;
}

.slider:before {
	position: absolute;
	content: "";
	height: 20px;
	width: 20px;
	left: 4px;
	bottom: 4px;
	background-color: white;
	-webkit-transition: .4s;
	transition: .4s;
}

input:checked+.slider {
	background-color: #00aeac;
}

input:focus+.slider {
	box-shadow: 0 0 1px #00aeac;
}

input:checked+.slider:before {
	-webkit-transform: translateX(26px);
	-ms-transform: translateX(26px);
	transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
	border-radius: 34px;
}

.slider.round:before {
	border-radius: 50%;
}


.screen.index {
	display: grid;
	grid-template-columns: 160px auto;
	height: calc(100dvh - 6vh); /* 남은 높이 */
	width: 100%;
}

.screen.index .side_menu>a {
	padding: 40px 20px;
	text-align: center;
}

.screen.edit {
	height: calc(100dvh - 12vh); /* 남은 높이 */
	width: 100%;
	padding: 5vh;
}


.side_menu {
	background: #8EAAB3;
	display: flex;
	flex-direction: column;
	position: relative;
	height:auto;
}

.side_menu>a {
	padding: 20px;
	font-size: var(--title-font_size-m);
	font-weight: 600;
	color: #0e0e0e;
}

.side_menu>a.on {
	background: #12586F;
	color: #FFF;
}


.side_menu .bill_btn {
	padding: 20px;
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.side_menu .bill_btn .ld_btn {
	background: #065fc5;
}

.side_menu .bill_btn .ld_btn.on {
	background: #002957;
}

.side_menu .bill_btn>button i {
	font-size: 1rem;
	margin-right: 5px;
}

.side_menu .bill_btn>button {
	background: #333;
	color: #FFF;
	width: 100%;
	padding: 10px 0;
	border: none;
	border-radius: 5px;
	font-size: var(--title-font_size-xs);
	font-weight: 500;
	cursor: pointer;
}

.inner_cont {
	padding: 5vh;
}


.basket_order {
	position: fixed;

	bottom: 30px;
	right: 30px;
	z-index:999;
	border-radius: 50px;
	padding: 15px 30px;
	display: flex;
	align-items: center;
	gap: 5px;
	background: linear-gradient(-45deg, #1386C1, #5700AF);
	border: none;
	color: #FFF;
	font-weight: 600;
	font-size: 1.2rem;
	cursor: pointer;
	box-shadow: 0px 5px 15px rgb(0 0 0 / 16%);
	-moz-box-shadow: 0px 2px 7px rgba(0, 0, 0, .15);
	-webkit-box-shadow: 0px 2px 7px rgb(0 0 0 / 16%);
}

.basket_order i {
	font-size: 1.3rem;
}

.basket_order .count {
	margin-left: 10px;
	border-left: 1px solid rgba(255, 255, 255, 0.5);
	padding-left: 20px;
}



.expand-button {
	position: fixed;
	bottom: 30px;
	right: 30px;
	z-index: 999;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #0c78a2;
	color: white;
	border: none;
	border-radius:30px;
	cursor: pointer;
	padding: 10px;
	overflow: hidden;
	white-space: nowrap;
	max-width: 50px;
	box-shadow: 0px 5px 15px rgb(0 0 0 / 16%);
	-moz-box-shadow: 0px 2px 7px rgba(0, 0, 0, .15);
	-webkit-box-shadow: 0px 2px 7px rgb(0 0 0 / 16%);
}
.expand-button span {
	opacity: 0;
	width: 0;
	overflow: hidden;
	font-size:1rem;
	font-weight:600;
	transition: opacity 0.5s ease-in-out, width 0.5s ease-in-out;
}

.expand-button:focus,
.expand-button:hover {
	border-radius:30px;
	padding: 10px 20px;
	max-width: 300px;
	/* 단어 길이에 따라 확장 */
}
.expand-button:focus span,
.expand-button:hover span {
	opacity: 1;
	width: auto;
}


/*
.menu_add, .menu_add2 {
	position: fixed;
	bottom: 30px;
	right: 30px;
	z-index: 999;
	border-radius: 30px;
	padding: 10px 15px;
	display: flex;
	align-items: center;
	gap: 5px;
	border: none;
	color: #FFF;
	font-weight: 400;
	font-size: 1rem;
	cursor: pointer;
	box-shadow: 0px 5px 15px rgb(0 0 0 / 16%);
	-moz-box-shadow: 0px 2px 7px rgba(0, 0, 0, .15);
	-webkit-box-shadow: 0px 2px 7px rgb(0 0 0 / 16%);
	background: #0c78a2;
}
.menu_add i {
	font-size: 1.3rem;
}
.menu_add2 {
	bottom:80px;
}
*/



.deps_tab {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 5px;
	margin-bottom: 20px;
}
.deps_tab>li {
	background: #d5e2e7;
	border-radius: 30px;
	padding: 10px 20px;
	font-size: 0.9rem;
	cursor: pointer;
}
.tab_info {
	display:flex;
	align-items:center;
	justify-content: space-between;
}
.tab_info .info {
	display:flex;
	align-items:center;
	gap:5px;
	font-size:0.9rem;
	border:1px solid rgba(0,0,0,0.2);
	background:rgba(0,0,0,0.05);
	padding:3px 10px;
	border-radius:20px;
	color:#606060;
	margin-bottom: 20px;
}
.tab_info .info i {
	font-size:1rem;
}
.deps_tab>li.on {
	background: #0c78a2;
	color: #FFF;
}
.deps_tab>li>.count {
	margin-left: 10px;
}

.title_page {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 10px;
}

.title_page > h1 {
	font-size: 1.2rem;
	text-align: center;
	color: #333;
	text-shadow: 2px 2px #d5d5d5;
}

.filter {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	margin-bottom: 10px;
	border: 1px solid transparent;
	border-radius: 10px;
	padding: 0 20px;
	width: min-content;
}

.filter:hover {
	border: 1px solid #acacac;
}

.filter::before {
	content: "\e429";
	font-family: material symbols outlined;
}

.filter select {
	background: transparent;
	border: none;
	cursor: pointer;
	font-size: 0.9rem;
	width: auto;
	padding-right: 15px;
}

.filter select:hover {
	border: none;
}


/* 페이징 */
.page {
	display: flex;
	flex-wrap: nowrap;
	justify-content: center;
	margin: 5px 0 0 0;
}

.page .prev i,
.page .next i {
	color: rgba(0, 0, 0, 0.3);
	font-size: 1.8125rem;
	line-height: 2rem;
	cursor: pointer;
}

.page .prev i:hover,
.page .next i:hover {
	color: rgba(0, 0, 0, 1);
	transition: all .4s;
}

.page .num ul {
	display: flex;
	flex-wrap: nowrap;
	justify-content: center;
}

.page .num ul li {
	border: 1px solid #d4d4d4;
	list-style: none;
	color: rgba(0, 0, 0, 0.6);
	border-radius: 3px;
	padding: 5px 10px;
	cursor: pointer;
	margin-left: -1px;
}

.page .num ul li:hover {
	color: #aaaaaa;
	background: rgba(0, 0, 0, 0.1);
	border-color: #aaaaaa;
	transition: all .4s;
	z-index: 1;
	position: relative;
}

.page .num .now {
	color: #727272;
	background: #FFFFFF;
	border-color: #aaaaaa;
	z-index: 1;
}

.page .num ul li>a {
	color: #afafaf;
}

.page .num ul li.now>a {
	color: var(--color-gray_09);
}


.all_total {
	margin-top: 20px;
}

.all_total>ul {
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-weight: 600;
	font-size: 1.2rem;
}





.no_content {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 10% 0;
}

.no_content i {
	font-size: 2rem;
	color: #b5b5b5;
}

.no_content h2 {
	font-size: 1rem;
	color: #b5b5b5;
	font-weight: 400;
}



/* 장바구니 모달 */
.basket_time {
	position: absolute;
	left: 160px;
	top: 30px;
	font-size: 0.8rem;
	background: #eaeaea;
	padding: 3px 10px;
	border-radius: 30px;
}

.basket_order_list {
	display: flex;
	flex-direction: column;
	gap: 15px;
	max-height: 340px;
	overflow: auto;
}

.basket_order_list>ul {
	display: grid;
	grid-template-columns: 50px auto 130px;
	gap: 15px;
}
.basket_order_list>ul>li img {
	width:100%;
	height: 100%;
	object-fit: cover;
	border-radius:5px;
}
.basket_order_list .img_cont {
	overflow: hidden;
	width:50px;
	height:50px;
	border-radius:5px;
}

.basket_order_list>ul>li h1 {
	font-size: 1rem;
}

.basket_order_list>ul>li .ld_info {
	font-size: 0.8rem;
}

.basket_order_list .order_count {
	display: flex;
	grid-template-columns: repeat(3, 3fr);
	align-content: center;
	justify-content: flex-end;
	justify-items: center;
	align-items: center;
	gap: 3px;
}

.basket_order_list .order_count>button {
	background: #0B8EC2;
	border: none;
	width: 35px;
	height: 35px;
	line-height: 35px;
	cursor: pointer;
	border-radius: 5px;
}

.basket_order_list .order_count>button i {
	color: #FFF;
}

.basket_order_list .order_count>input[type='text'] {
	border: 1px solid #0B8EC2;
	border-radius: 3px;
	text-align: center;
	outline: none;
	width: 50px;
	height: 35px;
}

.end_btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 15px;
	margin-top: 20px;
}

.end_btn button {
	border-radius: 50px;
	height: 45px;
	line-height: 45px;
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 5px;
	font-size: 1rem;
	border: 1px solid #333;
	background: #333;
	color: #FFF;
	cursor: pointer;
}

.end_btn button i {
	font-size: 1rem;
}

.end_btn .progress {
	background: #0B8EC2;
	border: 1px solid #0B8EC2;
}
.end_btn .importance {
	background: #d44006;
	border: 1px solid #d44006;
}

/* 장바구니 모달 끝 */



.all_price_change {
	position: fixed;
	bottom: 30px;
	right: 30px;
	z-index:999999;
}
.toggle-btn {
	display: block;
	cursor: pointer;
}
.toggle-btn input[type='checkbox']{
	display:none;
}
.toggle-btn input[type='checkbox'] + span {
	display:block;
	width:50px;
	height:50px;
	text-align:center;
	line-height:50px;
	background-image: linear-gradient(45deg, #43bce1 0%, #6fc916 51%);
	text-shadow: 1px 2px 5px rgba(0, 0, 0, 0.3);
	border-radius:100px;
	font-size:1.4rem;
	font-weight:600;
	color:#FFF;
	box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.4);
	-webkit-box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.4);
	-moz-box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.4);
	transition: all 0.4s ease-in-out;
	white-space: nowrap;
}
.toggle-btn input[type='checkbox'] + span::before {
	content:"$";
}
.toggle-btn input[type='checkbox']:checked + span {
	background-image: linear-gradient(45deg, #ffc089 0%, #d53e8a 51%);
	transform: rotateY(360deg);
}
.toggle-btn input[type='checkbox']:checked + span::before {
	content:"₫";
}


/* 메뉴 등록 모달 */
.product_reg_cont {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.product_reg_cont h1 {
	font-size: 0.8rem;
	font-weight: 400;
	color: #909090;
	margin-bottom: 5px;
}

.product_reg_cont .category_set {
	display: flex;
	gap: 20px;
}

.product_reg_cont .category_set>div {
	width: 100%;
}

.product_reg_cont .category_set>div .add {
	display: grid;
	grid-template-columns: 215px 30px 30px;
	align-items: center;
	gap: 5px;
	margin-top: 20px;
}

.product_reg_cont .category_set>div .add>input[type='text'] {
	width: auto;
}

.product_reg_cont .category_set>div .add>input[type='text']::placeholder {
	font-size: 0.8rem;
}

.product_reg_cont .category_set>div .add>button {
	width: 100%;
	height: 35px;
	border: 1px solid #7d7d7d;
	background: #f5f5f5;
	color: #6e6e6e;
	border-radius: 3px;
	cursor: pointer;
	font-size: 1.3rem;
}
/* 메뉴 등록 모달 끝 */

/* bill 모달 */
.person_info {
	display: flex;
	font-size: 0.8rem;
	gap: 5px;
	position: absolute;
	top: 50px;
	left: 50%;
	transform: translate(-50%, 0);
	/* right: 0; */
	align-items: center;
	flex-direction: column;
}
.person_info .seat {
	font-size: 1.1rem;
	font-weight: 600;
}
.person_info .time {
	border-bottom: 1px solid #ddd;
	text-align: center;
}

.basic_bill .price_change {
	position:absolute;
	top:-40px;
	right:0px;
	font-size:0.8rem;
}

.basic_bill {
	margin: 40px 0 10px 0;
	position:relative;
}
.basic_bill ul {
	display: grid;
	grid-template-columns: 1fr max-content;
	align-items: center;
}
.bill_list {
	margin: 20px 0;
	position:relative;
}
.bill_list .price_change {
	position:absolute;
	top:-20px;
	right:0px;
	font-size:0.8rem;
}
.bill_list .prduct_title {
	display:flex;
	gap:10px;
}
.bill_list .prduct_title > span {
	max-width:350px;
}

.bill_list>div {
	max-height: 300px;
	overflow: auto;
	display: flex;
	flex-direction: column;
	gap: 1px;
}
.bill_list.staff ul {
	grid-template-columns: 1fr 80px;
}
.bill_list ul {
	display: grid;
	grid-template-columns: 1fr 80px 100px;
	align-items: center;
	font-size: 0.9rem;
}
.bill_list ul>li:last-child {
	text-align: right;
}

.bill_list .total {
	font-size:1rem;
	font-weight:600;
}
/* bill 모달 끝 */




/* detail 모달 */
.total_order {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 20px;
}

.total_order>div h1 {
	font-size: 0.7rem;
	font-weight: 400;
	color: #979797;
}

.total_order>div {
	font-size: 1.1rem;
	font-weight: 600;
}

/* 다크 모드일 때 */
@media (prefers-color-scheme: dark) {

	/* seat.vue */
	.seat .title {
		color: #333333;
	}

	.seat .input-chip input[type='checkbox']+label {
		border: 1px solid #333;
		color: #333;
	}

	.seat .input-chip input[type='checkbox']:checked+label {
		border: 1px solid #00bc83;
		color: #00bc83;
	}

	.seat .input-chip input[type='checkbox']:disabled+label {
		border: 1px solid #bbbbbb;
		color: #bbbbbb;
	}

	/* 장바구니 */
	.basket_time {
		background: rgba(255, 255, 255, 0.5);
		color: #fff;
	}

	/* product.vue (메뉴,LD메뉴) */
	.menu_list>div .title {
		color: #333;
	}

	.menu_list>div .price {
		color: #333;
	}

	.deps_tab>li {
		color: #333;
	}

	/* view_order.vue */
	.deps_tab>li {
		color: #282828;
	}

	.vieworder_list .title_bar li {
		color: #333;
	}

	.vieworder_list>ul {
		color: #333;
	}

	/* table_status.vue */
	.tablestatus_list>div {
		color: #333;
	}

	.tablestatus_list .person {
		background: #000;
		color: #333;
	}

	.payment_person_info .person {
		background: #2f2f2f;
		/* color:#FFF;*/
	}
}


/* 사용자 모바일 모드 */
@media screen and (max-width: 768px) {

	.bar{
		height: 6.5vh !important;
        z-index: 99;
		flex-wrap: nowrap;
		padding:0;
	}
	.bar .call .logout, .toggle_edit_mode {
		display:none;
	}

	.bar .logo {
		padding-left:10px;
	}
	.bar .call .call_btn {
		padding:0 10px;
		height:6.5vh;
	}
	.bar .call .call_btn i {
		display:block;
		font-size:1rem;
	}

	.logo .store_cont {
		gap:0;
	}
	.logo .store_cont .store_name::before {
		margin:0;
	}
	.logo .room_cont {
		display:flex;
		align-items:center;
		gap:5px;
		border:1px solid rgba(255,255,255,0.3);
		color:#FFF;
		border-radius:30px;
		padding:3px 5px;
		font-size:0.7rem;
		font-weight:500;
		cursor:pointer;
	}
	.logo .room_cont > span {
		font-size:0.7rem;
		color:rgba(255,255,255,0.5);
	}
	.logo .room_cont:hover {
		background:rgba(255,255,255,0.1);
	}
	.logo_img {
		width:80px;
	}

	.screen.index {
		width: 100%;
		display: flex;
		flex-direction: column;
		height: calc(100dvh - 10vh);
	}
	.screen.index .side_menu > a {
		text-align: center;
		width: 100%;
		font-size:0.9rem;
		padding:0;
	}
	.inner_cont {
		padding: 10px 10px 10vh 10px;
	}

	.side_menu {
		background: #8EAAB3;
		position: fixed;
		bottom: 0;
		left: 0;
		right: 0;
		z-index: 999;
		justify-content: space-between;
		flex-direction: row;
		height:10vh;
		line-height:10vh;
	}

	.side_menu .bill_btn {
		position: absolute;
        right: auto;
        left: 10px;
        padding: 0;
        bottom: 11.5vh;
        gap: 5px;
		flex-direction: row
	}
	.side_menu .bill_btn>button{
		font-size:0.8rem;
        padding: 8px 15px;
        width: auto;
	}
	.basket_order {
		bottom: 11.5vh;
    	right: 10px;
		padding: 8px 15px;
		font-size: 0.9rem;
		align-items:center;
		gap:2px;
	}
	.basket_order i {
		font-size:0.9rem;
	}
	.basket_order .count {
		padding-left: 10px;
	}
	.deps_tab > li {
		padding: 5px 13px;
    	font-size: 0.8rem;
	}
	.basket_order_list > ul > li h1 {
		font-size:0.8rem;
		max-width:150px;
	}
	.basket_order_list > ul {
		gap:5px;
		align-items:center;
	}

	.title_page > h1 {
		font-size:0.9rem;
	}
	.filter {
		margin-bottom:0px;
	}
	.filter select {
		-webkit-appearance: none;
		-moz-appearance: none;
		appearance: none;
		color: #333; /* 텍스트 색상 */
	}

	.basket_order_list>ul {
		grid-template-columns: 50px auto auto;
	}
}

/* 프린트 스타일 */
@media print {
	body {
		height: auto !important;
		overflow-x:visible !important;
		overflow-y:visible !important;
		-webkit-overflow-scrolling: touch; /* iOS에서 부드러운 스크롤 */
	}
	.screen.edit {
		height: auto !important;
	}
}
