/* Google Fonts - Inter (Modern sans-serif) - Must be at the top */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

.select2.select2-container {
	width: 100% !important;
}

.mt-10 {
	margin-top: 10px;
}
.mt-20 {
	margin-top: 20px;
}
/* .customer_list li {
    list-style: none;
    border: 1px solid #ccc;
    width: auto;
    text-align: center;
    padding: 10px;
    font-size: 18px;
    border-radius: 4px;
    float: left;
    margin-right: 10px;
    margin-bottom: 10px;
    line-height: 33px;
    box-shadow: 2px 3px 1px 1px #ccc;
}

.customer_list .fa.fa-remove {
    float: right;
    cursor: pointer;
    margin-left: 15px;
    margin-top: 2px;
}

.customer_list{
	margin-top: 25px;
    padding-left: 0;
}

.tel_tag {
    background-color: #c56c01;
    color: #fff;
    padding: 5px;
    font-weight: 600;
	border-radius: 3px;
    padding-left: 10px;
    padding-right: 10px;
    margin-left: 15px;
}
*/

.customers_car {
	border: 1px solid #888;
    width: auto;
    padding: 7px;
    margin-bottom: 5px;
    border-radius: 15px;
    padding-left: 15px;
    padding-right: 15px;
}

.customers_car p {
	margin: 0 !important;
	line-height: 1.8;
}

.customers_car.operator {
	    background-color: #337ab7;
    color: #fff;
    border: 0;
    line-height: initial;
}

.customers_car .fa {
    margin-right: 5px;
}

/* Tối ưu hiển thị danh sách xe - Layout link biển số đơn giản */
.car-plates-list {
    line-height: 1.8;
}

.car-plate-link {
    display: inline-block;
    color: #007bff;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    padding: 2px 8px;
    margin-right: 4px;
    border-radius: 4px;
    transition: all 0.2s ease;
    background-color: #e7f3ff;
    border: 1px solid #b3d9ff;
}

.car-plate-link:hover {
    background-color: #007bff;
    color: #fff;
    border-color: #007bff;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 123, 255, 0.2);
}

.car-plate-link:active {
    transform: translateY(0);
}

/* Tối ưu hiển thị danh sách nhân viên - Badge gọn gàng */
.employee-list {
    line-height: 1.6;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.employee-badge {
    display: inline-block;
    font-size: 12px;
    padding: 3px 8px;
    border-radius: 12px;
    background-color: #e8f4fd;
    color: #2c5282;
    border: 1px solid #bee5eb;
    white-space: nowrap;
    line-height: 1.4;
}

.employee-badge .fa {
    font-size: 11px;
    margin-right: 3px;
    opacity: 0.8;
}
 
#data-list,  .data-list {
	width: 100%;
}

#data-list th, #data-list td,
.data-list th, .data-list td {
    text-align: left;
    padding: 7px;
}

.operator {
	line-height: 36px;
}

.separate span {
    border-bottom: 2px dotted #8e8c8c;
    width: 100%;
    height: 1px;
    display: block;
    text-align: center;
    margin: 0 auto;
}

/* bootstrap */
.table-striped>tbody>tr:nth-of-type(odd) {
    background-color: #f6f6f6;
}

.table-bordered {
    border: 1px solid #cbd3d4;
}

.table-bordered>thead>tr>th, .table-bordered>tbody>tr>th, .table-bordered>tfoot>tr>th, .table-bordered>thead>tr>td, .table-bordered>tbody>tr>td, .table-bordered>tfoot>tr>td {
    border: 1px solid #dadfe0;
}

.table>thead>tr:first-child {
	color: #2d444f;
    font-size: .9em;
	background: url('images/sort_row_bg.gif') 0 50% repeat-x;
}
/* bootstrap */

/* order */
.order-title {
	text-align: center;
}

.order-title .box-title {
    text-transform: uppercase;
    color: #777;
    font-weight: 600;
}

.order-fields {
	width: 100%;
}

.my_item_id {
	display: none;
}
.xoa {
	cursor: pointer;
}

.box-footer.btn-order {
	text-align: center;
	margin-top: 30px;
	padding: 20px;
}

/* Order View Container - Thu gọn chiều rộng */
.order-view-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 15px;
}

@media (max-width: 1200px) {
	.order-view-container {
		max-width: 100%;
		padding: 0 10px;
	}
}

/* Padding cho khối nội dung trong các file view */
.order-view-wrapper {
	padding-left: 50px;
	padding-right: 50px;
}

@media (max-width: 768px) {
	.order-view-wrapper {
		padding-left: 15px;
		padding-right: 15px;
	}
}

.error_description, .error_description p {
	font-weight: normal;
}

.error_description {
    margin-top: 10px;
}

#data-list td, #data-list td {
	font-weight: normal;
}

.data-list.order-view-table tr th{
	border-top: 0;
}

.data-list.order-view-table.xe tr th{
    height: 100px;
    vertical-align: top;
}

@media (min-width: 768px) {
	.col_number, .grand_total {
		text-align: right !important;
	}

	.col_center {
		text-align: center !important;
	}
}
/* order */

.split-two-info {
	padding: 0;
}

.split-two-info.left {
	/* float: left;
	width: 50% */
	/* padding-right: 5px; */
}

.split-two-info.right {
	/* float: right;
	width: 50% */
	/* padding-left: 5px; */
}

.tbl-data-show.data-list tr td:first-child {
	width: 37%;
}

/* Inspection Orders Styles */
.inspection-orders-box {
	margin-bottom: 20px;
}

.inspection-orders-box .box-header {
	padding: 15px;
	background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
	border-bottom: 2px solid #e8ecf1;
}

.inspection-orders-box .box-title {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
    line-height: 32px;
}

.inspection-orders-box .box-title i {
	margin-right: 8px;
	color: #2563eb;
}

.inspection-orders-table {
	margin-bottom: 0;
}

.inspection-orders-table > thead > tr > th {
	background: #f8fafc;
	color: #475569;
	font-weight: 600;
	font-size: 13px;
	padding: 12px 10px;
	border-bottom: 2px solid #e2e8f0;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.inspection-orders-table > tbody > tr {
	transition: all 0.2s ease;
}

.inspection-orders-table > tbody > tr:hover {
	background-color: #f8fafc !important;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    cursor: pointer;
}

.inspection-orders-table > tbody > tr > td {
	padding: 12px 10px;
	vertical-align: middle;
	border-bottom: 1px solid #e8ecf1;
	font-size: 14px;
}

.inspection-orders-table > tbody > tr > td strong {
	font-weight: 600;
	color: #1e293b;
}

.btn-group-action {
	display: flex;
	gap: 5px;
	flex-wrap: wrap;
	justify-content: center;
}

.btn-group-action .btn {
	margin: 0;
	padding: 6px 12px;
	font-size: 12px;
	white-space: nowrap;
}

.btn-group-action .btn i {
	margin-right: 4px;
}

/* Inspection Order Detail Styles */
.inspection-order-detail .order-title {
	background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
	color: #fff;
	padding: 20px;
	border-radius: 8px 8px 0 0;
}

.inspection-order-detail .order-title .box-title {
	color: #fff;
	font-size: 22px;
	font-weight: 700;
	margin-bottom: 10px;
}

.inspection-order-detail .order-title .box-title i {
	color: #fff;
}

.order-info {
	display: flex;
	gap: 15px;
	flex-wrap: wrap;
	margin-top: 10px;
}

.order-badge {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	background: rgba(255, 255, 255, 0.2);
	padding: 6px 12px;
	border-radius: 6px;
	font-size: 13px;
}

.order-badge i {
	margin-right: 5px;
}

.order-badge strong {
	font-weight: 700;
	margin-left: 5px;
}

.info-card {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	padding: 15px;
	margin-bottom: 20px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.info-card-title {
	font-size: 16px;
	font-weight: 600;
	color: #1e293b;
	margin: 0 0 15px 0;
	padding-bottom: 10px;
	border-bottom: 2px solid #e8ecf1;
}

.info-card-title i {
	margin-right: 8px;
	color: #2563eb;
}

.tbl-data-show.data-list {
	width: 100%;
	border: none;
	background: transparent;
}

.tbl-data-show.data-list tr {
	border-bottom: 1px solid #e8ecf1;
}

.tbl-data-show.data-list tr:last-child {
	border-bottom: none;
}

.tbl-data-show.data-list td {
	padding: 10px 5px;
	border: none;
	font-size: 14px;
}

.tbl-data-show.data-list td:first-child {
	font-weight: 600;
	color: #475569;
	width: 40%;
}

.tbl-data-show.data-list td:last-child {
	color: #1e293b;
}

.kham_ban_dau {
	height: auto;
	min-height: 60px;
	padding: 12px 15px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 6px;
	color: #1e293b;
	line-height: 1.6;
	font-size: 14px;
}

.kham_ban_dau p {
	margin: 5px 0;
}

.field-label {
	font-weight: 600;
	color: #475569;
	font-size: 14px;
	margin-bottom: 8px;
	display: block;
}

.field-label i {
	margin-right: 6px;
	color: #2563eb;
}

.data-list {
	width: 100%;
	border: 1px solid #e2e8f0;
	border-radius: 6px;
	margin-bottom: 20px;
	background: #fff;
}

.data-list th {
	background: #f8fafc;
	color: #475569;
	font-weight: 600;
	padding: 12px 10px;
	border-bottom: 2px solid #e2e8f0;
	font-size: 13px;
	text-transform: uppercase;
}

.data-list td {
	padding: 10px;
	border-bottom: 1px solid #e8ecf1;
	font-size: 14px;
}

.data-list tr:last-child td {
	border-bottom: none;
}

.data-list tr:hover {
	background-color: #f8fafc;
}

.btn-group-footer {
	display: flex;
	gap: 10px;
	justify-content: flex-end;
	flex-wrap: wrap;
	padding: 15px 0;
}

.btn-group-footer .btn {
	padding: 10px 20px;
	font-weight: 500;
}

.btn-group-footer .btn i {
	margin-right: 6px;
}

/* Order View Table Improvements */
.order-view-table {
	margin-top: 15px;
	background: #f8fafc;
}

.order-view-table th {
	background: #e8ecf1 !important;
	font-size: 16px !important;
	padding: 15px !important;
}

/* Inspection Form Styles */
.inspection-order-form {
	margin-bottom: 20px;
}

.inspection-form-box {
	border: none;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	border-radius: 8px;
	overflow: hidden;
}

.inspection-form-box .order-title {
	background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
	color: #fff;
	padding: 20px;
	margin: 0;
	border: none;
}

.inspection-form-box .order-title .box-title {
	color: #fff;
	font-size: 22px;
	font-weight: 700;
	margin-bottom: 12px;
}

.inspection-form-box .order-title .box-title i {
	color: #fff;
	margin-right: 10px;
}

/* Form Sections */
.form-section {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	margin-bottom: 20px;
	overflow: hidden;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.section-header {
	background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
	padding: 15px 20px;
	border-bottom: 2px solid #e2e8f0;
}

.section-title {
	font-size: 16px;
	font-weight: 600;
	color: #1e293b;
	margin: 0;
	display: flex;
	align-items: center;
}

.section-title i {
	margin-right: 10px;
	color: #2563eb;
	font-size: 18px;
}

.section-body {
	padding: 20px;
}

/* Form Labels and Inputs */
.form-label {
	font-weight: 600;
	color: #475569;
	font-size: 14px;
	margin-bottom: 8px;
	display: block;
}

.form-label .required {
	color: #ef4444;
	margin-left: 3px;
}

.input-group {
	display: flex;
	align-items: stretch;
}

.input-group .input-select-textbox {
	flex: 1;
}

.input-group-btn {
	display: flex;
	align-items: stretch;
}

.input-group-btn .btn {
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;
	border-left: none;
}

.product-count {
	margin-top: 8px;
}

.product-count .number_products {
	color: #64748b;
	font-size: 13px;
	text-decoration: none;
}

.product-count .number_products i {
	margin-right: 5px;
	color: #2563eb;
}

.product-count .number_products strong {
	color: #1e293b;
	font-weight: 600;
}

/* Info Tables */
.info-table {
	width: 100%;
	border-collapse: collapse;
	margin-top: 15px;
}

.info-table tr {
	border-bottom: 1px solid #e8ecf1;
}

.info-table tr:last-child {
	border-bottom: none;
}

.info-table td {
	padding: 10px 0;
	vertical-align: top;
}

.info-label {
	font-weight: 600;
	color: #64748b;
	font-size: 13px;
	width: 40%;
	padding-right: 15px;
}

.info-value {
	color: #1e293b;
	font-size: 14px;
}

.info-value:empty::before {
	content: "-";
	color: #cbd5e1;
}

/* Customer/Vehicle Info Grid */
.customer-info-grid,
.vehicle-info-grid,
.staff-info-grid {
	margin-top: 15px;
	padding-top: 15px;
	border-top: 1px solid #e8ecf1;
}

/* Wysihtml5 Textarea */
.wysihtml5-textarea {
	border: 1px solid #e2e8f0;
	border-radius: 6px;
	padding: 12px 15px;
	font-size: 14px;
	transition: all 0.2s ease;
}

.wysihtml5-textarea:focus {
	border-color: #2563eb;
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
	outline: none;
}

.form-text {
	font-size: 12px;
	color: #64748b;
	margin-top: 6px;
	display: flex;
	align-items: center;
}

.form-text i {
	margin-right: 5px;
}

/* Compact Form Styles */
.compact-form {
	max-width: 800px;
	margin: 0 auto;
}

.compact-form .inspection-form-box {
	max-width: 100%;
}

.compact-form .order-title-compact {
	background: #25364A;
	color: #fff;
	padding: 15px 20px;
	margin: 0;
	border: none;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
}

.compact-form .order-title-compact .box-title {
	color: #fff;
	font-size: 20px;
	font-weight: 700;
	margin: 0;
}

.compact-form .order-title-compact .box-title i {
	margin-right: 8px;
}

.order-meta-compact {
	display: flex;
	gap: 15px;
	font-size: 13px;
	color: rgba(255, 255, 255, 0.9);
}

.order-meta-compact span {
	display: flex;
	align-items: center;
	gap: 5px;
}

.compact-form-body {
	padding: 20px 50px;
}

.compact-form-container {
	max-width: 100%;
	margin: 0 auto;
}

/* Select Placeholder Styling */
.compact-form .form-control option[value=""] {
	color: #94a3b8;
	font-style: italic;
	font-weight: 400;
}

.compact-form .form-control option:not([value=""]) {
	color: #1e293b;
	font-weight: 400;
}

.compact-form select.form-control {
	color: #1e293b;
}

.compact-form select.form-control:invalid {
	color: #94a3b8;
}

/* Form Validation Styles */
.compact-form .form-group.has-error .form-control,
.compact-form .form-group.has-error select,
.compact-form .has-error .form-control,
.compact-form .has-error select {
	border-color: #ef4444;
	box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.compact-form .required-highlight {
	border-color: #ef4444 !important;
	box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1) !important;
	animation: shake 0.5s ease;
}

@keyframes shake {
	0%, 100% { transform: translateX(0); }
	10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
	20%, 40%, 60%, 80% { transform: translateX(5px); }
}

/* Label không đổi màu khi có lỗi - chỉ hiển thị message */
.compact-form .form-group.has-error .form-label-compact {
	/* color: #ef4444; - Đã loại bỏ để không đổi màu label */
}

.compact-form .form-group.has-error {
	position: relative;
}


.compact-form .help-block.error-message {
	color: #ef4444;
	font-size: 12px;
	margin-top: 5px;
	display: block;
}

.compact-form .validation-alert {
	border-radius: 6px;
	margin-bottom: 20px;
	padding: 12px 15px;
	border-left: 4px solid #ef4444;
}

.compact-form button[disabled],
.compact-form button.disabled {
	opacity: 0.5;
	cursor: not-allowed;
	background-color: #94a3b8 !important;
	border-color: #94a3b8 !important;
}

.compact-form button[disabled]:hover,
.compact-form button.disabled:hover {
	transform: none;
	box-shadow: none;
}

/* Toast Notification Styles (handled by toast.js) */
.toast-container {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
}

.toast-item {
	transition: opacity 0.2s ease;
}

.toast-item:hover {
	opacity: 0.9;
}

.form-row-compact {
	margin-bottom: 20px;
}

.compact-field-group {
	margin-bottom: 20px;
}

.form-label-compact {
	font-weight: 600;
	color: #475569;
	font-size: 14px;
	margin-bottom: 8px;
	display: block;
}

.form-label-compact .required {
	color: #ef4444;
	margin-left: 3px;
}

.input-group-compact {
	display: flex;
	gap: 5px;
	align-items: stretch;
	position: relative;
}

.input-group-compact .input-select-textbox {
	flex: 1;
}

/* Compact Action Buttons */
.btn-compact-action {
    min-width: 40px;
    height: 36px;
    padding: 0;
    display: inline-flex
;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    border: 1px solid #e2e8f0;
    font-size: 14px;
    transition: all 0.2s 
ease;
    white-space: nowrap;
}

.btn.btn-compact-action i {
	margin: 0;
	font-size: 13px;
    margin-right: 0;
}

.btn-compact-action.btn-add {
	background-color: #25364A;
	color: #fff;
	border-color: #25364A;
}

.btn-compact-action.btn-add:hover {
	background-color: #1e2a3a;
	border-color: #1e2a3a;
	color: #fff;
	transform: translateY(-1px);
	box-shadow: 0 2px 4px rgba(37, 54, 74, 0.2);
}

.btn-compact-action.btn-details {
	background-color: #f8fafc;
	color: #475569;
	border-color: #e2e8f0;
}

.btn-compact-action.btn-details:hover {
	background-color: #f1f5f9;
	border-color: #cbd5e1;
	color: #334155;
	transform: translateY(-1px);
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-compact-action.btn-details.active i {
	transform: rotate(180deg);
}

.compact-info-preview {
	margin-top: 8px;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	font-size: 12px;
	color: #64748b;
}

.compact-info-preview .info-item {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 4px 8px;
	background: #f1f5f9;
	border-radius: 4px;
}

.compact-info-preview .info-item {
	padding: 4px 10px;
	font-size: 12px;
}

.compact-info-preview .info-item strong {
	color: #1e293b;
	font-weight: 600;
}

.details-panel {
	margin-top: 10px;
	border: 1px solid #e2e8f0;
	border-radius: 6px;
	background: #f8fafc;
	overflow: hidden;
}

.details-content {
	padding: 12px 15px;
}

.info-table-compact {
	width: 100%;
	border-collapse: collapse;
}

.info-table-compact tr {
	border-bottom: 1px solid #e8ecf1;
}

.info-table-compact tr:last-child {
	border-bottom: none;
}

.info-table-compact td {
	padding: 6px 0;
	font-size: 13px;
}

.info-table-compact .info-label {
	font-weight: 600;
	color: #64748b;
	width: 40%;
	padding-right: 10px;
}

.info-table-compact .info-value {
	color: #1e293b;
}

.toggle-details i {
	transition: transform 0.3s ease;
}

.form-label-main {
	font-weight: 700;
	color: #1e293b;
	font-size: 16px;
	margin-bottom: 10px;
	display: block;
}

.main-field-group {
	margin-bottom: 0;
}

/* Compact HTML Editor */
.html-editor-compact {
	position: relative;
}

.html-editor-compact .wysihtml5-toolbar {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-bottom: none;
	border-radius: 6px 6px 0 0;
	padding: 8px 10px;
	margin: 0;
	min-height: 40px;
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	align-items: center;
}

.html-editor-compact .wysihtml5-toolbar > div {
	display: flex;
	gap: 4px;
	align-items: center;
}

.html-editor-compact .wysihtml5-toolbar .btn-group,
.html-editor-compact .wysihtml5-toolbar .btn {
	margin: 0;
	font-size: 12px;
	height: 28px;
	min-width: 28px;
	border: 1px solid #e2e8f0;
	background: #fff;
	color: #475569;
	border-radius: 4px;
}

.html-editor-compact .wysihtml5-toolbar .btn:hover {
	background: #f1f5f9;
	border-color: #cbd5e1;
	color: #334155;
}

.html-editor-compact .wysihtml5-toolbar .btn.active {
	background: #25364A;
	color: #fff;
	border-color: #25364A;
}

.html-editor-compact .wysihtml5-textarea {
	border: 1px solid #e2e8f0;
	border-radius: 0 0 6px 6px;
	font-size: 14px;
	min-height: 150px;
	padding: 12px 15px;
	line-height: 1.6;
	resize: vertical;
}

.html-editor-compact .wysihtml5-textarea:focus {
	border-color: #25364A;
	box-shadow: 0 0 0 3px rgba(37, 54, 74, 0.1);
	outline: none;
}

/* Override wysihtml5 default styles */
.wysihtml5-sandbox {
	border: 1px solid #e2e8f0 !important;
	border-radius: 0 0 6px 6px !important;
	min-height: 150px !important;
	padding: 12px 15px !important;
	font-size: 14px !important;
	line-height: 1.6 !important;
}

.wysihtml5-sandbox:focus {
	border-color: #25364A !important;
	box-shadow: 0 0 0 3px rgba(37, 54, 74, 0.1) !important;
	outline: none !important;
}

/* Responsive for Inspection Orders */
@media (max-width: 768px) {
	.inspection-orders-box .box-header {
		padding: 12px 15px;
	}
	
	.inspection-orders-table > thead > tr > th,
	.inspection-orders-table > tbody > tr > td {
		padding: 8px 6px;
		font-size: 12px;
	}
	
	.btn-group-action {
		flex-direction: column;
	}
	
	.btn-group-action .btn {
		width: 100%;
	}
	
	.order-info {
		flex-direction: column;
		gap: 8px;
	}
	
	.info-card {
		padding: 12px;
	}
	
	.btn-group-footer {
		flex-direction: column;
	}
	
	.btn-group-footer .btn {
		width: 100%;
	}
	
	.form-section {
		margin-bottom: 15px;
	}
	
	.section-header {
		padding: 12px 15px;
	}
	
	.section-body {
		padding: 15px;
	}
	
	.info-label {
		width: 35%;
		font-size: 12px;
	}
	
	.info-value {
		font-size: 13px;
	}
	
	.compact-form .order-title-compact {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
	}
	
	.order-meta-compact {
		flex-direction: column;
		gap: 5px;
		width: 100%;
	}
	
	.input-group-compact {
		flex-wrap: wrap;
	}
	
	.input-group-compact .btn-sm {
		flex: 1;
		min-width: 45px;
	}
	
	.compact-info-preview {
		flex-direction: column;
		gap: 5px;
	}
}

/* status */
.status_flag {
	width: 100px;
    padding: 10px;
    text-align: center;
    color: #fff;
    font-weight: bold;
    font-size: 11px;
	border-radius: 4px;
	text-transform: uppercase;
}

.nhap {
	 background: #6d6c6c;
}
.cho_xuat {
	background-color: #5dd2bc;
}

.cho_kham {
	background-color: #f59e0b;
}
.da_xem {
	 background: #25364A;
}

.da_kham, .da_xuat {
	color: #fff;
    background-color: #7BB859;
    border-color: #7BB859;
}

.bao_gia_sua{
	background-color: #2563eb;
	color: #fff;
}
.dang_sua {
    background-color: #dd4b39;
    border-color: #dd4b39;
}
.hoan_thanh {
	color: #fff;
    background-color: #7BB859;
    border-color: #7BB859;
}
.dong {
	background-color: #00a65a;
    color: #fff;
    font-weight: bold;
}

.trang_thai_hoa_don .status_flag {
	width: 100%;
}

.chua_tra_het {
    background-color: #F5B666;
    border-color: #F5B666;
}

.required {
	color: red;
}

.flag_yc_xuat {
    width: 100%;
    float: left;
}

@media (max-width: 767px) {
	.flag_yc_xuat {
		width: 70px;
	}
}

.flag_yc_xuat .glyphicon  {
    color: #6d6d6d;
}

/* status */

/* Dashboard Styles */
/* Compact Content Header */
.content-header {
	padding: 12px 15px 10px !important;
	border-bottom: 1px solid #e2e8f0;
}

.content-header .breadcrumb {
	margin: 0 !important;
	padding: 0 !important;
	font-size: 13px;
}

.content-header .breadcrumb > li + li:before {
	padding: 0 6px;
}

.dashboard-stats-section {
	margin-top: 0;
	padding: 0;
}

.stats-section-title {
	margin: 0 0 25px 0;
	padding: 15px 0;
	font-size: 20px;
	font-weight: 600;
	color: #2c3e50;
	border-bottom: 2px solid #e8ecf1;
}

.stats-section-title i {
	margin-right: 10px;
	color: #2563eb;
}


/* Compact Small Box Improvements */
.small-box {
	border-radius: 8px;
	box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	overflow: hidden;
	border: none;
	position: relative;
	min-height: 110px;
}

.small-box::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%);
	opacity: 0;
	transition: opacity 0.3s ease;
}

.small-box:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.small-box:hover::before {
	opacity: 1;
}

.small-box .inner {
	padding: 12px 15px;
	position: relative;
	z-index: 1;
}

.small-box .inner h3 {
	font-size: 26px;
	font-weight: 700;
	margin: 0 0 5px 0;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	line-height: 1.2;
}

.small-box .inner p {
	font-size: 13px;
	font-weight: 500;
	margin: 0;
	opacity: 0.95;
	line-height: 1.3;
}

.small-box .icon {
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 0;
	font-size: 50px;
	opacity: 0.25;
	transition: all 0.3s ease;
}

.small-box:hover .icon {
	transform: scale(1.1) rotate(5deg);
	opacity: 0.35;
}

.small-box .small-box-footer {
	padding: 8px 12px;
	background: rgba(0, 0, 0, 0.1);
	transition: all 0.3s ease;
	font-weight: 500;
	position: relative;
	z-index: 1;
	font-size: 12px;
}

.small-box:hover .small-box-footer {
	background: rgba(0, 0, 0, 0.2);
	padding-right: 15px;
}

.small-box-footer i {
	margin-left: 5px;
	transition: transform 0.3s ease;
}

.small-box:hover .small-box-footer i {
	transform: translateX(5px);
}

/* Dashboard Background Colors - Improved */
.bg-kham-xe {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: #fff;
}

.bg-cho-sua {
	background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: #fff;
}

.bg-dang-sua {
	background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: #fff;
}

.bg-xe {
	background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    color: #fff;
}

.bg-khach {
	background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
	color: #fff;
}

.bg-vattu {
	background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
	color: #2c3e50;
}

.bg-vattu .small-box-footer {
	background: rgba(0, 0, 0, 0.05);
	color: #2c3e50;
}

.bg-vattu:hover .small-box-footer {
	background: rgba(0, 0, 0, 0.1);
}

/* Responsive Dashboard */
@media (max-width: 991px) {
	.small-box {
		min-height: 100px;
	}
	
	.small-box .inner {
		padding: 10px 12px;
	}
	
	.small-box .inner h3 {
		font-size: 24px;
	}
	
	.small-box .inner p {
		font-size: 12px;
	}
	
	.small-box .icon {
		font-size: 45px;
		top: 8px;
		right: 8px;
	}
	
	.small-box .small-box-footer {
		padding: 7px 10px;
		font-size: 11px;
	}
}

@media (max-width: 768px) {
	.dashboard-row {
		margin-bottom: 12px;
	}
	
	.dashboard-row [class*="col-"] {
		margin-bottom: 10px;
	}
	
	.small-box {
		min-height: 95px;
	}
	
	.small-box .inner h3 {
		font-size: 22px;
	}
	
	.small-box .icon {
		font-size: 40px;
	}
}

@media (max-width: 480px) {
	.small-box {
		min-height: 90px;
	}
	
	.small-box .inner {
		padding: 10px;
	}
	
	.small-box .inner h3 {
		font-size: 20px;
		margin-bottom: 3px;
	}
	
	.small-box .inner p {
		font-size: 11px;
	}
	
	.small-box .icon {
		font-size: 35px;
		top: 5px;
		right: 5px;
	}
	
	.small-box .small-box-footer {
		padding: 6px 8px;
		font-size: 10px;
	}
}
/* End Dashboard Styles */

/* print */
.print-table-left {
	float: left;
	width: 50%
}
.print-table-right {
	float: right;
	width: 50%
}

.sign_name {
	vertical-align: top;
	height: 100px;
}
/* print */

.status_message {
	position: relative;
}
.status_message .fa.fa-flag {
	position: absolute;
	top: 0;
    right: 3px;
    color: #e8e806;
}

li.color-item {
    list-style: none !important;
    width: 150px;
    height: 35px;
    display: inline-block;
    text-align: center;
    vertical-align: middle;
    line-height: 35px;
	color: #fff;
}
.first_color {
	background-color: #ff6384;
}

.second_color {
	background-color: #36a2eb;
}

.third_color {
	background-color: #ffcd56;
}

.required_box {
	border: 1px dashed red;
}

.notify_number {
	line-height: 0.5;
    padding: 7px;
    vertical-align: middle;
    color: #ffffff !important;
    background-color: #ef4444;
    display: inline-block;
    font-size: 11px !important;
    font-weight: 700;
    text-align: center;
    white-space: nowrap;
    border-radius: 10rem;
	/* margin-left: 5px;  */
    margin-top: 1px;
	float: right;
}
.treeview-menu>li.active a span.notify_number{
    color: #ffffff !important;
}
.main-sidebar {
    position: absolute;
    top: 0;
    left: 0;
    padding-top: 60px;
    min-height: 100%;
    width: 220px;
}
.content-wrapper, .main-footer {
    margin-left: 220px;
}
.main-header .navbar {
    margin-left: 220px;
    position: relative;
    min-height: 60px;
    display: flex;
    align-items: center;
}
.main-header .logo {
    background-color: #2563eb !important; /* Primary blue */
    width: 220px !important;
    height: 60px !important;
    transition: width 0.3s ease, height 0.3s ease;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    overflow: hidden !important;
    position: relative !important;
    flex-direction: row !important;
    gap: 0 !important;
}

/* Logo width when sidebar is collapsed */
.sidebar-mini.sidebar-collapse .main-header .logo,
body.sidebar-mini.sidebar-collapse .main-header .logo {
    width: 50px !important;
    height: 60px !important;
    justify-content: center !important;
}

/* Logo width when sidebar is expanded */
.sidebar-mini:not(.sidebar-collapse) .main-header .logo,
body.sidebar-mini:not(.sidebar-collapse) .main-header .logo {
    width: 220px !important;
    height: 60px !important;
    justify-content: flex-start !important;
}

.logo-lg {
    color: #ffffff !important;
    font-weight: 700;
    font-size: 20px;
    line-height: 1.2 !important;
    padding: 0 !important;
    padding-right: 20px !important;
    margin: 0 !important;
    display: inline-block !important;
    white-space: nowrap !important;
    transition: opacity 0.3s ease !important;
    flex-shrink: 0 !important;
    position: relative !important;
    z-index: 1 !important;
}

.logo-lg b {
    display: inline-block !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Hide logo-lg when sidebar is collapsed */
.sidebar-mini.sidebar-collapse .logo-lg,
body.sidebar-mini.sidebar-collapse .logo-lg {
    display: none !important;
}

/* Show logo-lg when sidebar is expanded */
.sidebar-mini:not(.sidebar-collapse) .logo-lg,
body.sidebar-mini:not(.sidebar-collapse) .logo-lg {
    display: inline-block !important;
}

.logo-mini-div {
    color: #ffffff !important;
    font-weight: 700;
    font-size: 18px;
    width: 35px !important;
    height: 35px !important;
    min-width: 35px !important;
    min-height: 35px !important;
    line-height: 35px !important;
    border-radius: 50% !important;
    text-align: center !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    flex-grow: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    transition: all 0.3s ease !important;
    float: none !important;
    position: relative !important;
    box-sizing: border-box !important;
}

/* Logo mini div when sidebar is collapsed */
.sidebar-mini.sidebar-collapse .logo-mini-div,
body.sidebar-mini.sidebar-collapse .logo-mini-div {
    margin: 0 auto !important;
}

/* Logo mini div when sidebar is expanded - show next to logo-lg with proper spacing */
.sidebar-mini:not(.sidebar-collapse) .logo-mini-div,
body.sidebar-mini:not(.sidebar-collapse) .logo-mini-div,
.main-header .logo:not(.sidebar-collapse) .logo-mini-div {
    margin-left: 12px !important;
    margin-right: 12px !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* Logo mini div image styling */
.logo-mini-div img {
    max-width: 35px !important;
    max-height: 35px !important;
    width: 35px !important;
    height: 35px !important;
    min-width: 35px !important;
    min-height: 35px !important;
    object-fit: cover !important;
    border-radius: 50% !important;
    display: block !important;
    flex-shrink: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Override any float or positioning from old CSS */
.main-header .logo .logo-mini-div {
    float: none !important;
    position: static !important;
}


.main-header .logo .logo-mini-div,
.main-header .logo img.logo-mini-div {
    float: none !important;
    position: static !important;
    display: flex !important;
}

/* When logo-mini-div is an img tag directly */
.main-header .logo > img.logo-mini-div {
    width: 35px !important;
    height: 35px !important;
    min-width: 35px !important;
    min-height: 35px !important;
    object-fit: cover !important;
    border-radius: 50% !important;
    flex-shrink: 0 !important;
    margin-left: 20px !important;
    margin-right: 12px !important;
}

/* Ensure logo container doesn't break layout */
.main-header {
    position: relative !important;
    z-index: 1000 !important;
}

/* Additional fix: ensure flex items don't overlap */
.main-header .logo > * {
    flex-shrink: 0 !important;
}

.main-header .logo .logo-mini-div ~ .logo-lg {
    margin-left: 0 !important;
}

/* sidebar menu */
.sidebar-menu > li > a i {
    width: 20px;
    min-width: 20px;
    text-align: center;
    font-size: 16px;
    margin-right: 8px !important;
    color: #94a3b8 !important;
    transition: color 0.2s 
ease;
    flex-shrink: 0;
}
.treeview-menu>li>a, .sidebar .treeview>a>span, .sidebar li>a>span {
    font-size: 15px;
    color: #cbd5e1;
}


.treeview-menu>li {
    margin: 0;
    height: 37px;
}
.sidebar-menu>li>.treeview-menu {
	padding-left: 25px;
}
.sidebar-collapse
.sidebar-menu>li>.treeview-menu {
	padding-left: 10px;
}
.treeview-menu > li > a {
    padding: 9px 12px 9px 12px !important;
    color: #94a3b8 !important;
    line-height: 1.4;
    transition: all 0.2s 
ease;
    display: flex !important
;
    align-items: center !important;
}

.treeview-menu > li > a ,
.treeview-menu > li > a > span {
	font-size: 13px;
	display: block;
	width: 100%;
}
.treeview-menu>li.active a span {
    color: #2563eb !important;
}
.logo-mini-div {
	width: 35px;
    height: 35px;
    line-height: 35px;
    border-radius: 50%;
    text-align: center;
    font-size: 18px;
    font-weight: 500;
    color: #fff;
    display: inline-block !important;
    float: left;
    position: absolute;
    left: 7px;
    top: 5px;
	/* border: 1px solid #a7a7a7; */
}
.main-header .sidebar-toggle:before {
    font-size: 20px;
}
.main-header .sidebar-toggle:hover {
    color: #2563eb !important;
}
.right_logo {
    width: 160px;
    position: absolute;
    left: 28px;
}

p.sidebar-title-header {
    padding-top: 12px;
    /* font-size: 18px; */
    color: #fff;
    font-weight: bold;
	margin-top: 3px;
}
.sidebar-menu > li > a .pull-right-container .label,
.sidebar-menu > li > a .pull-right-container .badge {
    font-size: 10px !important;
    padding: 2px 6px !important;
    min-width: 18px !important;
    height: 18px !important;
    line-height: 14px !important;
    font-weight: 600 !important;
    margin-left: 4px !important;
}
#he_thong {
    padding: 8px 15px;
    font-size: 13px;
    color: #475569;
    font-weight: 500;
    position: absolute;
    right: 19px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9999;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    line-height: 1;
    white-space: nowrap;
}

#he_thong:hover {
    background-color: rgba(37, 99, 235, 0.1);
    color: #2563eb;
}

#he_thong .fa-caret-down {
    font-size: 12px;
    transition: transform 0.2s ease;
}

#he_thong:hover .fa-caret-down {
    transform: translateY(2px);
}

.fa.fa-cog{
	font-size: 16px;
    transition: color 0.2s ease;
}

#he_thong:hover .fa-cog {
    color: #2563eb;
}

.content-header>h1 {
    margin: 0;
    font-size: 1.75rem;
}

.content-header>.breadcrumb>li>a,
.breadcrumb>li+li:before,
.breadcrumb>.active {
    color: #25364A;
}


/* top right menu */
.right_menu {
    border: 1px solid rgba(0, 0, 0, 0.15);
    height: auto;
    display: block;
    width: 300px;
    position: absolute;
    right: 15px;
    background-color: #fff;
    min-width: 215px;
    margin-top: 0;
    border-radius: 0;
    padding: 0;
    z-index: 10000;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.drawer-menu {
    padding: 0;
}

.drawer-menu-item {
    border-top: 1px solid rgba(0, 0, 0, 0.125);
	list-style: none;
    margin: 0;
}

.drawer-menu-item:first-child {
    border-top: 0;
}

.drawer-menu-item a {
    display: flex;
    padding: 8px 15px;
    text-decoration: none;
    font-size: 14px;
	color: #25364A;
    line-height: 1.5;
    cursor: pointer;
    align-items: center;
    min-height: 40px;
}

.drawer-menu-item a:hover {
    background-color: #e4e9f1;
}

.drawer-menu-item a span{
    margin-left: 0;
    font-size: 14px;
    line-height: 1.5;
    display: flex;
    align-items: center;
    flex: 1;
}

.head_right_menu {
    background: #25364A;
    color: #ffffff;
    font-family: inherit;
    padding: 12px 15px;
}
.head_title {
    font-size: 14px;
    margin: 0;
    font-weight: 600;
}

.drawer-menu .fa, .drawer-menu .glyphicon-log-out {
    border: 0;
    border-radius: 0;
    padding: 0;
    width: auto;
    height: auto;
    color: #475569;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    margin-right: 10px;
    min-width: 20px;
    line-height: 1;
}
/* end top right menu */

.date .input-group-addon {
    top: 25px;
    z-index: 99999;
    right: 29px;
    width: 38px;
    height: 34px;
    left: 256px;
    border: 1px solid #ccc;
}

.right_menu .fa, .right_menu .glyphicon  {
	width: 20px;
    height: 20px;
    font-size: 11px;
}

/* print header */
.header_print {
    text-align: center;
    font-weight: 600;
    height: 100px;
    display: block;
    margin-bottom: 10px;
    padding-top: 7px;
    color: #807e7e;
}

.header_print .print_company_name {
	font-size: 18px; 
	font-weight: bold; 
	color: #333;
	text-transform: uppercase;
}
/* end print header */

.wysihtml5-sandbox {
	width: 100%;
}

.btn-primary {
    background-color: #2563eb;
    border-color: #2563eb;
}

/* status view */

.btn-status-view {
    text-transform: uppercase;
    margin-left: 5px;
    display: inline;
    padding: .2em .6em .3em;
    font-size: 75%;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: .25em;
	color: #fff;
}

/* status view */

/* notify box */
#notify {
    position: absolute;
    color: #475569;
    right: 130px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
	cursor: pointer;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    line-height: 1;
}

#notify:hover {
    background-color: rgba(37, 99, 235, 0.1);
    color: #2563eb;
}

#notify .fa-bell{
	font-size: 20px;
    transition: transform 0.2s ease;
}

#notify:hover .fa-bell {
    transform: scale(1.1);
}

#notify_box {
	border: 0;
    min-width: 16px;
    height: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background-color: #ef4444;
    color: #ffffff;
    font-size: 9px;
    text-align: center;
    line-height: 1;
    padding: 1px 4px;
    position: absolute;
    top: 0px;
    right: 4px;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.dropdown-menu {
    width: 300px;
	border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 0;
	padding: 0;
	margin-right: 15px;
    margin-top: 0;
}

.nav.d-flex {
	display: flex;
}

#notifications-ul {
    background: #25364A;
    border-radius: 0;
}

.nav-item .nav-link {
    color: rgba(255, 255, 255, 0.54);
	font-weight: bold;
}

.nav-item .nav-link:focus,
.nav-item.active .nav-link,
.nav-item .nav-link:hover {
    color: #fff;
}

.nav-item .nav-link:first-of-type {
	padding: 12px 15px;
}

.nav>li>a:hover, .nav>li>a:active, .nav>li>a:focus {
    background: transparent;
}

.nav-item.notifications .tab-content ul.list-group-flush li.list-group-item:not(:last-of-type) {
    background: rgba(249, 249, 249, 0.5);
    border-color: #E2E8EE;
}
.list-group-flush:first-child .list-group-item:first-child {
    border-top: 0;
}
.list-group-flush .list-group-item {
    border-right: 0;
    border-left: 0;
    border-radius: 0;
	border-bottom: 0;
	cursor: pointer;
}

.list-group-flush .list-group-item:hover {
	background-color: #e4e9f1;
}
/* .list-group-item:first-child {
    border-top-left-radius: 0.25rem;
    border-top-right-radius: 0.25rem;
} */
.list-group-item {
    position: relative;
    display: block;
    background-color: #fff;
    border-top: 1px solid rgba(0, 0, 0, 0.125);
    line-height: 1.7;
    border-bottom: 0;
    border-right: 0;
    border-left: 0;
	padding: 8px 15px 8px 15px;
}

.dropdown-menu .list-group-item.text-right a{
	color: #2563eb ;
}

.list-group {
	margin-bottom: 0;
}

.dropdown-menu .list-group span {
    color: #2563eb ;
    text-decoration: none;
    background-color: transparent;
	font-weight: 600;
}
.dropdown-menu .text-muted {
    color: #90949c !important;
    font-size: 11px !important;
}

.dropdown-menu .w-100 {
    font-size: 13px;
    text-align: left;
    line-height: 18px;
    list-style: none;
}
.dropdown-menu .no-notify {
	padding: 10px 10px 0 10px;
	font-size: 13px;
}
.nav-item.notifications .tab-content ul.list-group-flush li.list-group-item:not(:last-of-type) {
    background: rgba(249, 249, 249, 0.5);
    border-color: #E2E8EE;
}

.dropdown-menu .fa-warning{
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    display: inline-block;
    line-height: 1;
    text-transform: none;
    letter-spacing: normal;
    word-wrap: normal;
    white-space: nowrap;
    direction: ltr;
    -webkit-font-smoothing: antialiased;
	float: left;
    margin-right: 10px;
    color: #FF3D55;
	margin-top: 10px;
}

.dropdown-menu .tab-pane {
    overflow-y: auto;
    max-height: 350px;
	text-align: center;
	background-color: #edf2fa;
}

/* width */
.dropdown-menu .tab-pane::-webkit-scrollbar {
  width: 5px;
}

/* Track */
.dropdown-menu .tab-pane::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px #fff; 
  border-radius: 10px;
}
 
/* Handle */
.dropdown-menu .tab-pane::-webkit-scrollbar-thumb {
  background: #c5cdd8; 
  border-radius: 10px;
}

/* Handle on hover */
.dropdown-menu .tab-pane::-webkit-scrollbar-thumb:hover {
  background: #b30000; 
}

/* end notify box */

.datetimepicker table {
    margin: 0;
    width: 100%;
}

.number_products {
    right: 36px;
    top: 13px;
    width: 20px;
    height: 20px;
    background-color: #d7e6f0;
    text-align: center;
    color: #1d445e;
    border-radius: 10px;
	border-color: #d7e6f0;
}

.my_notify.alert.alert-primary {
	padding: 0.75rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: 0.25rem;
	color: #1d445e;
    background-color: #d7e6f0;
    border-color: #c7dcea;
	margin-top: 5px;
}

.notify_unread {
	background-color: #edf2fa;
}

img.time_muted {
    margin-bottom: 3px;
    margin-right: 0px;
    width: 15px;
}

.list-group-item .align-middle {
    font-size: 13px;
    font-weight: bold;
}
.notify_view_all:hover {
	text-decoration: underline;
}

.right_menu .drawer-menu-item a:hover {
	color: #25364A;
	font-weight: normal;
}

.right_menu .drawer-menu-item a:hover .fa,
.right_menu .drawer-menu-item a:hover .glyphicon {
    color: #475569;
}

.box_func_center {
	text-align: center;
}

/* only for print order in customer */
.checkorder_customer {
	margin: 0 auto;
	width: 960px;
}

.checkorder_customer table {
    font-size: 14px;
}

#captcha {
	border: 1px solid #d2d6de;
    width: 145px;
    text-align: center;
}

@media (max-width: 767px) {
	.checkorder_customer {
		width: 100%;
	}
}

#so_luong_con {
    height: 35px;
    width: 75px;
    text-align: center;
    border: 1px solid #ccc;
}

/* page for customer */

.check_order_online {
	color: #fff;
    background-color: #3c8dbc;
}

.box_input_check .form-control-check {
    width: 250px;
	min-height: 46px;
    padding: 12px 15px;
    font-size: 15px;
    line-height: 1.5;
    color: #1e293b;
    background-color: rgba(255,255,255,0.95);
    background-image: none;
	border: 2px solid rgba(255,255,255,0.3);
	border-radius: 8px;
	transition: all 0.3s ease;
	box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.box_input_check .form-control-check:focus {
	outline: none;
	border-color: #ffd700;
	background-color: #fff;
	box-shadow: 0 0 0 4px rgba(255, 215, 0, 0.2), 0 4px 8px rgba(0,0,0,0.15);
	transform: translateY(-2px);
}

.box_input_check .form-control-check::placeholder {
	color: rgba(30, 41, 59, 0.6);
}

.bg-primary .drawer-brand-circle {
    background: #25364A;
	
}

.drawer-brand-circle, .drawer-brand-circle img {
    width: 35px;
    height: 35px;
    line-height: 35px;
    border-radius: 50%;
    text-align: center;
    font-size: 18px;
    font-weight: 500;
    color: #fff;
    display: inline-block;
	margin-right: 5px;
}

.fixed-top .navbar {
    color: #fff;
    height: 62px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    z-index: 1;
}

.bg-primary {
    background-color: #3783B5 !important;
	border-radius: 0;
}

.navbar-dark .page-title {
    font-size: 18px;
    color: #fff;
    font-weight: bold;
}

.navbar-dark .navbar-nav .nav-link {
    color: #ffffff;
	list-style: none;
	font-weight: bold;
}

.btn.btn-white {
    background-color: #ffffff;
    color: #25364A;
    border: 1px solid #E2E8EE;
}

.navbar .btn {
    display: inline-block;
    font-weight: 500;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: 1px solid transparent;
    padding: 0.5rem 0.8rem;
    font-size: 13px;
    line-height: 2.2;
    border-radius: 0.25rem;
}

.navbar-nav > .nav-item {
    margin-left: 1.25rem;
	list-style: none;
}
.align-self-center {
    -ms-flex-item-align: center !important;
    align-self: center !important;
}

.navbar-nav.ml-auto.align-items-center {
	float: right;
}

.box_input_check {
	position: absolute;
    text-align: center;
    width: 100%;
    z-index: 9999;
}

.captcha_img {
	border: 2px solid #fff;
	border-radius: 6px;
    height: 46px;
    margin-top: 0;
	box-shadow: 0 2px 4px rgba(0,0,0,0.1);
	cursor: pointer;
	transition: all 0.2s ease;
	background: #fff;
}

.captcha_img:hover {
	transform: scale(1.05);
	box-shadow: 0 4px 8px rgba(0,0,0,0.2);
	border-color: #ffd700;
}

.box_input_check .btn-primary,
.checkorder-search-btn {
    background: linear-gradient(135deg, #3783B5 0%, #2563eb 100%);
    border: none;
    margin-top: 0;
    min-height: 46px;
	padding: 12px 25px;
	border-radius: 8px;
	font-weight: 600;
	font-size: 15px;
	box-shadow: 0 4px 8px rgba(0,0,0,0.2);
	transition: all 0.3s ease;
}

.box_input_check .btn-primary:hover,
.checkorder-search-btn:hover {
	background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
	transform: translateY(-2px);
	box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}

.fixed-bottom {
    background-color: #3783B5 !important;
    border-radius: 0;
    bottom: 0;
    display: block;
    vertical-align: middle;
    padding-top: 10px;
    padding-bottom: 10px;
	/* position: fixed; */
    width: 100%;
}

.fixed-bottom p {
	color: #fff;
    margin: 0 auto;
    vertical-align: middle;
    text-align: center;
}

#wrapper_content_input {
	position: relative;
}

#wrapper_content_input::before {
    width: 100%;
    height: 100%;
    background: #000;
    content: "";
    opacity: .4;
	display: block;
	position: absolute;
	top: 0;
}

.wrapper_content_checkorder_online .box {
	border-top: 0;
}

.wrapper_content_checkorder_online .box table{
	font-size: 15px;
}

.fixed-top {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 99999;
}

.qrcode_cls {
	position: absolute;
    right: 7px;
    top: 0;
    width: 100px;
}

/* extra */
.sidebar-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    background: #1e293b;
	color: #708CA4;
}

.skin-blue .sidebar-menu>li>.treeview-menu {
    background: #1e293b;
	color: #708CA4;
}

.sidebar-menu>li:hover>a, .sidebar-menu>li.active>a, 
.sidebar-menu>li.menu-open>a {
    background: #25364A;
}

.sidebar-menu>li.menu-open>a>span,
.sidebar-menu>li.menu-open>a>i{
    color: #fff !important;
}
.sidebar-menu > li.active > a > i, .sidebar-menu > li.menu-open > a > i,
.sidebar-menu > li.active > a > span, .sidebar-menu > li.menu-open > a > span {
    color: #2563eb !important;
    transform: none !important;
}
.sidebar-menu > li > a i {
    width: 20px;
    min-width: 20px;
    text-align: center;
    font-size: 16px;
    margin-right: 8px !important;
    color: #94a3b8 !important;
    transition: color 0.2s 
ease;
    flex-shrink: 0;
}
.sidebar-menu > li.active > a, .sidebar-menu > li.menu-open > a, .sidebar-menu > li.active > a:hover, .sidebar-menu > li.menu-open > a:hover {
    color: #2563eb !important;
    font-weight: 600 !important;
    margin-right: 0px !important;
    margin-left: 0px !important;
    transform: none !important;
}
.sidebar-mini:not(.sidebar-mini-expand-feature).sidebar-collapse .sidebar-menu>li:hover>a>span{
    margin-left: 0px;
}
.skin-blue .wrapper, .skin-blue .main-sidebar, .skin-blue .left-side {
    background-color: #1e293b;
}

body, .order-title .box-title {
    color: #1e293b;
}

.skin-blue .sidebar-menu>li:hover>a,
.skin-blue .sidebar-menu>li.active>a {
	color: #fff !important;
}

/* abc */
/* .content-wrapper {
    background-color: #F9F9F9;
}

.box, .box-footer, 
table tr, table th, 
#data-list th, #data-list td, .data-list th, .data-list td, 
.form-control,
.select2-container--default .select2-selection--single {
    border: 1px solid #E2E8EE;
}

.box {
    padding-top: 12px;
}
*/

.badge-danger {
    color: #fff;
    background-color: #FF3D55;
}
.badge {
    display: inline-block;
    padding: 3px 11px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 0.25rem;
}

#cong_no_qua .fa {
	font-size: inherit;
}

/* ========================================
   Modern Theme Styles (Merged from modern-theme.css)
   ======================================== */

/* Typography Improvements */
body {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
	font-weight: 400;
	letter-spacing: -0.01em;
}

h1, h2, h3, h4, h5, h6 {
	font-weight: 600;
	letter-spacing: -0.02em;
}

a {
	color: #2563eb;
}

/* Sidebar Modern Improvements */
.main-sidebar {
	box-shadow: 2px 0 10px rgba(0, 0, 0, 0.08);
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Badge improvements */
.sidebar-menu .pull-right-container .label,
.sidebar-menu .pull-right-container .badge {
	font-weight: 600;
	padding: 4px 8px;
	border-radius: 12px;
	font-size: 11px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Header Modern Improvements - chỉ thêm những gì không conflict */
.main-header {
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
	background: #fff;
	transition: box-shadow 0.3s ease;
}

.main-header .navbar {
	padding: 0 15px;
	min-height: 60px;
}

/* Logo improvements */
.logo {
	padding: 15px 20px;
	transition: all 0.3s ease;
}

.logo:hover {
	background: rgba(60, 141, 188, 0.05);
}

.logo-lg {
	font-size: 20px;
	font-weight: 700;
	letter-spacing: -0.02em;
}

/* Content Wrapper */
.content-wrapper {
	background: #f5f7fa;
}

/* Buttons Modern Improvements - chỉ thêm những styles chưa có */
.btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn:active {
	transform: translateY(0);
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Button variants - chỉ thêm nếu chưa override */
.btn-success {
	background: linear-gradient(135deg, #00a65a 0%, #008d4c 100%);
	border: none;
}

.btn-success:hover {
	background: linear-gradient(135deg, #008d4c 0%, #00753d 100%);
}

.btn-danger {
	background: linear-gradient(135deg, #dd4b39 0%, #d33724 100%);
	border: none;
}

.btn-danger:hover {
	background: linear-gradient(135deg, #d33724 0%, #c9302c 100%);
}

.btn-warning {
	background: linear-gradient(135deg, #f39c12 0%, #db8b0b 100%);
	border: none;
}

.btn-info {
	background: linear-gradient(135deg, #00c0ef 0%, #00a7d0 100%);
	border: none;
}


/* Forms Modern Improvements */
.form-control {
	border-radius: 8px;
	border: 1.5px solid #e8ecf1;
	padding: 10px 15px;
	transition: all 0.2s ease;
	font-size: 14px;
}

.form-control:focus {
	border-color: #2563eb;
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
	outline: none;
}

.input-group-addon {
	border-radius: 8px;
	border: 1.5px solid #e8ecf1;
}

/* Tables Modern Improvements */
.table-report .table > thead > tr > th,
.table-report .table > tbody > tr > td{
    padding: 10px;
    font-size: 13px;
}

.table {
	border-radius: 8px;
}
.box-header {
    color: #444;
    display: block;
    padding: 15px;
    position: relative;
    border-bottom: 1px solid #eaebed;
}
.table > thead > tr > th {
	font-weight: 600;
	text-transform: uppercase;
	font-size: 12px;
	letter-spacing: 0.05em;
	color: #6c757d;
	border-bottom: 2px solid #e8ecf1;
	padding: 15px;
	background: #f8f9fa;
}

.table > tbody > tr {
	transition: background 0.2s ease;
}

.table > tbody > tr:hover {
	background: #f8f9fa;
}

.table > tbody > tr > td {
	padding: 15px;
	border-bottom: 1px solid #e8ecf1;
}

/* Alerts Modern Improvements */
.alert {
	border-radius: 10px;
	border: none;
	padding: 15px 40px 15px 15px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
	margin-bottom: 20px;
}


/* Badges & Labels Modern Improvements */
.badge,
.label {
	border-radius: 12px;
	padding: 4px 10px;
	font-weight: 600;
	font-size: 11px;
	letter-spacing: 0.02em;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Select2 Modern Improvements */
.select2-container--default .select2-selection--single {
    border-radius: 8px;
    border: 1.5px solid #e8ecf1;
    height: 38px;
    transition: all 0.2s 
ease;
    padding: 7px 12px;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 38px;
    position: absolute;
    top: 0px;
    right: 6px;
    width: 20px;
}

.select2-container--default.select2-container--focus .select2-selection--single {
	border-color: #2563eb;
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Right Menu Modern Improvements */
.right_menu {
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
	border: 1px solid #e8ecf1;
	overflow: hidden;
}

.drawer-menu-item {
	transition: background 0.2s ease;
}

.drawer-menu-item:hover {
	background: rgba(60, 141, 188, 0.08);
}

.drawer-menu-item a {
	padding: 12px 20px;
	transition: all 0.2s ease;
}

.drawer-menu-item a:hover {
	padding-left: 25px;
	color: #2563eb;
}

/* Animations */
@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.content-wrapper > section {
	animation: fadeIn 0.4s ease;
}

.box {
	animation: fadeIn 0.5s ease;
    border-top: none;
}

/* Scrollbar Modern Style */
::-webkit-scrollbar {
	width: 10px;
	height: 10px;
}

::-webkit-scrollbar-track {
	background: #f1f1f1;
	border-radius: 10px;
}

::-webkit-scrollbar-thumb {
	background: linear-gradient(180deg, #2563eb 0%, #1e40af 100%);
	border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
	background: linear-gradient(180deg, #1e40af 0%, #1e3a8a 100%);
}

/* Modal Modern Improvements */
.modal-content {
	border-radius: 16px;
	border: none;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
	overflow: hidden;
}

.modal-header {
	background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
	border-bottom: 1px solid #e8ecf1;
	padding: 20px 25px;
}

.modal-header .close {
	font-size: 28px;
	font-weight: 300;
	opacity: 0.6;
	transition: opacity 0.2s ease;
}

.modal-header .close:hover {
	opacity: 1;
}

.modal-body {
	padding: 25px;
}

.modal-footer {
	background: #f8f9fa;
	border-top: 1px solid #e8ecf1;
	padding: 15px 25px;
}

/* Dropdown Modern Improvements */
.dropdown-menu {
	border-radius: 12px;
	border: 1px solid #e8ecf1;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.dropdown-menu > li > a {
	padding: 10px 20px;
	transition: all 0.2s ease;
	font-weight: 500;
}

.dropdown-menu > li > a:hover {
	background: rgba(37, 99, 235, 0.1);
	color: #2563eb;
	padding-left: 25px;
}

.dropdown-menu > .divider {
	margin: 8px 0;
	background-color: #e8ecf1;
}

/* Tabs Modern Improvements */
.nav-tabs {
	border-bottom: 2px solid #e8ecf1;
	margin-bottom: 20px;
}

.nav-tabs > li > a {
	border-radius: 8px 8px 0 0;
	border: none;
	margin-right: 5px;
	padding: 12px 20px;
	font-weight: 500;
	color: #6c757d;
	transition: all 0.2s ease;
}

.nav-tabs > li > a:hover {
	background: rgba(37, 99, 235, 0.05);
	color: #2563eb;
	border: none;
}

.nav-tabs > li.active > a,
.nav-tabs > li.active > a:hover,
.nav-tabs > li.active > a:focus {
	background: #2563eb;
	color: #fff;
	border: none;
	border-radius: 8px 8px 0 0;
}

/* Pagination Modern Improvements */
.pagination > li > a,
.pagination > li > span {
	border-radius: 8px !important;
	margin: 0 3px;
	border: 1px solid #e8ecf1;
	color: #6c757d;
	padding: 6px 14px;
	transition: all 0.2s ease;
	font-weight: 500;
}

.pagination > li > a:hover,
.pagination > li > span:hover {
	background: rgba(37, 99, 235, 0.1);
	border-color: #2563eb;
	color: #2563eb;
	transform: translateY(-2px);
	box-shadow: 0 2px 8px rgba(37, 99, 235, 0.2);
}

.pagination > .active > a,
.pagination > .active > span,
.pagination > .active > a:hover,
.pagination > .active > span:hover {
	background: #2563eb;
	border-color: #2563eb;
	box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

/* Loading States */
.btn.loading {
	position: relative;
	color: transparent !important;
	pointer-events: none;
}

.btn.loading::after {
	content: '';
	position: absolute;
	width: 16px;
	height: 16px;
	top: 50%;
	left: 50%;
	margin-left: -8px;
	margin-top: -8px;
	border: 2px solid #fff;
	border-radius: 50%;
	border-top-color: transparent;
	animation: spinner 0.6s linear infinite;
}

@keyframes spinner {
	to { transform: rotate(360deg); }
}

/* Responsive Improvements */
@media (max-width: 768px) {
	.content-header {
		padding: 15px 20px;
	}
	
	.content-header h1 {
		font-size: 22px;
	}
	
	.box {
		border-radius: 8px;
	}
	
	.btn {
		padding: 8px 16px;
		font-size: 14px;
	}
}/* End Modern Theme Styles */

/* Thanh tìm kiếm - Style đơn giản và hiện đại */
.search-wrapper {
	position: relative;
	display: inline-block;
	width: 280px;
}

.search-input {
	width: 100%;
	padding: 8px 36px 8px 12px;
	font-size: 14px;
	border: 1px solid #d1d5db;
	border-radius: 6px;
	transition: all 0.2s ease;
	background: #fff;
}

.search-input:focus {
	outline: none;
	border-color: #2563eb;
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.search-input::placeholder {
	color: #9ca3af;
}

.search-icon {
	position: absolute;
	right: 10px;
	top: 50%;
	transform: translateY(-50%);
	color: #6b7280;
	pointer-events: none;
	transition: color 0.2s ease;
}

.search-wrapper:focus-within .search-icon {
	color: #2563eb;
}

.search-icon i {
	font-size: 14px;
}

.btn-clear-search {
	position: absolute;
	right: 8px;
	top: 50%;
	transform: translateY(-50%);
	width: 20px;
	height: 20px;
	border: none;
	background: #e5e7eb;
	color: #6b7280;
	border-radius: 50%;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.2s ease;
	padding: 0;
	line-height: 1;
}

.btn-clear-search:hover {
	background: #dc2626;
	color: #fff;
}

.btn-clear-search:focus {
	outline: none;
}

.btn-clear-search i {
	font-size: 10px;
}

/* Responsive cho search */
@media (max-width: 768px) {
	.search-wrapper {
		width: 100%;
		max-width: 100%;
		margin-top: 10px;
	}
	
	.box-tools {
		width: 100%;
		float: none !important;
	}
}

/* Trạng thái gọn gàng - nhỏ gọn hơn */
.status-badge {
	display: inline-block;
	padding: 2px 8px;
	font-size: 10px;
	font-weight: 600;
	border-radius: 3px;
	text-transform: uppercase;
	letter-spacing: 0.3px;
	line-height: 1.4;
	white-space: nowrap;
}

.status-da_xem {
	background-color: #2563eb;
	color: #fff;
}

.status-cho_kham {
	background-color: #f59e0b;
	color: #fff;
}

.status-da_kham {
	background-color: #10b981;
	color: #fff;
}

.status-nhap {
	background-color: #6b7280;
	color: #fff;
}
.status-dang_sua {
	background-color: #8b5cf6;
	color: #fff;
}

.status-hoan_thanh {
	background-color: #059669;
	color: #fff;
}

.status-dong {
	background-color: #065f46;
	color: #fff;
}

.status-chua_tra_het {
	background-color: #dc2626;
	color: #fff;
}

/* Button chỉ icon */
.btn-group-action .btn {
	padding: 6px 10px;
	min-width: 32px;
}

.btn-group-action .btn i {
	margin: 0;
}

/* Style bảng đơn giản - không border */
#pendingTable {
	border: none;
}

#pendingTable thead th {
	border: none;
	border-bottom: 2px solid #e8ecf1;
}

#pendingTable tbody td {
	border: none;
	border-bottom: 1px solid #f1f5f9;
}

#pendingTable tbody tr:last-child td {
	border-bottom: none;
}

#pendingTable tfoot td {
	border: none;
	padding: 0 !important;
}

/* Phân trang */
.table-pagination-wrapper {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 15px 0px;
}

.table-pagination-wrapper.hidden {
	display: none;
}

.pagination-info {
	font-size: 14px;
	color: #6b7280;
}

.pagination-info strong {
	color: #374151;
	font-weight: 600;
}

/* Responsive pagination */
@media (max-width: 768px) {
	.table-pagination-wrapper {
		flex-direction: column;
		gap: 15px;
		align-items: stretch;
	}
	
	.pagination-info {
		text-align: center;
	}
	
	#paginationControls {
		justify-content: center;
	}
}

/* Thông báo không có kết quả - Full width */
.no-results {
	display: none;
}

.no-results.show {
	display: table-cell;
}

td.no-results {
	width: 100% !important;
	padding: 60px 20px !important;
	text-align: center;
	background-color: #f9fafb !important;
	border: none !important;
	color: #6b7280;
}

td.no-results i {
	font-size: 48px;
	margin-bottom: 15px;
	display: block;
	color: #9ca3af;
}

td.no-results p {
	margin: 0;
	font-size: 14px;
	font-weight: 500;
	color: #6b7280;
}

/* Responsive */
@media (max-width: 768px) {
	.box-tools {
		width: 100%;
		margin-top: 10px !important;
		margin-bottom: 10px;
	}
	
	.input-group {
		width: 100% !important;
	}
	
	.table-info-bar {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
	}
	
	.table-info-right {
		width: 100%;
		justify-content: space-between;
	}
}

/* Thông báo không có dữ liệu - bên ngoài table */
.no-data-message {
	width: 100%;
	padding: 30px 20px;
	text-align: center;
	background-color: #f9fafb;
	border-radius: 6px;
	border: 1px solid #e5e7eb;
}

.no-data-message i {
	font-size: 64px;
	margin-bottom: 20px;
	display: block;
	color: #9ca3af;
}

.no-data-message p {
	margin: 0;
	font-size: 16px;
	font-weight: 500;
	color: #6b7280;
}

/* Enhanced Sections for Parts and Services */
.section-wrapper {
	margin-bottom: 30px;
	background: #ffffff;
	border-radius: 8px;
}

.section-header-enhanced {
	margin-bottom: 20px;
	padding-bottom: 15px;
	border-bottom: 2px solid #f3f4f6;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.section-title-enhanced {
	margin: 0;
	font-size: 18px;
	font-weight: 600;
	color: #374151;
	display: flex;
	align-items: center;
	gap: 10px;
}

.section-title-enhanced i {
	color: #3b82f6;
	font-size: 20px;
}

.add-item-form-enhanced {
	background: #f9fafb;
	padding: 20px;
	border-radius: 6px;
	margin-bottom: 20px;
	border: 1px solid #e5e7eb;
}

.add-item-form-enhanced .form-group {
	margin-bottom: 15px;
}

.form-label-enhanced {
	font-weight: 600;
	color: #374151;
	font-size: 13px;
	margin-bottom: 8px;
	display: block;
}

.btn-add-link {
	color: #3b82f6;
	text-decoration: none;
	margin-left: 5px;
	font-size: 14px;
	transition: color 0.2s;
}

.btn-add-link:hover {
	color: #2563eb;
	text-decoration: none;
}

.form-control-enhanced {
	border: 1px solid #d1d5db;
	border-radius: 6px;
	padding: 8px 12px;
	font-size: 14px;
	transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control-enhanced:focus {
	border-color: #3b82f6;
	box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
	outline: none;
}

.form-control-readonly {
	background-color: #f3f4f6;
	color: #6b7280;
	cursor: not-allowed;
}

.btn-enhanced {
	border-radius: 6px;
	padding: 8px 16px;
	font-weight: 500;
	transition: all 0.2s;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.btn-enhanced:hover {
	transform: translateY(-1px);
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.help-text {
	margin-top: 5px;
	font-size: 12px;
	color: #6b7280;
}

.table-wrapper-enhanced {
	overflow-x: auto;
	border-radius: 6px;
}

.data-list-enhanced {
	width: 100%;
	border-collapse: collapse;
	background: #ffffff;
}

.data-list-enhanced th {
	color: #374151;
	font-weight: 600;
	font-size: 13px;
	padding: 12px;
	text-align: left;
	border-bottom: 2px solid #e5e7eb;
	border-right: 1px solid #e5e7eb;
	text-transform: none;
}

.data-list-enhanced th:last-child {
	border-right: none;
}

.data-list-enhanced td {
	padding: 12px;
	border-bottom: 1px solid #f3f4f6;
	border-right: 1px solid #f3f4f6;
	color: #4b5563;
	font-size: 13px;
}

.data-list-enhanced td:last-child {
	border-right: none;
}

.data-list-enhanced tr:hover {
	background-color: #f9fafb;
}

.data-list-enhanced tr:last-child td {
	border-bottom: none;
}

.data-list-enhanced .xoa {
	text-decoration: none;
	font-weight: 500;
	transition: color 0.2s;
}

.data-list-enhanced .xoa:hover {
	color: #dc2626;
	text-decoration: underline;
}


/* Add Form Row in Table */
.add-form-row {
	background-color: #f9fafb !important;
	border-top: 2px solid #e5e7eb !important;
}

.add-form-row td {
	padding: 12px 15px !important;
	vertical-align: middle !important;
	background-color: #f9fafb !important;
}

.add-form-row td:first-child {
	font-weight: 600;
	color: #3b82f6;
	font-size: 18px;
}

.form-control-inline {
	width: 100%;
	min-width: 100px;
}

.input-select-textbox {
	display: flex;
	align-items: center;
	gap: 8px;
	flex: 1;
}

.input-select-textbox select {
	flex: 1;
}

.qty-unit-group {
	display: flex;
	align-items: center;
	gap: 5px;
}

.btn-add-link-inline {
	color: #3b82f6;
	text-decoration: none;
	font-size: 16px;
	padding: 4px 8px;
	transition: color 0.2s;
	border-radius: 4px;
}

.btn-add-link-inline:hover {
	color: #2563eb;
	background-color: #eff6ff;
	text-decoration: none;
}

.add-form-row .form-control-inline {
	font-size: 14px;
	padding: 6px 10px;
}

.add-form-row .btn-sm {
	padding: 6px 12px;
	font-size: 13px;
}

@media (max-width: 768px) {
	
	.add-item-form-enhanced {
		padding: 15px;
	}
	
	.add-item-form-enhanced .row > div {
		margin-bottom: 15px;
	}
	
	.add-form-row td {
		padding: 10px 8px !important;
	}
	
	.form-control-inline {
		font-size: 13px;
		padding: 5px 8px;
	}
}

/* ========================================
   CHECKORDER PAGE - PROFESSIONAL LAYOUT
   ======================================== */

/* Search Form Styles */
.checkorder-search-wrapper {
	padding: 40px 20px;
	max-width: 800px;
	margin: 0 auto;
}

.checkorder-main-title {
	font-size: 42px;
	font-weight: 700;
	color: #fff;
	margin-bottom: 15px;
	text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.checkorder-main-title i {
	margin-right: 15px;
	color: #ffd700;
}

.checkorder-subtitle {
	font-size: 18px;
	color: rgba(255,255,255,0.95);
	margin-bottom: 30px;
	line-height: 1.6;
}

.checkorder-search-form {
	display: flex;
	flex-wrap: wrap;
	gap: 15px;
	justify-content: center;
	align-items: flex-start;
}

.search-input-group {
	flex: 1;
	min-width: 250px;
}

.captcha-input-group {
	display: flex;
	gap: 10px;
	align-items: center;
}

.captcha-input-group .form-control-check {
	width: 120px;
}

.captcha_img {
	border: 2px solid #fff;
	border-radius: 4px;
	box-shadow: 0 2px 4px rgba(0,0,0,0.1);
	cursor: pointer;
	transition: transform 0.2s;
}

.captcha_img:hover {
	transform: scale(1.05);
}

.checkorder-search-btn {
	padding: 10px 25px;
	font-size: 16px;
	font-weight: 600;
	border-radius: 6px;
	box-shadow: 0 4px 6px rgba(0,0,0,0.2);
	transition: all 0.3s;
}

.checkorder-search-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}

/* Invoice Box Styles */
.checkorder-invoice-box {
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 4px 20px rgba(0,0,0,0.1);
	margin-top: 40px;
	margin-bottom: 30px;
	overflow: hidden;
	border: 1px solid #e2e8f0;
}

.checkorder-header {
	background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
	color: #fff;
	padding: 25px 30px;
	border-bottom: none;
}

.checkorder-header .box-title {
	color: #fff;
	font-size: 24px;
	font-weight: 700;
	margin: 0;
	margin-bottom: 15px;
}

.checkorder-header .box-title i {
	margin-right: 10px;
}

.invoice-header-content {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 15px;
}

.invoice-meta-info {
	display: flex;
	gap: 15px;
	flex-wrap: wrap;
}

.invoice-badge,
.invoice-date {
	background: rgba(255,255,255,0.2);
	padding: 8px 15px;
	border-radius: 6px;
	font-size: 14px;
	font-weight: 600;
	backdrop-filter: blur(10px);
}

.invoice-badge i,
.invoice-date i {
	margin-right: 6px;
}

/* Info Section Styles */
.checkorder-info-section {
	padding: 30px;
	background: #f8fafc;
}

.checkorder-info-grid {
	margin: 0;
	gap: 20px;
	display: flex;
	flex-wrap: wrap;
}

.checkorder-info-grid > [class*="col-"] {
	margin-bottom: 20px;
}

.checkorder-info-card {
	padding: 0;
	background: #fff;
	border-radius: 10px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.08);
	overflow: hidden;
	border: 1px solid #e2e8f0;
	transition: transform 0.2s, box-shadow 0.2s;
}

.checkorder-info-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.info-card-header {
	background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
	padding: 15px 20px;
	border-bottom: 2px solid #e2e8f0;
}

.info-card-header h4 {
	margin: 0;
	font-size: 18px;
	font-weight: 600;
	color: #1e293b;
	display: flex;
	align-items: center;
}

.info-card-header h4 i {
	margin-right: 10px;
	color: #2563eb;
	font-size: 20px;
}

.info-card-body {
	padding: 20px;
}

.checkorder-info-table {
	margin: 0;
	border: none;
}

.checkorder-info-table tr {
	border-bottom: 1px solid #f1f5f9;
}

.checkorder-info-table tr:last-child {
	border-bottom: none;
}

.checkorder-info-table td {
	padding: 12px 0;
	border: none;
}

.checkorder-info-table .info-label {
	width: 40%;
	color: #64748b;
	font-weight: 600;
	font-size: 14px;
}

.checkorder-info-table .info-value {
	color: #1e293b;
	font-size: 15px;
}

.checkorder-info-table .info-value strong {
	color: #2563eb;
	font-weight: 600;
}

.badge.badge-primary {
	background: #2563eb;
	color: #fff;
	padding: 5px 12px;
	border-radius: 6px;
	font-size: 13px;
	font-weight: 600;
}

/* Detail Cards Styles */
.checkorder-details-section {
	padding: 30px;
	background: #fff;
}

.checkorder-detail-card {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	margin-bottom: 20px;
	overflow: hidden;
	box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.detail-card-header {
	background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
	padding: 15px 20px;
	border-bottom: 2px solid #e2e8f0;
}

.detail-card-header h4 {
	margin: 0;
	font-size: 16px;
	font-weight: 600;
	color: #1e293b;
	display: flex;
	align-items: center;
}

.detail-card-header h4 i {
	margin-right: 10px;
	color: #2563eb;
}

.detail-card-body {
	padding: 20px;
}

.checkorder-text-content {
	border: 1px solid #e2e8f0;
	border-radius: 6px;
	padding: 15px;
	background: #f8fafc;
	line-height: 1.8;
	color: #334155;
	min-height: 60px;
}

.checkorder-update-info {
	margin-top: 15px;
	padding-top: 15px;
	border-top: 1px solid #e2e8f0;
	font-size: 14px;
}

.checkorder-update-info strong {
	color: #64748b;
	font-weight: 600;
}

.update-user {
	color: #ef4444;
	font-weight: 600;
	margin-left: 5px;
}

/* Table Cards Styles */
.checkorder-table-card {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	margin-bottom: 20px;
	overflow: hidden;
	box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.table-card-header {
	background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
	padding: 15px 20px;
	border-bottom: 2px solid #e2e8f0;
}

.table-card-header h4 {
	margin: 0;
	font-size: 18px;
	font-weight: 600;
	color: #1e293b;
	display: flex;
	align-items: center;
}

.table-card-header h4 i {
	margin-right: 10px;
	color: #2563eb;
}

.table-card-body {
	padding: 0;
	overflow-x: auto;
}

.checkorder-data-table {
	width: 100%;
	border-collapse: collapse;
	margin: 0;
}

.checkorder-data-table thead {
	background: #f8fafc;
}

.checkorder-data-table thead th {
	background: #f8fafc !important;
	color: #475569;
	font-weight: 600;
	font-size: 14px;
	padding: 15px;
	border-bottom: 2px solid #e2e8f0;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.checkorder-data-table tbody tr {
	border-bottom: 1px solid #f1f5f9;
	transition: background 0.2s;
}

.checkorder-data-table tbody tr:hover {
	background: #f8fafc;
}

.checkorder-data-table tbody td {
	padding: 15px;
	font-size: 14px;
	color: #334155;
	border: none;
}

.checkorder-data-table tbody td strong {
	color: #1e293b;
	font-weight: 600;
}

/* Total Card Styles */
.checkorder-total-card {
	margin-top: 20px;
	margin-bottom: 20px;
}

.checkorder-total-table {
	width: 100%;
	background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.checkorder-total-table th {
	background: transparent !important;
	color: #fff !important;
	font-size: 20px !important;
	font-weight: 700 !important;
	padding: 20px !important;
	border: none !important;
}

.checkorder-total-table .total-amount {
	font-size: 24px !important;
	text-align: right !important;
}

/* Payment Section Styles */
.checkorder-payment-section {
	padding: 0 30px 30px;
}

.checkorder-return-date {
	margin-bottom: 25px;
}

.return-date-card {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.return-date-header {
	background: linear-gradient(135deg, #10b981 0%, #059669 100%);
	padding: 15px 20px;
}

.return-date-header h4 {
	margin: 0;
	font-size: 16px;
	font-weight: 600;
	color: #fff;
	display: flex;
	align-items: center;
}

.return-date-header h4 i {
	margin-right: 10px;
}

.return-date-body {
	padding: 20px;
}

.return-date-value {
	font-size: 18px;
	font-weight: 600;
	color: #1e293b;
	display: flex;
	align-items: center;
	gap: 10px;
}

.return-date-value i {
	color: #10b981;
}

.checkorder-payment-card {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.payment-card-header {
	background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
	padding: 15px 20px;
	border-bottom: 2px solid #e2e8f0;
}

.payment-card-header h4 {
	margin: 0;
	font-size: 18px;
	font-weight: 600;
	color: #1e293b;
	display: flex;
	align-items: center;
}

.payment-card-header h4 i {
	margin-right: 10px;
	color: #2563eb;
}

.payment-card-body {
	padding: 0;
	overflow-x: auto;
}

.checkorder-payment-table {
	width: 100%;
	border-collapse: collapse;
	margin: 0;
}

.checkorder-payment-table thead {
	background: #f8fafc;
}

.checkorder-payment-table thead th {
	background: #f8fafc !important;
	color: #475569;
	font-weight: 600;
	font-size: 14px;
	padding: 15px;
	border-bottom: 2px solid #e2e8f0;
}

.checkorder-payment-table tbody tr {
	border-bottom: 1px solid #f1f5f9;
}

.checkorder-payment-table tbody tr:hover {
	background: #f8fafc;
}

.checkorder-payment-table tbody td {
	padding: 15px;
	font-size: 14px;
	color: #334155;
	border: none;
}

.checkorder-payment-table tfoot {
	background: #f8fafc;
	border-top: 2px solid #e2e8f0;
}

.payment-total-row td {
	padding: 15px;
	font-size: 16px;
	color: #1e293b;
}

.total-paid-amount {
	color: #10b981;
	font-size: 18px;
}

/* No Result Styles */
.checkorder-no-result {
	padding: 60px 20px;
	text-align: center;
	margin: 40px 0;
}

.no-result-content {
	max-width: 500px;
	margin: 0 auto;
	padding: 40px;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 4px 12px rgba(0,0,0,0.1);
	border: 1px solid #e2e8f0;
}

.no-result-content i {
	font-size: 64px;
	color: #cbd5e1;
	margin-bottom: 20px;
}

.no-result-content p {
	font-size: 18px;
	color: #64748b;
	margin-bottom: 10px;
	font-weight: 600;
}

.no-result-subtitle {
	font-size: 14px;
	color: #94a3b8;
	font-weight: 400;
}

/* Action Button Styles */
.checkorder-actions {
	text-align: center;
	padding: 30px;
	background: #f8fafc;
	border-top: 1px solid #e2e8f0;
}

.checkorder-print-btn {
	padding: 12px 30px;
	font-size: 16px;
	font-weight: 600;
	border-radius: 8px;
	box-shadow: 0 4px 8px rgba(37, 99, 235, 0.3);
	transition: all 0.3s;
}

.checkorder-print-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 12px rgba(37, 99, 235, 0.4);
}

.checkorder-print-btn i {
	margin-right: 8px;
}

/* Footer Styles */
.checkorder-footer {
	padding: 15px 0;
	margin-top: 40px;
}

.checkorder-footer p {
	font-size: 13px;
	line-height: 1.8;
	margin: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
}

.checkorder-footer .footer-separator {
	margin: 0 8px;
	opacity: 0.6;
}

.checkorder-footer .footer-copyright,
.checkorder-footer .footer-address,
.checkorder-footer .footer-contact {
	display: flex;
	align-items: center;
	gap: 5px;
}

.checkorder-footer i {
	margin-right: 4px;
	opacity: 0.9;
}

/* Responsive Styles */
@media (max-width: 768px) {
	.checkorder-main-title {
		font-size: 28px;
	}
	
	.checkorder-subtitle {
		font-size: 16px;
	}
	
	.checkorder-search-form {
		flex-direction: column;
	}
	
	.search-input-group,
	.captcha-input-group {
		width: 100%;
	}
	
	.captcha-input-group {
		flex-wrap: wrap;
	}
	
	.checkorder-info-grid {
		flex-direction: column;
	}
	
	.checkorder-info-section,
	.checkorder-details-section,
	.checkorder-payment-section {
		padding: 20px 15px;
	}
	
	.invoice-header-content {
		flex-direction: column;
		align-items: flex-start;
	}
	
	.invoice-meta-info {
		width: 100%;
		flex-direction: column;
	}
	
	.checkorder-footer p {
		flex-direction: column;
		gap: 5px;
	}
	
	.checkorder-footer .footer-separator {
		display: none;
	}
}

/* ========================================
   MODERN LAYOUT STYLES - SHARED COMPONENTS
   ======================================== */

/* Modern Orders Box - Checked Index */
.modern-orders-box {
	border-radius: 12px;
	box-shadow: 0 4px 20px rgba(0,0,0,0.1);
	border: 1px solid #e2e8f0;
	overflow: hidden;
	margin-bottom: 30px;
}

.modern-box-header {
	background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
	color: #fff;
	padding: 25px 30px;
	border-bottom: none;
}

.header-content-wrapper {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 20px;
	flex-wrap: wrap;
}

.header-title-section {
	flex: 1;
	min-width: 250px;
}

.modern-box-header .box-title {
	color: #fff;
	font-size: 24px;
	font-weight: 700;
	margin: 0 0 8px 0;
	display: flex;
	align-items: center;
}

.modern-box-header .box-title i {
	margin-right: 10px;
	font-size: 26px;
}

.header-subtitle {
	color: rgba(255,255,255,0.9);
	font-size: 14px;
	margin: 0;
	line-height: 1.6;
}

.header-search-section {
	flex: 1;
	min-width: 300px;
	max-width: 500px;
}

.modern-search-wrapper {
	position: relative;
	display: flex;
	align-items: center;
	background: rgba(255,255,255,0.15);
	border-radius: 8px;
	padding: 0;
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255,255,255,0.2);
}

.modern-search-wrapper .search-icon {
	position: absolute;
	left: 15px;
	color: rgba(255,255,255,0.9);
	z-index: 1;
	pointer-events: none;
}

.modern-search-input {
	width: 100%;
	padding: 12px 15px 12px 45px;
	border: none;
	background: transparent;
	color: #fff;
	font-size: 14px;
	border-radius: 8px;
}

.modern-search-input::placeholder {
	color: rgba(255,255,255,0.7);
}

.modern-search-input:focus {
	outline: none;
	background: rgba(255,255,255,0.1);
}

.btn-clear-search {
	background: rgba(255,255,255,0.2);
	border: none;
	color: #fff;
	padding: 8px 12px;
	border-radius: 0 8px 8px 0;
	cursor: pointer;
	transition: background 0.2s;
	margin-left: auto;
}

.btn-clear-search:hover {
	background: rgba(255,255,255,0.3);
}

/* Modern Table Styles */
.modern-table-wrapper {
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.modern-data-table {
	background: #fff;
}

.modern-data-table thead {
	background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.modern-data-table thead th {
	background: transparent !important;
	color: #475569;
	font-weight: 600;
	font-size: 13px;
	padding: 15px;
	border-bottom: 2px solid #e2e8f0;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.modern-data-table tbody tr {
	border-bottom: 1px solid #f1f5f9;
	transition: all 0.2s;
}

.modern-data-table tbody tr:hover {
	background: #f8fafc;
	transform: scale(1.001);
}

.modern-data-table tbody td {
	padding: 15px;
	font-size: 14px;
	color: #334155;
	vertical-align: middle;
}

/* Modern No Data Message */
.modern-no-data {
	padding: 60px 20px;
	text-align: center;
	margin: 40px 0;
}

.no-data-content {
	max-width: 400px;
	margin: 0 auto;
	padding: 40px;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 4px 12px rgba(0,0,0,0.08);
	border: 1px solid #e2e8f0;
}

.no-data-content i {
	font-size: 64px;
	color: #cbd5e1;
	margin-bottom: 20px;
}

.no-data-title {
	font-size: 18px;
	color: #64748b;
	margin-bottom: 10px;
	font-weight: 600;
}

.no-data-subtitle {
	font-size: 14px;
	color: #94a3b8;
	font-weight: 400;
	margin: 0;
}

/* Modern Modal Styles */
.modern-modal .modal-content {
	border-radius: 12px;
	border: none;
	box-shadow: 0 10px 40px rgba(0,0,0,0.2);
	overflow: hidden;
}

.modern-modal-header {
	background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
	color: #fff;
	padding: 20px 25px;
	border-bottom: none;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.modern-modal-header .modal-title {
	color: #fff;
	font-size: 20px;
	font-weight: 600;
	margin: 0;
	display: flex;
	align-items: center;
}

.modern-modal-header .modal-title i {
	margin-right: 10px;
}

.modern-modal-close {
	color: #fff;
	opacity: 0.9;
	font-size: 24px;
	font-weight: 300;
	width: 32px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	transition: all 0.2s;
}

.modern-modal-close:hover {
	opacity: 1;
	background: rgba(255,255,255,0.2);
}

.modern-modal-body {
	padding: 25px;
	max-height: 500px;
	overflow-y: auto;
	background: #f8fafc;
}

.modern-modal-text-content {
	line-height: 1.8;
	word-wrap: break-word;
	color: #334155;
	font-size: 14px;
	padding: 15px;
	background: #fff;
	border-radius: 8px;
	border: 1px solid #e2e8f0;
}

.modern-modal-footer {
	padding: 15px 25px;
	border-top: 1px solid #e2e8f0;
	background: #fff;
}

/* Modern Order View Box - Requests View */
.modern-order-view-box {
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 4px 20px rgba(0,0,0,0.1);
	border: 1px solid #e2e8f0;
	overflow: hidden;
	margin-bottom: 30px;
}

.modern-order-header {
	background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
	color: #fff;
	padding: 25px 30px;
	border-bottom: none;
}

.order-header-content {
	position: relative;
}

.modern-order-header .box-title {
	color: #fff;
	font-size: 24px;
	font-weight: 700;
	margin: 0 0 15px 0;
	display: flex;
	align-items: center;
}

.modern-order-header .box-title i {
	margin-right: 10px;
}

.order-meta-info {
	display: flex;
	gap: 15px;
	flex-wrap: wrap;
}

.order-badge,
.order-date {
	background: rgba(255,255,255,0.2);
	padding: 8px 15px;
	border-radius: 6px;
	font-size: 14px;
	font-weight: 600;
	backdrop-filter: blur(10px);
}

.order-badge i,
.order-date i {
	margin-right: 6px;
}

/* Modern Info Section - Shared */
.modern-info-section,
.modern-details-section {
	padding: 30px;
	background: #f8fafc;
}

.modern-info-grid {
	margin: 0;
	gap: 20px;
}

.modern-info-card {
	padding: 0;
	background: #fff;
	border-radius: 10px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.08);
	overflow: hidden;
	border: 1px solid #e2e8f0;
	transition: transform 0.2s, box-shadow 0.2s;
}

.modern-info-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.modern-info-table {
	margin: 0;
	border: none;
	width: 100%;
}

.modern-info-table tr {
	border-bottom: 1px solid #f1f5f9;
}

.modern-info-table tr:last-child {
	border-bottom: none;
}

.modern-info-table td {
	padding: 12px 0;
	border: none;
}

.modern-info-table .info-label {
	width: 40%;
	color: #64748b;
	font-weight: 600;
	font-size: 14px;
}

.modern-info-table .info-value {
	color: #1e293b;
	font-size: 15px;
}

.modern-info-table .info-value strong {
	color: #2563eb;
	font-weight: 600;
}

/* Modern Detail Card */
.modern-detail-card {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	margin-bottom: 20px;
	overflow: hidden;
	box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.modern-text-content {
	border: 1px solid #e2e8f0;
	border-radius: 6px;
	padding: 15px;
	background: #f8fafc;
	line-height: 1.8;
	color: #334155;
	min-height: 60px;
}

/* Modern Action Footer */
.modern-action-footer {
	text-align: center;
	padding: 25px 30px;
	background: #f8fafc;
	border-top: 1px solid #e2e8f0;
	display: flex;
	justify-content: center;
	gap: 15px;
	flex-wrap: wrap;
}

.modern-btn-primary,
.modern-btn-secondary {
	padding: 12px 25px;
	font-size: 15px;
	font-weight: 600;
	border-radius: 8px;
	transition: all 0.3s;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.modern-btn-primary {
	background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
	border: none;
	color: #fff;
	box-shadow: 0 4px 8px rgba(37, 99, 235, 0.3);
}

.modern-btn-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 12px rgba(37, 99, 235, 0.4);
	color: #fff;
}

.modern-btn-secondary {
	background: #fff;
	border: 2px solid #f59e0b;
	color: #f59e0b;
}

.modern-btn-secondary:hover {
	background: #f59e0b;
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 4px 8px rgba(245, 158, 11, 0.3);
}

/* Responsive Styles for Modern Layouts */
@media (max-width: 768px) {
	.header-content-wrapper {
		flex-direction: column;
	}
	
	.header-search-section {
		width: 100%;
		max-width: 100%;
	}
	
	.modern-box-header,
	.modern-order-header {
		padding: 20px 15px;
	}
	
	.modern-box-header .box-title,
	.modern-order-header .box-title {
		font-size: 20px;
	}
	
	.header-subtitle {
		font-size: 13px;
	}
	
	.modern-info-section,
	.modern-details-section {
		padding: 20px 15px;
	}
	
	.modern-info-grid {
		flex-direction: column;
	}
	
	.order-meta-info {
		width: 100%;
		flex-direction: column;
	}
	
	.modern-action-footer {
		flex-direction: column;
		padding: 20px 15px;
	}
	
	.modern-btn-primary,
	.modern-btn-secondary {
		width: 100%;
		justify-content: center;
	}
}