.table thead.thead-dark th,
.table thead th {
	background-color: #414042;
	color: #fff;
	font-weight: 500;
	font-size: 13px;
	letter-spacing: 0.03em;
	border-color: #555;
	border-bottom: 2px solid #555;
}

.table-hover tbody tr:hover {
	background-color: #FCFAFA;
}

.table tbody td {
	vertical-align: middle;
	color: #414042;
	font-size: 13px;
}

.table thead.sticky-top,
.table thead th.sticky-top {
	z-index: 10;
}

td.actions_table {
	white-space: nowrap !important;
	text-align: right;
	width: 1%;
}

.actions_table .btn,
.actions_table .nav-link {
	padding: 3px 6px;
	font-size: 13px;
	line-height: 1;
	display: inline-block;
	width: auto;
	max-width: none;
	height: auto;
	min-height: auto;
	border-radius: 4px;
	color: #414042;
	background: transparent;
	border: 1px solid transparent;
	vertical-align: middle;
}

.actions_table .btn:hover,
.actions_table .nav-link:hover {
	color: #fff;
	background-color: #414042;
	border-color: #414042;
}

.actions_table .btn i,
.actions_table .nav-link i {
	display: inline-block;
	font-size: 13px;
	color: inherit;
}

.links_icons {
	display: inline-flex !important;
	align-items: center;
	justify-content: flex-start;
	gap: 5px !important;
	flex-wrap: wrap;
	width: auto;
}

.links_icons a {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background-color: #EEEBEA;
	color: #414042 !important;
	font-size: 12px;
	transition: background-color 0.15s, color 0.15s;
	flex-shrink: 0;
	visibility: visible !important;
	opacity: 1 !important;
	position: relative;
	float: none !important;
	padding: 0 !important;
}

.links_icons a:hover {
	background-color: #414042 !important;
	color: #fff !important;
	visibility: visible !important;
	opacity: 1 !important;
}

.links_icons a i {
	color: inherit !important;
	font-size: 12px;
	display: block;
	line-height: 1;
}

[data-tooltip]:before,
[data-tooltip]:after {
	position: absolute;
	visibility: hidden;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.2s ease-in-out, visibility 0.2s ease-in-out;
	z-index: 9999;
}

[data-tooltip]:after {
	content: attr(data-tooltip);
	background-color: rgba(0,0,0,0.82);
	color: #fff;
	font-size: 11px;
	line-height: 1.3;
	padding: 4px 8px;
	border-radius: 4px;
	white-space: nowrap;
	bottom: 130%;
	left: 50%;
	transform: translateX(-50%);
}

[data-tooltip]:before {
	content: "";
	border: 5px solid transparent;
	border-top-color: rgba(0,0,0,0.82);
	bottom: calc(130% - 5px);
	left: 50%;
	transform: translateX(-50%);
}

[data-tooltip]:hover:before,
[data-tooltip]:hover:after {
	visibility: visible;
	opacity: 1;
}

.btn-primary,
.btn-success,
.btn-secondary,
.btn-light {
	border-radius: 24px !important;
	padding: 6px 18px !important;
	font-size: 13px !important;
	font-family: 'OptimaNovaLTProMedium', 'Roboto', sans-serif !important;
	letter-spacing: 0.04em !important;
	width: auto !important;
	max-width: none !important;
	display: inline-block !important;
	height: auto !important;
	min-height: auto !important;
	text-transform: none !important;
	box-shadow: none !important;
}

/* ---- btn-primary: charcoal solid pill ---- */
.btn-primary {
	background-color: #414042 !important;
	border: 1px solid #414042 !important;
	color: #fff !important;
}
.btn-primary:hover {
	background-color: #686868 !important;
	border-color: #686868 !important;
	color: #fff !important;
}
.btn-primary:focus,
.btn-primary.focus {
	background-color: #686868 !important;
	border-color: #686868 !important;
	color: #fff !important;
	box-shadow: 0 0 0 0.2rem rgba(65, 64, 66, 0.35) !important;
}
.btn-primary.disabled,
.btn-primary:disabled {
	background-color: #888 !important;
	border-color: #888 !important;
	color: #fff !important;
}
.btn-primary:not(:disabled):not(.disabled):active,
.btn-primary:not(:disabled):not(.disabled).active,
.show > .btn-primary.dropdown-toggle {
	background-color: #2e2d2f !important;
	border-color: #2e2d2f !important;
	color: #fff !important;
}
.btn-primary:not(:disabled):not(.disabled):active:focus,
.btn-primary:not(:disabled):not(.disabled).active:focus,
.show > .btn-primary.dropdown-toggle:focus {
	box-shadow: 0 0 0 0.2rem rgba(65, 64, 66, 0.35) !important;
}

/* support dropdown caret — un-hide Bootstrap native ::after (same as profile icon) */
.header-right #contactDropdown.dropdown-toggle::after {
	display: inline-block !important;
}

/* booking page action buttons — stacked full-width column */
.booking-action-btns .btn {
	display: block !important;
	width: 100% !important;
	margin-bottom: 6px !important;
	text-align: center !important;
}

.booking-action-btns br {
	display: none;
}

/* diary event buttons — match new design pill style */
.btn-primary.event_button {
	border-radius: 24px !important;
	font-family: 'OptimaNovaLTProMedium', 'Roboto', sans-serif !important;
	letter-spacing: 0.03em !important;
}

/* ---- btn-success: charcoal solid pill (no green) ---- */
.btn-success {
	background-color: #414042 !important;
	border: 1px solid #414042 !important;
	color: #fff !important;
}
.btn-success:hover {
	background-color: #686868 !important;
	border-color: #686868 !important;
	color: #fff !important;
}
.btn-success:focus,
.btn-success.focus {
	background-color: #686868 !important;
	border-color: #686868 !important;
	color: #fff !important;
	box-shadow: 0 0 0 0.2rem rgba(65, 64, 66, 0.35) !important;
}
.btn-success.disabled,
.btn-success:disabled {
	background-color: #888 !important;
	border-color: #888 !important;
	color: #fff !important;
}
.btn-success:not(:disabled):not(.disabled):active,
.btn-success:not(:disabled):not(.disabled).active,
.show > .btn-success.dropdown-toggle {
	background-color: #2e2d2f !important;
	border-color: #2e2d2f !important;
	color: #fff !important;
}
.btn-success:not(:disabled):not(.disabled):active:focus,
.btn-success:not(:disabled):not(.disabled).active:focus,
.show > .btn-success.dropdown-toggle:focus {
	box-shadow: 0 0 0 0.2rem rgba(65, 64, 66, 0.35) !important;
}

/* ---- btn-secondary: white pill with charcoal border ---- */
.btn-secondary,
.btn-light {
	background-color: #fff !important;
	border: 1px solid #414042 !important;
	color: #414042 !important;
}
.btn-secondary:hover,
.btn-light:hover {
	background-color: #EEEBEA !important;
	border-color: #414042 !important;
	color: #414042 !important;
}
.btn-secondary:focus,
.btn-secondary.focus,
.btn-light:focus,
.btn-light.focus {
	background-color: #EEEBEA !important;
	border-color: #414042 !important;
	color: #414042 !important;
	box-shadow: 0 0 0 0.2rem rgba(65, 64, 66, 0.2) !important;
}
.btn-secondary.disabled,
.btn-secondary:disabled,
.btn-light.disabled,
.btn-light:disabled {
	background-color: #f5f5f5 !important;
	border-color: #aaa !important;
	color: #aaa !important;
}
.btn-secondary:not(:disabled):not(.disabled):active,
.btn-secondary:not(:disabled):not(.disabled).active,
.show > .btn-secondary.dropdown-toggle,
.btn-light:not(:disabled):not(.disabled):active,
.btn-light:not(:disabled):not(.disabled).active,
.show > .btn-light.dropdown-toggle {
	background-color: #EEEBEA !important;
	border-color: #414042 !important;
	color: #414042 !important;
}

/* Scoped pill shape for CRUD / accordion areas */
#app_crud .btn-primary,
#app_crud .btn-success,
#app_crud .btn-secondary,
#app_crud .btn-light,
.contact-custom-header .btn-primary,
.contact-custom-header .btn-secondary,
.contact-custom-header .btn-light,
.contact-custom-header .btn-success,
#accordion .btn-primary,
#accordion .btn-light,
#accordion .btn-success {
	border-radius: 24px;
	padding: 6px 18px;
	font-size: 13px;
	font-family: 'OptimaNovaLTProMedium', 'Roboto', sans-serif;
	letter-spacing: 0.04em;
	width: auto;
	max-width: none;
	display: inline-block;
	height: auto;
	min-height: auto;
	text-transform: none;
	box-shadow: none;
}

#app_crud .btn-primary,
.contact-custom-header .btn-primary,
#accordion .btn-primary {
	background-color: #414042;
	border: 1px solid #414042;
	color: #fff;
}

#app_crud .btn-primary:hover,
.contact-custom-header .btn-primary:hover,
#accordion .btn-primary:hover {
	background-color: #686868;
	border-color: #686868;
	color: #fff;
}

/* Success: charcoal pill — same as the new design, no green */
#app_crud .btn-success,
.contact-custom-header .btn-success,
#accordion .btn-success {
	background-color: #414042;
	border: 1px solid #414042;
	color: #fff;
}

#app_crud .btn-success:hover,
.contact-custom-header .btn-success:hover,
#accordion .btn-success:hover {
	background-color: #686868;
	border-color: #686868;
	color: #fff;
}

/* Light/Secondary: white pill with charcoal border (like "View All") */
#app_crud .btn-secondary,
#app_crud .btn-light,
.contact-custom-header .btn-secondary,
.contact-custom-header .btn-light,
#accordion .btn-light {
	background-color: #fff;
	border: 1px solid #414042;
	color: #414042;
}

#app_crud .btn-secondary:hover,
#app_crud .btn-light:hover,
.contact-custom-header .btn-secondary:hover,
.contact-custom-header .btn-light:hover,
#accordion .btn-light:hover {
	background-color: #EEEBEA;
	border-color: #414042;
	color: #414042;
}

#editForm .btn-success,
#editForm .btn-secondary {
	border-radius: 24px;
	padding: 6px 20px;
	font-size: 13px;
	width: auto;
	max-width: none;
	display: inline-block;
	margin-right: 8px;
	height: auto;
}

.itemLabels {
	font-size: 20px;
	line-height: 1.4;
	margin-bottom: 14px;
	color: #414042;
	font-family: 'OptimaNovaLTProRegular', 'Roboto', sans-serif;
	text-transform: none;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px;
}

.itemLabels .fas,
.itemLabels .far,
.itemLabels .fa {
	font-size: 16px;
	vertical-align: middle;
	cursor: pointer;
	color: #414042;
	margin: 0;
}

.itemLabels .fas.add-new,
.itemLabels .fa-plus-circle {
	color: #414042;
}

.itemLabels .fas.add-new:hover,
.itemLabels .fa-plus-circle:hover {
	color: #686868;
}

.itemLabels .fa-info-circle,
.fa-info-circle {
	color: #A8A5A7;
	font-size: 15px;
	cursor: pointer;
}

.itemLabels .fa-info-circle:hover,
.fa-info-circle:hover {
	color: #414042;
}

.itemLabels .customButtons {
	font-size: 12px;
	padding: 4px 14px;
	border-radius: 24px;
	height: auto;
	min-height: auto;
	width: auto;
	max-width: none;
	display: inline-block;
	margin: 0;
}

.contact-custom-header .card {
	border: 1px solid #e0dedd;
	border-radius: 6px;
	box-shadow: 0 1px 4px rgba(0,0,0,0.08);
	margin-bottom: 16px;
}

.contact-custom-header .card-header {
	background-color: #414042;
	color: #fff;
	padding: 10px 18px;
	border-radius: 6px 6px 0 0;
	border: none;
}

.contact-custom-header .card-header .btn,
.contact-custom-header .card-header button {
	background: transparent;
	border: none;
	color: #fff;
	padding: 0;
	font-size: 14px;
	font-family: 'RobotoRegular', Roboto, sans-serif;
	text-align: left;
	width: 100%;
	max-width: none;
	display: block;
	border-radius: 0;
	height: auto;
	min-height: auto;
	letter-spacing: 0;
	text-transform: none;
}

.contact-custom-header .card-header .btn:hover,
.contact-custom-header .card-header button:hover {
	opacity: 0.85;
}

.contact-custom-header .card-body {
	padding: 16px 18px;
	background-color: #fff;
}

.contact-custom-header h4 {
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #414042;
	margin-bottom: 8px;
}

#app_crud > div > .row > .col-xs-12.col-md-5 {
	margin-bottom: 12px;
}

.pagination .page-link {
	color: #414042;
	border-color: #d6d3d2;
	font-size: 13px;
	padding: 5px 10px;
}

.pagination .page-link:hover {
	background-color: #EEEBEA;
	border-color: #414042;
	color: #414042;
}

.pagination .page-item.active .page-link {
	background-color: #414042;
	border-color: #414042;
	color: #fff;
}

.pagination .page-item.disabled .page-link {
	color: #A8A5A7;
}

.dropdown-menu .dropdown-item {
	font-size: 13px;
	color: #414042;
	padding: 6px 16px;
}

.dropdown-menu .dropdown-item:hover {
	background-color: #EEEBEA;
	color: #414042;
}

.filters .form-control {
	font-size: 12px;
	padding: 3px 6px;
	height: auto;
	border-color: #ccc;
	border-radius: 4px;
	color: #414042;
}

.no-background.show_checkboxes {
	background: transparent;
	border: none;
	color: #776F74;
	padding: 4px 6px;
	font-size: 16px;
}

.no-background.show_checkboxes:hover {
	color: #414042;
}

.alert {
	border-radius: 5px;
	font-size: 14px;
}

.modal-header {
	background-color: #414042;
	color: #fff;
	border-radius: 5px 5px 0 0;
}

.modal-title {
	color: #fff;
	font-size: 16px;
}

.modal-header .close {
	color: #fff;
	opacity: 0.8;
}

.modal-header .close:hover {
	opacity: 1;
}

.nav-tabs .nav-link {
	color: #776F74;
	font-size: 13px;
}

.nav-tabs .nav-link.active {
	color: #414042;
	font-weight: 600;
	border-bottom: 2px solid #414042;
}

.nav-tabs .nav-link:hover {
	color: #414042;
}

.fas.add-new {
	color: #414042;
	font-size: 16px;
	cursor: pointer;
	vertical-align: middle;
}

.fas.add-new:hover {
	color: #686868;
}

.customButtons {
	border-radius: 24px;
	font-size: 13px;
	padding: 6px 16px;
	width: auto;
	max-width: none;
	display: inline-block;
	height: auto;
	min-height: auto;
}

@media (max-width: 576px) {
	.customButtons {
		display: block;
		width: 100%;
		margin-bottom: 6px;
	}
}

.contact-custom-header .btn-group {
	width: auto !important;
	display: inline-flex !important;
}

.contact-custom-header .btn-group .btn {
	width: auto !important;
	max-width: none;
}

.contact-custom-header .btn-group .dropdown-menu,
#app_crud .btn-group .dropdown-menu {
	z-index: 1050;
	position: absolute;
}

#accordion > .card {
	border: 1px solid #e0dedd;
	border-radius: 6px;
	box-shadow: 0 1px 4px rgba(0,0,0,0.08);
	margin-bottom: 16px;
}

#accordion > .card > .card-header {
	background-color: #414042;
	color: #fff;
	padding: 10px 18px;
	border-radius: 6px 6px 0 0;
	border: none;
}

#accordion > .card > .card-header .btn-block,
#accordion > .card > .card-header > button,
.contact-custom-header .card-header .btn,
.contact-custom-header .card-header button {
	background: transparent !important;
	border: none !important;
	color: #fff !important;
	padding: 0 !important;
	font-size: 14px;
	text-align: left;
	width: 100%;
	max-width: none;
	display: block;
	border-radius: 0 !important;
	height: auto;
	min-height: auto;
	letter-spacing: 0;
	text-transform: none;
	box-shadow: none !important;
}

#accordion > .card > .card-header .btn-block:hover,
#accordion > .card > .card-header > button:hover,
.contact-custom-header .card-header .btn:hover,
.contact-custom-header .card-header button:hover {
	opacity: 0.85;
	background: transparent !important;
}

#accordion > .card > .card-header .btn-block:focus,
#accordion > .card > .card-header > button:focus,
.contact-custom-header .card-header .btn:focus,
.contact-custom-header .card-header button:focus {
	box-shadow: none !important;
	outline: none;
}

#accordion > .card .card-body {
	padding: 16px 18px;
	background-color: #fff;
}

.student_list_search .btn-success {
	border-radius: 24px;
	font-size: 13px;
	padding: 6px 16px;
	height: auto;
	min-height: auto;
	background-color: #414042;
	border: 1px solid #414042;
	color: #fff;
}

.student_list_search .btn-success:hover {
	background-color: #686868;
	border-color: #686868;
}

.clientDashboardPage .booking-title {
	height: 40px;
	overflow: hidden;
	text-align: center;
	margin-bottom: 8px;
	font-size: 14px;
	color: #414042;
}

.small_height_btn {
	padding: 4px 14px;
	font-size: 12px;
	line-height: 1.5;
	border-radius: 24px;
	height: auto;
	min-height: auto;
	width: auto;
	max-width: none;
	display: inline-block;
	background-color: #fff;
	border: 1px solid #414042;
	color: #414042;
}

.small_height_btn:hover {
	background-color: #EEEBEA;
	border-color: #414042;
	color: #414042;
}

.clientDashboardPage .stretch-card {
	display: flex;
	align-items: stretch;
}

.clientDashboardPage .stretch-card > .card {
	width: 100%;
}

.clientDashboardPage .cards_boxes .card-body > .col-12 img {
	width: 80px;
	height: 80px;
	object-fit: cover;
	border-radius: 50%;
	margin-bottom: 10px;
}

.clientDashboardPage .card {
	border: 1px solid #e8e5e4;
	border-radius: 6px;
	box-shadow: 0 1px 4px rgba(0,0,0,0.07);
}

.clientDashboardPage .card-body {
	padding: 16px;
}

.clientDashboardPage .card-title {
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #414042;
	margin-bottom: 0;
}

.clientDashboardPage .sectionDetails .row {
	padding: 5px 0;
	border-bottom: 1px solid #f0edec;
	font-size: 13px;
	color: #414042;
}

.clientDashboardPage .sectionDetails .badge {
	background-color: #EEEBEA;
	color: #414042;
	font-size: 12px;
	font-weight: 500;
	padding: 3px 8px;
	border-radius: 3px;
	white-space: normal;
	word-break: break-word;
}

.clientDashboardPage .noDataHeader {
	color: #A8A5A7;
	font-size: 13px;
}

.btn-link {
	color: #414042;
	text-decoration: none;
	padding: 0;
	font-size: 13px;
	width: auto;
	max-width: none;
	display: inline;
	height: auto;
	min-height: auto;
}

.btn-link:hover {
	color: #686868;
	text-decoration: none;
}

.clientDashboardPage #accordion .card {
	border: 1px solid #e8e5e4;
	border-radius: 5px;
	margin-bottom: 6px;
	box-shadow: none;
}

.clientDashboardPage #accordion .card-header {
	background-color: #EEEBEA;
	color: #414042;
	padding: 8px 14px;
	border-radius: 5px 5px 0 0;
	border: none;
}

.clientDashboardPage #accordion .card-header .btn-link {
	color: #414042;
	font-size: 14px;
	font-weight: 600;
	display: block;
	width: 100%;
	text-align: left;
}

.clientDashboardPage .nav-tabs {
	border-bottom: 2px solid #EEEBEA;
}

.clientDashboardPage .nav-tabs .nav-link {
	color: #776F74;
	font-size: 13px;
	padding: 8px 14px;
	border: none;
	border-bottom: 2px solid transparent;
	margin-bottom: -2px;
}

.clientDashboardPage .nav-tabs .nav-link.active {
	color: #414042;
	font-weight: 600;
	border-bottom-color: #414042;
	background: transparent;
}

.clientDashboardPage .nav-tabs .nav-link:hover {
	color: #414042;
	border-bottom-color: #A8A5A7;
}

.product-thumb {
	width: 40px;
	max-height: 40px;
	float: left;
	object-fit: contain;
}

.hoc-default-btn {
	width: 100%;
}

.custom-file-upload {
	background-color: #414042 !important;
	border-radius: 24px !important;
	border: 1px solid #414042 !important;
	letter-spacing: 1px;
}
.custom-file-upload:hover {
	background-color: #686868 !important;
	border-color: #686868 !important;
}

.bookBtn {
	background-color: #414042 !important;
	border: 1px solid #414042 !important;
	border-radius: 24px !important;
}
.bookBtn:hover {
	background-color: #686868 !important;
	border-color: #686868 !important;
}

.profile-links {
	color: #414042 !important;
}
.profile-links:hover {
	color: #686868 !important;
}

.placeholder {
	font-family: 'RobotoRegular', Roboto, sans-serif !important;
}

.modal-title {
	font-family: 'OptimaNovaLTProRegular', 'Optima', sans-serif !important;
}
.modal-body,
.modal-body p {
	font-family: 'RobotoRegular', Roboto, sans-serif !important;
	color: #414042 !important;
}

/* col-sm-10 as BFC so it starts after the floating label, not underneath it */
#app_crud .form-group > .col-sm-10 {
	display: flow-root;
}

/* prevent label text wrapping in narrow viewports */
#app_crud .form-group > .col-form-label {
	white-space: nowrap;
}

#app_crud,
#app_crud .card-body,
#app_crud label,
#app_crud .form-control,
#app_crud td,
#app_crud th,
.contact-custom-header,
.contact-custom-header label,
.contact-custom-header .form-control,
#accordion .card-body,
#accordion label,
#accordion .form-control {
	font-family: 'RobotoRegular', Roboto, sans-serif;
	font-size: 13px;
}

#app_crud h3,
#app_crud h4,
#app_crud h5,
.contact-custom-header h4,
.contact-custom-header h5,
#accordion h3,
#accordion h4,
#accordion h5,
.clientDashboardPage h4,
.clientDashboardPage h5 {
	font-family: 'OptimaNovaLTProRegular', 'Roboto', sans-serif;
	color: #414042;
}

.clientDashboardPage h4 button,
.clientDashboardPage .card-title button {
	font-family: 'RobotoRegular', Roboto, sans-serif;
	font-size: 12px;
}

@media (max-width: 767px) {
	#accordion .btn-primary,
	#accordion .btn-light,
	#accordion .btn-success {
		width: 100%;
		display: block;
		margin-bottom: 6px;
	}

	.student_list_search .btn-success {
		width: 100%;
		display: block;
		margin-bottom: 6px;
	}

	.itemLabels {
		font-size: 18px;
	}
}

.listing-table input[type="checkbox"].main-checkbox,
.listing-table input[type="checkbox"].form-check-input,
table input[type="checkbox"].main-checkbox,
table input[type="checkbox"].form-check-input {
	-webkit-appearance: checkbox !important;
	-moz-appearance: checkbox !important;
	appearance: checkbox !important;
	width: 16px !important;
	height: 16px !important;
	min-width: 16px !important;
	margin: 0 auto !important;
	display: block !important;
	cursor: default !important;
	accent-color: #414042;
	vertical-align: middle;
}

.listing-table td:has(input[type="checkbox"].main-checkbox),
table td:has(input[type="checkbox"].main-checkbox) {
	text-align: center;
	vertical-align: middle;
}

.checkbox_color {
	display: none !important;
}

/* typography */
h1, h2, h3, h4, h5, h6 {
	font-family: 'OptimaNovaLTProRegular', 'Roboto', sans-serif;
	color: #414042;
	font-weight: normal;
	text-transform: none;
}

label {
	font-family: 'RobotoRegular', Roboto, sans-serif !important;
	font-size: 13px !important;
	color: #414042 !important;
}

/* checkbox + label alignment for places that don't use .form-check */
.form-group input[type="checkbox"],
.form-group input[type="radio"] {
	vertical-align: middle;
	margin-right: 5px;
	accent-color: #414042;
	cursor: pointer;
}

.form-group input[type="checkbox"] + label,
.form-group input[type="radio"] + label {
	vertical-align: middle;
	margin-bottom: 0;
	cursor: pointer;
}

/* form controls */
.form-control {
	font-family: 'RobotoRegular', Roboto, sans-serif;
	font-size: 14px;
	color: #414042;
	border-color: #d6d3d2;
	height: auto;
	min-height: 38px;
	line-height: 1.5;
	border-radius: 4px;
}

.form-control:focus {
	border-color: #414042;
	box-shadow: 0 0 0 0.15rem rgba(65, 64, 66, 0.15);
	outline: none;
}

.input-group-text {
	background-color: #EEEBEA;
	border-color: #d6d3d2;
	color: #414042;
	font-family: 'RobotoRegular', Roboto, sans-serif;
	font-size: 14px;
}

.vdp-datepicker {
	border-color: #d6d3d2;
	height: auto;
	min-height: 38px;
	line-height: 1.5;
}

.vs__dropdown-toggle {
	border-color: #d6d3d2;
	min-height: 38px;
	font-family: 'RobotoRegular', Roboto, sans-serif;
}

/* btn-danger — keep pink so it's distinct from the standard buttons */
.btn-danger {
	border-radius: 24px !important;
	padding: 6px 18px !important;
	font-size: 13px !important;
	font-family: 'OptimaNovaLTProMedium', 'Roboto', sans-serif !important;
	letter-spacing: 0.04em !important;
	height: auto !important;
	min-height: auto !important;
	text-transform: none !important;
	box-shadow: none !important;
	background-color: #C94E86 !important;
	border-color: #C94E86 !important;
	color: #fff !important;
}

.btn-danger:hover {
	background-color: #a83970 !important;
	border-color: #a83970 !important;
	color: #fff !important;
}

.btn-danger:focus,
.btn-danger.focus {
	background-color: #a83970 !important;
	border-color: #a83970 !important;
	color: #fff !important;
	box-shadow: 0 0 0 0.2rem rgba(201, 78, 134, 0.35) !important;
}

.btn-danger.disabled,
.btn-danger:disabled {
	background-color: #e299b9 !important;
	border-color: #e299b9 !important;
	color: #fff !important;
}

.btn-danger:not(:disabled):not(.disabled):active,
.btn-danger:not(:disabled):not(.disabled).active {
	background-color: #8c2e5c !important;
	border-color: #8c2e5c !important;
	color: #fff !important;
}

.btn-warning,
.btn-info {
	border-radius: 24px !important;
	padding: 6px 18px !important;
	font-size: 13px !important;
	font-family: 'OptimaNovaLTProMedium', 'Roboto', sans-serif !important;
	letter-spacing: 0.04em !important;
	height: auto !important;
	min-height: auto !important;
	text-transform: none !important;
	box-shadow: none !important;
}

.btn-outline-secondary {
	border-radius: 24px !important;
	padding: 6px 18px !important;
	font-size: 13px !important;
	font-family: 'OptimaNovaLTProMedium', 'Roboto', sans-serif !important;
	letter-spacing: 0.04em !important;
	height: auto !important;
	min-height: auto !important;
	text-transform: none !important;
	box-shadow: none !important;
	border-color: #414042 !important;
	color: #414042 !important;
}

.btn-outline-secondary:hover,
.btn-outline-secondary:not(:disabled):not(.disabled).active,
.btn-outline-secondary:not(:disabled):not(.disabled):active {
	background-color: #414042 !important;
	border-color: #414042 !important;
	color: #fff !important;
}

/* old style.css button classes — style.css is disabled so these need to be here */
.cancel_btn,
.confirm_btn,
.update_btn,
.btn_primary,
.configure_button {
	display: inline-block !important;
	border-radius: 24px !important;
	padding: 6px 20px !important;
	font-family: 'OptimaNovaLTProMedium', 'Roboto', sans-serif !important;
	font-size: 13px !important;
	letter-spacing: 0.04em !important;
	height: auto !important;
	min-height: auto !important;
	line-height: 1.5 !important;
	text-transform: none !important;
	overflow: visible !important;
	cursor: pointer !important;
	text-decoration: none !important;
	border: 1px solid transparent !important;
	vertical-align: middle;
}

.cancel_btn::before,
.cancel_btn::after,
.update_btn::before,
.update_btn::after,
.confirm_btn::before,
.confirm_btn::after {
	display: none !important;
}

.cancel_btn,
.update_btn {
	background-color: #fff !important;
	background: #fff !important;
	border-color: #414042 !important;
	color: #414042 !important;
}

.cancel_btn:hover,
.update_btn:hover {
	background-color: #EEEBEA !important;
	background: #EEEBEA !important;
	border-color: #414042 !important;
	color: #414042 !important;
}

.confirm_btn,
.btn_primary,
.configure_button {
	background-color: #414042 !important;
	background: #414042 !important;
	border-color: #414042 !important;
	color: #fff !important;
}

.confirm_btn:hover,
.btn_primary:hover,
.configure_button:hover {
	background-color: #686868 !important;
	background: #686868 !important;
	border-color: #686868 !important;
	color: #fff !important;
}

/* two-class selector beats the single-class btn-* width: auto !important above */
.btn.btn-block {
	display: block !important;
	width: 100% !important;
}

.checkboxes_container .checkbox_div {
	display: inline-flex;
	margin-right: 14px;
	margin-bottom: 6px;
}

.checkboxes_container h4 {
	font-size: 14px;
	font-family: 'RobotoRegular', Roboto, sans-serif;
	margin-bottom: 10px;
}

.animation {
	border-top-color: #414042;
}

/* stock page order footer */
.footer.fixed-bottom {
	background-color: #414042 !important;
	color: #fff !important;
	box-shadow: 0 -2px 8px rgba(0,0,0,0.15);
}

.badge-primary {
	background-color: #414042;
	color: #fff;
}

.badge-success {
	background-color: #414042;
	color: #fff;
}

@media (max-width: 767px) {
	.cancel_btn,
	.confirm_btn,
	.update_btn,
	.btn_primary {
		display: block !important;
		width: 100% !important;
		margin-bottom: 6px;
	}
}

.input-group .vdp-datepicker {
	min-width: 0;
	position: relative;
	flex: 0 0 auto;
	width: 160px;
}
.input-group .vdp-datepicker > div:not(.vdp-datepicker__calendar) {
	width: 100%;
}
.input-group .vdp-datepicker input.form-control {
	color: #495057;
	width: 100%;
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;
}
.datepicker-icon {
	display: flex;
	align-items: center;
	padding: 0 8px 0 0;
	cursor: pointer;
	color: #495057;
	background: transparent;
	border: none;
}

/* Center datepicker calendar in modal */
.vm-content .vdp-datepicker__calendar {
	left: 75%;
	transform: translateX(-50%);
}

/* --- Responsive Table (tablet) --- */
@media (min-width: 768px) and (max-width: 1112px) {
	.table .thead-dark th {
		font-size: 12px;
		padding: 0.75rem;
	}
	.table .thead-dark th .fa {
		position: relative;
		float: right;
		margin-right: -15px;
		margin-top: 5px;
	}
	.checkbox_div {
		width: 20%;
	}
	.show_checkboxes {
		margin-right: 0;
	}
}

/* --- Responsive Table (mobile) --- */
@media (max-width: 767px) {
	.responsive-table thead {
		position: absolute;
		clip: rect(1px 1px 1px 1px);
		padding: 0;
		border: 0;
		height: 1px;
		width: 1px;
		overflow: hidden;
	}
	.responsive-table tbody td {
		text-align: right !important;
		width: 99%;
		display: inline-block;
		padding: 0.75em 0.5em;
	}
	.responsive-table tr {
		display: block;
		padding: 0;
		text-align: left;
		white-space: normal;
	}
	.responsive-table tbody {
		display: block;
	}
	.responsive-table .filters .noFilter {
		display: none;
	}
	.responsive-table .filters input,
	.responsive-table .filters select {
		width: 60%;
		float: right;
	}
	.responsive-table td[data-title]:before {
		content: attr(data-title);
		float: left;
	}
	.responsive-table .filters td[data-title]:before {
		margin-top: 10px;
	}
	.responsive-table td:nth-child(1) {
		background-color: #414042;
		color: #fff;
	}
	.responsive-table .filters td {
		background-color: #ffffff;
		color: #212529;
	}
	.responsive-table .filters td:nth-child(1) {
		background-color: #ffffff;
		color: #212529;
	}
	.responsive-table td:nth-child(1) div {
		color: #fff;
	}
	.actions_table {
		width: 100%;
		display: inline-block;
	}
	.actions_table .btn {
		float: right;
	}
	.table-hover tbody tr:hover {
		background-color: transparent;
	}
	.table-bordered td {
		border-top: 1px solid #dee2e6;
		border-bottom: 0;
	}
	#dropdownMenuButton,
	.pagination {
		margin-top: 20px;
		float: none;
		justify-content: center;
	}
	.customButton_goToDiary,
	.customButton_defaultTemplate {
		float: none;
	}
	.links_icons {
		width: 150px;
	}
	.fa-trash-alt {
		margin-right: 10px;
	}
	.links_icons a {
		float: right !important;
		margin-right: 5px;
	}
	.checkbox_div {
		width: 50%;
	}
	.show_checkboxes {
		margin-right: 0;
	}
	/* Diary */
	.add_event {
		width: 100%;
	}
	.tableFixHead .date_label_holder {
		width: 90% !important;
		text-align: left !important;
	}
	.tableFixHead td:nth-child(1) {
		background-color: transparent;
	}
	td.date_checkbox_holder {
		width: 10% !important;
	}
	.diary .responsive-table td.available,
	.diary .responsive-table td.unavailable {
		overflow: visible;
	}
	/* Diary: force event button below hours — ultra-specific to beat scoped CSS */
	.diary .table.table-borderless.responsive-table tbody td.date_label_holder {
        height: 60px;
	}
    .diary .table.table-borderless.responsive-table tbody td.available,
	.diary .table.table-borderless.responsive-table tbody td.unavailable {
		height: 80px;
	}
	.diary .table.table-borderless.responsive-table tbody td.available .btn-primary.event_button,
	.diary .table.table-borderless.responsive-table tbody td.unavailable .btn-primary.event_button {
		top: 32px;
	}
	.responsive-table .available div[data-title]:before,
	.responsive-table .unavailable div[data-title]:before {
		content: attr(data-title);
		font-size: 10px;
		text-align: center;
		width: 100%;
		top: 5px;
		position: relative;
	}
	/* Diary nav buttons (Previous/Today/Next): stack full-width on mobile */
	.diary .sticky-container .add_event {
		float: none;
		width: 100%  !important;
		display: block;
		margin-left: 0;
		margin-right: 0;
		margin-bottom: 6px;
	}
	.diary > .row:first-child > div {
		flex: 0 0 100%;
		max-width: 100%;
		justify-content: flex-start;
		padding-right: 16px;
	}
	.diary > .row:nth-child(2) {
		margin-top: 10px;
	}
	.button_type_unavailable {
		margin-top: 10px;
		height: 25px !important;
		padding: 0 !important;
	}
	/* Account settings */
	#myTab a {
		padding: 10px 0;
		font-size: 19px;
	}
	#myTab .nav-item {
		width: 50%;
		text-align: center;
	}
	select[name="country_code"] {
		margin-bottom: 10px;
	}
	/* Stock */
	.order_input input {
		float: right;
	}
	.student_list_search > div {
		margin-bottom: 10px;
	}

	/* --- Search Options responsive --- */

	/* Sale + Booking: fix card-body padding (row negative margin eats into 18px → only 3px left) */
	.sale-custom-header > .card .card-body,
	.booking-custom-header > .card .card-body {
		padding: 16px 10px;
	}
	.sale-custom-header > .card .card-body .row,
	.booking-custom-header > .card .card-body .row {
		margin-left: 0;
		margin-right: 0;
	}

	/* Sale + Booking: Export buttons row → stack vertically on mobile */
	.sale-custom-header .d-flex.justify-content-end,
	.booking-custom-header .d-flex.justify-content-end {
		flex-direction: column !important;
		align-items: stretch !important;
		justify-content: flex-start !important;
	}
	.sale-custom-header .d-flex.justify-content-end .btn,
	.booking-custom-header .d-flex.justify-content-end .btn {
		width: 100% !important;
		margin-right: 0 !important;
		margin-bottom: 6px !important;
	}

	#totalCount .row {
		margin-bottom: 8px;
	}

	/* Contact: action buttons row → stack full-width */
	.contact-custom-header .col-12.text-right {
		text-align: left !important;
	}
	.contact-custom-header .col-12.text-right .btn-group {
		float: none !important;
		display: block !important;
		width: 100% !important;
		margin-bottom: 6px;
	}
	.contact-custom-header .col-12.text-right .btn-group .btn-group {
		display: block !important;
		width: 100% !important;
		margin-bottom: 0;
	}
	.contact-custom-header .col-12.text-right .btn-group .btn {
		display: block !important;
		width: 100% !important;
	}
	.contact-custom-header .col-12.text-right > .btn {
		display: block !important;
		width: 100% !important;
		margin-bottom: 6px !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
	}

	.contact-custom-header .input-group,
	.sale-custom-header .input-group,
	.booking-custom-header .input-group {
		flex-wrap: nowrap;
	}
	.contact-custom-header .vdp-datepicker,
	.sale-custom-header .vdp-datepicker,
	.booking-custom-header .vdp-datepicker {
		width: 100%;
	}
}
