body {
	margin: 0;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	background-color: #f0f0f0;
	color: #333;
	font-size: 14px;
	/* background: linear-gradient(to bottom, rgb(83, 124, 138), rgb(224, 225, 218)); */
}

.app-container {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	min-height: 100vh;
	margin-left: 150px;
}

.container-fluid {
	margin-left: 150px;
}

.welcome-header {
	background-color: #2D2D2D;
	color: white;
	padding: 10px 10px;
	display: inline-flex;
	align-items: center;
	min-height: 50px;
	justify-content: center;
}

.app-header {
	/* background-color: #2D2D2D; */
	background-color: #013f7d;
	color: white;
	padding: 10px 15px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	min-height: 60px;
}

.header-left,
.header-right-actions {
	display: flex;
	align-items: center;
}

.header-right {
	display: flex;
	align-items: center;
}

.header-center {
	flex-grow: 1;
	padding: 0px 0px 0px;
}

.company-info-item {
	display: flex;
	justify-content: flex-start;
	align-items: center;
	font-size: 14px;
}

.company-info-item .label {
	display: inline-block;
	/* width: 80px; */
	text-align: left;
	font-weight: 100px;
	color: #B0B0B0;
	margin-right: 5px;
	font-size: 20px;
	line-height: normal;
}

.company-info-item .value {
	margin-left: 5px;
	text-align: left;
	font-size: 14px;
	font-weight: lighter;
}

.company-info-item .value.bold {
	font-size: 14px;
}

.subtitle-bar {
	background-color: #F0F0F0;
	color: #4D4D4D;
	padding: 12px 20px;
	font-size: 14px;
	border-bottom: 1px solid #DCDCDC;
}

.app-main {
	flex-grow: 1;
	background-color: #f4f4f4;
	padding: 10px;
}

.app-main section {
	margin-bottom: 0px;
}

.app-main h2 {
	font-size: 20px;
	color: #4D4D4D;
	/* border-bottom: 1px solid rgb(255, 255, 255, 0.2); */
	border-bottom: 1px solid #D0D0D0;
	padding-bottom: 3px;
	margin-top: 0;
	margin-bottom: 5px;
	font-weight: lighter;
}

.status-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 8px 15px;
	min-height: 20px;
}

/* reception styles */
/* General Reset */
body {
	margin: 0;
	font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
	font-size: 14px;
	background-color: #f4f4f4e2;
	color: #333;
}

/* Header */
header {
	background-color: #0066cc;
	color: white;
	text-align: center;
	padding: 12px 0;
}

header h1 {
	margin: 0;
	font-size: 24px;
}

header small {
	display: block;
	font-size: 14px;
	margin-top: 4px;
}

/* Top Navigation */
nav {
	display: flex;
	background-color: #0073e6;
	color: white;
	padding: 8px 12px;
	font-weight: bold;
}

nav div {
	margin-right: 20px;
	cursor: pointer;
}

nav div:hover {
	text-decoration: underline;
}

/* Layout Containers */
.container {
	display: flex;
}

.sidebar ul li:hover {
	background-color: goldenrod;
	border-radius: 0 20px 20px 0;
}

/* Main Content */
.content {
	flex: 1;
	padding: 20px;
}

/* Action Panel */
.actions {
	margin-bottom: 15px;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
}

.actions label {
	margin-right: 6px;
}

.actions input,
.actions select {
	margin-right: 15px;
	padding: 4px;
	font-size: 14px;
}

/* Table */
table {
	width: 100%;
	border-collapse: collapse;
	background-color: white;
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

table th,
table td {
	border: 1px solid #ccc;
	padding: 3px 10px;
	text-align: left;
}

table th {
	background-color: #0073e6;
	color: white;
	font-weight: 600;
}

.balance {
	font-weight: bold;
	color: yellow;
	background-color: darkred;
	text-align: right;
}

/* override Bootstrap form controls */
.form-control,
.form-select {
	padding: 2px 6px;
	font-size: 12px !important;
	font-weight: bold !important;
	border: 1px solid #ccc;
	border-radius: 5px;
	height: 27px;
}

.form-control:focus,
.form-select:focus {
	outline: none;
	border-color: goldenrod;
	box-shadow: 0 0 3px rgba(218, 165, 32, 0.5);
}

.form-control-signin,
.form-select-signin {
	margin: 10px;
	padding: 2px 6px;
	font-size: 12px !important;
	font-weight: bold !important;
	border: 1px solid #ccc;
	border-radius: 5px;
}

.form-control-signin:focus,
.form-select-signin:focus {
	outline: none;
	border-color: goldenrod;
	box-shadow: 0 0 3px rgba(218, 165, 32, 0.5);
}

.flash-overlay {
	position: fixed;
	top: 32px;
	left: 20px;
	width: auto;
	max-width: 400px;
	min-width: 300px;
	background: transparent;
	display: block;
	opacity: 1;
	transform: translateX(-100%);
	transition: transform 0.4s ease, opacity 0.3s ease;
	z-index: 99999;
	animation: slideInFromLeft 0.4s ease forwards;
	cursor: pointer;
	margin-left: 50px;
	margin-top: 20px;
}

/* Responsive adjustments for mobile */
@media (max-width: 768px) {
	.flash-overlay {
		top: 10px;
		left: 10px;
		right: 10px;
		max-width: calc(100vw - 20px);
		min-width: auto;
	}
}

@keyframes slideInFromLeft {
	from {
		transform: translateX(-100%);
		opacity: 0;
	}

	to {
		transform: translateX(0);
		opacity: 1;
	}
}

@keyframes slideOutToLeft {
	from {
		transform: translateX(0);
		opacity: 1;
	}

	to {
		transform: translateX(-100%);
		opacity: 0;
	}
}

.flash-overlay.slide-out {
	animation: slideOutToLeft 0.4s ease forwards;
}

.flash-box {
	background: forestgreen;
	color: white;
	border: none;
	padding: 0.5rem 1.5rem;
	border-radius: 0.5rem;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 1), 0 2px 4px rgba(0, 0, 0, 1);
	font-weight: 100;
	font-size: 20px;
	line-height: 1;
	position: relative;
	border-left: 14px solid rgba(255, 255, 255, 0.3);
	display: flex;
	align-items: right;
	transition: all 0.2s ease;
	margin-left: 50px;
	text-shadow: black 1px 1px 5px;
	width: max-content;
}

.flash-box:hover {
	transform: translateY(-1px);
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2), 0 3px 6px rgba(0, 0, 0, 0.1);
}

/* Add a subtle close indicator */
.flash-box::after {
	position: absolute;
	top: 7px;
	right: 8px;
	font-size: 25px;
	font-weight: bold;
	opacity: 0.7;
	transition: opacity 0.2s ease;
}

.flash-box:hover::after {
	opacity: 1;
	/* font-size: 1.1rem; */
	text-align: center;
	max-width: 80%;
}

/* at the very bottom of your custom CSS */
#jobsTable tbody tr.selected {
	background-color: beige;
}

/* Make rows in any jobs-style table show selection the same as other selectable rows */
.jobs-table tbody tr.selected,
.clickable-row-jobs.selected {
	background-color: beige;
}

.masthead {
	font-family: var(--font-to-use);
	height: 100vh !important;
	width: 100% !important;
	padding-top: 4rem;
	background: url("/img/bg1.png");
	background-position: center;
	background-size: cover !important;
	background-attachment: fixed;
}

.masthead-background {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	object-fit: cover;
	z-index: -1;
}

.card-signin {
	background: none;
	border-width: 0px;
}

.card-body {
	padding-top: 8px;
	padding-bottom: 8px;
	font-size: 14px;
}

.container .row {
	/* padding: 5px; */
	display: inline-box;
	position: relative;
}

/* ─── vertical + horizontal center ───────────────────────── */
.signin-wrapper {
	background: linear-gradient(to bottom, #637d87 0%, #e9ece1 100%);
	display: flex;
	justify-content: center;
	align-items: center;
	height: 100vh;
	width: 100%;
}

/* if .card-signin has any default margins/padding you want cleared: */
.card-signin {
	margin: 0;
}

.signin-title {
	color: var(--White);
	text-shadow: black 1px 0 5px;
	text-align: center;
	position: relative;
	font-weight: lighter;
	font-size: 20px;
}

.hr-thin {
	border: 0;
	height: 1px;
	margin: 5px 0px 10px;
	background-image: linear-gradient(to right, white, gray, white);
}

.selectable-row:hover {
	background-color: #f5f5f5;
	cursor: pointer;
}

.selectable-row.selected {
	background-color: #e0e0e0;
}

.img-o {
	opacity: 0.5;
}

.img-hot {
	opacity: 1;
	/* filter: drop-shadow(2px 2px 5px rgba(0, 0, 0, 0.7)) contrast(1.2); */

}

.vertical-divider {
	width: 1px;
	background-color: #ccc;
	height: auto;
	margin: 0 10px;
	margin-left: 5px;
}

.info-text {
	background-color: transparent;
	padding-left: 0.5rem;
	padding-right: 0.5rem;
	padding-top: 0.25rem;
	padding-bottom: 0.25rem;
	text-align: center;
	width: 100%;
	color: #fff;
	font-size: 18px;
	font-weight: 100;
	text-shadow: 1px 1px 2px black;
}


/* Base reusable badge */
.supplier-badge {
	color: #fff;
	padding: 2px 10px 2px 10px;
	border-radius: 5px;
	margin-left: 6px;
	font-size: 0.9em;
	display: inline-block;
}

/* Context colors */
.supplier-badge.add-mode {
	background-color: #198754;
	/* Bootstrap green */
}

.supplier-badge.edit-mode {
	background-color: #0d6efd;
	/* Bootstrap blue */
}

.supplier-badge.order-mode {
	background-color: #6c757d;
	/* Bootstrap gray */
}

.record-title {
	display: flex;
	align-items: center;
	margin: 5px 0 0;
	font-size: 30px;
	padding-bottom: 5px;
	font-weight: 500;
	text-align: left;
	/* margin-left: 120px; */
	color: gold;
	text-shadow: black 1px 1px 3px;
}

.card-staff {
	/* background-color: white; */
	color: white;
	border: 1px solid silver;
	border-radius: 2px;
	padding: 0px 15px 0px 15px;
	margin-left: 50px;
	/* box-shadow: 1px 1px 2px black; */
	box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.card-analytics {
	background-color: white;
	color: black;
	border: 1px solid silver;
	border-radius: 8px;
	padding: 15px;
	box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.btn-close {
	margin-right: 5px !important;
}