/* Med-Hot Inspired Medical Professional Theme */
/* Modern medical licensing management system with healthcare aesthetics */

:root {
	/* Medical Color Palette */
	--primary-blue: #0066cc;
	--secondary-blue: #0099ff;
	--accent-blue: #00ccff;
	--dark-blue: #003366;
	--light-blue: #e6f3ff;
	--medical-green: #00aa88;
	--medical-gray: #f8f9fa;
	--text-dark: #2c3e50;
	--text-light: #6c757d;
	--border-color: #dee2e6;
	--success-color: #28a745;
	--warning-color: #ffc107;
	--danger-color: #dc3545;
}

/* Reset and base styles */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	background: transparent;
	border: 0;
	margin: 0;
	padding: 0;
	vertical-align: baseline;
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, -apple-system, BlinkMacSystemFont, sans-serif;
	font-size: 14px;
	line-height: 1.6;
	box-sizing: border-box;
}

body {
	margin: 0;
	padding: 0;
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, -apple-system, BlinkMacSystemFont, sans-serif;
	font-size: 14px;
	line-height: 1.6;
	color: var(--text-dark);
	background: linear-gradient(135deg, var(--light-blue) 0%, #ffffff 50%, var(--medical-gray) 100%);
	min-height: 100vh;
}

/* Medical Typography */
h1 {
	font-size: 32px;
	font-weight: 700;
	margin: 0 0 24px 0;
	color: var(--dark-blue);
	line-height: 1.2;
	letter-spacing: -0.5px;
}

h2 {
	font-size: 28px;
	font-weight: 600;
	margin: 32px 0 20px 0;
	color: var(--primary-blue);
	line-height: 1.3;
	border-bottom: 3px solid var(--accent-blue);
	padding-bottom: 12px;
}

h3 {
	font-size: 24px;
	font-weight: 600;
	margin: 28px 0 16px 0;
	color: var(--dark-blue);
	line-height: 1.4;
}

h4 {
	font-size: 20px;
	font-weight: 500;
	margin: 24px 0 12px 0;
	color: var(--primary-blue);
	line-height: 1.4;
}

p {
	margin-bottom: 16px;
	color: var(--text-dark);
	line-height: 1.6;
}

a {
	color: var(--primary-blue);
	text-decoration: none;
	transition: all 0.3s ease;
	font-weight: 500;
}

a:hover {
	color: var(--secondary-blue);
	text-decoration: underline;
}

/* Typography */
h1 {
	font-size: 28px;
	font-weight: 600;
	margin: 0 0 20px 0;
	color: #2c3e50;
}

h2 {
	font-size: 24px;
	font-weight: 500;
	margin: 30px 0 15px 0;
	color: #34495e;
	border-bottom: 2px solid #3498db;
	padding-bottom: 10px;
}

h3 {
	font-size: 20px;
	font-weight: 500;
	margin: 25px 0 15px 0;
	color: #2c3e50;
}

h4 {
	font-size: 16px;
	font-weight: 500;
	margin: 20px 0 10px 0;
	color: #34495e;
}

a {
	color: #3498db;
	text-decoration: none;
	transition: color 0.3s ease;
}

a:hover {
	color: #2980b9;
	text-decoration: underline;
}

/* Medical Professional Login Styles */
#loginbox-bg {
	background: rgba(255, 255, 255, 0.98);
	width: 420px;
	min-height: 520px;
	border-radius: 16px;
	box-shadow: 0 20px 40px rgba(0, 102, 204, 0.15);
	backdrop-filter: blur(10px);
	margin: 50px auto;
	border: 2px solid var(--light-blue);
}

#loginbox {
	padding: 40px;
	text-align: center;
	color: var(--text-dark);
	border-radius: 14px;
}

#loginbox h2 {
	font-size: 36px;
	font-weight: 700;
	margin-bottom: 12px;
	color: var(--primary-blue);
	text-shadow: none;
	background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

#loginbox h3 {
	font-size: 20px;
	margin-bottom: 32px;
	color: var(--text-light);
	font-weight: 400;
	letter-spacing: 0.5px;
}

#loginbox p {
	font-size: 16px;
	margin: 0 0 20px 0;
	color: var(--text-dark);
	font-weight: 500;
	text-shadow: none;
}

#loginbox input[type="text"],
#loginbox input[type="password"] {
	width: 100%;
	padding: 16px 20px;
	margin: 12px 0;
	border: 2px solid var(--border-color);
	border-radius: 10px;
	font-size: 16px;
	transition: all 0.3s ease;
	background: #ffffff;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

#loginbox input[type="text"]:focus,
#loginbox input[type="password"]:focus {
	outline: none;
	border-color: var(--primary-blue);
	box-shadow: 0 0 0 4px rgba(0, 102, 204, 0.1);
	background: #ffffff;
	transform: translateY(-1px);
}

#loginbox input[type="submit"] {
	background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
	color: white;
	padding: 16px 32px;
	border: none;
	border-radius: 10px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	margin-top: 24px;
	box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
	letter-spacing: 0.5px;
}

#loginbox input[type="submit"]:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(0, 102, 204, 0.4);
	background: linear-gradient(135deg, var(--secondary-blue), var(--accent-blue));
}

/* Updated Login Page Styles */
.login-page {
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
	padding: 20px;
}

.login-container {
	width: 100%;
	max-width: 420px;
}

.login-box {
	background: rgba(255, 255, 255, 0.98);
	border-radius: 16px;
	box-shadow: 0 20px 40px rgba(0, 102, 204, 0.15);
	backdrop-filter: blur(10px);
	border: 2px solid var(--light-blue);
	padding: 40px;
	text-align: center;
}

.login-box h1 {
	font-size: 36px;
	font-weight: 700;
	margin-bottom: 12px;
	color: var(--primary-blue);
	text-shadow: none;
	background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.login-box h2 {
	font-size: 20px;
	margin-bottom: 32px;
	color: var(--text-light);
	font-weight: 400;
	letter-spacing: 0.5px;
}

.login-form {
	text-align: left;
}

.form-group {
	margin-bottom: 20px;
}

.form-group label {
	display: block;
	font-size: 16px;
	font-weight: 500;
	color: var(--text-dark);
	margin-bottom: 8px;
	letter-spacing: 0.3px;
}

.form-group input[type="text"],
.form-group input[type="password"] {
	width: 100%;
	padding: 16px 20px;
	border: 2px solid var(--border-color);
	border-radius: 10px;
	font-size: 16px;
	transition: all 0.3s ease;
	background: #ffffff;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
	font-family: inherit;
	box-sizing: border-box;
}

.form-group input[type="text"]:focus,
.form-group input[type="password"]:focus {
	outline: none;
	border-color: var(--primary-blue);
	box-shadow: 0 0 0 4px rgba(0, 102, 204, 0.1);
	background: #ffffff;
	transform: translateY(-1px);
}

.login-button {
	background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
	color: white;
	padding: 16px 32px;
	border: none;
	border-radius: 10px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	width: 100%;
	box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
	letter-spacing: 0.5px;
	margin-top: 8px;
}

.login-button:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(0, 102, 204, 0.4);
	background: linear-gradient(135deg, var(--secondary-blue), var(--accent-blue));
}

/* Responsive login styles */
@media (max-width: 480px) {
	.login-box {
		padding: 30px 20px;
		margin: 20px;
	}

	.login-box h1 {
		font-size: 28px;
	}

	.login-box h2 {
		font-size: 18px;
	}

	.form-group input[type="text"],
	.form-group input[type="password"],
	.login-button {
		padding: 14px 18px;
		font-size: 16px;
		box-sizing: border-box;
	}
}

/* Change Owner Page Styles */
.change-owner-page {
	min-height: 100vh;
	padding: 20px;
	background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
}

.change-owner-container {
	max-width: 800px;
	margin: 0 auto;
	background: rgba(255, 255, 255, 0.98);
	border-radius: 16px;
	box-shadow: 0 20px 40px rgba(0, 102, 204, 0.15);
	backdrop-filter: blur(10px);
	border: 2px solid var(--light-blue);
	padding: 40px;
}

.change-owner-container h1 {
	font-size: 32px;
	font-weight: 700;
	margin-bottom: 12px;
	color: var(--primary-blue);
	text-align: center;
	background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.page-description {
	text-align: center;
	color: var(--text-secondary);
	font-size: 16px;
	margin-bottom: 32px;
	line-height: 1.5;
}

.user-selection-table {
	margin-bottom: 32px;
}

.user-selection-table .text-center {
	text-align: center;
}

.user-selection-table input[type="radio"] {
	transform: scale(1.2);
	margin: 0;
}

.form-actions {
	display: flex;
	gap: 16px;
	justify-content: center;
	align-items: center;
	margin-top: 32px;
}

.update-button,
.cancel-button {
	padding: 14px 28px;
	border: none;
	border-radius: 10px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
	letter-spacing: 0.3px;
	text-transform: uppercase;
	font-size: 14px;
	min-width: 140px;
}

.update-button {
	background: linear-gradient(135deg, var(--success-color), var(--medical-green));
	color: white;
}

.update-button:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3);
	background: linear-gradient(135deg, var(--medical-green), var(--success-color));
}

.cancel-button {
	background: linear-gradient(135deg, var(--danger-color), #fd7e14);
	color: white;
}

.cancel-button:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(220, 53, 69, 0.3);
	background: linear-gradient(135deg, #fd7e14, var(--danger-color));
}

/* Responsive change owner styles */
@media (max-width: 768px) {
	.change-owner-container {
		padding: 30px 20px;
		margin: 20px;
	}

	.change-owner-container h1 {
		font-size: 28px;
	}

	.form-actions {
		flex-direction: column;
	}

	.update-button,
	.cancel-button {
		width: 100%;
		max-width: 200px;
	}
}

/* Medical Professional Content Layout */
#content {
	max-width: 1800px;
	margin: 0 auto;
	padding: 24px;
}

#content_text {
	background: #ffffff;
	border-radius: 16px;
	padding: 40px;
	margin-bottom: 32px;
	box-shadow: 0 8px 32px rgba(0, 102, 204, 0.1);
	border: 1px solid var(--border-color);
	min-height: 500px;
}

/* Medical Professional Table Styles */
table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	margin: 24px 0;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 4px 20px rgba(0, 102, 204, 0.08);
	border: 1px solid var(--border-color);
}

thead {
	background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
	color: white;
	box-shadow: 0 2px 8px rgba(0, 102, 204, 0.2);
}

thead th,
thead td {
	padding: 18px 20px;
	font-weight: 600;
	text-align: left;
	font-size: 15px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

tbody tr {
	transition: all 0.3s ease;
	border-bottom: 1px solid var(--border-color);
}

tbody tr:hover {
	background: linear-gradient(90deg, var(--light-blue), rgba(255, 255, 255, 0.8));
	transform: translateX(2px);
	box-shadow: 0 2px 8px rgba(0, 102, 204, 0.1);
}

tbody td {
	padding: 16px 20px;
	border-bottom: 1px solid var(--border-color);
	font-size: 14px;
	transition: padding-left 0.3s ease;
}

tbody tr:last-child td {
	border-bottom: none;
}

/* Medical Status Colors */
.Active,
.active {
	background: linear-gradient(135deg, var(--success-color), #20c997) !important;
	color: white !important;
	font-weight: 600;
	text-align: center;
	border-radius: 6px;
	margin: 4px;
	padding: 6px 12px;
	box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3);
}

.Inactive,
.inactive {
	background: linear-gradient(135deg, var(--danger-color), #fd7e14) !important;
	color: white !important;
	font-weight: 600;
	text-align: center;
	border-radius: 6px;
	margin: 4px;
	padding: 6px 12px;
	box-shadow: 0 2px 8px rgba(220, 53, 69, 0.3);
}

/* Medical Professional Form Styles */
.form-container {
	background: #ffffff;
	border-radius: 16px;
	padding: 40px;
	margin: 24px 0;
	box-shadow: 0 8px 32px rgba(0, 102, 204, 0.1);
	border: 1px solid var(--border-color);
}

.form-table {
	border: none;
	margin: 0;
}

.form-table td {
	padding: 12px 8px;
	border: none;
}

.form-table td.label-cell {
	font-weight: 600;
	color: var(--text-dark);
	width: 220px;
	font-size: 15px;
	letter-spacing: 0.2px;
}

.form-table td.bold-label {
	font-weight: 600;
	color: var(--primary-blue);
	font-size: 15px;
}

.form-table input[type="text"],
.form-table input[type="password"],
.form-table input[type="email"],
.form-table input[type="number"],
.form-table textarea,
.form-table select {
	width: 100%;
	padding: 14px 18px;
	border: 2px solid var(--border-color);
	border-radius: 10px;
	font-size: 15px;
	transition: all 0.3s ease;
	background: #ffffff;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
	font-family: inherit;
}

.form-table input[type="text"]:focus,
.form-table input[type="password"]:focus,
.form-table input[type="email"]:focus,
.form-table input[type="number"]:focus,
.form-table textarea:focus,
.form-table select:focus {
	outline: none;
	border-color: var(--primary-blue);
	box-shadow: 0 0 0 4px rgba(0, 102, 204, 0.1);
	background: #ffffff;
	transform: translateY(-1px);
}

.form-section h4 {
	margin: 36px 0 20px 0;
	color: var(--primary-blue);
	font-size: 20px;
	font-weight: 600;
	border-bottom: 2px solid var(--accent-blue);
	padding-bottom: 12px;
	letter-spacing: 0.3px;
}

.form-section h4.compact {
	margin: 20px 0;
	font-size: 18px;
}

/* Medical Professional Button Styles */
.submit-button,
.delete-button {
	padding: 14px 28px;
	border: none;
	border-radius: 10px;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	margin-right: 12px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
	letter-spacing: 0.3px;
	text-transform: uppercase;
	font-size: 14px;
}

.submit-button {
	background: linear-gradient(135deg, var(--success-color), var(--medical-green));
	color: white;
}

.submit-button:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3);
	background: linear-gradient(135deg, var(--medical-green), var(--success-color));
}

.delete-button {
	background: linear-gradient(135deg, var(--danger-color), #fd7e14);
	color: white;
}

.delete-button:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(220, 53, 69, 0.3);
	background: linear-gradient(135deg, #fd7e14, var(--danger-color));
}

/* Medical Professional Link Styles */
.edit-link {
	color: var(--primary-blue);
	font-weight: 600;
	text-decoration: none;
	padding: 10px 20px;
	border: 2px solid var(--primary-blue);
	border-radius: 8px;
	transition: all 0.3s ease;
	display: inline-block;
	font-size: 14px;
	letter-spacing: 0.2px;
}

.edit-link:hover {
	background: var(--primary-blue);
	color: white;
	text-decoration: none;
	transform: translateY(-1px);
	box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
}

/* Status Table */
.status-table {
	border: none;
	margin-bottom: 30px;
}

.status-table td {
	padding: 12px 15px;
	border-bottom: 1px solid #e1e8ed;
}

.status-table tr:last-child td {
	border-bottom: none;
}

/* Serial Header */
.serial-header {
	background: linear-gradient(135deg, #3498db 0%, #2980b9 100%) !important;
	color: white !important;
	font-weight: 600 !important;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

/* Notes */
.note-item {
	border: 1px solid #e1e8ed;
	padding: 20px;
	margin-bottom: 15px;
	background: #f8f9fa;
	border-radius: 8px;
	border-left: 4px solid #3498db;
}

.note-form textarea {
	width: 100%;
	padding: 12px;
	border: 2px solid #e1e8ed;
	border-radius: 6px;
	font-family: inherit;
	font-size: 14px;
	min-height: 100px;
	resize: vertical;
	transition: border-color 0.3s ease;
}

.note-form textarea:focus {
	outline: none;
	border-color: #3498db;
}

/* Full Width Input Class */
.full-width-input {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	padding: 6px 8px;
	border: 1px solid var(--border-color);
	border-radius: 4px;
	font-size: 14px;
	font-family: inherit;
	transition: border-color 0.3s ease, box-shadow 0.3s ease;
	background: #ffffff;
	line-height: 1.4;
}

.full-width-input:focus {
	outline: none;
	border-color: var(--primary-blue);
	box-shadow: 0 0 0 2px rgba(0, 102, 204, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
	#content {
		padding: 10px;
	}

	#content_text {
		padding: 20px;
	}

	#loginbox-bg {
		width: 90%;
		margin: 20px auto;
	}

	#loginbox {
		padding: 30px 20px;
	}

	.form-table td.label-cell {
		width: 100%;
		display: block;
		margin-bottom: 5px;
	}

	.form-table td {
		display: block;
		width: 100%;
	}

	table {
		font-size: 12px;
	}

	thead th,
	thead td,
	tbody td {
		padding: 10px 5px;
	}
}

/* Medical Professional Sidebar Navigation */
#sidebar {
	position: fixed;
	top: 0;
	left: 0;
	width: 300px;
	height: 100vh;
	background: linear-gradient(180deg, var(--dark-blue) 0%, var(--primary-blue) 50%, var(--secondary-blue) 100%);
	box-shadow: 3px 0 25px rgba(0, 102, 204, 0.3);
	z-index: 1000;
	overflow-y: auto;
	/*padding-top: 30px;*/
	border-right: 2px solid var(--accent-blue);
}

#sidebar .sidebar-bottom {
	padding: 24px;
}

#sidebar .sidepanel {
	margin: 0;
	padding: 0;
}

#sidebar .sidepanel h3 {
	color: #ffffff;
	font-size: 26px;
	font-weight: 700;
	margin-bottom: 32px;
	text-align: center;
	border-bottom: 3px solid var(--accent-blue);
	padding-bottom: 16px;
	text-shadow: 0 3px 6px rgba(0, 0, 0, 0.4);
	letter-spacing: 1px;
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
	margin: -24px -24px 32px -24px;
	padding: 20px 24px 16px 24px;
	border-radius: 0;
}

#sidebar .sidepanel ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

#sidebar .sidepanel ul li {
	margin-bottom: 4px;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

#sidebar .sidepanel ul li a {
	display: block;
	color: #ffffff;
	text-decoration: none;
	padding: 10px 20px;
	background: rgba(255, 255, 255, 0.1);
	border-left: 4px solid transparent;
	transition: all 0.3s ease;
	font-weight: 500;
	font-size: 15px;
	letter-spacing: 0.3px;
}

#sidebar .sidepanel ul li a:hover {
	background: rgba(255, 255, 255, 0.2);
	color: #ffffff;
	transform: translateX(8px);
	border-left-color: var(--accent-blue);
	box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}

#sidebar .sidepanel ul li.button_active {
	background: rgba(34, 197, 94, 0.2);
	border-left-color: var(--medical-green);
	/* Removed box-shadow to prevent size increase */
}

#sidebar .sidepanel ul li.button_active a {
	background: rgba(34, 197, 94, 0.3);
	font-weight: 600;
	/* Ensure padding stays the same */
	padding: 10px 20px;
}

/* Enhanced Navigation Styles */
#sidebar .nav-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

#sidebar .nav-item {
	margin-bottom: 8px;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

#sidebar .nav-item a {
	display: block;
	color: #ffffff;
	text-decoration: none;
	padding: 12px 20px;
	background: rgba(255, 255, 255, 0.1);
	border-left: 4px solid transparent;
	transition: all 0.3s ease;
	font-weight: 500;
	font-size: 15px;
	letter-spacing: 0.3px;
}

#sidebar .nav-item a:hover {
	background: rgba(255, 255, 255, 0.2);
	color: #ffffff;
	transform: translateX(8px);
	border-left-color: var(--accent-blue);
	box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}

#sidebar .nav-item.button_active {
	background: rgba(34, 197, 94, 0.2);
	border-left-color: var(--medical-green);
}

#sidebar .nav-item.button_active a {
	background: rgba(34, 197, 94, 0.3);
	font-weight: 600;
	border-left-color: var(--medical-green);
}

#sidebar .nav-group {
	margin-bottom: 16px;
}

#sidebar .nav-group-title {
	color: #ffffff;
	font-weight: 700;
	font-size: 17px;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
	letter-spacing: 0.8px;
	margin-bottom: 8px;
	display: block;
	padding: 12px 20px 8px 20px;
	background: linear-gradient(135deg, rgba(0, 204, 255, 0.4), rgba(0, 153, 255, 0.3));
	border-radius: 8px;
	border-left: 5px solid var(--accent-blue);
	box-shadow: 0 3px 12px rgba(0, 204, 255, 0.3);
	text-transform: uppercase;
	position: relative;
}

#sidebar .nav-group-title:before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 2px;
	background: linear-gradient(90deg, var(--accent-blue), transparent);
	border-radius: 8px 8px 0 0;
}

#sidebar .nav-group-title:after {
	content: "▶";
	position: absolute;
	right: 16px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 12px;
	color: rgba(255, 255, 255, 0.7);
	transition: transform 0.3s ease;
}

#sidebar .nav-group ul {
	list-style: none;
	margin: 0;
	padding: 0;
	margin-left: 12px;
	border-left: 3px solid rgba(255, 255, 255, 0.3);
	padding-left: 16px;
}

#sidebar .nav-group ul li {
	margin-bottom: 3px;
	box-shadow: none;
}

#sidebar .nav-group ul li a {
	padding: 10px 16px;
	font-size: 14px;
	font-weight: 400;
	background: rgba(255, 255, 255, 0.08);
	border-left: 3px solid transparent;
	border-radius: 6px;
}

#sidebar .nav-group ul li a:hover {
	background: rgba(255, 255, 255, 0.18);
	transform: translateX(6px);
	border-left-color: var(--medical-green);
	box-shadow: 0 2px 8px rgba(34, 197, 94, 0.2);
}

#sidebar .nav-group ul li.button_active a {
	background: rgba(34, 197, 94, 0.25);
	border-left-color: var(--medical-green);
	font-weight: 600;
}

/* Legacy support for old markup */
#sidebar .sidepanel ul li > strong {
	color: var(--accent-blue);
	font-weight: 700;
	font-size: 16px;
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
	letter-spacing: 0.5px;
	margin-bottom: 4px;
	display: block;
	padding: 8px 20px 4px 20px;
	background: linear-gradient(135deg, rgba(0, 204, 255, 0.2), rgba(0, 153, 255, 0.1));
	border-radius: 6px;
	border-left: 4px solid var(--accent-blue);
	box-shadow: 0 2px 8px rgba(0, 204, 255, 0.2);
}

#sidebar .sidepanel ul li ul {
	margin-left: 20px;
	margin-top: 4px;
	border-left: 2px solid rgba(255, 255, 255, 0.3);
	padding-left: 16px;
}

#sidebar .sidepanel ul li ul li {
	margin-bottom: 2px;
	box-shadow: none;
}

#sidebar .sidepanel ul li ul li a {
	padding: 8px 14px;
	font-size: 14px;
	font-weight: 400;
	background: rgba(255, 255, 255, 0.05);
	border-left: 3px solid transparent;
}

#sidebar .sidepanel ul li ul li a:hover {
	background: rgba(255, 255, 255, 0.15);
	transform: translateX(4px);
	border-left-color: var(--medical-green);
}

/* Content adjustment for sidebar */
#content_text {
	margin-left: 300px;
	padding: 30px;
	min-height: calc(100vh - 60px);
}

/* Mobile responsive sidebar */
@media (max-width: 768px) {
	#sidebar {
		transform: translateX(-100%);
		transition: transform 0.3s ease;
	}

	#sidebar.show {
		transform: translateX(0);
	}

	#content_text {
		margin-left: 0;
		padding: 80px 20px 20px 20px; /* Add top padding for mobile menu button */
	}
	
	#sidebar .nav-group-title {
		font-size: 16px;
		padding: 10px 16px 6px 16px;
	}
	
	#sidebar .nav-item a,
	#sidebar .nav-group ul li a {
		padding: 10px 16px;
		font-size: 14px;
	}
	
	#sidebar .nav-group ul {
		margin-left: 8px;
		padding-left: 12px;
	}
}

/* Mobile menu toggle button - Hidden by default (desktop) */
.mobile-menu-toggle {
	display: none;
}

/* Show mobile menu toggle on mobile devices */
@media (max-width: 768px) {
	.mobile-menu-toggle {
		display: block;
		position: fixed;
		top: 20px;
		left: 20px;
		z-index: 1001;
		background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
		color: white;
		border: 2px solid var(--accent-blue);
		padding: 12px 16px;
		border-radius: 8px;
		cursor: pointer;
		font-size: 18px;
		font-weight: 600;
		box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
		transition: all 0.3s ease;
		backdrop-filter: blur(10px);
	}
	
	.mobile-menu-toggle:hover {
		background: linear-gradient(135deg, var(--secondary-blue), var(--primary-blue));
		transform: translateY(-2px);
		box-shadow: 0 6px 16px rgba(0, 102, 204, 0.4);
	}
	
	.mobile-menu-toggle:active {
		transform: translateY(0);
		box-shadow: 0 2px 8px rgba(0, 102, 204, 0.3);
	}
}

/* Legacy note styles - keeping for compatibility */
.hideexpand {
	display: none;
}

.note_anchor {
	background: none;
	border: none;
	cursor: pointer;
	display: inline;
}

.note_anchor.active + .note {
	display: block;
}

.note {
	display: none;
	border: 1px solid #3498db;
	margin: 15px 0;
	padding: 20px;
	background: #ebf5fb;
	border-radius: 8px;
	border-left: 4px solid #3498db;
	color: #2c3e50;
}

/* API Key Styles */
.api-key-container {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

.api-key-input {
	flex: 1;
	min-width: 200px;
}

.generate-key-btn {
	flex-shrink: 0;
	padding: 10px 15px;
	background: #95a5a6;
	color: white;
	border: none;
	border-radius: 6px;
	cursor: pointer;
	transition: background-color 0.3s ease;
}

.generate-key-btn:hover {
	background: #7f8c8d;
}

.rate-limit-input {
	width: 100%;
	max-width: 120px;
	box-sizing: border-box;
	padding: 6px 8px;
	border: 1px solid var(--border-color);
	border-radius: 4px;
	font-size: 14px;
	font-family: inherit;
	transition: border-color 0.3s ease, box-shadow 0.3s ease;
	background: #ffffff;
	line-height: 1.4;
}

.rate-limit-input:focus {
	outline: none;
	border-color: var(--primary-blue);
	box-shadow: 0 0 0 2px rgba(0, 102, 204, 0.1);
}

/* Index table styles */
.idx-table {
	border-spacing: 2px;
	border-radius: 8px;
	overflow: hidden;
}

/* History container */
.history-container {
	width: 100%;
	max-width: 800px;
	margin-bottom: 20px;
	clear: both;
}

/* DataTables specific styles to prevent overlap */
#history_wrapper {
	clear: both;
	margin-bottom: 20px;
}

#history_wrapper .dataTables_wrapper {
	clear: both;
}

#history_wrapper .dataTables_paginate,
#history_wrapper .dataTables_info,
#history_wrapper .dataTables_length,
#history_wrapper .dataTables_filter {
	clear: both;
	margin: 10px 0;
}

#history_wrapper .dataTables_paginate {
	float: none;
	text-align: center;
	margin-top: 20px;
}

#history_wrapper .dataTables_info {
	float: none;
	text-align: left;
	margin-bottom: 10px;
}

#history_wrapper .dataTables_length,
#history_wrapper .dataTables_filter {
	float: none;
	margin-bottom: 10px;
}

.wide-table {
	width: 100%;
}

/* No notes message */
.no-notes {
	font-style: italic;
	color: #7f8c8d;
	text-align: center;
	padding: 20px;
}

/* List item styling */
.listItem {
	font-weight: 600;
	color: #2c3e50;
}

/* Section spacer for visual separation between content sections */
.section-spacer {
	margin: 40px 0;
	border-top: 1px solid var(--border-color);
	padding-top: 40px;
}

/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 * DataTables Integration - Converted from demo_table.css
 * Adapted to match medical professional theme
 */

/* DataTables wrapper */
.dataTables_wrapper {
	position: relative;
	clear: both;
	zoom: 1; /* Support for IE */
	margin: 20px 0;
}

/* Processing indicator */
.dataTables_processing {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 250px;
	height: 30px;
	margin-left: -125px;
	margin-top: -15px;
	padding: 14px 0 2px 0;
	border: 1px solid var(--border-color);
	text-align: center;
	color: var(--text-secondary);
	font-size: 14px;
	background-color: var(--background-light);
	border-radius: 8px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Control elements layout */
.dataTables_length {
	width: 40%;
	float: left;
	margin-bottom: 10px;
}

.dataTables_filter {
	width: 50%;
	float: right;
	text-align: right;
	margin-bottom: 10px;
}

.dataTables_info {
	width: 60%;
	float: left;
	color: var(--text-secondary);
	font-size: 14px;
}

.dataTables_paginate {
	float: right;
	text-align: right;
}

/* Pagination buttons */
.paginate_disabled_previous, .paginate_enabled_previous,
.paginate_disabled_next, .paginate_enabled_next {
	height: 19px;
	float: left;
	cursor: pointer;
	color: var(--text-primary) !important;
	margin: 0 2px;
}

.paginate_disabled_previous:hover, .paginate_enabled_previous:hover,
.paginate_disabled_next:hover, .paginate_enabled_next:hover {
	text-decoration: none !important;
}

.paginate_disabled_previous:active, .paginate_enabled_previous:active,
.paginate_disabled_next:active, .paginate_enabled_next:active {
	outline: none;
}

.paginate_disabled_previous,
.paginate_disabled_next {
	color: var(--text-muted) !important;
}

.paginate_disabled_previous, .paginate_enabled_previous {
	padding-left: 23px;
}

.paginate_disabled_next, .paginate_enabled_next {
	padding-right: 23px;
	margin-left: 10px;
}

/* Pagination button backgrounds - using medical theme colors */
.paginate_disabled_previous {
	background: url('../images/back_disabled.png') no-repeat top left;
}

.paginate_enabled_previous {
	background: url('../images/back_enabled.png') no-repeat top left;
	color: var(--primary-blue) !important;
}

.paginate_enabled_previous:hover {
	background: url('../images/back_enabled_hover.png') no-repeat top left;
	color: var(--accent-blue) !important;
}

.paginate_disabled_next {
	background: url('../images/forward_disabled.png') no-repeat top right;
}

.paginate_enabled_next {
	background: url('../images/forward_enabled.png') no-repeat top right;
	color: var(--primary-blue) !important;
}

.paginate_enabled_next:hover {
	background: url('../images/forward_enabled_hover.png') no-repeat top right;
	color: var(--accent-blue) !important;
}

/* DataTables display table */
table.display {
	margin: 0 auto;
	clear: both;
	width: 100%;
	border-collapse: collapse;
	border-spacing: 0;
	background-color: var(--background-light);
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

table.display thead th {
	padding: 12px 18px 12px 10px;
	border-bottom: 2px solid var(--medical-green);
	font-weight: 600;
	cursor: pointer;
	color: var(--text-primary);
	background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

table.display thead th:hover {
	background: linear-gradient(135deg, var(--accent-blue), var(--primary-blue));
}

table.display tfoot th {
	padding: 12px 18px 12px 10px;
	border-top: 2px solid var(--medical-green);
	font-weight: 600;
	color: var(--text-primary);
	background-color: var(--background-secondary);
}

table.display tr.heading2 td {
	border-bottom: 1px solid var(--border-color);
}

table.display td {
	padding: 10px;
	border-bottom: 1px solid var(--border-light);
	color: var(--text-primary);
	font-size: 14px;
}

table.display td.center {
	text-align: center;
}

/* DataTables sorting indicators */
.sorting_asc {
	background: url('../images/sort_asc.png') no-repeat center right var(--medical-green);
	color: white;
	font-weight: 600;
}

.sorting_desc {
	background: url('../images/sort_desc.png') no-repeat center right var(--medical-green);
	color: white;
	font-weight: 600;
}

.sorting {
	background: url('../images/sort_both.png') no-repeat center right var(--primary-blue);
	color: white;
}

.sorting_asc_disabled {
	background: url('../images/sort_asc_disabled.png') no-repeat center right var(--background-secondary);
	color: var(--text-muted);
}

.sorting_desc_disabled {
	background: url('../images/sort_desc_disabled.png') no-repeat center right var(--background-secondary);
	color: var(--text-muted);
}

table.display thead th:active,
table.display thead td:active {
	outline: none;
}

/* DataTables row styling */
table.display tr.odd.gradeA {
	background-color: rgba(34, 197, 94, 0.1);
}

table.display tr.even.gradeA {
	background-color: rgba(34, 197, 94, 0.05);
}

table.display tr.odd.gradeC {
	background-color: rgba(0, 102, 204, 0.1);
}

table.display tr.even.gradeC {
	background-color: rgba(0, 102, 204, 0.05);
}

table.display tr.odd.gradeX {
	background-color: rgba(220, 53, 69, 0.1);
}

table.display tr.even.gradeX {
	background-color: rgba(220, 53, 69, 0.05);
}

table.display tr.odd.gradeU {
	background-color: var(--background-secondary);
}

table.display tr.even.gradeU {
	background-color: var(--background-light);
}

tr.odd {
	background-color: rgba(0, 102, 204, 0.02);
}

tr.even {
	background-color: var(--background-light);
}

/* DataTables misc styles */
.dataTables_scroll {
	clear: both;
}

.dataTables_scrollBody {
	margin-top: -1px;
	-webkit-overflow-scrolling: touch;
}

.top, .bottom {
	padding: 15px;
	background-color: var(--background-secondary);
	border: 1px solid var(--border-color);
	border-radius: 8px;
	margin: 10px 0;
}

.top .dataTables_info {
	float: none;
}

.clear {
	clear: both;
}

.dataTables_empty {
	text-align: center;
	color: var(--text-muted);
	font-style: italic;
	padding: 20px;
}

tfoot input {
	margin: 0.5em 0;
	width: 100%;
	color: var(--text-primary);
	border: 1px solid var(--border-color);
	border-radius: 4px;
	padding: 6px 8px;
	font-size: 14px;
}

tfoot input.search_init {
	color: var(--text-muted);
}

td.group {
	background-color: var(--background-secondary);
	border-bottom: 2px solid var(--border-color);
	border-top: 2px solid var(--border-color);
	font-weight: 600;
	color: var(--text-primary);
}

td.details {
	background-color: var(--background-secondary);
	border: 2px solid var(--border-color);
	padding: 15px;
}

/* Full numbers pagination */
.example_alt_pagination div.dataTables_info {
	width: 40%;
}

.paging_full_numbers {
	width: 400px;
	height: 22px;
	line-height: 22px;
}

.paging_full_numbers a:active {
	outline: none;
}

.paging_full_numbers a:hover {
	text-decoration: none;
}

.paging_full_numbers a.paginate_button,
.paging_full_numbers a.paginate_active {
	border: 1px solid var(--border-color);
	border-radius: 5px;
	padding: 2px 5px;
	margin: 0 3px;
	cursor: pointer;
	color: var(--text-primary) !important;
	background-color: var(--background-light);
	transition: all 0.3s ease;
}

.paging_full_numbers a.paginate_button:hover {
	background-color: var(--background-secondary);
	border-color: var(--primary-blue);
}

.paging_full_numbers a.paginate_active {
	background-color: var(--medical-green);
	color: white !important;
	border-color: var(--medical-green);
	font-weight: 600;
}

/* Row selection highlighting */
table.display tr.even.row_selected td {
	background-color: rgba(0, 102, 204, 0.2);
}

table.display tr.odd.row_selected td {
	background-color: rgba(0, 102, 204, 0.3);
}

/* Column sorting background colors */
tr.odd td.sorting_1 {
	background-color: rgba(0, 102, 204, 0.08);
}

tr.odd td.sorting_2 {
	background-color: rgba(0, 102, 204, 0.06);
}

tr.odd td.sorting_3 {
	background-color: rgba(0, 102, 204, 0.04);
}

tr.even td.sorting_1 {
	background-color: rgba(0, 102, 204, 0.04);
}

tr.even td.sorting_2 {
	background-color: rgba(0, 102, 204, 0.02);
}

tr.even td.sorting_3 {
	background-color: rgba(0, 102, 204, 0.01);
}

/* Grade-specific sorting colors */
tr.odd.gradeA td.sorting_1 {
	background-color: rgba(34, 197, 94, 0.15);
}

tr.odd.gradeA td.sorting_2 {
	background-color: rgba(34, 197, 94, 0.12);
}

tr.odd.gradeA td.sorting_3 {
	background-color: rgba(34, 197, 94, 0.09);
}

tr.even.gradeA td.sorting_1 {
	background-color: rgba(34, 197, 94, 0.12);
}

tr.even.gradeA td.sorting_2 {
	background-color: rgba(34, 197, 94, 0.09);
}

tr.even.gradeA td.sorting_3 {
	background-color: rgba(34, 197, 94, 0.06);
}

tr.odd.gradeC td.sorting_1 {
	background-color: rgba(0, 102, 204, 0.15);
}

tr.odd.gradeC td.sorting_2 {
	background-color: rgba(0, 102, 204, 0.12);
}

tr.odd.gradeC td.sorting_3 {
	background-color: rgba(0, 102, 204, 0.09);
}

tr.even.gradeC td.sorting_1 {
	background-color: rgba(0, 102, 204, 0.12);
}

tr.even.gradeC td.sorting_2 {
	background-color: rgba(0, 102, 204, 0.09);
}

tr.even.gradeC td.sorting_3 {
	background-color: rgba(0, 102, 204, 0.06);
}

tr.odd.gradeX td.sorting_1 {
	background-color: rgba(220, 53, 69, 0.15);
}

tr.odd.gradeX td.sorting_2 {
	background-color: rgba(220, 53, 69, 0.12);
}

tr.odd.gradeX td.sorting_3 {
	background-color: rgba(220, 53, 69, 0.09);
}

tr.even.gradeX td.sorting_1 {
	background-color: rgba(220, 53, 69, 0.12);
}

tr.even.gradeX td.sorting_2 {
	background-color: rgba(220, 53, 69, 0.09);
}

tr.even.gradeX td.sorting_3 {
	background-color: rgba(220, 53, 69, 0.06);
}

tr.odd.gradeU td.sorting_1 {
	background-color: rgba(149, 165, 166, 0.15);
}

tr.odd.gradeU td.sorting_2 {
	background-color: rgba(149, 165, 166, 0.12);
}

tr.odd.gradeU td.sorting_3 {
	background-color: rgba(149, 165, 166, 0.09);
}

tr.even.gradeU td.sorting_1 {
	background-color: rgba(149, 165, 166, 0.12);
}

tr.even.gradeU td.sorting_2 {
	background-color: rgba(149, 165, 166, 0.09);
}

tr.even.gradeU td.sorting_3 {
	background-color: rgba(149, 165, 166, 0.06);
}

/* Row highlighting on hover */
.ex_highlight #example tbody tr.even:hover, #example tbody tr.even td.highlighted {
	background-color: rgba(34, 197, 94, 0.1);
}

.ex_highlight #example tbody tr.odd:hover, #example tbody tr.odd td.highlighted {
	background-color: rgba(34, 197, 94, 0.15);
}

.ex_highlight_row #example tr.even:hover {
	background-color: rgba(34, 197, 94, 0.1);
}

.ex_highlight_row #example tr.even:hover td.sorting_1 {
	background-color: rgba(34, 197, 94, 0.2);
}

.ex_highlight_row #example tr.even:hover td.sorting_2 {
	background-color: rgba(34, 197, 94, 0.15);
}

.ex_highlight_row #example tr.even:hover td.sorting_3 {
	background-color: rgba(34, 197, 94, 0.12);
}

.ex_highlight_row #example tr.odd:hover {
	background-color: rgba(34, 197, 94, 0.15);
}

.ex_highlight_row #example tr.odd:hover td.sorting_1 {
	background-color: rgba(34, 197, 94, 0.25);
}

.ex_highlight_row #example tr.odd:hover td.sorting_2 {
	background-color: rgba(34, 197, 94, 0.2);
}

.ex_highlight_row #example tr.odd:hover td.sorting_3 {
	background-color: rgba(34, 197, 94, 0.15);
}

/* KeyTable focus styling */
table.KeyTable td {
	border: 3px solid transparent;
}

table.KeyTable td.focus {
	border: 3px solid var(--primary-blue);
	background-color: rgba(0, 102, 204, 0.1);
}

/* Grade row colors */
table.display tr.gradeA {
	background-color: rgba(34, 197, 94, 0.08);
}

table.display tr.gradeC {
	background-color: rgba(0, 102, 204, 0.08);
}

table.display tr.gradeX {
	background-color: rgba(220, 53, 69, 0.08);
}

table.display tr.gradeU {
	background-color: var(--background-secondary);
}

/* Box styling */
div.box {
	height: 100px;
	padding: 10px;
	overflow: auto;
	border: 1px solid var(--border-color);
	background-color: var(--background-light);
	border-radius: 6px;
}

/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 * Demo Page Styles - Converted from demo_page.css
 * Adapted to match medical professional theme
 */

/* General page setup */
#dt_example {
	font: 80%/1.45em "Lucida Grande", Verdana, Arial, Helvetica, sans-serif;
	margin: 0;
	padding: 0;
	color: var(--text-primary);
	background-color: var(--background-light);
}

#dt_example #container {
	width: 100%;
	max-width: 1200px;
	margin: 30px auto;
	padding: 0;
}

#dt_example #footer {
	margin: 50px auto 0 auto;
	padding: 20px;
	text-align: center;
	color: var(--text-secondary);
	border-top: 1px solid var(--border-color);
}

#dt_example #demo {
	margin: 30px auto 0 auto;
}

#dt_example .demo_jui {
	margin: 30px auto 0 auto;
}

#dt_example .big {
	font-size: 1.3em;
	font-weight: bold;
	line-height: 1.6em;
	color: var(--primary-blue);
	margin-bottom: 20px;
}

#dt_example .spacer {
	height: 20px;
	clear: both;
}

#dt_example .clear {
	clear: both;
}

#dt_example pre {
	padding: 15px;
	background-color: var(--background-secondary);
	border: 1px solid var(--border-color);
	border-radius: 6px;
	font-family: 'Courier New', monospace;
	font-size: 14px;
	line-height: 1.4;
	color: var(--text-primary);
	overflow-x: auto;
}

#dt_example h1 {
	margin-top: 2em;
	font-size: 1.8em;
	font-weight: normal;
	line-height: 1.6em;
	color: var(--primary-blue);
	border-bottom: 1px solid var(--border-color);
	clear: both;
	padding-bottom: 10px;
}

#dt_example h2 {
	font-size: 1.4em;
	font-weight: normal;
	line-height: 1.6em;
	color: var(--accent-blue);
	clear: both;
	margin-top: 1.5em;
	margin-bottom: 0.5em;
}

#dt_example a {
	color: var(--primary-blue);
	text-decoration: none;
	transition: color 0.3s ease;
}

#dt_example a:hover {
	color: var(--accent-blue);
	text-decoration: underline;
}

#dt_example ul {
	color: var(--text-primary);
	padding-left: 20px;
}

.css_right {
	float: right;
}

.css_left {
	float: left;
}

.demo_links {
	float: left;
	width: 50%;
	margin-bottom: 1em;
}

#demo_info {
	padding: 15px;
	border: 1px solid var(--border-color);
	height: 100px;
	width: 100%;
	overflow: auto;
	background-color: var(--background-light);
	border-radius: 6px;
	font-family: monospace;
	font-size: 12px;
	line-height: 1.4;
	color: var(--text-primary);
}

#dt_example code {
	font-family: 'Courier New', Monaco, Consolas, monospace;
	padding: 2px 6px;
	white-space: nowrap;
	font-size: 0.9em;
	color: var(--code-text);
	background-color: var(--code-background);
	border: 1px solid var(--code-border);
	border-radius: 3px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
	#dt_example #container {
		width: 95%;
		padding: 0 10px;
	}

	.demo_links {
		float: none;
		width: 100%;
	}

	.css_right,
	.css_left {
		float: none;
		display: block;
		margin: 10px 0;
	}
}

/* Active Download Highlighting */
.active-download {
	background-color: #e6f3ff !important;
	border-left: 4px solid #0066cc;
	padding-left: 12px;
	transition: all 0.3s ease;
}

.active-download:hover {
	background-color: #d1e7ff !important;
}

/* Add Serial Page Styles */
.add-serial-page {
	min-height: 100vh;
	padding: 20px;
	background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
}

.add-serial-container {
	max-width: 1000px;
	margin: 0 auto;
	background: rgba(255, 255, 255, 0.98);
	border-radius: 16px;
	box-shadow: 0 20px 40px rgba(0, 102, 204, 0.15);
	backdrop-filter: blur(10px);
	border: 2px solid var(--light-blue);
	padding: 40px;
}

.add-serial-container h1 {
	font-size: 32px;
	font-weight: 700;
	margin-bottom: 12px;
	color: var(--primary-blue);
	text-align: center;
	background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.page-description {
	text-align: center;
	color: var(--text-light);
	font-size: 16px;
	margin-bottom: 32px;
	line-height: 1.5;
}

.serial-form {
	margin-top: 32px;
}

.form-section {
	background: var(--medical-gray);
	border-radius: 12px;
	padding: 24px;
	margin-bottom: 24px;
	border: 1px solid var(--border-color);
}

.form-section h3 {
	font-size: 20px;
	font-weight: 600;
	color: var(--primary-blue);
	margin-bottom: 20px;
	padding-bottom: 12px;
	border-bottom: 2px solid var(--accent-blue);
}

.form-row {
	display: flex;
	gap: 20px;
	margin-bottom: 20px;
}

.form-row:last-child {
	margin-bottom: 0;
}

.form-group {
	flex: 1;
	margin-bottom: 20px;
}

.form-group label {
	display: block;
	font-size: 15px;
	font-weight: 600;
	color: var(--text-dark);
	margin-bottom: 8px;
	letter-spacing: 0.3px;
}

.form-control {
	width: 100%;
	padding: 14px 18px;
	border: 2px solid var(--border-color);
	border-radius: 10px;
	font-size: 15px;
	transition: all 0.3s ease;
	background: #ffffff;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
	font-family: inherit;
	box-sizing: border-box;
}

.form-control:focus {
	outline: none;
	border-color: var(--primary-blue);
	box-shadow: 0 0 0 4px rgba(0, 102, 204, 0.1);
	background: #ffffff;
	transform: translateY(-1px);
}

.form-control::placeholder {
	color: var(--text-light);
	opacity: 0.7;
}

/* Form Grid Layout */
.form-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	margin-bottom: 20px;
}

.form-group.full-width {
	grid-column: 1 / -1;
}

/* Checkbox Group Styling */
.checkbox-group {
	margin-bottom: 20px;
}

.checkbox-label {
	display: flex;
	align-items: center;
	cursor: pointer;
	font-size: 15px;
	font-weight: 600;
	color: var(--text-dark);
	margin-bottom: 8px;
}

.checkbox-label input[type="checkbox"] {
	margin-right: 12px;
	transform: scale(1.2);
}

.checkmark {
	margin-left: 8px;
}

.owner-selection {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
}

.owner-display {
	font-weight: 500;
	color: var(--text-dark);
	padding: 12px 16px;
	background: var(--light-blue);
	border-radius: 8px;
	border: 1px solid var(--border-color);
	min-height: 20px;
	display: inline-block;
	flex: 1;
	min-width: 200px;
}

.change-owner-btn {
	padding: 12px 20px;
	background: linear-gradient(135deg, var(--secondary-blue), var(--accent-blue));
	color: white;
	border: none;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
	letter-spacing: 0.3px;
}

.change-owner-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(0, 102, 204, 0.4);
	background: linear-gradient(135deg, var(--accent-blue), var(--primary-blue));
}

.form-actions {
	display: flex;
	gap: 16px;
	justify-content: center;
	align-items: center;
	margin-top: 32px;
	padding-top: 24px;
	border-top: 1px solid var(--border-color);
}

.submit-button,
.cancel-button {
	padding: 14px 28px;
	border: none;
	border-radius: 10px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
	letter-spacing: 0.3px;
	text-transform: uppercase;
	font-size: 14px;
	min-width: 140px;
}

.submit-button {
	background: linear-gradient(135deg, var(--success-color), var(--medical-green));
	color: white;
}

.submit-button:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3);
	background: linear-gradient(135deg, var(--medical-green), var(--success-color));
}

.cancel-button {
	background: linear-gradient(135deg, var(--danger-color), #fd7e14);
	color: white;
}

.cancel-button:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(220, 53, 69, 0.3);
	background: linear-gradient(135deg, #fd7e14, var(--danger-color));
}

/* Responsive Add Serial Styles */
@media (max-width: 768px) {
	.add-serial-container {
		padding: 30px 20px;
		margin: 20px;
	}

	.add-serial-container h1 {
		font-size: 28px;
	}

	.form-row {
		flex-direction: column;
		gap: 0;
	}

	.form-actions {
		flex-direction: column;
	}

	.submit-button,
	.cancel-button {
		width: 100%;
		max-width: 200px;
	}

	.owner-selection {
		flex-direction: column;
		align-items: stretch;
	}

	.owner-display {
		min-width: auto;
	}
}

/* User Info Page Styles */
.user-info-page {
	min-height: 100vh;
	padding: 20px;
	background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
}

.user-info-container {
	max-width: 1200px;
	margin: 0 auto;
	background: rgba(255, 255, 255, 0.98);
	border-radius: 16px;
	box-shadow: 0 20px 40px rgba(0, 102, 204, 0.15);
	backdrop-filter: blur(10px);
	border: 2px solid var(--light-blue);
	padding: 40px;
}

.user-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 32px;
	padding-bottom: 24px;
	border-bottom: 2px solid var(--border-color);
}

.user-header h1 {
	font-size: 32px;
	font-weight: 700;
	margin: 0;
	color: var(--primary-blue);
	background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.user-actions {
	display: flex;
	gap: 12px;
}

.edit-profile-btn {
	padding: 12px 24px;
	background: linear-gradient(135deg, var(--secondary-blue), var(--accent-blue));
	color: white;
	text-decoration: none;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 600;
	transition: all 0.3s ease;
	box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
	letter-spacing: 0.3px;
}

.edit-profile-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(0, 102, 204, 0.4);
	background: linear-gradient(135deg, var(--accent-blue), var(--primary-blue));
	text-decoration: none;
	color: white;
}

.status-overview {
	margin-bottom: 32px;
}

.status-card {
	background: var(--medical-gray);
	border-radius: 12px;
	padding: 24px;
	border: 1px solid var(--border-color);
	text-align: center;
}

.status-card h3 {
	font-size: 18px;
	font-weight: 600;
	color: var(--primary-blue);
	margin-bottom: 16px;
}

.status-indicator {
	display: inline-block;
	padding: 8px 16px;
	border-radius: 20px;
	font-weight: 600;
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.status-indicator.active {
	background: linear-gradient(135deg, var(--success-color), var(--medical-green));
	color: white;
	box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3);
}

.status-indicator.inactive {
	background: linear-gradient(135deg, var(--danger-color), #fd7e14);
	color: white;
	box-shadow: 0 2px 8px rgba(220, 53, 69, 0.3);
}

.info-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
	margin-bottom: 40px;
}

.info-section {
	background: var(--medical-gray);
	border-radius: 12px;
	padding: 24px;
	border: 1px solid var(--border-color);
}

.info-section h3 {
	font-size: 20px;
	font-weight: 600;
	color: var(--primary-blue);
	margin-bottom: 20px;
	padding-bottom: 12px;
	border-bottom: 2px solid var(--accent-blue);
}

.info-content {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.info-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 8px 0;
	border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.info-row:last-child {
	border-bottom: none;
}

.info-label {
	font-weight: 600;
	color: var(--text-dark);
	font-size: 14px;
}

.info-value {
	color: var(--text-dark);
	font-size: 14px;
	text-align: right;
	flex: 1;
	margin-left: 16px;
}

.api-key-status {
	font-weight: 600;
	padding: 4px 8px;
	border-radius: 4px;
	font-size: 12px;
	text-transform: uppercase;
}

.api-key-status.configured {
	background: linear-gradient(135deg, var(--success-color), var(--medical-green));
	color: white;
	border: 1px solid var(--success-color);
}

.api-key-status.not-configured {
	background: linear-gradient(135deg, var(--warning-color), #ffc107);
	color: white;
	border: 1px solid var(--warning-color);
}

/* API Key Actions */
.api-key-actions {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-left: 8px;
}

.api-key-toggle,
.api-key-copy,
.action-button {
	background: none;
	border: 1px solid var(--border-color);
	border-radius: 4px;
	padding: 4px 6px;
	cursor: pointer;
	color: var(--text-color);
	transition: all 0.2s ease;
	font-size: 14px;
	display: inline-block !important;
}

.api-key-toggle:hover,
.api-key-copy:hover,
.action-button:hover {
	background-color: var(--hover-color);
	border-color: var(--primary-color);
}

.api-key-toggle:active,
.api-key-copy:active,
.action-button:active {
	transform: scale(0.95);
}

.api-key-display {
	margin-top: 8px;
	padding: 8px;
	background-color: #f5f5f5;
	border: 1px solid var(--border-color);
	border-radius: 4px;
	max-width: 100%;
	overflow-x: auto;
}

.api-key-display code {
	font-family: 'Courier New', monospace;
	font-size: 12px;
	color: var(--text-color);
	word-break: break-all;
}

.section-actions {
	margin-top: 20px;
	padding-top: 16px;
	border-top: 1px solid var(--border-color);
}

.edit-ai-btn {
	display: inline-block;
	padding: 10px 20px;
	background: linear-gradient(135deg, var(--secondary-blue), var(--accent-blue));
	color: white;
	text-decoration: none;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 600;
	transition: all 0.3s ease;
	box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
	letter-spacing: 0.3px;
}

.edit-ai-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(0, 102, 204, 0.4);
	background: linear-gradient(135deg, var(--accent-blue), var(--primary-blue));
	text-decoration: none;
	color: white;
}

.serials-section {
	margin-top: 40px;
}

.serials-section h2 {
	font-size: 28px;
	font-weight: 600;
	color: var(--primary-blue);
	margin-bottom: 24px;
	padding-bottom: 12px;
	border-bottom: 2px solid var(--accent-blue);
}

.no-serials {
	text-align: center;
	padding: 40px;
	background: var(--medical-gray);
	border-radius: 12px;
	border: 1px solid var(--border-color);
}

.no-serials p {
	color: var(--text-light);
	font-size: 16px;
	margin: 0;
}

.serials-table-container {
	background: white;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 4px 20px rgba(0, 102, 204, 0.08);
	border: 1px solid var(--border-color);
}

.serials-table {
	width: 100%;
	border-collapse: collapse;
}

.serials-table thead {
	background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
	color: white;
}

.serials-table th {
	padding: 16px 20px;
	font-weight: 600;
	text-align: left;
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.serials-table td {
	padding: 14px 20px;
	border-bottom: 1px solid var(--border-color);
	font-size: 14px;
	transition: background-color 0.3s ease;
}

.serials-table tbody tr:hover {
	background: rgba(0, 102, 204, 0.02);
}

.status-cell {
	text-align: center;
}

.status-badge {
	display: inline-block;
	padding: 6px 12px;
	border-radius: 16px;
	font-weight: 600;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.status-badge.active {
	background: linear-gradient(135deg, var(--success-color), var(--medical-green));
	color: white;
	box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3);
}

.status-badge.inactive {
	background: linear-gradient(135deg, var(--danger-color), #fd7e14);
	color: white;
	box-shadow: 0 2px 8px rgba(220, 53, 69, 0.3);
}

.serial-cell {
	font-weight: 500;
}

.serial-link {
	color: var(--primary-blue);
	text-decoration: none;
	font-weight: 600;
	transition: all 0.3s ease;
}

.serial-link:hover {
	color: var(--secondary-blue);
	text-decoration: underline;
}

.software-cell {
	font-weight: 500;
	color: var(--text-dark);
}

.location-cell {
	color: var(--text-light);
}

/* Responsive User Info Styles */
@media (max-width: 768px) {
	.user-info-container {
		padding: 30px 20px;
		margin: 20px;
	}

	.user-header {
		flex-direction: column;
		align-items: flex-start;
		gap: 16px;
	}

	.user-header h1 {
		font-size: 28px;
	}

	.info-grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.serials-table th,
	.serials-table td {
		padding: 10px 12px;
		font-size: 13px;
	}

	.serials-table th:nth-child(3),
	.serials-table td:nth-child(3) {
		display: none;
	}
}

/* Add User Page Styles */
.add-user-page {
	min-height: 100vh;
	padding: 20px;
	background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
}

.add-user-container {
	max-width: 1000px;
	margin: 0 auto;
	background: rgba(255, 255, 255, 0.98);
	border-radius: 16px;
	box-shadow: 0 20px 40px rgba(0, 102, 204, 0.15);
	backdrop-filter: blur(10px);
	border: 2px solid var(--light-blue);
	padding: 40px;
}

.add-user-container h1 {
	font-size: 32px;
	font-weight: 700;
	margin-bottom: 12px;
	color: var(--primary-blue);
	text-align: center;
	background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.page-description {
	text-align: center;
	color: var(--text-light);
	font-size: 16px;
	margin-bottom: 32px;
	line-height: 1.5;
}

.user-form {
	margin-top: 32px;
}

.checkbox-group {
	margin-bottom: 20px;
}

.checkbox-label {
	display: flex;
	align-items: center;
	cursor: pointer;
	font-size: 15px;
	font-weight: 600;
	color: var(--text-dark);
	margin-bottom: 8px;
}

.checkbox-label input[type="checkbox"] {
	margin-right: 12px;
	transform: scale(1.2);
}

.checkmark {
	margin-left: 8px;
}

.field-description {
	color: var(--text-light);
	font-size: 14px;
	font-weight: 400;
	margin: 8px 0 0 0;
	line-height: 1.4;
}

/* Responsive Add User Styles */
@media (max-width: 768px) {
	.add-user-container {
		padding: 30px 20px;
		margin: 20px;
	}

	.add-user-container h1 {
		font-size: 28px;
	}

	.checkbox-label {
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
	}
}

/* Change Password Page Styles */
.change-password-page {
	min-height: 100vh;
	padding: 20px;
	background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
}

.change-password-container {
	max-width: 800px;
	margin: 0 auto;
	background: rgba(255, 255, 255, 0.98);
	border-radius: 16px;
	box-shadow: 0 20px 40px rgba(0, 102, 204, 0.15);
	backdrop-filter: blur(10px);
	border: 2px solid var(--light-blue);
	padding: 40px;
}

.change-password-container h1 {
	font-size: 32px;
	font-weight: 700;
	margin-bottom: 12px;
	color: var(--primary-blue);
	text-align: center;
	background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.page-description {
	text-align: center;
	color: var(--text-light);
	font-size: 16px;
	margin-bottom: 32px;
	line-height: 1.5;
}

.password-form {
	margin-top: 32px;
}

/* Help Page Styles */
.help-page {
	min-height: 100vh;
	padding: 20px;
	background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
}

.help-container {
	max-width: 1400px;
	margin: 0 auto;
	background: rgba(255, 255, 255, 0.98);
	border-radius: 16px;
	box-shadow: 0 20px 40px rgba(0, 102, 204, 0.15);
	backdrop-filter: blur(10px);
	border: 2px solid var(--light-blue);
	overflow: hidden;
}

.help-container .page-header {
	background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
	padding: 40px;
	text-align: center;
	border-bottom: 3px solid var(--primary-blue);
}

.help-container .page-header h1 {
	font-size: 32px;
	font-weight: 700;
	margin-bottom: 8px;
	color: white;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.help-container .page-description {
	color: rgba(255, 255, 255, 0.9);
	font-size: 16px;
	margin: 0;
	line-height: 1.5;
}

.help-layout {
	display: flex;
	min-height: 600px;
}

.help-nav {
	width: 300px;
	background: var(--light-gray);
	border-right: 2px solid var(--border-color);
	padding: 30px;
	overflow-y: auto;
}

.help-nav h3 {
	font-size: 20px;
	font-weight: 600;
	margin-bottom: 20px;
	color: var(--primary-blue);
	border-bottom: 2px solid var(--primary-blue);
	padding-bottom: 10px;
}

.help-menu {
	list-style: none;
	padding: 0;
	margin: 0;
}

.help-menu > li {
	margin-bottom: 15px;
}

.help-menu a {
	display: block;
	padding: 10px 15px;
	color: var(--text-color);
	text-decoration: none;
	border-radius: 8px;
	transition: all 0.3s ease;
	font-weight: 500;
}

.help-menu a:hover {
	background: var(--light-blue);
	color: var(--primary-blue);
	transform: translateX(5px);
}

.help-menu a.active {
	background: var(--primary-blue);
	color: white;
	font-weight: 600;
}

.help-section > strong {
	display: block;
	font-weight: 600;
	color: var(--primary-blue);
	margin-bottom: 8px;
	font-size: 16px;
}

.help-section ul {
	margin-left: 15px;
}

.help-section ul li a {
	padding: 8px 12px;
	font-size: 14px;
}

.help-content {
	flex: 1;
	padding: 40px;
	overflow-y: auto;
}

.help-article h2 {
	font-size: 28px;
	font-weight: 700;
	margin-bottom: 20px;
	color: var(--primary-blue);
	border-bottom: 3px solid var(--primary-blue);
	padding-bottom: 15px;
}

.help-intro {
	background: var(--light-blue);
	padding: 20px;
	border-radius: 12px;
	border-left: 4px solid var(--primary-blue);
	margin-bottom: 30px;
}

.help-intro p {
	font-size: 16px;
	line-height: 1.6;
	color: var(--text-color);
	margin: 0;
}

.help-section {
	margin-bottom: 40px;
}

.help-section h3 {
	font-size: 22px;
	font-weight: 600;
	color: var(--primary-blue);
	margin-bottom: 15px;
	border-left: 4px solid var(--secondary-blue);
	padding-left: 15px;
}

.help-section h4 {
	font-size: 18px;
	font-weight: 600;
	color: var(--text-color);
	margin-bottom: 10px;
}

.help-section p {
	line-height: 1.6;
	color: var(--text-color);
	margin-bottom: 15px;
}

.help-list {
	list-style: none;
	padding: 0;
	margin: 20px 0;
}

.help-list li {
	padding: 8px 0;
	border-bottom: 1px solid var(--border-color);
	display: flex;
	align-items: flex-start;
}

.help-list li:before {
	content: "✓";
	color: var(--success-color);
	font-weight: bold;
	margin-right: 10px;
	margin-top: 2px;
}

.help-list li strong {
	color: var(--primary-blue);
	margin-right: 5px;
}

.help-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 20px;
	margin: 25px 0;
}

.help-card {
	background: white;
	border: 2px solid var(--border-color);
	border-radius: 12px;
	padding: 20px;
	transition: all 0.3s ease;
}

.help-card:hover {
	border-color: var(--primary-blue);
	box-shadow: 0 8px 25px rgba(0, 102, 204, 0.1);
	transform: translateY(-2px);
}

.help-card h4 {
	color: var(--primary-blue);
	margin-bottom: 10px;
	font-size: 16px;
	font-weight: 600;
}

.help-card p {
	margin: 0;
	font-size: 14px;
	line-height: 1.5;
}

.help-steps {
	display: flex;
	flex-direction: column;
	gap: 20px;
	margin: 25px 0;
}

.help-step {
	background: var(--light-gray);
	border-radius: 12px;
	padding: 20px;
	border-left: 4px solid var(--secondary-blue);
	position: relative;
}

.help-step h4 {
	color: var(--primary-blue);
	margin-bottom: 8px;
	font-size: 16px;
}

.help-step p {
	margin: 0;
	line-height: 1.5;
}

.help-note {
	background: #fff3cd;
	border: 1px solid #ffeaa7;
	border-radius: 8px;
	padding: 15px;
	margin: 20px 0;
}

.help-note p {
	margin: 0;
	color: #856404;
}

/* Mobile Responsiveness for Help Pages */
@media (max-width: 768px) {
	.help-layout {
		flex-direction: column;
	}
	
	.help-nav {
		width: 100%;
		max-height: 300px;
	}
	
	.help-content {
		padding: 20px;
	}
	
	.help-grid {
		grid-template-columns: 1fr;
	}
	
	.help-article h2 {
		font-size: 24px;
	}
	
	.help-section h3 {
		font-size: 20px;
	}
}

/* Password Validation Styles */
.password-requirements {
	background: var(--light-blue);
	border: 2px solid var(--border-color);
	border-radius: 12px;
	padding: 20px;
	margin-bottom: 25px;
}

.password-requirements h4 {
	color: var(--primary-blue);
	margin-bottom: 15px;
	font-size: 16px;
	font-weight: 600;
}

.requirements-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.requirement {
	padding: 8px 0;
	display: flex;
	align-items: center;
	font-size: 14px;
	transition: all 0.3s ease;
	border-radius: 6px;
	padding-left: 10px;
	margin: 2px 0;
}

.requirement:before {
	content: "○";
	margin-right: 10px;
	font-size: 16px;
	color: var(--text-light);
	transition: all 0.3s ease;
	min-width: 20px;
	text-align: center;
}

.requirement.neutral {
	color: var(--text-color);
	background: transparent;
}

.requirement.neutral:before {
	content: "○";
	color: var(--text-light);
	font-weight: normal;
}

.requirement.valid {
	color: var(--success-color);
	font-weight: 500;
	background: rgba(76, 175, 80, 0.1);
}

.requirement.valid:before {
	content: "✓";
	color: var(--success-color);
	font-weight: bold;
	animation: checkmark 0.3s ease-in-out;
}

.requirement.invalid {
	color: var(--danger-color);
	font-weight: 500;
	background: rgba(244, 67, 54, 0.1);
}

.requirement.invalid:before {
	content: "✗";
	color: var(--danger-color);
	font-weight: bold;
	animation: crossmark 0.3s ease-in-out;
}

@keyframes checkmark {
	0% { transform: scale(0.8); opacity: 0.5; }
	50% { transform: scale(1.2); opacity: 1; }
	100% { transform: scale(1); opacity: 1; }
}

@keyframes crossmark {
	0% { transform: scale(0.8); opacity: 0.5; }
	50% { transform: scale(1.2); opacity: 1; }
	100% { transform: scale(1); opacity: 1; }
}

.password-strength {
	margin-top: 8px;
	font-size: 14px;
	font-weight: 600;
	padding: 8px 12px;
	border-radius: 8px;
	transition: all 0.3s ease;
	min-height: 20px;
	display: flex;
	align-items: center;
}

.password-strength:empty {
	padding: 0;
	border: none;
	background: transparent;
}

.password-strength.very-weak {
	background: linear-gradient(135deg, #ffebee, #ffcdd2);
	color: #c62828;
	border: 2px solid #ef5350;
	box-shadow: 0 2px 8px rgba(198, 40, 40, 0.2);
}

.password-strength.weak {
	background: linear-gradient(135deg, #fff3e0, #ffe0b2);
	color: #ef6c00;
	border: 2px solid #ff9800;
	box-shadow: 0 2px 8px rgba(239, 108, 0, 0.2);
}

.password-strength.fair {
	background: linear-gradient(135deg, #fff8e1, #fff176);
	color: #f57f17;
	border: 2px solid #ffeb3b;
	box-shadow: 0 2px 8px rgba(245, 127, 23, 0.2);
}

.password-strength.good {
	background: linear-gradient(135deg, #f3e5f5, #ce93d8);
	color: #7b1fa2;
	border: 2px solid #9c27b0;
	box-shadow: 0 2px 8px rgba(123, 31, 162, 0.2);
}

.password-strength.strong {
	background: linear-gradient(135deg, #e8f5e8, #a5d6a7);
	color: var(--success-color);
	border: 2px solid #4caf50;
	box-shadow: 0 2px 8px rgba(76, 175, 80, 0.2);
	animation: strongPassword 0.5s ease-in-out;
}

@keyframes strongPassword {
	0% { transform: scale(0.95); opacity: 0.8; }
	50% { transform: scale(1.02); opacity: 1; }
	100% { transform: scale(1); opacity: 1; }
}

.password-match {
	margin-top: 8px;
	font-size: 14px;
	font-weight: 500;
	padding: 8px 12px;
	border-radius: 8px;
	transition: all 0.3s ease;
	min-height: 20px;
	display: flex;
	align-items: center;
}

.password-match:empty {
	padding: 0;
	border: none;
	background: transparent;
}

.password-match.match {
	background: linear-gradient(135deg, #e8f5e8, #c8e6c9);
	color: var(--success-color);
	border: 2px solid #4caf50;
	box-shadow: 0 2px 8px rgba(76, 175, 80, 0.2);
	animation: passwordMatch 0.3s ease-in-out;
}

.password-match.no-match {
	background: linear-gradient(135deg, #ffebee, #ffcdd2);
	color: var(--danger-color);
	border: 2px solid #f44336;
	box-shadow: 0 2px 8px rgba(244, 67, 54, 0.2);
	animation: passwordNoMatch 0.3s ease-in-out;
}

@keyframes passwordMatch {
	0% { transform: scale(0.95); opacity: 0.8; }
	50% { transform: scale(1.02); opacity: 1; }
	100% { transform: scale(1); opacity: 1; }
}

@keyframes passwordNoMatch {
	0% { transform: translateX(-2px); }
	25% { transform: translateX(2px); }
	50% { transform: translateX(-2px); }
	75% { transform: translateX(2px); }
	100% { transform: translateX(0); }
}

.error-message {
	background: #ffebee;
	color: var(--danger-color);
	padding: 15px;
	border-radius: 8px;
	border: 1px solid var(--danger-color);
	margin: 20px 0;
	font-size: 14px;
}

.error-message strong {
	font-weight: 600;
}

.readonly-field {
	padding: 14px 18px;
	border: 2px solid var(--border-color);
	border-radius: 10px;
	font-size: 15px;
	background: var(--medical-gray);
	color: var(--text-dark);
	font-family: inherit;
	box-sizing: border-box;
	font-weight: 500;
}

/* Responsive Change Password Styles */
@media (max-width: 768px) {
	.change-password-container {
		padding: 30px 20px;
		margin: 20px;
	}

	.change-password-container h1 {
		font-size: 28px;
	}
}

/* Serial Database Page Styles */
.serial-database-page {
	min-height: 100vh;
	padding: 20px;
	background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
}

.serial-database-container {
	max-width: 1400px;
	margin: 0 auto;
	background: rgba(255, 255, 255, 0.98);
	border-radius: 16px;
	box-shadow: 0 20px 40px rgba(0, 102, 204, 0.15);
	backdrop-filter: blur(10px);
	border: 2px solid var(--light-blue);
	padding: 40px;
}

.serial-database-container .page-header h1 {
	font-size: 32px;
	font-weight: 700;
	margin-bottom: 12px;
	color: var(--primary-blue);
	text-align: center;
	background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.serial-database-container .page-description {
	text-align: center;
	color: var(--text-light);
	font-size: 16px;
	margin-bottom: 32px;
	line-height: 1.5;
}

/* User Database Page Styles */
.user-database-page {
	min-height: 100vh;
	padding: 20px;
	background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
}

.user-database-container {
	max-width: 1400px;
	margin: 0 auto;
	background: rgba(255, 255, 255, 0.98);
	border-radius: 16px;
	box-shadow: 0 20px 40px rgba(0, 102, 204, 0.15);
	backdrop-filter: blur(10px);
	border: 2px solid var(--light-blue);
	padding: 40px;
}

.user-database-container .page-header h1 {
	font-size: 32px;
	font-weight: 700;
	margin-bottom: 12px;
	color: var(--primary-blue);
	text-align: center;
	background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.user-database-container .page-description {
	text-align: center;
	color: var(--text-light);
	font-size: 16px;
	margin-bottom: 32px;
	line-height: 1.5;
}

/* Data Table Container */
.table-container {
	margin-top: 20px;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 8px 24px rgba(0, 102, 204, 0.1);
}

/* Medical Data Table Styles */
.medical-data-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
	background: white;
}

.medical-data-table thead th {
	background: var(--primary-blue);
	color: white;
	padding: 16px 12px;
	text-align: center;
	vertical-align: middle;
	font-weight: 600;
	font-size: 15px;
	border: none;
	position: relative;
}

/* DataTables sorting arrows */
.medical-data-table thead th.sorting::after,
.medical-data-table thead th.sorting_asc::after,
.medical-data-table thead th.sorting_desc::after {
	right: 8px;
	content: "";
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	opacity: 0.8;
}

.medical-data-table thead th.sorting::after {
	content: "↕";
}

.medical-data-table thead th.sorting_asc::after {
	content: "↑";
}

.medical-data-table thead th.sorting_desc::after {
	content: "↓";
}

.medical-data-table tbody tr:nth-child(even) {
	background: var(--medical-gray);
}

.medical-data-table tbody tr:hover {
	background: rgba(0, 102, 204, 0.05);
	transition: background-color 0.2s ease;
}

.medical-data-table tbody td {
	padding: 14px 12px;
	border-bottom: 1px solid var(--border-color);
	color: var(--text-dark);
}

/* DataTables Override Styles */
.dataTables_wrapper {
	font-family: inherit;
}

.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter,
.dataTables_wrapper .dataTables_info,
.dataTables_wrapper .dataTables_paginate {
	font-size: 14px;
	color: var(--text-dark);
	margin-bottom: 16px;
}

.dataTables_wrapper .dataTables_length select,
.dataTables_wrapper .dataTables_filter input {
	padding: 8px 12px;
	border: 2px solid var(--border-color);
	border-radius: 8px;
	font-family: inherit;
	font-size: 14px;
}

.dataTables_wrapper .dataTables_length select:focus,
.dataTables_wrapper .dataTables_filter input:focus {
	outline: none;
	border-color: var(--primary-blue);
	box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
	padding: 8px 12px;
	margin: 0 2px;
	border: 2px solid var(--border-color);
	border-radius: 6px;
	background: white;
	color: var(--primary-blue);
	cursor: pointer;
	transition: all 0.2s ease;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
	background: var(--primary-blue);
	color: white;
	border-color: var(--primary-blue);
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current {
	background: var(--primary-blue);
	color: white;
	border-color: var(--primary-blue);
}

/* Responsive Database Styles */
@media (max-width: 768px) {
	.serial-database-container,
	.user-database-container {
		padding: 20px;
		margin: 10px;
	}

	.serial-database-container .page-header h1,
	.user-database-container .page-header h1 {
		font-size: 24px;
	}

	.table-container {
		overflow-x: auto;
	}

	.medical-data-table {
		min-width: 800px;
		font-size: 12px;
	}

	.medical-data-table thead th,
	.medical-data-table tbody td {
		padding: 10px 8px;
	}
}

/* Download Page Styles */
.download-page {
	min-height: 100vh;
	padding: 20px;
	background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
}

.download-container {
	max-width: 900px;
	margin: 0 auto;
	background: rgba(255, 255, 255, 0.98);
	border-radius: 16px;
	box-shadow: 0 20px 40px rgba(0, 102, 204, 0.15);
	backdrop-filter: blur(10px);
	border: 2px solid var(--light-blue);
	padding: 40px;
}

.download-container .page-header h1 {
	font-size: 32px;
	font-weight: 700;
	margin-bottom: 8px;
	color: var(--primary-blue);
	text-align: center;
	background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.download-container .page-description {
	text-align: center;
	color: var(--text-light);
	font-size: 16px;
	margin-bottom: 32px;
	line-height: 1.5;
}

/* Download Section Styles */
.download-section {
	margin-bottom: 40px;
}

.download-section h2 {
	font-size: 24px;
	font-weight: 600;
	color: var(--primary-blue);
	margin-bottom: 20px;
	padding-bottom: 8px;
	border-bottom: 2px solid var(--light-blue);
}

.download-list {
	margin-bottom: 20px;
}

.download-list p {
	margin-bottom: 12px;
	padding: 12px;
	background: var(--medical-gray);
	border-radius: 8px;
	transition: all 0.2s ease;
}

.download-list p:hover {
	background: rgba(0, 102, 204, 0.05);
	transform: translateX(2px);
}

.download-list a {
	color: var(--primary-blue);
	text-decoration: none;
	font-weight: 500;
}

.download-list a:hover {
	color: var(--secondary-blue);
	text-decoration: underline;
}

/* Expand More Link */
.expand-btn {
	color: var(--primary-blue);
	text-decoration: none;
	font-weight: 600;
	font-size: 14px;
	padding: 8px 16px;
	border: 2px solid var(--primary-blue);
	border-radius: 6px;
	transition: all 0.2s ease;
	display: inline-block;
	margin-top: 10px;
}

.expand-btn:hover {
	background: var(--primary-blue);
	color: white;
	text-decoration: none;
}

/* Hidden Content */
.hidden-content {
	display: none;
	margin-top: 20px;
}

/* Admin Actions */
.admin-actions {
	text-align: center;
	margin-bottom: 32px;
}

.upload-link {
	display: inline-block;
	padding: 12px 24px;
	background: var(--secondary-blue);
	color: white;
	text-decoration: none;
	border-radius: 8px;
	font-weight: 600;
	transition: all 0.2s ease;
}

.upload-link:hover {
	background: var(--primary-blue);
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}

/* User Downloads */
.user-downloads {
	margin-top: 20px;
}

.no-downloads {
	text-align: center;
	padding: 40px;
	background: var(--medical-gray);
	border-radius: 12px;
	margin-top: 20px;
}

.no-downloads p {
	color: var(--text-light);
	font-size: 16px;
	margin: 0;
}

/* Responsive Download Page */
@media (max-width: 768px) {
	.download-container {
		padding: 20px;
		margin: 10px;
	}

	.download-container .page-header h1 {
		font-size: 24px;
	}

	.download-section h2 {
		font-size: 20px;
	}

	.download-list p {
		padding: 8px;
		font-size: 14px;
	}
}

.update-info-container {
	max-width: 900px;
	margin: 0 auto;
	background: rgba(255, 255, 255, 0.98);
	border-radius: 16px;
	box-shadow: 0 20px 40px rgba(0, 102, 204, 0.15);
	backdrop-filter: blur(10px);
	border: 2px solid var(--light-blue);
	padding: 40px;
}

.update-info-container .page-header h1 {
	font-size: 32px;
	font-weight: 700;
	margin-bottom: 8px;
	color: var(--primary-blue);
	text-align: center;
	background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.update-info-container .page-description {
	text-align: center;
	color: var(--text-light);
	font-size: 16px;
	margin-bottom: 32px;
	line-height: 1.5;
}

/* Update Serial Page Styles */
.update-serial-page {
	min-height: 100vh;
	padding: 20px;
	background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
}

.update-serial-container {
	max-width: 1000px;
	margin: 0 auto;
	background: rgba(255, 255, 255, 0.98);
	border-radius: 16px;
	box-shadow: 0 20px 40px rgba(0, 102, 204, 0.15);
	backdrop-filter: blur(10px);
	border: 2px solid var(--light-blue);
	padding: 40px;
}

.update-serial-container .page-header h1 {
	font-size: 32px;
	font-weight: 700;
	margin-bottom: 8px;
	color: var(--primary-blue);
	text-align: center;
	background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.serial-number {
	font-size: 24px;
	font-weight: 600;
	color: var(--primary-blue);
	text-align: center;
	margin-bottom: 8px;
}

.update-serial-container .page-description {
	text-align: center;
	color: var(--text-light);
	font-size: 16px;
	margin-bottom: 32px;
	line-height: 1.5;
}

/* Status Section Styles */
.status-section {
	margin-bottom: 40px;
}

.status-card {
	background: var(--medical-gray);
	border-radius: 12px;
	padding: 24px;
	border: 2px solid var(--border-color);
}

.status-item {
	display: flex;
	align-items: center;
	margin-bottom: 16px;
	padding: 12px 0;
	border-bottom: 1px solid var(--border-color);
}

.status-item:last-child {
	margin-bottom: 0;
	border-bottom: none;
}

.status-label {
	font-weight: 600;
	color: var(--text-dark);
	min-width: 140px;
	margin-right: 16px;
}

.status-value {
	font-weight: 500;
	color: var(--primary-blue);
	flex: 1;
}

.status-value strong {
	font-weight: 700;
}

/* API Key Container */
.api-key-container {
	display: flex;
	gap: 12px;
	align-items: stretch;
}

.api-key-container input {
	flex: 1;
}

.generate-key-btn {
	padding: 14px 18px;
	background: var(--secondary-blue);
	color: white;
	border: none;
	border-radius: 8px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s ease;
	white-space: nowrap;
}

.generate-key-btn:hover {
	background: var(--primary-blue);
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}

/* Help Text */
.help-text {
	display: block;
	margin-top: 8px;
	font-size: 12px;
	color: var(--text-light);
	font-style: italic;
}

/* Responsive Update Pages */
@media (max-width: 768px) {
	.update-info-container,
	.update-serial-container {
		padding: 20px;
		margin: 10px;
	}

	.update-info-container .page-header h1,
	.update-serial-container .page-header h1 {
		font-size: 24px;
	}

	.serial-number {
		font-size: 20px;
	}

	.status-card {
		padding: 16px;
	}

	.status-item {
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
	}

	.status-label {
		min-width: auto;
		margin-right: 0;
	}

	.api-key-container {
		flex-direction: column;
	}

	.generate-key-btn {
		align-self: flex-start;
	}
}

/* Upload Page Styles */
.upload-page {
	min-height: 100vh;
	padding: 20px;
	background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
}

.upload-container {
	max-width: 800px;
	margin: 0 auto;
	background: rgba(255, 255, 255, 0.98);
	border-radius: 16px;
	box-shadow: 0 20px 40px rgba(0, 102, 204, 0.15);
	backdrop-filter: blur(10px);
	border: 2px solid var(--light-blue);
	padding: 40px;
}

.upload-container .page-header h1 {
	font-size: 32px;
	font-weight: 700;
	margin-bottom: 12px;
	color: var(--primary-blue);
	text-align: center;
	background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.upload-container .page-description {
	text-align: center;
	color: var(--text-light);
	font-size: 16px;
	margin-bottom: 32px;
	line-height: 1.5;
}

/* Report Page Styles */
.report-page {
	min-height: 100vh;
	padding: 20px;
	background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
}

.report-container {
	max-width: 1400px;
	margin: 0 auto;
	background: rgba(255, 255, 255, 0.98);
	border-radius: 16px;
	box-shadow: 0 20px 40px rgba(0, 102, 204, 0.15);
	backdrop-filter: blur(10px);
	border: 2px solid var(--light-blue);
	padding: 40px;
}

.report-container .page-header h1 {
	font-size: 32px;
	font-weight: 700;
	margin-bottom: 12px;
	color: var(--primary-blue);
	text-align: center;
	background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.report-meta {
	text-align: center;
	margin-bottom: 12px;
}

.report-meta h2 {
	font-size: 20px;
	font-weight: 600;
	color: var(--primary-blue);
	margin: 4px 0;
}

.report-container .page-description {
	text-align: center;
	color: var(--text-light);
	font-size: 16px;
	margin-bottom: 32px;
	line-height: 1.5;
}

/* Table Link Styles */
.table-link {
	color: var(--primary-blue);
	text-decoration: none;
	font-weight: 500;
	transition: all 0.2s ease;
}

.table-link:hover {
	color: var(--secondary-blue);
	text-decoration: underline;
}

/* Responsive Upload and Report Styles */
@media (max-width: 768px) {
	.upload-container,
	.report-container {
		padding: 20px;
		margin: 10px;
	}

	.upload-container .page-header h1,
	.report-container .page-header h1 {
		font-size: 24px;
	}

	.report-meta h2 {
		font-size: 18px;
	}
}

/* Assigned Serials Page Styles */
.assigned-serials-page {
	min-height: 100vh;
	padding: 20px;
	background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
}

.assigned-serials-container {
	max-width: 1000px;
	margin: 0 auto;
	background: rgba(255, 255, 255, 0.98);
	border-radius: 16px;
	box-shadow: 0 20px 40px rgba(0, 102, 204, 0.15);
	backdrop-filter: blur(10px);
	border: 2px solid var(--light-blue);
	padding: 40px;
}

.assigned-serials-container .page-header h1 {
	font-size: 32px;
	font-weight: 700;
	margin-bottom: 12px;
	color: var(--primary-blue);
	text-align: center;
	background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.assigned-serials-container .page-description {
	text-align: center;
	color: var(--text-light);
	font-size: 16px;
	margin-bottom: 32px;
	line-height: 1.5;
}

/* Status Badges */
.status-badge {
	display: inline-block;
	padding: 4px 12px;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.status-badge.active {
	background: var(--success-color);
	color: white;
}

.status-badge.inactive {
	background: var(--error-color);
	color: white;
}

/* No Data Cell */
.no-data {
	text-align: center;
	color: var(--text-light);
	font-style: italic;
	padding: 20px;
}

/* Serial Info Page Styles */
.serial-info-page {
	min-height: 100vh;
	padding: 20px;
	background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
}

.serial-info-container {
	max-width: 1200px;
	margin: 0 auto;
	background: rgba(255, 255, 255, 0.98);
	border-radius: 16px;
	box-shadow: 0 20px 40px rgba(0, 102, 204, 0.15);
	backdrop-filter: blur(10px);
	border: 2px solid var(--light-blue);
	padding: 40px;
}

.serial-info-container .page-header h1 {
	font-size: 32px;
	font-weight: 700;
	margin-bottom: 8px;
	color: var(--primary-blue);
	text-align: center;
	background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.serial-title {
	font-size: 24px;
	font-weight: 600;
	color: var(--primary-blue);
	text-align: center;
	margin-bottom: 8px;
}

.serial-title .edit-link {
	font-size: 16px;
	margin-left: 12px;
}

.serial-info-container .page-description {
	text-align: center;
	color: var(--text-light);
	font-size: 16px;
	margin-bottom: 32px;
	line-height: 1.5;
}

/* History and Notes Sections */
.history-section,
.notes-section {
	margin-top: 40px;
}

.history-section h2,
.notes-section h2,
.notes-section h3 {
	color: var(--primary-blue);
	font-size: 24px;
	margin-bottom: 20px;
}

/* Notes Styles */
.note-item {
	background: var(--medical-gray);
	border-radius: 8px;
	padding: 16px;
	margin-bottom: 12px;
	border-left: 4px solid var(--primary-blue);
}

.note-item strong {
	color: var(--primary-blue);
	font-weight: 600;
}

.no-notes {
	text-align: center;
	color: var(--text-light);
	font-style: italic;
	padding: 20px;
}

/* Responsive Serial Info Styles */
@media (max-width: 768px) {
	.serial-info-container {
		padding: 20px;
		margin: 10px;
	}

	.serial-info-container .page-header h1 {
		font-size: 24px;
	}

	.serial-title {
		font-size: 20px;
	}

	.history-section h2,
	.notes-section h2,
	.notes-section h3 {
		font-size: 20px;
	}
}

/* Flash Messages */
.flash-message {
	padding: 12px 16px;
	margin-bottom: 20px;
	border-radius: 4px;
	font-weight: bold;
}

.flash-message.error {
	background-color: #f8d7da;
	color: #721c24;
	border: 1px solid #f5c6cb;
}

.flash-message.success {
	background-color: #d4edda;
	color: #155724;
	border: 1px solid #c3e6cb;
}

/* Field Help Text */
.field-help {
	display: block;
	margin-top: 4px;
	font-size: 0.85em;
	color: #666;
	font-style: italic;
}

/* Audit History Section */
.audit-history {
	background: white;
	border-radius: 8px;
	padding: 24px;
	margin-bottom: 30px;
	box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.audit-history h2 {
	margin-top: 0;
	margin-bottom: 10px;
	padding-bottom: 10px;
	border-bottom: 2px solid var(--accent-blue);
}

.audit-history .section-description {
	color: var(--text-light);
	font-size: 14px;
	margin-bottom: 20px;
}

.audit-table {
	width: 100%;
	border-collapse: collapse;
	margin-top: 20px;
	font-size: 14px;
}

.audit-table th,
.audit-table td {
	padding: 10px 12px;
	text-align: left;
	border-bottom: 1px solid var(--border-color);
}

.audit-table th {
	background: var(--primary-blue);
	color: white;
	font-weight: 600;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.audit-table tr:nth-child(even) {
	background-color: #f8f9fa;
}

.audit-table tr:hover {
	background-color: var(--light-blue);
}

.action-badge {
	display: inline-block;
	padding: 4px 8px;
	border-radius: 4px;
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.action-create {
	background-color: #d4edda;
	color: #155724;
}

.action-update {
	background-color: #cce5ff;
	color: #004085;
}

.action-delete {
	background-color: #f8d7da;
	color: #721c24;
}

.no-data {
	text-align: center;
	color: var(--text-light);
	font-style: italic;
	padding: 40px 20px;
}

/* Modal Styles */
.modal {
	position: fixed;
	z-index: 1000;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
	background-color: white;
	margin: 5% auto;
	padding: 0;
	width: 90%;
	max-width: 800px;
	border-radius: 8px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
	max-height: 80vh;
	overflow-y: auto;
}

.modal-header {
	padding: 20px 24px;
	border-bottom: 1px solid var(--border-color);
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.modal-header h3 {
	margin: 0;
	color: var(--primary-blue);
}

.modal-close {
	background: none;
	border: none;
	font-size: 28px;
	cursor: pointer;
	color: var(--text-light);
	padding: 0;
	width: 30px;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	transition: all 0.3s ease;
}

.modal-close:hover {
	background-color: var(--light-blue);
	color: var(--primary-blue);
}

.modal-body {
	padding: 24px;
}

.audit-detail-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}

.detail-group {
	background: var(--medical-gray);
	padding: 16px;
	border-radius: 6px;
	border-left: 4px solid var(--primary-blue);
}

.detail-group h4 {
	margin: 0 0 12px 0;
	color: var(--primary-blue);
	font-size: 16px;
	font-weight: 600;
}

.detail-group p {
	margin: 8px 0;
	line-height: 1.4;
}

.detail-group p strong {
	color: var(--text-dark);
}

.detail-group.full-width {
	grid-column: 1 / -1;
}

.json-data {
	background: #f8f9fa;
	border: 1px solid var(--border-color);
	border-radius: 4px;
	padding: 12px;
	font-family: 'Courier New', monospace;
	font-size: 12px;
	line-height: 1.4;
	color: var(--text-dark);
	white-space: pre-wrap;
	word-break: break-all;
	max-height: 300px;
	overflow-y: auto;
}

.endpoint-name {
	color: var(--text-light);
	font-weight: normal;
}

/* Admin Pages */
.admin-page {
	max-width: 1200px;
	margin: 0 auto;
	padding: 20px;
}

.admin-page .page-header {
	margin-bottom: 30px;
	text-align: center;
}

.admin-page .page-header h1 {
	margin-bottom: 10px;
}

.admin-page .page-description {
	color: var(--text-light);
	font-size: 16px;
}

.endpoint-form, .endpoint-list {
	background: white;
	border-radius: 8px;
	padding: 24px;
	margin-bottom: 30px;
	box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.endpoint-form h2, .endpoint-list h2 {
	margin-top: 0;
	margin-bottom: 20px;
	padding-bottom: 10px;
	border-bottom: 2px solid var(--accent-blue);
}

.form-actions {
	margin-top: 24px;
	padding-top: 20px;
	border-top: 1px solid var(--border-color);
	display: flex;
	gap: 12px;
	align-items: center;
}

.form-row {
	display: flex;
	gap: 20px;
	margin-bottom: 16px;
}

.form-row .form-group {
	flex: 1;
	min-width: 200px;
}

.checkbox-label {
	display: flex;
	align-items: center;
	gap: 8px;
	font-weight: 500;
	cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
	margin: 0;
}

.table {
	width: 100%;
	border-collapse: collapse;
	margin-top: 20px;
}

.table th, .table td {
	padding: 12px;
	text-align: left;
	border-bottom: 1px solid var(--border-color);
}

.table th {
	background-color: var(--medical-gray);
	font-weight: 600;
	color: var(--text-dark);
}

.table tr:hover {
	background-color: var(--light-blue);
}

.flash-message {
	padding: 12px 16px;
	border-radius: 4px;
	margin-bottom: 20px;
	font-weight: 500;
}

.flash-message.error {
	background-color: #f8d7da;
	color: #721c24;
	border: 1px solid #f5c6cb;
}

.flash-message.success {
	background-color: #d4edda;
	color: #155724;
	border: 1px solid #c3e6cb;
}
/* ========================================
 * Fine-Tuning Export Page Styles
 * ======================================== */

.fine-tuning-export-container {
width: 100%;
max-width: 100%;
}

.fine-tuning-export-container .page-header h1 {
color: var(--dark-blue);
margin-bottom: 8px;
}

.fine-tuning-export-container .page-description {
color: var(--text-light);
font-size: 16px;
margin-bottom: 30px;
}

/* Statistics Grid - matching medai_api_audit style */
.fine-tuning-export-container .stats-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 20px;
margin-bottom: 30px;
}

/* Shared card styling for stat-card and analysis-card */
.fine-tuning-export-container .stat-card,
.fine-tuning-export-container .analysis-card {
background: white;
padding: 20px;
border-radius: 8px;
box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.fine-tuning-export-container .stat-card {
text-align: center;
}

.fine-tuning-export-container .analysis-card {
border: 1px solid var(--border-color);
}

.fine-tuning-export-container .stat-value {
font-size: 32px;
font-weight: bold;
color: var(--primary-blue);
margin-bottom: 5px;
}

.fine-tuning-export-container .stat-label {
color: var(--text-light);
font-size: 14px;
text-transform: uppercase;
letter-spacing: 0.5px;
margin: 0;
}

.fine-tuning-export-container .analysis-card h4 {
color: var(--dark-blue);
font-size: 16px;
margin-bottom: 15px;
}

/* Tab Navigation Styling */
.fine-tuning-export-container .nav-tabs {
border-bottom: 2px solid #dee2e6;
margin-bottom: 0;
display: flex;
flex-wrap: wrap;
list-style: none;
padding-left: 0;
background: white;
border-radius: 4px 4px 0 0;
}

.fine-tuning-export-container .nav-tabs .nav-item {
margin-bottom: -2px;
list-style: none;
}

.fine-tuning-export-container .nav-tabs .nav-link {
color: #495057;
border: 1px solid transparent;
border-bottom: 3px solid transparent;
padding: 12px 20px;
font-weight: 500;
cursor: pointer;
transition: all 0.3s ease;
background-color: transparent;
border-radius: 0;
display: inline-block;
text-decoration: none;
}

.fine-tuning-export-container .nav-tabs .nav-link:hover {
color: #0056b3;
border-bottom-color: #0056b3;
background-color: rgba(0, 86, 179, 0.05);
}

.fine-tuning-export-container .nav-tabs .nav-link.active {
color: white;
background-color: var(--primary-blue);
border-color: var(--primary-blue);
border-bottom: 3px solid var(--primary-blue);
}

/* Tab Content Styling */
.fine-tuning-export-container .tab-content {
background-color: white;
padding: 30px;
border: 1px solid #dee2e6;
border-top: none;
border-radius: 0 0 4px 4px;
min-height: 200px;
box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.fine-tuning-export-container .tab-content-wrapper {
background: white;
padding: 0;
}

/* Remove horizontal margins from all direct children */
.fine-tuning-export-container .tab-content-wrapper > *,
.fine-tuning-export-container .form-group,
.fine-tuning-export-container .button-group,
.fine-tuning-export-container .result-section {
margin-left: 0;
margin-right: 0;
}

.fine-tuning-export-container .tab-content-wrapper h3 {
color: var(--primary-blue);
font-size: 20px;
margin-bottom: 15px;
margin-top: 0;
border-bottom: 2px solid var(--primary-blue);
padding-bottom: 10px;
}

.fine-tuning-export-container .tab-pane {
display: none !important;
visibility: hidden;
opacity: 0;
}

.fine-tuning-export-container .tab-pane.active {
display: block !important;
visibility: visible;
opacity: 1;
}

.fine-tuning-export-container .tab-pane.fade {
transition: opacity 0.15s linear;
opacity: 0;
}

.fine-tuning-export-container .tab-pane.fade.active {
opacity: 1;
}

/* Card Styling */
.card {
border: 1px solid var(--border-color);
border-radius: 4px;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
margin-bottom: 20px;
}

.card-header {
background-color: #f8f9fa;
border-bottom: 1px solid #dee2e6;
padding: 15px 20px;
font-weight: 600;
}

.card-header.bg-primary {
background-color: #007bff !important;
color: white !important;
}

.card-body {
padding: 20px;
}

.card-header h5 {
margin: 0;
font-size: 1rem;
color: var(--dark-blue);
}

/* Force white text on primary background headers */
.card-header.bg-primary h5,
.card-header.bg-primary.text-white h5,
.bg-primary .card-header h5 {
color: white !important;
}

/* Text utility class */
.text-white,
.text-white * {
color: white !important;
}

/* Form Group Styling */
.fine-tuning-export-container .form-group {
margin-bottom: 20px;
}

.fine-tuning-export-container .form-group label {
font-weight: 600;
margin-bottom: 8px;
display: block;
color: #333;
}

.fine-tuning-export-container .form-group small {
display: block;
margin-top: 5px;
color: #6c757d;
font-size: 0.875rem;
}

/* Form Control Styling - Override for proper dropdown display */
.fine-tuning-export-container .form-control,
.fine-tuning-export-container select.form-control,
.fine-tuning-export-container input.form-control {
display: block;
width: 100%;
padding: 10px 14px;
font-size: 1rem;
font-weight: 400;
line-height: 1.5;
color: #495057;
background-color: #fff;
background-clip: padding-box;
border: 1px solid #ced4da;
border-radius: 0.25rem;
transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
box-sizing: border-box;
max-width: 100%;
height: auto;
}

.fine-tuning-export-container .form-control:focus {
color: #495057;
background-color: #fff;
border-color: #80bdff;
outline: 0;
box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.fine-tuning-export-container .form-control option {
padding: 8px 12px;
overflow: visible;
white-space: normal;
line-height: 1.5;
}

/* Button Styling */
.fine-tuning-export-container .button-group {
display: flex;
gap: 10px;
margin-top: 25px;
flex-wrap: wrap;
align-items: center;
}

.fine-tuning-export-container .btn {
padding: 10px 20px;
font-weight: 500;
border-radius: 4px;
transition: all 0.3s ease;
border: none;
cursor: pointer;
display: inline-block;
text-align: center;
line-height: 1.5;
font-size: 1rem;
}

.fine-tuning-export-container .btn:hover {
transform: translateY(-1px);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.fine-tuning-export-container .btn-primary {
background-color: #007bff;
color: white;
}

.fine-tuning-export-container .btn-primary:hover {
background-color: #0056b3;
}

.fine-tuning-export-container .btn-success {
background-color: #28a745;
color: white;
}

.fine-tuning-export-container .btn-success:hover {
background-color: #218838;
}

.fine-tuning-export-container .btn-danger {
background-color: #dc3545;
color: white;
}

.fine-tuning-export-container .btn-danger:hover {
background-color: #c82333;
}

/* Result Section Styling */
.fine-tuning-export-container .result-section {
clear: both;
width: 100%;
padding-top: 20px;
border-top: 2px solid #dee2e6;
margin-top: 30px;
}

.fine-tuning-export-container .result-section.hidden {
display: none !important;
}

.fine-tuning-export-container .result-section.show {
display: block !important;
}

.fine-tuning-export-container .result-section h6 {
font-weight: 600;
margin-bottom: 15px;
color: #333;
}

.fine-tuning-export-container .result-section code {
background-color: #f8f9fa;
padding: 2px 6px;
border-radius: 3px;
font-family: 'Courier New', monospace;
}

.fine-tuning-export-container .result-section pre {
background-color: #f8f9fa;
padding: 15px;
border-radius: 4px;
border: 1px solid #dee2e6;
max-height: 400px;
color: var(--dark-blue);
overflow-y: auto;
font-size: 0.875rem;
line-height: 1.4;
}

/* Alert Styling */
.alert {
padding: 12px 20px;
margin-bottom: 20px;
border: 1px solid transparent;
border-radius: 4px;
}

.alert-info {
color: #0c5460;
background-color: #d1ecf1;
border-color: #bee5eb;
}

.alert-warning {
color: #856404;
background-color: #fff3cd;
border-color: #ffeeba;
}

.alert-success {
color: #155724;
background-color: #d4edda;
border-color: #c3e6cb;
}

.alert-danger {
color: #721c24;
background-color: #f8d7da;
border-color: #f5c6cb;
}

.alert strong {
font-weight: 600;
}

/* Table Styling */
.table {
width: 100%;
border-collapse: collapse;
margin: 20px 0;
}

.table thead {
background-color: #f8f9fa;
border-bottom: 2px solid #dee2e6;
}

.table thead th {
padding: 12px 15px;
font-weight: 600;
text-align: left;
border-bottom: 2px solid #dee2e6;
font-size: 0.875rem;
text-transform: uppercase;
letter-spacing: 0.5px;
}

.table tbody tr {
border-bottom: 1px solid #dee2e6;
transition: background-color 0.2s ease;
}

.table tbody tr:hover {
background-color: rgba(0, 123, 255, 0.05);
}

.table tbody td {
padding: 12px 15px;
font-size: 0.875rem;
}

.table-striped tbody tr:nth-of-type(odd) {
background-color: rgba(0, 0, 0, 0.02);
}

.table-hover tbody tr:hover {
background-color: rgba(0, 123, 255, 0.05);
}

/* Badge Styling */
.badge {
display: inline-block;
padding: 4px 8px;
font-size: 0.75rem;
font-weight: 600;
border-radius: 3px;
text-transform: uppercase;
letter-spacing: 0.5px;
}

.badge-info {
background-color: #17a2b8;
color: white;
}

.badge-success {
background-color: #28a745;
color: white;
}

.badge-warning {
background-color: #ffc107;
color: #333;
}

.badge-danger {
background-color: #dc3545;
color: white;
}

.badge-secondary {
background-color: #6c757d;
color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
.button-group {
flex-direction: column;
}

.btn {
width: 100%;
}

.nav-tabs {
flex-direction: column;
}

.nav-tabs .nav-link {
border-bottom: 2px solid transparent;
border-left: 4px solid transparent;
width: 100%;
}

.nav-tabs .nav-link.active {
border-left: 4px solid #007bff;
border-bottom: 2px solid transparent;
}
}
