﻿

/* Copied CSS from your prompt */
.dashboardContainer {
	margin: 30px auto 0;
	padding: 20px;
	background-color: #fff;
	border-radius: 8px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.busd-info-line {
	font-size: 1.1rem;
	padding-top: 5px;
	user-select: none;
}

.busd-label {
	font-weight: bold;
}
.busd-label2 {
	font-weight:normal;
}

.busd-separator {
	margin: 0 8px;
	color: #999;
}

.dashboard-heading {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	font-weight: bold;
	user-select: none;
}

.title-regular {
	font-weight: normal;
}

/* --- CUSTOM SELECT BASE STYLES --- */

.custom-select {
	position: relative;
	display: inline-block;
	cursor: pointer;
	user-select: none; /* Prevent text selection */
	min-width: 90px;
	width: 100%; /* Fallback for all browsers */
}

.select-styled {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 3px 15px;
	border: 1px solid #ccc;
	border-radius: 9999px;
	font-size: 1rem;
	font-weight:bold;
	color: #1f2937; /* Dark text */
	transition: all 0.2s;
}

	.select-styled:hover {
		border-color: #248963;
		box-shadow: 0 0 0 1px #248963;
	}

.select-arrow {
	width: 0;
	height: 0;
	margin-left: 8px;
	border: 4px solid transparent;
	border-top-width: 6px;
	border-bottom-width: 0;
	transition: transform 0.2s ease-in-out;
}

/* Rotate the arrow when the list is open */
.select-styled.active .select-arrow {
	transform: rotate(180deg);
}



.select-options {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	z-index: 1000; /* Ensure it appears over other elements */
	min-height: 200px;
	max-height: 300px;
	overflow-y: auto;
	margin-top: 4px;
	background-color: #fff !important;
	color: #1f2937 !important;
	border: 1px solid #ccc;
	border-radius: 8px;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	list-style: none;
	padding: 0;
	margin-bottom: 0;
	display: none;
}

	/* Styling for each option in the list */
	.select-options li {
		padding: 8px 15px;
		cursor: pointer;
		transition: background-color 0.1s;
	}

		.select-options li:hover {
			background-color: #eff6ff;
			color: #1d4ed8;
		}

		.select-options li.is-selected {
			font-weight: bold;
			background-color: #f3f4f6;
		}

.custom-switch-wrapper {
	display: inline-block;
	position: relative;
	margin-right: -12px;
}

.custom-switch-container {
	position: relative;
	display: inline-flex;
	align-items: center;
	cursor: pointer;
	transition: background-color 0.3s ease;
	user-select: none;
}

.custom-switch-slider {
	position: absolute;
	background-color: #fff;
	border-radius: 50%;
	top: 2px;
	left: 2px;
	transition: transform 0.3s ease;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.custom-switch-label {
	position: absolute;
	font-size: 11px;
	font-weight: 600;
	color: #000;
	top: 50%;
	transform: translateY(-50%);
	transition: opacity 0.3s ease;
	pointer-events: none;
}

	.custom-switch-label.on {
		left: 8px;
	}

	.custom-switch-label.off {
		right: 8px;
	}


#bdRewardTypePercentSelectControl {
	display: flex;
	align-items: center;
	margin-bottom: 10px;
}

#bdRewardTypeImg {
	flex: 0 0 auto;
	margin-right: 10px;
}

#bdRewardTypeTitle {
	flex-grow: 1;
	flex-basis: 0;
	font-weight: 600;
	font-size: 1rem;
}

#bdRewardTypePercent {
	flex: 0 0 auto;
	max-width: 100px;
}

#bdRapidTransactionControl {
	display: flex;
	align-items: center;
	margin-bottom: 10px;
}


.bd_greyWrap {
	flex-grow: 1;
	flex-basis: 0;
	background-color: #6e6e6e;
	padding: 3px 15px;
	border-radius: 9999px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-weight: 600;
	font-size: 1rem;
	min-width: fit-content;
	user-select: none;
	position: relative;
}

.bd_TopGreyTitle {
	flex: 0 0 auto;
	color: #ffffff;
	position:relative;
}

.bd_TopGreyInput {
	flex: 0 0 auto;
	height: 28px;
}

.bd_greyright {
	flex: 0 0 auto;
	margin-left: 10px;
	font-weight: 600;
	font-size: 0.95rem;
	min-width: 55px;
	text-align: right;
}

#bdAutoApproveControl {
	display: flex;
	align-items: center;
	margin-bottom: 10px;
}

#bdAppFunctionControl {
	margin-bottom: 10px;
}

#bdDashboardType {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 15px;
}

#bdDashboardTime {
	width: fit-content;
	display: flex;
	align-items: center;
	gap: 8px;
	position: relative;
	z-index: 2;
}

#bdDashboardFunctionControl {
	width: fit-content;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 3px 15px;
	border: 1px solid #ccc;
	border-radius: 9999px;
	font-size: 16px;
	color: #1f2937;
	transition: all 0.2s;
	cursor: pointer;
	position: relative;
	z-index: 2;
}

	#bdDashboardFunctionControl.active .select-arrow {
		transform: rotate(180deg);
	}

.bdBtnWhite {
	background-color: #ffffff;
	border: 1px solid #ccc;
	padding: 3px 15px;
	border-radius: 9999px;
	font-size: 16px;
	color: #1f2937;
	transition: all 0.2s;
}

	.bdBtnWhite:hover {
		background-color: #f1f1f1;
		border-color: #248963;
		box-shadow: 0 0 0 1px #248963;
	}


.buttonBehave {
	cursor: pointer;
	border: 1px solid #6e6e6e;
}

	.buttonBehave:hover {
		filter: brightness(1.2);
		-webkit-transition: all .35s;
		-moz-transition: all .35s;
		transition: all .35s;
		border: 1px solid #248963;
		box-shadow: 2px 3px 5px #273b332b;
	}

.bd_TopRedCircle1 {
	background-color: #fa0300;
	color: #ffffff;
	border-radius: 25px;
	text-align: center;
	padding: 0 8px;
	width: fit-content;
	margin-left: auto;
}
/* --- DISPLAY IN CENTER COLUMN --- */
.bdTopCenter-row {
	padding: 4px 15px;
	margin: 0 0 1px 0;
	user-select: none;
	min-height: 34px;
}

	.bdTopCenter-row:hover {
		background-color: #eef5f2;
	}

.bdTopCenter-row2 {
	padding: 4px 15px;
	margin: 0 0 1px 0;
	user-select: none;	
}
	.bdTopCenter-row2:hover {
		background-color: #eef5f2;
	}

#bdTopCenter .location-pin {
	font-size: 1.5rem;
	margin-right: 15px;
	color: #000;
	width: 44px;
}

#bdTopCenter .owner-icon {
	font-size: 1.5rem;
	margin-right: 15px;
	color: #000;
	width: 44px;
}

#bdTopCenter .consultant-icon {
	font-size: 1.5rem;
	margin-right: 15px;
	color: #000;
	width: 44px;
}

#bdTopCenter .location-label {
	font-weight: 600;
	font-size: 1.05rem;
	color: #212529;
}

#bdTopCenter .owner-label {
	font-weight: 600;
	font-size: 1.05rem;
	color: #212529;
}

#bdTopCenter .consultant-label {
	font-weight: 600;
	font-size: 0.95rem;
	color: #212529;
}

#bdTopCenter .location-value {
	font-weight: 500;
	font-size: 1.15rem;
	color: #1f2937;
	letter-spacing: 0.8px;
	flex-grow: 1;
	text-align: left;
}

#bdTopCenter .owner-value {
	font-weight: 500;
	font-size: 1.15rem;
	color: #1f2937;
	letter-spacing: 0.8px;
	flex-grow: 1;
	text-align: left;
}

#bdTopCenter .consultant-value {
	font-weight: 500;
	font-size: 1rem;
	color: #fa0300;
	letter-spacing: 0.8px;
	flex-grow: 1;
	text-align: left;
}

#bdTopCenter .edit-location-btn {
	color: #6c757d;
	opacity: 0.75;
	transition: all 0.2s ease;
	padding: 4px;
	border-radius: 4px;
}

	#bdTopCenter .edit-location-btn:hover {
		opacity: 1;
		background-color: #f8f9fa;
		color: #495057;
	}
/* --- SCORE GAUGE STYLES --- */
.score-gauge-container {
	display: flex;
	align-items: center;
	justify-content: space-between; /* even spacing between gauge and value */
	width: 100%;
	gap: 0.2rem; /* small gap between them */
}

.score-gauge-svg {
	flex: 1; /* take up remaining width */
	max-width: 60%; /* gauge on left */
	height: 28px;
}

.score-value {
	flex: 0 0 40%; /* value on right */
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 1.2rem !important;
	text-align: center;
}

.chatCountBadge {
	background-color: rgb(250, 3, 0);
	color: rgb(255, 255, 255);
	text-align: center;
	min-width: 16px;
	max-height: 18px;
	font-size: 0.75rem;
	margin-left: -10px;
	margin-top: -3px;
	position: absolute;
	border-radius: 16px;
	padding: 0px 6px;
}

.genCountBadge {
	background-color: rgb(250, 3, 0);
	color: rgb(255, 255, 255);
	text-align: center;
	min-width: 16px;
	min-height: 16px;
	font-size: 0.75rem;
	margin-left: 0px;
	margin-top: -5px;
	position: absolute;
	border-radius: 16px;
	padding: 0px 7px;
}

.deposit-label {
	width: auto;
	min-width: unset;
	padding: 3px 10px;
	justify-content: center;
	max-width: 145px;
}

.chatCountGroup {
	padding: 4px;
	min-width: 36px;
	cursor: pointer;
}

.bdTopBtn-wrap {
	margin-bottom: 10px;
	max-height: 34px;
}

.bdTimeTitle {
	font-weight: 600;
	font-size: 0.95rem;
	user-select: none;
}

.bdTimeTxt {
	font-weight: 600;
	font-size: 0.95rem;
	user-select: none;
}

#bdSeparatorLine {
	position: absolute;
	top: 50%; /* Adjusted from 56% to 50% for better centering */
	left: 0;
	right: 0;
	height: 1px;
	background-color: #ccc;
	transform: translateY(-50%);
	z-index: 1;
	pointer-events: none;
}

.containBodyWrap {
	display: inline-block;
	width: 100%;
	z-index: 3;
	position: relative;
}

.containBodyTitle {
	font-weight: bold;
	font-size: 1rem;
	user-select: none;
	padding: 0px 8px;
	border: 1px solid #ccc;
	border-radius: 25px;
	margin-left: 10px;
	min-height: 28px;
	line-height: 26px;
	align-items: center;
	width: fit-content;
	background-color: #fff;
	z-index: 3;
	position: relative;
	display: inline-block;
}
@media (max-width: 576px) {
	.containBodyTitle {
		flex: 1 1 100%; /* each button takes full row */
	}
}


.containBodyEmptyTitle {
	margin-left: 10px;
	height: 28px;
	align-items: center;
	width: fit-content;
	position: relative;
	display: inline-block;
	z-index: 3;
}
.titleButton {
	cursor: pointer;
	color: #fff;
	min-width: 135px;
	text-align: center;
	vertical-align: middle;
	align-items: center;	
}
	.titleButton:hover {
		border: 1px solid #248963;
		box-shadow: 2px 3px 5px #273b332b;
		filter: brightness(1.2);
		-webkit-transition: all .35s;
		-moz-transition: all .35s;
		transition: all .35s;
	}
.cancelbtn {
	background-color: #6e6e6e!important;
}
.deleteBtn {
	background-color: #e21d24!important;
}
.submitBtn {
	background-color: #4acc68!important;
}

.containBody {
	padding: 15px;
	border: 1px solid #ccc;
	border-radius: 10px;
	margin-top: -13px;
	z-index: 2;
	position: relative;
}

.tableColColour {
	background: #eaf7f0;
}

.tableArrowColour .fa-arrow-down {
	color: var(--bs-danger) !important;
}

.tableArrowColour .fa-arrow-up {
	color: var(--bs-success) !important;
}

.businesstable, .businessStatsTable {
	overflow: auto;
	width: 100%;
}

	.businesstable table, .businessStatsTable table {
		border: 0px none #dededf;
		height: 100%;
		width: 100%;
		table-layout: fixed;
		border-collapse: collapse;
		border-spacing: 1px;
		text-align: left;
	}

	.businesstable caption, .businessStatsTable caption {
		caption-side: top;
		text-align: center;
	}

	.businesstable th, .businessStatsTable th {
		border: 0px none #dededf;
		
		color: #000000;
		padding: 5px;
	}

	.businesstable td, .businessStatsTable td {
		border: none;
		padding: 5px;
		font-weight: bold;
	}

	.businesstable tr:nth-child(even) td {
		background-color: #ffffff;
		color: #000000;
	}

	.businesstable tr:nth-child(odd) td {
		background-color: #f6f6f6;
		color: #000000;
	}

	.businesstable tr:nth-child(odd):hover td {
		background-color: #ededed;
		color: #000000;
	}

	.businesstable .fa-store {
		color: #3d65f8;
	}

	.businesstable tr {
		border: none;
	}

	.businesstable tbody, td, tfoot, th, thead, tr {
		border: none;
	}

table.dataTable.compact thead th, table.dataTable.compact thead td, table.dataTable.compact tfoot th, table.dataTable.compact tfoot td, table.dataTable.compact tbody th, table.dataTable.compact tbody td {
	padding: 2px 4px;
}

table.dataTable.row-border > tbody > tr > *, table.dataTable.display > tbody > tr > * {
	border-top: 1px solid rgb(0, 0, 0, 0.07);
}

table.dataTable > thead > tr > th, table.dataTable > thead > tr > td {
	padding: 10px;
	border-bottom: none;
}

.col-disabled {
	background-color: #e0e0e06f !important;
	color: #0000005c !important;
	pointer-events: none; /* prevents clicking */
}

.searchIcon {
	display: inline-block;
	position: relative;
	width: 18px;
	height: 25px;
	margin-right: 5px;
}

.searchInput1 {
	display: inline-block;
	position: relative;
	width: calc(100% - 35px);
	max-width: 300px;
	height: 25px;
	vertical-align: middle;	
}

	.searchInput1 input {
		width: 100%;
		height: 22px;
		padding: 0px 5px;
		border: 0px;
	}

		.searchInput1 input:focus-visible {
			outline: none;
			border-radius: 3px;
		}
/* Stack title on top, sort arrows underneath */
table.dataTable thead > tr > th div.dt-column-header {
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
	justify-content: flex-start !important;
	gap: 0.20rem !important; /* small, consistent spacing */
	padding-bottom: 0.45rem; /* ensures consistent vertical space */	
}

	/* Column title styling */
	table.dataTable thead > tr > th div.dt-column-header span.dt-column-title {
		order: 1;
		display: block;
		text-align: center;
		white-space: normal;
		min-height: 55px;
	}

	/* Sort icon container under title */
	table.dataTable thead > tr > th div.dt-column-header span.dt-column-order {
		order: 2;
		line-height: 1; /* keeps arrows tight together */
		display: flex !important;
		flex-direction: row; /* keep up/down arrows beside each other */
		align-items: center;
		justify-content: center;
		gap: 0rem; /* arrows close together */
		margin-top: 0.05rem;
	}

.table-link a {
	color: #4247fe;
	text-decoration: underline;
	transition: color 0.2s ease, text-decoration 0.2s ease;
	cursor: pointer;
}

	.table-link a:hover {
		color: #23c2cc;
	}

	.table-link a:active {
		color: #1a1fa5;
	}

	.table-link a:visited {
		color: #4346b6;
	}

.left-cell {
	background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="200" height="40"><rect x="10" y="10" width="200" height="20" rx="10" ry="10" fill="%23ffffff" stroke="%23cccccc" stroke-width="1"/></svg>');
	background-repeat: no-repeat;
	background-size: initial;
	background-position-x: left;
	background-position-y: center;
}

.middle-cell {
	background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="150" height="40"><rect x="-50" y="10" width="150" height="20" rx="0" ry="0" fill="%23ffffff" stroke="%23cccccc" stroke-width="1"/></svg>');
	background-repeat: no-repeat;
	background-size: initial;
	background-position-y: center;
}

.right-cell {
	background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="200" height="40"><rect x="-10" y="10" width="200" height="20" rx="10" ry="10" fill="%23ffffff" stroke="%23cccccc" stroke-width="1"/></svg>');
	background-repeat: no-repeat;
	background-size: initial;
	background-position-y: center;
	background-position-x: right;
}

.dtr-details .left-cell, .dtr-details .middle-cell, .dtr-details .right-cell {
	background-image: none;
}

.col-blue {
	background-color: #eaf7f0!important;
}

.userActive {
	color: #2cb645;
}

.userInactive {
	color: #f79317;
}

.userNo {
	color: #fa0300;
}

.tblCellSpacer {
	width: 35px;
	height: auto;
}

.cPointer {
	cursor: pointer;
}

.mouseHovZoom:hover {
	transform: scale(1.1);
}

.bolder {
	font-weight: 800 !important;
}

.dashMapCont{
	width: 155px;
	height: 155px;
	position: relative;
}
.dashMap {
	width: 155px;
	height: 155px;
	position: relative;
	background-color: #f4f4f4;
	border: 1px solid #cecece;
}
.dashMapFlag {
	width: 37px;
	height: 22px;
	position: absolute;
	left: 1px;
	top: 1px;
	background-color: #fff;
	background-repeat: no-repeat;
	background-size: cover;
	background-position-y: center;
}
.labelBlock {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	font-weight: 600;
	margin-right: 0.5rem;
}

.colourBlock {
	flex: 1; 
	display: flex; 
	align-items: center; 
	justify-content: center;
	color: #fff;
	padding: 6px;
	min-width: 0;
	height:27px;
	text-align: center;	
}

.bg-red {
	background-color: #e21e0e;
}

.bg-orange {
	background-color: #ffa602;
}

.bg-yellow {
	background-color: #ffe327;
	color: #000;
}

.bg-greenlight {
	background-color: #bdf120;
	color: #000;
}

.bg-green {
	background-color: #21dd24;
}

/* Parent row spacing */
.bdTopCenter-row .d-flex {
	gap: 0.5rem; /* even spacing between blocks */
}

.horizontalBlock {	 
	padding: 0px;	
	text-align: center;
}


.labelText {
	display: inline-flex;
	gap: 2px;
}

.colorUnderBar {
	width: 100%; 
	height: 4px;	
}

.input-group-custom2 {
	position: relative;	
}
	.input-group-custom2 .form-label {
		margin-bottom: 2px;
		font-weight: bold;
	}
	.input-group-custom2 .form-control {
		padding-top: 2px;
		padding-bottom: 2px;
		border-width: 1px;
		font-size: 16px;
		background-color: transparent;
		border-color: rgba(var(--inverse-color-rgb), 0.8);
		line-height: 0.8;
	}
.memSchedCol {
	text-align: center;
}

.memDayInput {
	width: 88px;
	margin-bottom: 5px;
}
	.memDayInput input {
		padding: 3px 2px;
		height:25px;
		
	}
		.memDayInput input[type="time"] {
			direction: ltr;
			width: auto;
			border: 1px solid #ccc;
		}
		.memDayInput input[type="time" i] {
			padding-inline-start:3px;
		}


.memDayOfWeek {
	text-align: center;
	font-weight: bold;
	font-size: 0.9rem;
}
input[type="time"]::-webkit-calendar-picker-indicator {
	width: 15px;
	margin-top: 4px;
}

.dashRadioCont1 {
	display: inline-block;
	width: 50px
}

.dashRadio {
	appearance: none;
	border-radius: 50%;
	width: 16px;
	height: 16px;
	border: 2px solid #999999;
	transition: 0.2s all linear;
	margin-right: 3px;
	position: relative;
	top: 4px;
}
.dashRadio:checked {
	border: 6px solid black;
}

@media only screen and (max-width: 768px) {
	.pt-766 {
		padding-top: 15px;
	}
}
.menChkbxTitle {
	text-align: center;
	font-weight: bold;
	font-size: 0.95rem;
	font-family: Arial, Helvetica, sans-serif;
}

input {
	font: 1rem/1.7 "Lato", sans-serif;
}

.action-badge {
	background-color: rgb(250, 3, 0);
	color: rgb(255, 255, 255);
	text-align: center;
	min-width: 16px;
	max-height: 18px;
	font-size: 0.75rem;
	right: 0px;
	top: -6px;
	position: absolute;
	border-radius: 16px;
	padding: 0px 6px;
}