:root {
	--primary: #1a5f7a;
	--primary-dark: #0d3b4f;
	--secondary: #2a9d8f;
	--accent: #e9c46a;
	--danger: #e76f51;
	--light: #f8f9fa;
	--dark: #264653;
	--gray: #5f6368;
	--light-gray: #dadce0;
	--white: #ffffff;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	background-color: #f5f7fa;
	color: var(--dark);
	line-height: 1.6;
	font-family: "Hind Siliguri", "Noto Sans Bengali", sans-serif;
}

.container {
	width: 90%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 15px;
}

/* Header Styles */
header {
	background: rgba(255, 255, 255, 0.95);
	box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
	position: sticky;
	top: 0;
	z-index: 1000;
	backdrop-filter: blur(10px);
}

.navbar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 18px 0;
}

.logo {
	display: flex;
	align-items: center;
}

.logo i {
	color: var(--primary);
	font-size: 2.2rem;
	margin-right: 12px;
}

.logo-text {
	font-size: 1.6rem;
	font-weight: 700;
	color: var(--primary);
	letter-spacing: -0.5px;
}

.nav-links {
	display: flex;
	list-style: none;
}

.nav-links li {
	margin-left: 25px;
	position: relative;
}

.nav-links a {
	text-decoration: none;
	color: var(--dark);
	font-weight: 600;
	transition: color 0.3s;
	font-size: 1.05rem;
	position: relative;
	display: flex;
	align-items: center;
	gap: 5px;
}

.nav-links a::after {
	content: "";
	position: absolute;
	bottom: -5px;
	left: 0;
	width: 0;
	height: 2px;
	background: var(--primary);
	transition: width 0.3s;
}

.nav-links a:hover::after {
	width: 100%;
}

.nav-links a:hover {
	color: var(--primary);
}

.mobile-menu {
	display: none;
	font-size: 1.5rem;
	cursor: pointer;
	color: var(--primary);
}

/* Main Content Styles */
.main-content {
	min-height: calc(100vh - 200px);
	padding: 60px 0;
}

.page-title {
	text-align: center;
	margin-bottom: 40px;
	color: var(--primary-dark);
	font-size: 2.2rem;
	position: relative;
	font-weight: 700;
}

.page-title::after {
	content: "";
	display: block;
	width: 100px;
	height: 4px;
	background: var(--secondary);
	margin: 15px auto;
	border-radius: 2px;
}

.page-subtitle {
	text-align: center;
	max-width: 700px;
	margin: 0 auto 40px;
	color: var(--gray);
	font-size: 1.1rem;
}

/* Search Section */
.search-section {
	background: white;
	border-radius: 15px;
	padding: 40px;
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
	margin-bottom: 40px;
}

.search-form {
	max-width: 600px;
	margin: 0 auto;
}

.form-group {
	margin-bottom: 25px;
}

.form-group label {
	display: block;
	margin-bottom: 8px;
	font-weight: 500;
	color: var(--dark);
	font-size: 1.1rem;
}

.form-control {
	width: 100%;
	padding: 14px 16px;
	border: 1px solid var(--light-gray);
	border-radius: 6px;
	font-size: 1rem;
	transition: border 0.3s;
	font-family: "Hind Siliguri", "Noto Sans Bengali", sans-serif;
}

.form-control:focus {
	border-color: var(--primary);
	outline: none;
	box-shadow: 0 0 0 3px rgba(26, 95, 122, 0.1);
}

.radio-group {
	display: flex;
	gap: 20px;
	margin-top: 10px;
}

.radio-option {
	display: flex;
	align-items: center;
	gap: 8px;
}

.radio-option input {
	margin-right: 5px;
}

.btn {
	display: inline-block;
	padding: 14px 28px;
	background: var(--primary);
	color: white;
	border: none;
	border-radius: 6px;
	cursor: pointer;
	font-size: 1rem;
	font-weight: 600;
	text-decoration: none;
	transition: all 0.3s ease;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	font-family: "Hind Siliguri", "Noto Sans Bengali", sans-serif;
}

.btn:hover {
	background: var(--primary-dark);
	transform: translateY(-3px);
	box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.btn-block {
	display: block;
	width: 100%;
	text-align: center;
}

/* Results Section */
.results-section {
	background: white;
	border-radius: 15px;
	padding: 40px;
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
	display: none;
}

.results-title {
	font-size: 1.5rem;
	color: var(--primary-dark);
	margin-bottom: 25px;
	border-bottom: 2px solid var(--light-gray);
	padding-bottom: 10px;
}

.patient-info {
	background: var(--light);
	border-radius: 10px;
	padding: 25px;
	margin-bottom: 30px;
}

.info-row {
	display: flex;
	margin-bottom: 12px;
}

.info-label {
	font-weight: 600;
	width: 180px;
	color: var(--dark);
}

.info-value {
	color: var(--gray);
}

.report-list {
	margin-bottom: 30px;
}

.report-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 18px 20px;
	border-bottom: 1px solid var(--light-gray);
	transition: background 0.3s;
}

.report-item:hover {
	background: var(--light);
}

.report-info h4 {
	color: var(--primary-dark);
	margin-bottom: 5px;
}

.report-info p {
	color: var(--gray);
	font-size: 0.9rem;
}

.report-actions {
	display: flex;
	gap: 10px;
}

.btn-outline {
	background: transparent;
	border: 2px solid var(--primary);
	color: var(--primary);
	padding: 8px 16px;
	font-size: 0.9rem;
}

.btn-outline:hover {
	background: var(--primary);
	color: white;
}

.btn-danger {
	background: var(--danger);
	border: 2px solid var(--danger);
}

.btn-danger:hover {
	background: #d65a3e;
	border-color: #d65a3e;
}

/* Alert Styles */
.alert {
	padding: 15px 20px;
	border-radius: 8px;
	margin-bottom: 25px;
	display: flex;
	align-items: center;
	gap: 12px;
}

.alert-danger {
	background: rgba(231, 111, 81, 0.1);
	border: 1px solid rgba(231, 111, 81, 0.3);
	color: var(--danger);
}

.alert-success {
	background: rgba(42, 157, 143, 0.1);
	border: 1px solid rgba(42, 157, 143, 0.3);
	color: var(--secondary);
}

.alert i {
	font-size: 1.2rem;
}

/* Footer */
footer {
	background: var(--dark);
	color: white;
	padding: 50px 0 20px;
}

.footer-content {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 40px;
	margin-bottom: 40px;
}

.footer-column h3 {
	margin-bottom: 25px;
	font-size: 1.4rem;
	position: relative;
	padding-bottom: 12px;
}

.footer-column h3::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 50px;
	height: 3px;
	background: var(--secondary);
}

.footer-links {
	list-style: none;
}

.footer-links li {
	margin-bottom: 12px;
}

.footer-links a {
	color: #bdc1c6;
	text-decoration: none;
	transition: color 0.3s;
}

.footer-links a:hover {
	color: white;
}

.contact-info {
	display: flex;
	align-items: center;
	margin-bottom: 18px;
}

.contact-info i {
	margin-right: 12px;
	color: var(--secondary);
	width: 20px;
}

.footer-bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-top: 25px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright {
	color: #bdc1c6;
	font-size: 0.95rem;
}

.developer-credit a {
	color: var(--accent);
	text-decoration: none;
	font-weight: 600;
	transition: color 0.3s;
}

.developer-credit a:hover {
	color: white;
	text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 768px) {
	.nav-links {
		display: none;
		position: absolute;
		top: 80px;
		left: 0;
		width: 100%;
		background: white;
		flex-direction: column;
		box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
		padding: 25px 0;
	}

	.nav-links.active {
		display: flex;
	}

	.nav-links li {
		margin: 0;
		text-align: center;
		padding: 12px 0;
	}

	.mobile-menu {
		display: block;
	}

	.search-section,
	.results-section {
		padding: 30px 25px;
	}

	.info-row {
		flex-direction: column;
		margin-bottom: 15px;
	}

	.info-label {
		width: 100%;
		margin-bottom: 5px;
	}

	.report-item {
		flex-direction: column;
		align-items: flex-start;
		gap: 15px;
	}

	.report-actions {
		width: 100%;
		justify-content: flex-end;
	}

	.footer-bottom {
		flex-direction: column;
		text-align: center;
		gap: 15px;
	}
}

@media (max-width: 576px) {
	.radio-group {
		flex-direction: column;
		gap: 10px;
	}

	.page-title {
		font-size: 1.8rem;
	}

	.search-section,
	.results-section {
		padding: 25px 20px;
	}
}
