/* General Styling */
body {
	font-family: Arial, sans-serif;
	margin: 0;
	padding: 0;
}

/* Header Styling */
.header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	background-color: #006580;
	padding: 10px 20px;
	color: white;
	flex-wrap: wrap;
	/* Allows wrapping for smaller screens */
}

.header .title {
	font-size: 1.3em;
	font-weight: bold;
}

.title {
	padding-left: 90px;
	padding-right: 90px;
}

.header .admin-info {
	display: flex;
	align-items: center;
	margin-top: 10px;
	/* Added space for smaller layouts */
}

.admin-info img {
	width: 30px;
	height: 30px;
	margin-right: 10px;
	border-radius: 50%;
}

/* Navbar Styling */
.navbar {
	background-color: #006580;
	margin-top: 5px;
	padding: 10px 20px;
	display: flex;
	justify-content: flex-start;
	align-items: center;
	flex-wrap: wrap;
	/* padding-bottom: 0px; */
	/* Allows wrapping on smaller screens */
}

.nav-list {
	display: flex;
	margin-bottom: 0px;
	/* gap: 15px; */
	flex-wrap: wrap;
	/* Ensures items stack on smaller screens */
}

.nav-list li {
	position: relative;
	list-style-type: none;
}

.nav-list a {
	color: white;
	font-size: 1rem;
	padding: 8px 15px;
	border-radius: 3px;
	transition: background-color 0.3s ease;
	text-decoration: none;
}

.active a {
	background-color: rgba(255, 255, 255, 0.2) !important;
}


.nav-list a:hover {
	background-color: rgba(255, 255, 255, 0.2) !important;
}

/* Dropdown Styling */
.navbar .dropdown {
	position: relative;
}

.dropdown-content {
	display: none;
	position: absolute;
	background-color: #f9f9f9;
	min-width: 160px;
	box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
	z-index: 1;
}

.dropdown-content a {
	color: black;
	padding: 12px 16px;
	text-decoration: none;
	display: block;
}

.dropdown-content a:hover {
	background-color: #ddd;
}

.dropdown:hover .dropdown-content {
	display: block;
}

/* Filters Row Styling */
.filters {
	display: flex;
	/* justify-content: space-between; */
	align-items: center;
	padding: 10px 20px;
	background-color: #f9f9f9;
	border-bottom: 1px solid #ccc;
	gap: 10px;
	flex-wrap: wrap;

}

.filters select,
.filters button {
	flex: 1;
	max-width: 165px;
	padding: 8px;
	font-size: 1em;
	border: 1px solid #ccc;
	border-radius: 5px;
}

button {
	cursor: pointer;
	background-color: #006580;
	color: white;
	border: none;
	border-radius: 5px;
}

button:hover {
	background-color: #0056b3;
}

/* Card Styling */
.card {
	border: none;
	box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.3);
}

.card-header {
	background-color: #006580;
	color: white;
	padding: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
	.header {
		flex-direction: column;
		/* Stack header elements */
		align-items: flex-start;
	}

	.title {
		padding-left: 0;
		padding-right: 0;
	}

	.filters {
		flex-direction: column;
		/* Stack filter elements */
		align-items: stretch;
	}

	.filters select,
	.filters input[type="date"],
	.filters button {
		max-width: 100%;
		/* Full width on smaller screens */
	}

	.navbar {
		justify-content: center;
		/* Center navbar links */
	}

	.nav-list {
		flex-direction: column;
		/* Stack nav links */
		align-items: flex-start;
	}

	.card {
		margin-bottom: 20px;
		/* Add spacing between cards */
	}

	.row {
		flex-direction: column;
		/* Stack rows vertically */
	}

	.col {
		margin-bottom: 20px;
		/* Add spacing between columns */
	}
}

@media (max-width: 480px) {
	h4 {
		font-size: 1rem;
		/* Reduce font size for small screens */
	}

	.nav-list a {
		font-size: 0.9rem;
		/* Adjust nav link size */
	}

	.filters {
		padding: 10px 10px;
	}
}

@media (max-width: 768px) {
	.row {
		flex-direction: initial !important;
	}
}