form.form-60ch {
	max-width: 80ch;
}
header {
	margin-top: 40px;
}

body {
	font-family: Arial, sans-serif;
	background-color: #f8f9fa;
	margin: auto;
	padding: 0;
}

.dashboard-container {
	max-width: 1000px; /* Reduced container size */
	margin: 0 auto;
	padding: 20px;
}

.welcome-message {
	text-align: center;
	margin-top: 60px;
	margin-bottom: 30px;
}

.welcome-message h1 {
	font-size: 2.5rem;
	color: #343a40;
	margin: 0;
}

/* Stats Section */
.stats-row {
	display: flex;
	flex-direction: column;
	gap: 20px;
	margin-bottom: 30px;
}

.stat-group {
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	gap: 20px;
	background-color: #ffffff;
	border: 1px solid #dee2e6;
	border-radius: 8px;
	padding: 20px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.stat-group h2 {
	flex: 1;
	font-size: 1.5rem;
	color: #495057;
	margin: 0;
	text-align: center;
	display: flex;
	justify-content: center; /* Horizontally center text */
}

.stat-item {
	flex: 1;
	text-align: center;
	padding: 10px;
	min-width: 140px; /* Adjust as needed */
}

.stat-item h3 {
	font-size: 1.1rem;
	color: #495057;
	margin-bottom: 10px;
	white-space: nowrap; /* Prevent wrapping */
}

.stat-item p {
	font-size: 1.5rem;
	color: #343a40;
	margin: 0;
	font-weight: bold;
}

/* Dashboard Actions */
.dashboard-actions {
	display: flex;
	flex-direction: row;
	gap: 20px;
	margin-top: 30px;
	background-color: #ffffff;
	border: 1px solid #dee2e6;
	border-radius: 8px;
	padding: 20px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.action-item {
	flex: 1;
	text-align: center;
}

.action-item h3 {
	font-size: 1.25rem;
	color: #495057;
	margin-bottom: 10px;
}

.action-item p a {
	display: inline-block;
	padding: 10px 20px;
	font-size: 1rem;
	color: #ffffff;
	background-color: #007bff;
	text-decoration: none;
	border-radius: 5px;
	transition: background-color 0.3s ease, transform 0.3s ease;
}

.action-item p a:hover {
	background-color: #0056b3;
	transform: scale(1.05);
}

/* Responsive Design */
@media (max-width: 768px) {
	.dashboard-actions {
		flex-direction: column;
	}
	.action-item {
		flex: 1 1 100%;
	}
}

/* List CSS */
.flex-item {
	flex-shrink: 0;
}
.list-container {
  	min-width:fit-content;
  	width:65%;
	margin: auto;
	min-height: 100vh; /* for vertical centering */
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.pager_current_page {
	font-weight: bold;
}
.pager_page {
	margin: 0 5px;
}
.table {
	table-layout: auto; /* Adjust table layout based on content */
	width: 100%; /* Ensure table takes full width of container */
}
.table td {
	word-break: break-word;
	white-space: normal;
}
.table .no-border-stripes {
	--bs-table-bg-type: transparent !important;
	border: none;
}
.table thead th:not(:nth-last-child(-n + 2)) {
	position: relative;
}
.table thead th:not(:nth-last-child(-n + 2))::after {
	content: "";
	position: absolute;
	top: 25%;
	bottom: 25%;
	right: 0;
	width: 1px;
	background-color: #dee2e6;
}
.table tbody tr:first-child {
	font-weight: bold;
}
/* sorting */
.sort-icon {
	margin-left: 0.25rem;
	font-size: 0.9rem;
}
th.sortable {
	position: relative;
	cursor: pointer;
	user-select: none;
}
.disabled-link {
	pointer-events: auto; /* Allow hover events */
	opacity: 0.6; /* Make it look disabled */
	cursor: not-allowed; /* Show a "not allowed" cursor */
}
.disabled-link:hover {
	pointer-events: auto; /* Ensure hover works for tooltips */
}
.disabled-link:active {
	pointer-events: none; /* Prevent clicks */
}

/* Show CSS */
.show-container {
	width: fit-content;
	margin: auto;
	min-height: 100vh; /* for vertical centering */
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.card-header {
	background-color: #007bff;
	color: white;
}
.form-container {
	width: fit-content;
	margin: auto;
	min-height: 100vh; /* for vertical centering */
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.form-control {
	margin-bottom: 1rem;
	height: 40px;
}
.form-actions {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
}
.form-select {
	position: relative;
	appearance: none;
	background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-caret-down-fill" viewBox="0 0 16 16"><path d="M7.247 11.14l-4.796-5.481C2.451 5.253 2.679 5 3.053 5h9.893c.374 0 .602.253.602.659 0 .106-.03.21-.086.3l-4.796 5.481a.537.537 0 0 1-.77 0z"/></svg>')
		no-repeat right 0.75rem center/8px 10px;
	padding-right: 1.5rem;
}
.form-control-plaintext {
	padding-left: 0;
}
.btn {
	height: 40px;
	appearance: none;
  	border: 1px solid rgba(27, 31, 35, .15);
  	border-radius: 6px;
  	box-shadow: rgba(27, 31, 35, .1) 0 1px 0;
  	box-sizing: border-box;
  	cursor: pointer;
  	display: inline-block;
  	font-family: -apple-system,system-ui,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";
  	font-size: 14px;
  	font-weight: 600;
  	line-height: 20px;
  	padding: 6px 16px;
  	position: relative;
  	text-align: center;
  	text-decoration: none;
  	user-select: none;
  	-webkit-user-select: none;
  	touch-action: manipulation;
  	vertical-align: middle;
  	white-space: nowrap;
}
.btn:focus:not(:focus-visible):not(.focus-visible) {
  box-shadow: none;
  outline: none;
}
.btn:focus {
  box-shadow: rgba(46, 164, 79, .4) 0 0 0 3px;
  outline: none;
}
.btn:disabled {
  background-color: #8d988f;
  border-color: rgba(27, 31, 35, .1);
  color: rgba(255, 255, 255, .8);
  cursor: default;
}
.btn.btn-primary { /* blue */
	background-color:#0056b3;
	color: #fff;
}
.btn.btn-primary:hover {
  background-color : #1662b3;
  transform: translateY(-1px);
}
.btn.btn-secondary { /* orange */
  	background-color: rgb(217, 128, 4);
	color: #fff;
}
.btn.btn-secondary:hover {
  	background-color : rgb(218, 138, 25);
 	transform: translateY(-1px);
}
.btn.btn-success { /* green */
	background-color: #027f26;
	color: #fff;
}
.btn.btn-success:hover {
  	background-color : #188837;
  	transform: translateY(-1px);
}
.btn.btn-link { /* link style */
	color: #007bff;
}
.btn.btn-return { /* orange */
	background-color: #01c839;
	color: #fff;
}
.btn.btn-return:hover {
  	background-color : #28d856;
  	transform: translateY(-1px);
}
.list-group-item {
	word-wrap: break-word;
	white-space: nowrap;
}
.form-label {
	font-weight: bold;
}
.form-label-underline {
	font-weight: bold;
	text-decoration: underline;
}
.row.g-3 > .col-md-6 {
	margin-bottom: 10px;
}

/* Form CSS */
.container {
	width: 100%;
}
.ui-autocomplete {
	background-color: #fff;
	border: 1px solid #ccc;
	border-radius: 4px;
	max-height: 200px;
	overflow-y: auto;
	z-index: 1000;
}
.ui-menu-item {
	padding: 8px 12px;
	cursor: pointer;
}
.ui-menu-item:hover {
	background-color: #f0f0f0;
}
.ui-state-active {
	background-color: #007bff;
	color: #fff;
}

input[readonly] {
	background-color: #e9ecef !important;
	color: #6c757d;
	cursor: not-allowed;
}

.checkbox-list {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

