/*
* demo.css
* File include item demo only specific css only
******************************************************************************/

.light-style .menu .app-brand.demo {
	height: 64px;
}

.dark-style .menu .app-brand.demo {
	height: 64px;
}

.app-brand-logo.demo {
	-ms-flex-align: center;
	align-items: center;
	-ms-flex-pack: center;
	justify-content: center;
	display: -ms-flexbox;
	display: flex;
	width: 34px;
	height: 24px;
}

.app-brand-logo.demo svg {
	width: 35px;
	height: 24px;
}

.app-brand-text.demo {
	font-size: 1.375rem;
}

/* ! For .layout-navbar-fixed added fix padding top tpo .layout-page */
.layout-navbar-fixed .layout-wrapper:not(.layout-without-menu) .layout-page {
	padding-top: 64px !important;
}

.layout-navbar-fixed .layout-wrapper:not(.layout-horizontal):not(.layout-without-menu) .layout-page {
	padding-top: 78px !important;
}

/* Navbar page z-index issue solution */
.content-wrapper .navbar {
	z-index: auto;
}

/*
* Content
******************************************************************************/

.demo-blocks > * {
	display: block !important;
}

.demo-inline-spacing > * {
	margin: 1rem 0.375rem 0 0 !important;
}

/* ? .demo-vertical-spacing class is used to have vertical margins between elements. To remove margin-top from the first-child, use .demo-only-element class with .demo-vertical-spacing class. For example, we have used this class in forms-input-groups.html file. */
.demo-vertical-spacing > * {
	margin-top: 1rem !important;
	margin-bottom: 0 !important;
}

.demo-vertical-spacing.demo-only-element > :first-child {
	margin-top: 0 !important;
}

.demo-vertical-spacing-lg > * {
	margin-top: 1.875rem !important;
	margin-bottom: 0 !important;
}

.demo-vertical-spacing-lg.demo-only-element > :first-child {
	margin-top: 0 !important;
}

.demo-vertical-spacing-xl > * {
	margin-top: 5rem !important;
	margin-bottom: 0 !important;
}

.demo-vertical-spacing-xl.demo-only-element > :first-child {
	margin-top: 0 !important;
}

.rtl-only {
	display: none !important;
	text-align: left !important;
	direction: ltr !important;
}

[dir='rtl'] .rtl-only {
	display: block !important;
}

/*
* Layout demo
******************************************************************************/

.layout-demo-wrapper {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-ms-flex-direction: column;
	flex-direction: column;
	margin-top: 1rem;
}

.layout-demo-placeholder img {
	width: 900px;
}

.layout-demo-info {
	text-align: center;
	margin-top: 1rem;
}


.strong, .bold {
	font-weight: 700;
}

.address-item {
	/*background: lightgrey;*/
	/*min-height: 75px;*/
	padding: 10px;
	line-height: 1.5;
}

.address-title {
	font-weight: bold;
}

.address-name {
	font-size: 12px;
	/*color: grey;*/
}

.address-type-span {
	margin: 2px;
	background: #a3a3a3;
	border: 1px solid grey;
	border-radius: 5px;
	display: inline-block;
	padding: 0 5px;
	color: white;
}

.select2-results__option .address-item {
	padding: 0 10px;
}

.select2-results__option:has(div.address-item) {
	border-bottom: 1px solid #afafaf;
}

.select2-selection:has(div.address-item) {
	height: auto !important;
}

.loader {
	display: none;
	position: fixed;
	z-index: 10001;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	background: rgba(255, 255, 255, .8) url(../img/squares100.gif) 50% 50% no-repeat;
}

.dataTables_length, .dataTables_filter {
	margin-top: 5px !important;
	margin-bottom: 5px !important;
}

/* Allow word wrapping */
.wrap-text {
	white-space: normal !important;
	word-wrap: break-word;
	vertical-align: top; /* optional: keeps content aligned */
}

/* Optional: let header wrap too */
#trip-table th {
	white-space: normal !important;
}

table.dataTable th.dt-type-numeric:not(.numeric), table.dataTable th.dt-type-date, table.dataTable td.dt-type-numeric:not(.numeric),
table.dataTable td.dt-type-date {
	text-align: unset !important;
}

span.dt-column-order {
	height: auto !important;
}

table.dataTable th.dt-type-numeric:not(.numeric) div.dt-column-header {
	flex-direction: unset !important;
}

.btn .ti-xs {
	font-size: 0.825rem !important;
	line-height: 0.8 !important;
}



/* Custom professional color classes for each status */
html.light-style .status-pending {
	border-color: #444444 !important;
	color: #444444;
}

html.light-style .status-confirmed {
	border-color: #0277BD !important;
	color: #0277BD;
}

html.light-style .status-assigned {
	border-color: #3ae740 !important;
	color: #3ae740;
}

html.light-style .status-towards-pickup {
	border-color: #7B1FA2 !important;
	color: #7B1FA2;
}

html.light-style .status-at-pickup {
	border-color: #d486f1 !important;
	color: #d486f1;
}

html.light-style .status-goods-loaded {
	border-color: #455A64 !important;
	color: #455A64;
}

html.light-style .status-in-transit {
	border-color: #00695C !important;
	color: #00695C;
}

html.light-style .status-at-delivery {
	border-color: #3F51B5 !important;
	color: #3F51B5;
}

html.light-style .status-delivered {
	border-color: #1B5E20 !important;
	color: #1B5E20;
}

html.light-style .status-completed {
	border-color: #689F38 !important;
	color: #689F38;
}

html.light-style .status-invoiced {
	border-color: #BA68C8 !important; /* lighter purple */
	color: #BA68C8;
}

html.light-style .status-paid {
	border-color: #00897B !important;
	color: #00897B;
}

html.light-style .status-cancelled {
	border-color: #D32F2F !important;
	color: #D32F2F;
}

/* Custom professional color classes for each status (Dark Theme) */
/* Custom professional color classes for each status (Dark Theme) */
html.dark-style .status-pending {
	border-color: #BDBDBD !important; /* lighter gray for dark bg */
	color: #E0E0E0;
}

html.dark-style .status-confirmed {
	border-color: #29B6F6 !important; /* lighter blue */
	color: #29B6F6;
}

html.dark-style .status-assigned {
	border-color: #81C784 !important; /* lighter green */
	color: #81C784;
}

html.dark-style .status-towards-pickup {
	border-color: #BA68C8 !important; /* lighter purple */
	color: #BA68C8;
}

html.dark-style .status-at-pickup {
	border-color: #f86060 !important; /* slightly different purple */
	color: #f86060;
}

html.dark-style .status-goods-loaded {
	border-color: #90A4AE !important; /* lighter gray-blue */
	color: #90A4AE;
}

html.dark-style .status-in-transit {
	border-color: #cd9ff8 !important; /* teal, lighter */
	color: #cd9ff8;
}

html.dark-style .status-at-delivery {
	border-color: #4DB6AC !important; /* teal, variant */
	color: #4DB6AC;
}

html.dark-style .status-delivered {
	border-color: #66BB6A !important; /* lighter success green */
	color: #66BB6A;
}

html.dark-style .status-completed {
	border-color: #9CCC65 !important; /* light lime green */
	color: #9CCC65;
}

html.dark-style .status-invoiced {
	border-color: #BA68C8 !important; /* lighter purple */
	color: #BA68C8;
}

html.dark-style .status-paid {
	border-color: #4DB6AC !important; /* aqua/teal lighter */
	color: #4DB6AC;
}

html.dark-style .status-cancelled {
	border-color: #EF5350 !important; /* lighter red */
	color: #EF5350;
}
