.pos .topBar{
	font-size: .24em;
	border-bottom: 1px solid;
	padding: 10px;
	height: 60px;
}

.pos .topBar input{
	border: none;
    padding: 5px 15px;
    padding-right: 30px;
	width: 25vw;
}

.pos .topBar .icon{
	position: absolute;
    right: 5px;
    top: 6px;
}

.pos .topBar .logo{
	max-height: 30px;
}

.pos .topBar .menuContainer{
	display: flex;
	gap: 20px;
	min-width: 250px;
	max-width: 250px;
}

.pos .topBar .operation{
	display: flex;
	gap: 10px;
}

.pos .topBar .operation .button{
	display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    padding: 5px;
    cursor: pointer;
    width: 40px;
    height: 40px;
	position: relative;
}

.pos .topBar .operation .button .number{
	position: absolute;
    background: var(--menu-button-selected-color);
    width: 20px;
    height: 20px;
    font-size: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    color: #fff;
    top: -2px;
    right: -2px;
}

.pos .container{
	height: calc(100vh - 60px);
	display: flex;
	max-width: unset;
}

.pos .menuBar{
	height: 100%;
	/* width: 100px; */
	min-width: 250px;
	max-width: 250px;
	/* padding: 5px; */
	border-right: 1px solid;
	position: relative;
	z-index: 1;
}

.pos .menuBar .button{
	font-size: .15em;
    cursor: pointer;
    text-align: left;
    padding: 10px;
    display: flex;
    gap: 10px;
    border-bottom: 1px solid var(--topbar-border-color);
	min-height: 50px;
}

.pos .menuBar .button.selected{
	/* border: 1px solid; */
}

.pos .menuBar .button:hover{
	/* border: 1px solid; */
}

.pos .dataContainer{
	/* width: calc(100vw - 250px); */
	width: 100%;
	/* padding: 15px; */
	padding: 5px;
	font-size: .15em;
	/* height: calc(100vh - 60px); */
	height: calc(100vh - 55px);
    overflow-y: overlay;
}

.pos .sideBar{
	height: 100%;
	width: 400px;
	min-width: 400px;
	max-width: 400px;
	border-left: 1px solid;
	font-size: .15em;
}

.pos .sideBar .operation{
	padding: 10px 5px;
	display: flex;
	border-bottom: 1px solid;
	height: 53px;
	gap: 5px;
}

.pos .sideBar .operation .button{
	display: flex;
	padding: 5px;
	cursor: pointer;
	gap: 5px;
}

.pos .sideBar .operation input{
	padding: 0 10px;
	border: 1px solid;
}

.pos .sideBar .itemList{
	padding: 5px;
	display: flex;
	flex-direction: column;
	gap: 2px;
	border-bottom: 1px solid;
	height: calc(100vh - 439px);
	overflow-y: auto;
}

.pos .sideBar .itemList .item{
	border-radius: 5px;
    padding: 5px 10px;
	/* display: flex; */
	text-align: left;
    border: none;
    display: block;
    width: unset;
    aspect-ratio: unset;
    position: inherit;
}

.pos .sideBar .itemList .item .amount{
	width: 30px;
	font-weight: bold;
}

.pos .sideBar .itemList .item .currency{
	min-width: 70px;
    text-align: right;
}

.pos .sideBar .summary{
	padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
	border-bottom: 1px solid;
}

.pos .sideBar .pay{
	padding: 5px;
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.pos .sideBar .pay .button{
	padding: 10px;
    text-align: center;
	width: 100%;
	cursor: pointer;
}

.pos .alertDialog{
	font-size: .15em;
}

.pos .posDialog{
	font-size: .15em;
    margin: auto;
    background: #fff;
    box-shadow: var(--box-shadow);
    border-radius: var(--border-radius);
	min-width: 860px;
	max-width: 860px;
}

.pos .posDialog .title{
	display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 10px 15px;
    border-bottom: 1px solid #e9ecef;
    background: #f5f5f5;
    border-radius: 5px 5px 0 0;
	font-weight: bold;
	font-size: 1.05em;
}

.pos .posDialog .itemList{
	padding: 5px;
    padding-top: 0;
	height: calc(100vh - 154px) !important;
}

.pos .posDialog .itemList .item{
	width: calc(100% / 5);
}

.pos .posDialog .sideBar .itemList .item{
	width: unset;
}

.pos .posDialog .paginationContainer{
	margin: 0;
    margin-bottom: 10px;
}

.pos .posDialog .operation{
	padding: 5px;
    border-top: 1px solid #e9ecef;
    display: flex;
    gap: 5px;
    justify-content: flex-end;
    width: 100%;
}

.pos .posDialog .operationCode{
	padding: 5px;
    border-top: 1px solid #e9ecef;
    display: flex;
    gap: 5px;
    justify-content: flex-start;
    width: 100%;
}

.pos .posDialog .operationCode .button{
	cursor: pointer;
    background: #878787;
	color: #fff;
    padding: 5px 20px;
    border-radius: 5px;
}

.pos .posDialog .operation .button{
	cursor: pointer;
    background: #878787;
	color: #fff;
    padding: 5px 20px;
    border-radius: 5px;
}

.pos .posDialog .searchBar{
	width: 100%;
}

.pos .posDialog .searchBar input{
	padding: 5px 10px;
    border: 1px solid;
	width: 100%;
	border-radius: var(--border-radius);
    border-color: var(--input-border-color);
}

.pos .posDialog .bar{
	padding: 10px;
	padding-bottom: 0;
}

.pos .posDialog .table{
	padding: 10px;
    padding-top: 0;
	height: calc(100vh - 400px) !important;
}

.pos .posDialog .filterBar{
	padding: 5px;
    border: 1px solid;
    display: flex;
    width: 100%;
	background: var(--bar-background-color);
    border-radius: var(--border-radius);
    border-color: var(--topbar-border-color);
	overflow-x: overlay;
}

.pos .posDialog .filterBar .item{
	padding: 3px 10px;
    border: 1px solid;
    cursor: pointer;
	border-radius: var(--border-radius);
    border-color: var(--bar-background-color);
}

.pos .posDialog .filterBar .item.selected{
	background: var(--menu-button-selected-background-color);
    color: var(--menu-button-selected-color);
    border-color: var(--menu-button-selected-border-color);
}

.pos .posDialog .sideBarContainer{
	width: 400px;
	border-left: 1px solid #e9ecef;
}

.pos .posDialog .sideBarContainer .topic{
	font-weight: bold;
    padding: 10px 15px;
    background: #f5f5f5;
    border-bottom: 1px solid var(--topbar-border-color);
	display: none;
}

.pos .posDialog .bar{
	display: flex;
	gap: 5px;
	padding: 5px;
}

.pos .posDialog .bar .button{
	display: flex;
	min-width: 40px;
	justify-content: center;
	border: 1px solid var(--topbar-border-color);
	min-height: 40px;
	align-items: center;
	border-radius: var(--border-radius);
	background: var(--button-background-color);
	cursor: pointer;
	position: relative;
}

.pos .posDialog .bar .button .number{
	position: absolute;
    background: var(--menu-button-selected-color);
    width: 20px;
    height: 20px;
    font-size: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    color: #fff;
    top: -2px;
    right: -2px;
}

/* search-box membership */
.search {
	width: 100%;
	display: flex;
}
  
.searchTerm {
	width: 100%;
	border: 3px solid #00B4CC;
	border-right: none;
	padding: 5px;
	height: 20px;
	border-radius: 5px 0 0 5px;
	outline: none;
	color: #9DBFAF;
}

.searchTerm:focus{
	color: #00B4CC;
}

.searchButton {
	width: 40px;
	height: 36px;
	border: 1px solid #00B4CC;
	background: #00B4CC;
	text-align: center;
	color: #fff;
	border-radius: 0 5px 5px 0;
	cursor: pointer;
	font-size: 20px;
}

/*Resize the wrap to see the search bar change!*/
.wrap{
	width: 30%;
	transform: translate(-50%, -50%);
}

/* .pos .member .itemList {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr ;
	grid-template-rows: 1fr 1fr 1fr 1fr 1fr 1fr;
	gap: 10px;
	height: calc(100vh - 178px);
	overflow-y: overlay;
} */

.member .item{
	/* width: 355px; */
}

.member .displayMember .list-detail p, .memberDialog .displayMember .list-detail p{
	width: 40%;
	text-align: start;
	font-weight: 700;
}

.member .displayMember .list-detail, .memberDialog .displayMember .list-detail{
	display: flex;
	align-items: center;
}

.memberDialog .button{
	background: green;
	padding: 10px;
	color: white;
}

.pos .posDialog.memberDialog input{
	width: 100%;
	font-size: 1em;
    padding: 5px 10px;
    border: 1px solid;
	text-align: left;
	width: 300px;
}

.pos .posDialog.memberDialog{
	min-width: unset;
}

.pos .posDialog.memberDialog .memberCode{
	padding: 15px;
	display: flex;
	gap: 5px;
}

.pos .posDialog.memberDialog .memberRegister{
	padding: 15px;
	gap: 5px;
}



.pos .posDialog.memberDialog .memberCode .button{
	display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 5px;
    border: 1px solid;
    cursor: pointer;
}

.pos .posDialog.memberDialog .memberRegister .button{
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 5px;
	border: 1px solid;
	cursor: pointer;
	border-radius: 10px;
	margin-left: 5px;
}

.pos .posDialog.memberDialog .memberRegister .isRequire{
	color: #ff2c2c;
}

.pos .posDialog.memberDialog .memberDetail{
	padding: 15px;
}

.pos .posDialog.memberDialog .memberDetail .button{
	display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 5px;
    border: 1px solid;
    cursor: pointer;
}

.pos .sideBar .itemList .optionContainer{
	padding-left: 28px;
	padding-top: 10px;
	padding-bottom: 5px;
	display: flex;
    flex-direction: column;
    gap: 5px;
}

.pos .sideBar .itemList .optionContainer input{
	border: 1px solid;
	padding: 3px 8px;
    font-size: 1em;
}

.pos .sideBar .itemList .optionContainer textarea{
	border: 1px solid;
	padding: 3px 8px;
    font-size: 1em;
	resize: none;
}

.pos .sideBar .itemList .orderOption{
	font-size: .85em;
    color: #818181;
    padding-left: 10px;
	display: flex;
	flex-direction: column;
	gap: 5px;
	padding-top: 5px;
}

.pos .posDialog.noteDialog textarea{
	font-size: 1em;
    padding: 5px 10px;
    border: 1px solid;
	width: 450px;
	height: 300px;
	resize: none;
}

.pos .posDialog.noteDialog{
	min-width: unset;
}

.pos .posDialog.noteDialog .noteContainer{
	padding: 15px;
	display: flex;
	gap: 5px;
}

.pos .sideBar .noteLabel{
	bottom: 1px;
    border-top: 1px solid;
    width: 100%;
    padding: 5px;
	background: var(--button-background-color);
    border-color: var(--topbar-border-color);
	max-height: 150px;
    overflow-y: overlay;
}

.pos .posDialog .giftVoucher{
	padding: 10px;
}

.pos .posDialog .giftVoucherList{
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 10px;
	padding-top: 10px;
}

.pos .posDialog .giftVoucherList .item{
	border: 1px solid;
	display: flex;
	padding-left: 5px;
}

.pos .posDialog .giftVoucherList .item img{
	width: 50px;
	height: 50px;
}

.pos .posDialog .giftVoucherList .item .button{
	background: #e9f2ff;
    border-radius: 5px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    color: #0052CC;
    padding: 0 10px;
	cursor: pointer;
}

.pos .posDialog .itemContainer{
    height: calc(100vh - 400px) !important;
    overflow-y: overlay;
}

.pos .posDialog .tabContainer{
	min-width: 150px;
	max-width: 150px;
}

.pos .posDialog .tab{
	padding: 10px 15px;
    border-bottom: 1px solid;
    border-color: #e9ecef;
	cursor: pointer;
}

.pos .posDialog .cashContainer, .pos .posDialog .promptpayContainer, .pos .posDialog .recommendContainer{
	padding: 15px;
    border-left: 1px solid;
    border-color: #e9ecef;
	min-height: 528px;
}

.pos .posDialog .cashContainer{
	min-width: 300px;
	max-width: 300px;
}

.pos .posDialog .cashContainer input{
	width: 100%;
    padding: 5px 10px;
    border: 1px solid;
    font-size: 1em;
}

.pos .posDialog .keyboardContainer{
	padding: 15px;
    border-left: 1px solid;
    border-color: #e9ecef;
	min-width: 350px;
	max-width: 350px;
}

.pos .posDialog.paymentDialog{
    min-width: 800px;
    max-width: 800px;
}

.pos .posDialog.paymentDialog table{
	border-collapse: collapse;
}

.pos .posDialog.paymentDialog table, .pos .posDialog.paymentDialog td{
	border: 1px solid;
	padding: 0;
}

.pos .posDialog.paymentDialog td{
	min-width: 105px;
	max-width: 105px;
}

.pos .posDialog .numpad{
	text-align: center;
}

.pos .posDialog .numpad .num{
	padding: 20px;
    font-size: 1.3em;
    cursor: pointer;
}

.pos .member .searchBar input{
    padding: 10px 10px;
    border: 1px solid;
    width: 100%;
    border-radius: var(--border-radius);
    border-color: var(--input-border-color);
}

.pos .member .searchBar{
	width: 100%;
}

.pos .member .view .item{
	width: unset;
}

.pos .posDialog .recommendContainer{
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-template-rows: 1fr 1fr 1fr 1fr 1fr 1fr;
	gap: 10px;
	padding-top: 10px;
}

.pos .posDialog .recommendContainer .item{
	border: 1px solid;
	display: flex;
	padding-left: 5px;
}

.pos .posDialog .recommendContainer .item img{
	width: 50px;
	height: 50px;
}

.pos .posDialog .recommendContainer .item .button{
	background: #e9f2ff;
    border-radius: 5px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    color: #0052CC;
    padding: 0 10px;
	cursor: pointer;
}

.pos .posDialog .promotionContainer{
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-template-rows: 1fr 1fr 1fr 1fr 1fr 1fr;
	gap: 10px;
	padding-top: 10px;
}

.pos .posDialog .promotionContainer .item{
	border: 1px solid;
	display: flex;
	padding-left: 5px;
}

.pos .posDialog .promotionContainer .item img{
	width: 50px;
	height: 50px;
}

.pos .posDialog .promotionContainer .item .button{
	background: #e9f2ff;
    border-radius: 5px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    color: #0052CC;
    padding: 0 10px;
	cursor: pointer;
}

.pos .posDialog .sideBar{
	font-size: 1em;
	border: none;
	width: 399px;
}

.pos .posDialog .sideBar .itemList{
	padding: 5px;
	height: calc(100vh - 275px) !important;
	max-height: calc(100vh - 275px) !important;
}

.pos .topBar .menu{
	cursor: pointer;
}

.pos .information{
	font-size: .15em;
	font-weight: bold;
	padding: 20px 10px;
    gap: 10px;
	border-bottom: 1px solid var(--topbar-border-color);
}

.pos .menuBar .group{
	padding: 5px 10px;
    font-size: .13em;
    border-bottom: 1px solid var(--topbar-border-color);
    background: #f5f5f5;
	min-height: 30px;
	text-align: center;
}

.pos .menuBar .group.time{
	letter-spacing: 1px;
	text-align: center;
}

.pos .dialog .home.item img{
	max-width: 100%;
    min-width: 100%;
    max-height: 180px;
    object-fit: cover;
    object-position: center;
    border-radius: 5px 5px 0 0;
    background: #e5f1f0;
}

.pos .dialog .home.item{
	padding: 0;
	gap: 10px;
	min-width: 550px;
	max-width: 550px;
}

.pos .dialog .home.item input{
	width: 130px;
	font-size: .8em;
    padding: 4px 10px;
	border: none;
	border-bottom: 1px solid var(--input-border-color);
	border-radius: 0;
}

.pos .dialog .home.item .value{
	background: #e5f1f0;
    padding: 5px 30px;
    border-radius: 20px;
    font-size: .8em;
	display: flex;
	flex-direction: column;
	justify-self: center;
	font-weight: bold;
}

.pos .dialog .home.item .detail{
	min-height: calc(100vh - 500px);
	max-height: calc(100vh - 500px);
	overflow-y: auto;
	border: 1px solid var(--topbar-border-color);
    border-left: none;
    border-right: none;
	padding: 10px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.pos .dialog .home.item .detail .group{
	text-align: left;
	font-size: .8em;
	display: flex;
    flex-direction: column;
    gap: 10px;
}

.pos .dialog .home.item .detail .group .header{
	font-weight: bold;
	display: flex;
    flex-direction: column;
    gap: 5px;
}

.pos .dialog .home.item .detail .group .header .description{
	font-size: .7em;
	font-weight: normal;
    color: #8f8f8f;
	display: flex;
	gap: 5px;
}

.pos .dialog .home.item .detail .group .body{
	display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.pos .dialog .home.item .detail .group .body .option{
	display: flex;
    gap: 10px;
    border: 1px solid var(--topbar-border-color);
    padding: 10px;
    border-radius: 5px;
    width: calc(100% / 2 - 2.5px);
	font-size: .8em;
}

.pos .dialog .home.item .detail .group .body .option input{
    width: 20px;
    height: 20px;
	margin: 0;
}

.pos .dialog .home.item .detail .group .body .option:has(.error){
	border-color: red;
}

.pos .dialog .home.item .detail .comment textarea{
	height: 120px;
    resize: none;
    border: 1px solid var(--topbar-border-color);
    border-radius: var(--border-radius);
    font-size: .8em;
    padding: 10px;
}

.pos .operationBar{
	width: 60px;
	max-width: 60px;
	min-width: 60px;
	height: calc(100vh - 60px);
	border-left: 1px solid var(--topbar-border-color);
}

.pos .operationBar .bar{
	display: flex;
	flex-direction: column;
	/* justify-content: space-between; */
	height: 100%;
}

.pos .operationBar .bar .group{
	padding: 0;
    text-align: center;
    font-size: .1em;
    border-bottom: 1px solid var(--topbar-border-color);
    background: #f5f5f5;
    min-height: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pos .operationBar .bar .button{
	display: flex;
	text-align: center;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
	height: 60px;
	border-bottom: 1px solid var(--topbar-border-color);
	color: var(--menu-button-color);
	cursor: pointer;
}

.pos .operationBar .bar .button:hover{
	background: var(--menu-button-selected-background-color);
}

/* .pos .operationBar .bar > .button:last-child{
	border-bottom: none;
	border-top: 1px solid #ebebeb;
} */

.pos .abstract_data_container .filterBar, .pos .abstract_data_container .operationBar{
    display: none !important;
}

.pos .tableDialogContainer{
	border: 1px solid #e9ecef;
    border-radius: 5px;
    max-height: 80vh;
    overflow-y: auto;
}

.pos .tableDialogContainer .tableDialog{
	width: 100%;
	box-shadow: none;
	border-radius: 5px;
	margin: 0;
}

.pos .tableDialogContainer .tableDialog img{
	width: 50px;
    aspect-ratio: 1;
    object-fit: cover;
    background: #ebebeb;
    border-radius: 5px;
}

.pos .tableDialogContainer .tableDialog td{
	vertical-align: top;
}