/*@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');*/
body {
	font-family: "Open Sans", sans-serif;

}

header {
	margin-bottom: 30px;
}

.header {
	display: flex;
	align-items: center;
	justify-content: space-between
}

.row {
	margin-left: -10px;
	margin-right: -10px;
}

[class*=" col-"],
[class^=col-] {
	padding-left: 10px;
	padding-right: 10px;
}

:root {
	--main-color: #7e4ee6;

}

.logo img {
	height: 55px;
	width: auto
}

.title-border {
	font-size: 20px;
	padding-bottom: 7px;
	margin-bottom: 15px;
	border-bottom: 2px solid var(--main-color);
	color: var(--main-color);
	text-transform: uppercase;
}

.title-border-m {

	color: var(--main-color);
	font-size: 17px;
	font-weight: 600;
	margin-bottom: 0;
}

.login-box .title-border {
	font-size: 30px;
}

.d-flex-l-r {
	display: flex;
	align-items: center;
	justify-content: space-between
}

.d-flex-l-r .w-50 {
	flex: 1 0 0;
	flex-basis: 50%
}

.d-flex-l-r .w-70 {
	flex: 1 0 0;
	flex-basis: 70%
}

.d-flex-header {
	display: flex;
	width: 100%;
	align-items: center;
	margin: 0;
}

.btn-primary {
	color: #fff;
	background-color: var(--main-color) !important;
	border-color: var(--main-color) !important;
	;
}

.btn-primary:active:hover,
.btn-primary.active:hover,
.open>.dropdown-toggle.btn-primary:hover,
.btn-primary:active:focus,
.btn-primary.active:focus,
.open>.dropdown-toggle.btn-primary:focus,
.btn-primary:active.focus,
.btn-primary.active.focus,
.open>.dropdown-toggle.btn-primary.focus {
	color: #fff;
	background-color: var(--main-color) !important;
	border-color: var(--main-color) !important;
	;
	opacity: 0.9
}

.btn .fa {
	margin-right: 5px;
}

.btn {
	padding: 6px 12px
}

.btn-full {
	display: block;
	width: 100%
}

.btn-primary,
.btn-success,
.btn-success,
.btn-danger {
	padding: 8px 15px;
	font-size: 14px;
}



.main-menu {
	list-style: none;
	padding: 0;
	margin: 0;
}

.main-menu li {
	margin-bottom: 10px;
	position: relative;
	transition: .25s;
}

.main-menu li.active,
.main-menu li:hover {
	padding-left: 10px;
	transition: .25s;
}

.main-menu li .num-l-devis {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	right: 10px;
	z-index: 2;
	color: #fff;
	width: 30px;
	height: 30px;
	font-size: 13px;
	line-height: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: rgba(255, 76, 81, 0.85);
	box-shadow: 1px 1px 1px 0px rgba(152, 152, 152, 0.75);
	-webkit-box-shadow: 1px 1px 1px 0px rgba(152, 152, 152, 0.75);
	-moz-box-shadow: 1px 1px 1px 0px rgba(152, 152, 152, 0.75);
}

.main-menu li:last-child {
	margin-bottom: 0
}

.main-menu li a {
	padding: 10px 20px;
	display: block;
	background: linear-gradient(-72.47deg, #8c57ff 22.16%, #8c57ffb3 76.47%) !important;
	box-shadow: 0 3px 6px 0 #2e263d2e, 0 0 transparent, 0 0 transparent;
	border-radius: 5px;
	color: #fff;
	transition: .25s
}

.main-menu li.active a,
.main-menu li a:hover {
	opacity: 0.9;
	transition: .25s
}

.main-menu li.active a {
	background: rgba(22, 177, 255, 0.85) !important;
	border-color: rgba(22, 177, 255, 0.85) !important;
	color: #fff !important;
}

.block-box {
	box-shadow: 0 4px 10px #2e263d33, 0 0 transparent, 0 0 transparent;
	margin-bottom: 20px;
	border-radius: 6px;
	padding: 20px;
	background: #fff
}

.block-box:last-child {
	margin-bottom: 0
}

.w100 {
	width: 100px;
}

.w50 {
	width: 50px;
}

.w80 {
	width: 80px;
}

.w150 {
	width: 150px;
}

.w200 {
	width: 200px;
}

.w250 {
	width: 250px;
}

.w280 {
	width: 250px;
}

.login-box .logo {
	margin-bottom: 30px;
}

.login-box {
	width: 400px !important;
	padding: 30px;
}

.mrg-t-b-20 {
	margin-top: 20px;
	margin-bottom: 20px
}

.mrg-t-b-30 {
	margin-top: 30px;
	margin-bottom: 30px
}

.d-flex-center {
	display: flex;
	align-items: center;

}

.container-full {
	width: 100%;
	padding: 0 5px;
	overflow: hidden
}

.height-full {
	height: 100vh
}

.bg-white {
	background: rgb(255 255 255 / 85%);
}

.form-control {
	font-size: 14px;
	height: 38px;
	padding: 8px 15px;
	box-shadow: none
}

.bg-login {
	background: url(../images/bg-login.jpg) no-repeat;
	background-size: cover;
	background-position: center;
	position: relative
}

.bg-login:before {
	content: '';
	height: 100%;
	width: 100%;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background: rgb(0 0 0 / 20%);
	position: absolute
}

.login-box .logo {
	text-align: center
}

.login-box .logo img {
	height: 70px;
	width: auto
}

.welcome {
	margin-bottom: 20px;
	color: var(--main-color);
	font-size: 35px;
	text-align: center
}

.table>thead>tr>th,
.table>tbody>tr>th,
.table>tfoot>tr>th,
.table>thead>tr>td,
.table>tbody>tr>td,
.table>tfoot>tr>td {

	vertical-align: middle;
}

.des {
	margin-bottom: 20px;
}

.select2-container--default .select2-search--inline .select2-search__field {
	font-size: 14px !important;
	height: 33px !important;
	padding: 8px 15px !important;
	margin: 0 !important;
}

.select2-container--default .select2-selection--single,
.select2-container--bootstrap .select2-selection--single {
	height: 38px !important;
	padding-top: 0;
}

textarea.form-control {
	resize: vertical;
	min-height: 50px;
}

.login-b {
	background: var(--main-color);
	padding: 6px 15px;
	border-radius: 6px;
	color: #fff;
	position: relative
}

.userBlock {
	position: absolute;
	padding-top: 15px;
	z-index: 99;
	width: 270px;
	right: 0;
	color: #333;
	display: none
}

.login-b:hover .userBlock {
	display: block
}

.box-title-flex {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 10px;
	border-bottom: 2px solid var(--main-color);
	padding-bottom: 5px;
}

.total-box {
	text-align: right;
	font-weight: 700;
	padding: 30px 0;
	margin: 10px 0;
	border-top: 1px solid #ddd;
	font-size: 18px;
}

.total-box .total {
	color: red
}

.total-box .total-s {

	color: rgba(86, 202, 0, 0.85);
}

.open-shift {
	display: flex;
	align-items: center;
	gap: 10px
}

.open-shift .shift-name {
	color: red;
	font-size: 17px;

	font-weight: 700
}

.open-shift .shift-name span {
	color: #000;
	text-decoration: none
}

.open-shift .form-control {
	width: 200px;
	text-align: left
}

.show {
	display: block
}

.vitri_add {
	padding-left: 20px;
	position: relative;
	z-index: 0
}

.form-group,
.vitri_add .brrr {
	position: relative;
	z-index: 2
}

.vitri_add .form-group:after {
	content: '';
	width: 20px;
	height: 1px;
	background: #ddd;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	left: -10px;
}

.vitri_add .brrr:before {
	content: '';
	width: 1px;
	height: 53px;
	background: #ddd;
	position: absolute;
	top: -33px;
	left: -10px;
	z-index: 0;
}

.pm-box {
	display: flex;
	align-items: center;
	
	line-height: 1
	
}

.pm-box [type="radio"] {
	margin: 0;
	margin-right: 6px;
	background: #fff;
}

.pm-box label {
	margin-bottom: 0;
	font-weight: 400
}

.pm-box input[type="radio"]:checked label {
	font-weight: 700
}
.mrb-10{
	margin-bottom: 10px;
}
#pm-flexible {
	margin-left: 40px;
	display: none;
	padding: 10px;
	border: 1px solid #ddd;
	background: #eee;
	border-radius: 6px;
	margin-bottom: 30px
}

#pm-flexible label {
	margin-bottom: 5px;
	font-weight: 700
}

.btn {
	padding: 8px 15px;
	font-size: 14px;
}

.btn-success {
	background: rgba(86, 202, 0, 0.85);
	border-color: rgba(86, 202, 0, 0.85);
}

.btn-blue {
	background: rgba(22, 177, 255, 0.85);
	border-color: rgba(22, 177, 255, 0.85);
	color: #fff !important;
}

.btn-alert {
	background: rgba(255, 76, 81, 0.85);
	border-color: rgba(255, 76, 81, 0.85);
	color: #fff !important
}

.btn-alert:hover {
	background: rgba(232, 69, 74, 0.85);
	border-color: rgba(232, 69, 74, 0.85);
}

.btn-warning {
	background: rgba(255, 180, 0, 0.85);
	border-color: rgba(255, 180, 0, 0.85);
}

.btn-primary:hover {
	background: #7246d1 !important;
	border-color: #7246d1 !important;
}

.btn:hover {
	box-shadow: 1px 1px 1px 0px rgba(152, 152, 152, 0.75);
	-webkit-box-shadow: 1px 1px 1px 0px rgba(152, 152, 152, 0.75);
	-moz-box-shadow: 1px 1px 1px 0px rgba(152, 152, 152, 0.75);
}

.alert-gray {
	background: #f1f1f185;
	border: #f1f1f185;
	font-size: 15px;
}

.table {
	font-size: 14px;
}

#add-row-invoice .invoice-row {
	border-top: 1px solid #ddd;
	padding: 10px 0;
}

.del-input {
	color: #fff;
	opacity: 0.9;
	box-shadow: none;
	background: rgba(255, 76, 81, 0.85);
	border: none;
	border-radius: 3px;
	width: 35px;
	height: 35px;
	text-align: center;
	justify-content: center;
	display: flex;
	cursor: pointer;
	align-items: center;
}

.del-input:hover {
	opacity: 1
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
	color: #444;
	padding: 8px 15px;
	min-height: 38px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
	height: 35px !important;

}

.title-label {
	display: none
}

.staff-total {
	text-align: right;

	padding-top: 10px;
	border-top: 1px solid #ddd;
	font-size: 18px;
	font-weight: 700;
}

#staff-total {
	color: red;
}

.pdd-lr-0 {
	padding-left: 0;
	padding-right: 0
}

.login-h {
	display: flex;
	gap: 20px;
	align-items: center;
	justify-content: flex-end;
}

.login-h img {
	height: 33px;
	width: auto;

}

.login-h .language button {
	border-radius: 4px;
	display: inline-block;
	overflow: hidden;
	padding: 0;
	border: none
}

.login-h .language button:hover {
	box-shadow: 3px 2px 5px 0px rgba(101, 101, 101, 0.75);
	-webkit-box-shadow: 3px 2px 5px 0px rgba(101, 101, 101, 0.75);
	-moz-box-shadow: 3px 2px 5px 0px rgba(101, 101, 101, 0.75);
}

.btn-sm {
	padding: 2px 12px;
	font-size: 13px
}

.main-menu li.create-invoice a {
	background: rgba(86, 202, 0, 0.85) !important;
	border-color: rgba(86, 202, 0, 0.85) !important;
	padding: 15px 30px;
	font-size: 16px;
	text-transform: uppercase;
	font-weight: 700
}

.main-menu li a .fa {
	margin-right: 8px
}

#popup-submit {
	position: fixed;
	left: 0;
	right: 0;
	top: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	display: none;
	z-index: -123
}

#popup-submit.active {
	z-index: 123;
	opacity: 1;
	display: block;
}

#popup-submit .overlay {

	width: 100%;
	height: 100%;
	background: #383838ad;
	z-index: 124;
	position: fixed
}

.pop-up {
	position: fixed;
	box-shadow: 3px 2px 5px 0px rgba(101, 101, 101, 0.75);
	-webkit-box-shadow: 3px 2px 5px 0px rgba(101, 101, 101, 0.75);
	-moz-box-shadow: 3px 2px 5px 0px rgba(101, 101, 101, 0.75);
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%) scale(0.8);
	z-index: 999;
	padding: 15px;
	border-radius: 8px;
	width: 500px;
	background: #fff;
	opacity: 0;
	transition: all 0.3s ease;

}

.pop-up .title {
	text-align: center;
	text-transform: uppercase;
	color: var(--main-color);
	font-size: 20px;
	font-weight: 700;
	margin-bottom: 20px;

}

.pop-up .des {
	text-align: center
}

#popup-submit.active .pop-up {
	transform: translate(-50%, -50%) scale(1);
	opacity: 1;
	z-index: 9999;
}

.d-flex {
	display: flex;
	justify-content: center;
	gap: 10px;
}

.notifyjs-bootstrap-success {
	background-color: rgba(86, 202, 0, 0.85) !important;
	/* Màu đỏ cho lỗi */
}

.notifyjs-bootstrap-error {
	background-color: rgba(255, 76, 81, 0.85) !important;
	/* Màu đỏ cho lỗi */
}

.notifyjs-bootstrap-warning {
	background-color: rgba(255, 180, 0, 0.85) !important;
	/* Màu đỏ cho lỗi */
}

.notifyjs-bootstrap-base {
	padding: 16px 12px 16px 35px !important;
	font-weight: 400 !important;
	color: #fff !important;
	text-shadow: none !important;
	background-position: 10px center !important;
}

.title-classic {
	margin-top: 40px;
	margin-bottom: 10px;
	font-size: 16px;
	text-transform: uppercase;
	font-weight: 700;
	color: var(--main-color);
	padding-bottom: 5px;
	border-bottom: 2px solid var(--main-color)
}

.fixed-box {
	position: fixed;
	line-height: 1;
	border-radius: 10px;
	z-index: 999;
	right: 20px;
	top: 25%;
	display: flex;
	flex-direction: column;
	gap: 10px;
	width: 250px;
}

.btn-printer {

	color: #fff;
	font-size: 40px;
	border: none;
	box-shadow: 10px 10px 5px -7px rgba(0, 0, 0, 0.75);
	-webkit-box-shadow: 10px 10px 5px -7px rgba(0, 0, 0, 0.75);
	-moz-box-shadow: 10px 10px 5px -7px rgba(0, 0, 0, 0.75);
}

.add_invoice .logo,
.add_invoice .login-h,
.add_invoice .main-menu li,
.add_invoice .title-classic {
	opacity: 0.2;
	z-index: -1
}

.add_invoice .main-menu li.create-invoice {
	opacity: 1;
	z-index: 1
}

.preview .logo,
.preview .login-h {
	display: none
}

.preview .header {
	justify-content: center
}

#surcharge {
	padding: 20px 0;
	margin: 20px 0;
	border-top: 1px solid #ddd;
	border-bottom: 1px solid #ddd;
	display: none
}

#voucher,
#tip-container {
	display: none
}

.creat-voucher-code {
	cursor: pointer;
	background-color: rgba(86, 202, 0, 0.85) !important;
	color: #fff;
}

.btn-check-voucher {
	background: rgba(22, 177, 255, 0.85);
	border-color: rgba(22, 177, 255, 0.85);
	color: #fff !important;
	cursor: pointer
}

.alert-error {
	background-color: #f2dede;
	border-color: #ebccd1;
	color: #a94442;
}

.check-voucher-result .alert {
	margin-bottom: 5px
}

.voucher-info ul {
	list-style: square
}

#select2-tip-staff-container .select2-selection__choice,
#select2-surcharge-service-container .select2-selection__choice {
	display: block !important;
}

.label-tip {
	display: inline-block;
	width: 25px;
	height: 25px;
	background: url(../images/tip.png) no-repeat;
	background-size: contain;
	margin: 0 5px;
}

.label-note {
	display: inline-block;
	width: 25px;
	height: 25px;
	background: url(../images/note.png) no-repeat;
	background-size: contain;
	margin: 0 5px;
	padding: 0;
	border: none;
	cursor: pointer;
	position: relative
}

.label-note-b {
	display: inline-block;
	width: 25px;
	height: 25px;
	background: url(../images/note_b.png) no-repeat;
	background-size: contain;
	margin: 0 5px;
	padding: 0;
	border: none;
	cursor: pointer;
	position: relative
}

.box-note {
	position: absolute;
	top: 0;
	left: 100%;
	background: #fff;
	border: 1px solid #ddd;
	padding: 20px;
	border-radius: 6px;
	box-shadow: rgba(46, 38, 61, 0.18) 0px 3px 6px 0px, transparent 0px 0px, transparent 0px 0px;
	z-index: 12;
	width: 300px;
	display: none;
	text-align: left
}

.box-note textarea {
	margin-bottom: 10px;
}

.tab-content {
	padding: 10px;
	border: 1px solid #ddd;
}

.nav-tabs {
	border-bottom: none
}

.nav-tabs>li.active>a,
.nav-tabs>li.active>a:hover,
.nav-tabs>li.active>a:focus {
	background-color: var(--main-color);
	color: #fff;
	border-color: var(--main-color);
}

a,
a:link,
a:active,
a:visited {
	color: var(--main-color);
}

a.btn {
	color: #fff;
}

#export-csv {
	margin-top: 20px
}

.loading {
	position: fixed;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	z-index: 999;
	background: #00000051;

	display: none
}

.loading-content {
	position: absolute;
	left: 0;
	right: 0;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.loading-io {
	width: 100px;
	height: 100px;
	background: url(../images/loading.svg) no-repeat;
	background-size: 100% 100%;
}

#from_time.form-control[readonly],
#to_time.form-control[readonly] {
	background: #fff
}

#from_time.form-control[disabled],
#to_time.form-control[disabled] {
	background: #eee
}

.f-column {
	flex-direction: column
}

.f-column input {
	margin: 3px
}

#export-xlxs {
	margin-top: 30px
}


.form-control.service_task {
	height:auto !important;
}
#pm-flexible .pm-box{
	display: block
}
#pm-flexible .pm-box .col-md-6{
	margin-bottom: 10px;
}
.remaining-amount{
	text-align: right
}
.total-statistic{
	text-align: right;
	font-weight: 700
}
.select2-results__option {
    white-space: normal !important;
    height: auto !important;
    word-wrap: break-word !important;
    padding: 8px 12px !important;
    line-height: 1.5 !important;
}

.select2-selection__rendered {
    white-space: normal !important;  /* Cho phép xuống dòng */
    word-break: break-word !important;  /* Tự động ngắt từ nếu quá dài */
    line-height: 1.5 !important;  /* Giãn dòng cho đẹp */
}

/* Fix cho khung chứa */
.select2-selection {
    height: auto !important;  /* Tự động co giãn theo nội dung */
    overflow: hidden !important;  /* Ẩn phần tràn (nếu có) */
}

.select2-container--default .select2-selection--single{
	height: auto !important;  
}
.invoice-row .form-control{
	height: auto !important;
}
.pagination>.active>a, .pagination>.active>span, .pagination>.active>a:hover, .pagination>.active>span:hover, .pagination>.active>a:focus, .pagination>.active>span:focus {
    z-index: 3;
    color: #fff;
    background-color: var(--main-color);
    border-color: var(--main-color);
    cursor: default;
}
.pagination>li>a:hover, .pagination>li>span:hover, .pagination>li>a:focus, .pagination>li>span:focus {
    z-index: 2;
    color: var(--main-color);
    background-color: #eee;
    border-color: #ddd;
}
.pagination>li>a, .pagination>li>span {
    position: relative;
    float: left;
    padding: 6px 12px;
    line-height: 1.42857143;
    text-decoration: none;
    color:var(--main-color);
    background-color: #fff;
    border: 1px solid #ddd;
    margin-left: -1px;
}
#statistic_staff table ul,
#statistic_staff_discount table ul{
	list-style: disc;
	margin-bottom: 0
}
.f0{
	background: #f0f0f0
}