/* ============================================
   TYPOGRAPHY & FONT CLASSES
   ============================================ */

.alt-font0 {
	font-family: "Poppins", sans-serif;
}

.alt-font1 {
	font-family: "Roboto", monospace;
}

.alt-font2 {
	font-family: "Roboto Condensed", sans-serif;
}

.alt-font3 {
	font-family: "Chivo Mono", monospace;
}

.alt-font4 {
	font-family: "Roboto Flex", sans-serif;
}

.alt-font5 {
	font-family: "Kanit", sans-serif;
}

/* ============================================
   MINIMUM HEIGHT UTILITIES
   ============================================ */

.mh-250 {
	min-height: 250px !important;
}

.mh-300 {
	min-height: 300px !important;
}

.mh-500 {
	min-height: 500px !important;
}

.mh-main-card {
	min-height: 650px !important;
}

.card-height-lg {
	min-height: 700px !important;
}

.card-height-md {
	min-height: 400px !important;
}

.card-height-sm {
	min-height: 200px !important;
}

/* ============================================
   CONTENT COMPONENTS
   ============================================ */

.content-lead {
	font-family: "Roboto Condensed", sans-serif;
	font-size: 24px;
	font-weight: bold;
	color: #2e4e8c;
	display: inline-block;
	position: relative;
	padding-left: 1.5em; /* make space for the width of the absolutely positioned icon */
}

.content-lead::before {
	color: var(--fa-primary-color, #2e4e8c);
	opacity: 1;
	opacity: var(--fa-primary-opacity, 1);
}

.content-lead::after {
	color: var(--fa-secondary-color, #7a98bf);
	opacity: var(--fa-secondary-opacity, 1);
}

.content-lead::before {
	content: "\e195";
}

.content-lead::after {
	content: "\e195\e195";
}

.content-lead::before {
	display: inline-block;
	text-rendering: auto;
	-webkit-font-smoothing: antialiased;
}

.content-lead::before,
.content-lead::after {
	font: var(--fa-font-duotone);
	display: inline-block;
	text-rendering: auto;
	-webkit-font-smoothing: antialiased;
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 1.25em;
	text-align: center;
}

.faq-lead {
	font-family: "Poppins", sans-serif;
	font-size: 20px;
	font-weight: 600;
	color: #030303;
	text-transform: capitalize;
}

.faq-lead:before {
	font-family: "Font Awesome 7 Pro";
	content: "\f059" !important;
	font-weight: 900 !important;
	-webkit-font-smoothing: antialiased;
	display: inline-block;
	padding-right: 5px;
	color: #030303;
}

/* ============================================
   MEDIA CONTAINERS
   ============================================ */

.video-container {
	overflow: hidden;
	position: relative;
	width: 100%;
}

.video-container::after {
	padding-top: 56.25%;
	display: block;
	content: "";
}

.video-container iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.map {
	-webkit-filter: grayscale(100%) saturate(1) brightness(90%) contrast(100%);
	-moz-filter: grayscale(100%) saturate(1) brightness(90%) contrast(100%);
	-ms-filter: grayscale(100%) saturate(1) brightness(90%) contrast(100%);
	-o-filter: grayscale(100%) saturate(1) brightness(90%) contrast(100%);
	filter: grayscale(100%) saturate(1) brightness(90%) contrast(100%);
}

/* ============================================
   SOCIAL MEDIA ICONS
   ============================================ */

.social-icons li:hover.social-icons-tiktok a {
	background: #030303 !important;
}

.social-media-icons {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-right: 15px;
}

.social-icon-desktop,
.social-icon-mobile {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 35px;
	height: 35px;
	border-radius: 50%;
	background-color: var(--black);
	border: 1px solid var(--black);
	transition: all 0.3s ease;
	text-decoration: none;
}

.social-icon-desktop:hover,
.social-icon-mobile:hover {
	background-color: var(--black-hover);
	border-color: var(--black-hover);
}

.social-icon-desktop .icon-theme,
.social-icon-mobile .icon-theme {
	color: var(--gold-light) !important;
}

.social-icon-desktop:hover .icon-theme,
.social-icon-mobile:hover .icon-theme {
	color: var(--gold-light-hover) !important;
}

.social-icon-desktop i,
.social-icon-mobile i {
	font-size: 16px;
}

/* ============================================
   ICON THEMES
   ============================================ */

.icon-theme {
	--fa-secondary-opacity: 1;
	--fa-primary-color: #030303;
	--fa-secondary-color: #c92927;
}

.icon-theme-reverse {
	--fa-secondary-opacity: 1;
	--fa-primary-color: #c92927;
	--fa-secondary-color: #030303;
}

/* ============================================
   SIDEBAR NAVIGATION
   ============================================ */

/* Base transitions */
.sidebar-left .nav-main li a,
.sidebar-left .nav-main li a i {
	transition: color 0.2s ease, background-color 0.2s ease;
}

/* Hover states */
.sidebar-left .nav-main li a:hover span,
.sidebar-left .nav-main li a:focus span,
.sidebar-left .nav-main li.nav-active > a span {
	color: var(--mint) !important;
}

.sidebar-left .nav-main li a:hover i:not(.text-mint) {
	color: var(--mint) !important;
}

/* Background hover effects */
.sidebar-left .nav-main > li > a:hover,
.sidebar-left .nav-main > li > a:focus {
	background-color: rgba(115, 217, 159, 0.1);
}

.sidebar-left .nav-main li .nav-children li a:hover,
.sidebar-left .nav-main li .nav-children li a:focus {
	background-color: rgba(115, 217, 159, 0.05);
}

/* Active states */
.sidebar-left .nav-main li.nav-active > a {
	background-color: rgba(115, 217, 159, 0.08);
}

.sidebar-left .nav-main li .nav-children li.nav-active > a {
	background-color: rgba(115, 217, 159, 0.1);
}

/* ============================================
   TOOLTIPS
   ============================================ */

.tooltip {
	position: relative;
	display: inline-block;
}

.tooltip .tooltiptext {
	visibility: hidden;
	width: 140px;
	background-color: #555;
	color: #fff;
	text-align: center;
	border-radius: 6px;
	padding: 5px;
	position: absolute;
	z-index: 1;
	bottom: 150%;
	left: 50%;
	margin-left: -75px;
	opacity: 0;
	transition: opacity 0.3s;
}

.tooltip .tooltiptext::after {
	content: "";
	position: absolute;
	top: 100%;
	left: 50%;
	margin-left: -5px;
	border-width: 5px;
	border-style: solid;
	border-color: #555 transparent transparent transparent;
}

.tooltip:hover .tooltiptext {
	visibility: visible;
	opacity: 1;
}

/* ============================================
   TABLE & AUDIT STYLES
   ============================================ */

.row-striped:nth-of-type(odd) {
	background-color: #efefef;
	min-height: 25px;
}

.row-striped:nth-of-type(even) {
	background-color: #ffffff;
	min-height: 25px;
}

.audit-row {
	transition: background-color 0.2s ease;
}

.audit-row:hover {
	background-color: rgba(0, 0, 0, 0.02) !important;
}

/* ============================================
   MISC UTILITIES
   ============================================ */

hr.blackline {
	border-top: 5px solid #030303;
}

.scroll-margin {
	width: 100%;
	scroll-margin-top: 125px;
}

#copy-popup {
	z-index: 1000; /* Ensure it is above other content */
	position: absolute; /* This is crucial */
	padding: 5px; /* Padding inside the popup */
	background: #000; /* Background color */
	color: #fff; /* Text color */
	border-radius: 5px; /* Rounded corners */
	font-size: 12px; /* Font size */
	white-space: nowrap; /* Prevent text from wrapping */
	min-width: 100px; /* Minimum width */
}

.click-to-copy-container {
	position: relative;
}

.copy-button {
	position: absolute;
	top: 10px;
	right: 10px;
}

/* ============================================
   ANIMATIONS
   ============================================ */

.custom-animation-container {
	display: flex;
	justify-content: center;
	align-items: center;
	height: 10vh; /* Adjust height for banner style */
	background: black;
	margin: 0 auto; /* Center the banner horizontally */
	padding-top: 2vh; /* Add padding to bring text down */
	border-radius: 15px; /* Add rounded corners */
	max-width: 100%; /* Ensure it doesn't overflow the viewport */
}

.custom-animation-container p {
	font-family: "VT323", monospace;
	font-size: 2em;
	text-align: center;
	animation-name: example;
	animation-duration: 1s;
	animation-iteration-count: infinite;
}

@keyframes example {
	0% {
		color: lime;
		text-shadow: 0 0 20px green;
	}
	25% {
		color: green;
		text-shadow: 2px 2px 2px lime;
		transform: translate(-2px, 1px);
	}
	40% {
		color: lime;
		text-shadow: none;
		transform: translate(0, 0);
	}
	50% {
		color: green;
		text-shadow: 5px 5px 2px blue, -5px -5px 2px red;
		transform: translate(0px, 5px);
	}
	70% {
		color: lime;
		text-shadow: none;
		transform: translate(0, 0);
	}
	80% {
		color: lime;
		text-shadow: 0 0 20px green;
		transform: translate(-2px, 1px);
	}
	100% {
		color: lime;
		text-shadow: none;
	}
}

/* ============================================
   FORMS & INPUTS
   ============================================ */

/* Square borders for form controls */
.form-control,
.form-select {
	border-radius: 0 !important;
}

/* Error Message Styling */
.error-message {
	color: #cc0000;
	font-weight: bold;
	font-size: 13px;
}

/* Password Input */
.password-input-wrapper {
	position: relative;
}

.password-input-wrapper input {
	padding-right: 40px;
}

.password-toggle {
	position: absolute;
	right: 10px;
	top: 50%;
	transform: translateY(-50%);
	background: transparent;
	border: none;
	color: #6c757d;
	cursor: pointer;
	padding: 5px;
	z-index: 10;
}

.password-toggle:hover {
	color: #495057;
}

.password-toggle:focus {
	outline: 2px solid #0d6efd;
	outline-offset: 2px;
	border-radius: 3px;
}

.forgot-password-content-wrapper {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* ============================================
   FAQ & NAVIGATION
   ============================================ */

.nav-pills .nav-link.active {
	background-color: var(--black) !important;
	border-color: var(--black) !important;
	color: var(--gold-light) !important;
}

/* ============================================
   PAGINATION
   ============================================ */

.pagination {
	margin-bottom: 0;
}

.page-link {
	color: var(--bs-primary);
	position: relative;
	display: block;
	padding: 0.375rem 0.75rem;
	text-decoration: none;
	background-color: var(--bs-white);
	border: 1px solid var(--bs-border-color);
	transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
		border-color 0.15s ease-in-out;
}

.page-link:hover {
	z-index: 2;
	color: var(--bs-primary);
	background-color: var(--bs-gray-200);
	border-color: var(--bs-gray-300);
}

.page-link:focus {
	z-index: 3;
	color: var(--bs-primary);
	background-color: var(--bs-gray-200);
	outline: 0;
	box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.page-item.active .page-link {
	z-index: 3;
	color: var(--bs-white);
	background-color: var(--bs-primary);
	border-color: var(--bs-primary);
}

.page-item.disabled .page-link {
	color: var(--bs-gray-600);
	pointer-events: none;
	background-color: var(--bs-white);
	border-color: var(--bs-border-color);
}

.page-item:first-child .page-link {
	border-radius: var(--bs-border-radius) 0 0 var(--bs-border-radius);
}

.page-item:last-child .page-link {
	border-radius: 0 var(--bs-border-radius) var(--bs-border-radius) 0;
}

/* ============================================
   MOBILE RESPONSIVE (max-width: 767px)
   ============================================ */

@media (max-width: 767px) {
	/* Hide desktop elements */
	.card-header > .row,
	.audit-row {
		display: none !important;
	}

	/* Login page layout */
	.content-body {
		min-height: calc(100vh - 60px) !important;
		display: flex !important;
		flex-direction: column !important;
		padding-bottom: 60px !important;
	}

	.login-content-wrapper {
		flex: 1;
		display: flex;
		align-items: center;
		justify-content: center;
	}

	/* Header styling */
	.header {
		min-height: 60px;
	}

	.logo-container {
		display: flex;
		align-items: center;
		justify-content: space-between;
		width: 100%;
		padding: 10px 15px;
		height: 100%;
	}

	.logo-container .logo {
		display: flex;
		align-items: center;
		max-width: 200px;
	}

	.logo-container .logo img {
		max-width: 100%;
		height: 35px;
		width: auto;
		object-fit: contain;
	}

	.mobile-controls {
		display: flex;
		align-items: center;
		gap: 8px;
		flex-shrink: 0;
	}

	.social-icon-mobile {
		width: 32px;
		height: 32px;
		flex-shrink: 0;
	}

	.social-icon-mobile i {
		font-size: 14px;
	}

	/* Hamburger menu */
	.toggle-sidebar-left {
		display: flex;
		align-items: center;
		justify-content: center;
		cursor: pointer;
		width: 32px;
		height: 32px;
		margin-left: 5px;
	}

	.toggle-sidebar-left i {
		margin: 0 !important;
		font-size: 18px;
	}
}

/* Small screen pagination */
@media (max-width: 576px) {
	.pagination .page-link {
		padding: 0.25rem 0.5rem;
		font-size: 0.875rem;
	}
}


.delivery-truck {
  --fa-secondary-opacity: 1.0;
  --fa-primary-color: #583B2C;
  --fa-secondary-color: #D7A88D;
}

/* ==========================================================================
   CMS Forms (includes/forms/_form-engine.php)
   ========================================================================== */

/* Breathing room wherever a form is embedded (contact page, form pages).
   The bottom gap matters most on mobile, where the form stacks directly on
   top of the next block of content. */
.cms-form-wrap {
	padding-top: 0.5rem;
	padding-bottom: 2.5rem;
}

@media (min-width: 992px) {
	.cms-form-wrap {
		padding-bottom: 1rem;
	}
}

/* Honeypot - kept out of sight of people, still visible to bots */
.cms-form-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.cms-form .form-label {
	color: #030303;
	/* Set here, not left to the engine's font-weight-semi-bold class: dashboards' admin theme does not define it,
	   so labels rendered at normal weight there (2026-10-01). 600 = the website theme's semi-bold. */
	font-weight: 600;
}

/* A single checkbox FIELD ("I agree to the refund policy") is a field label too, but the engine renders
   it as a .form-check-label at normal weight and without the required asterisk. It is the first thing in
   its column, while radio / checkbox OPTIONS always follow the field's .form-label - so :first-child
   picks out the field and leaves options alone (cms-form-checkbox-field, 2026-10-01). */
.cms-form [class*="col"] > .form-check:first-child .form-check-label {
	font-weight: 600;
}
.cms-form [class*="col"] > .form-check:first-child .form-check-input[required] + .form-check-label::after {
	content: " *";
	color: #dc3545;
}

.cms-form .form-text {
	color: #6c757d;
}

/* Porto resets some Bootstrap form sizing - keep controls consistent */
.cms-form .form-control,
.cms-form .form-select {
	padding: 0.5rem 0.75rem;
}

/* Agreement / consent text above a form's submit button (_formAgreement) */
.cms-form-agreement {
	padding: 1rem 1.15rem;
	border-left: 3px solid #c92927;
	background: #f7f7f7;
	font-size: 0.9rem;
	line-height: 1.6;
}

/* Section heading inside a long form (_formHeadings). Deliberately theme-neutral:
   it inherits the site's heading font and color rather than naming a brand color,
   because this block is copied verbatim onto every site. */
.cms-form-heading {
	margin: 1.75rem 0 0.75rem;
	padding-bottom: 0.5rem;
	border-bottom: 1px solid #dee2e6;
	font-size: 1.25rem;   /* larger than body text - house rule 2026-09-23; the engine also adds .fs-5 + .text-primary */
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

/* No gap above the first heading - it already sits at the top of the form */
.cms-form .row > .col-12:first-child .cms-form-heading {
	margin-top: 0;
}

/* Privacy / do-not-send warning above a form's fields (_formIntro). Deliberately
   louder than .cms-form-agreement: that one is consent text people are expected to
   skim, this one has to be read BEFORE they start typing. Same red as the agreement
   rule so the two read as one family.
   Added 2026-08-28 after real submissions arrived carrying dates of birth and medical
   detail on a clinic's contact form. */
.cms-form-notice {
	/* A top margin as well as a bottom one: this block is used BOTH above a form
	   (_formIntro) and below an input as a field description, where without it the
	   card butts straight against the radio buttons it explains. Reported on
	   lsbbqcatering's Catering Package field, 2026-09-01. */
	margin-top: 0.85rem;
	margin-bottom: 1.25rem;
	padding: 0.9rem 1.1rem;
	border: 1px solid #c92927;
	border-left-width: 4px;
	border-radius: 3px;
	background: #fdf3f3;
	color: #8c1d1c;
	font-size: 0.9rem;
	line-height: 1.6;
}
.cms-form-notice p:last-child { margin-bottom: 0; }
.cms-form-notice strong { color: #a51f1e; }

/* Important Notice messages are WYSIWYG and arrive wrapped in <p>; keep the theme's p color from overriding the alert text color */
.alert p,
.alert li {
	color: inherit;
}
