body {
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	margin: 0;
	padding: 20px;
	background-color: #f0f2f5;
	color: #333;
	line-height: 1.6;
}

.container {
	max-width: 900px;
	margin: 30px auto;
	background-color: #ffffff;
	padding: 30px;
	border-radius: 12px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

h1,
h2,
h3 {
	color: #2c3e50;
	margin-bottom: 20px;
	text-align: center;
}

/* Form and Input styles */
.input-group {
	margin-bottom: 15px;
}

.input-group label {
	display: block;
	margin-bottom: 8px;
	font-weight: bold;
	color: #555;
}

.input-group input[type='text'],
.input-group input[type='password'],
.input-group input[type='date'],
.input-group textarea {
	width: calc(100% - 20px);
	padding: 12px 10px;
	border: 1px solid #ccc;
	border-radius: 6px;
	font-size: 1em;
	box-sizing: border-box;
}

/* Buttons */
button {
	padding: 12px 20px;
	border: none;
	border-radius: 6px;
	background-color: #007bff;
	color: white;
	font-size: 1em;
	cursor: pointer;
	transition: background-color 0.3s ease;
	margin-right: 10px;
}

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

button.secondary-btn {
	background-color: #6c757d;
}

button.secondary-btn:hover {
	background-color: #545b62;
}

button.delete-btn {
	background-color: #dc3545;
}

button.delete-btn:hover {
	background-color: #c82333;
}

button:last-child {
	margin-right: 0;
}

/* Messages */
.message {
	padding: 10px;
	margin-top: 15px;
	border-radius: 6px;
	text-align: center;
}

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

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

/* Table styles */
table {
	width: 100%;
	border-collapse: collapse;
	margin-top: 25px;
	background-color: #fff;
	border-radius: 8px;
	overflow: hidden; /* For rounded corners on table */
}

th,
td {
	padding: 15px;
	text-align: left;
	border-bottom: 1px solid #eee;
}

th {
	background-color: #e9ecef;
	font-weight: bold;
	color: #495057;
	text-transform: uppercase;
	font-size: 0.9em;
}

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

tbody tr:hover {
	background-color: #f8f9fa;
}

/* Dashboard Header */
.dashboard-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 20px;
	flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.dashboard-header h2 {
	margin: 0;
	text-align: left; /* Align to left in header */
	flex-grow: 1; /* Allow title to take space */
}

.dashboard-header button {
	margin-left: 10px; /* Space between buttons */
}

/* Modal styles */
.modal {
	display: none; /* Hidden by default */
	position: fixed; /* Stay in place */
	z-index: 1000; /* Sit on top */
	left: 0;
	top: 0;
	width: 100%; /* Full width */
	height: 100%; /* Full height */
	overflow: auto; /* Enable scroll if needed */
	background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
	justify-content: center; /* Center horizontally */
	align-items: center; /* Center vertically */
}

.modal-content {
	background-color: #fefefe;
	margin: auto; /* For older browsers */
	padding: 30px;
	border: 1px solid #888;
	width: 80%; /* Could be responsive */
	max-width: 500px;
	border-radius: 12px;
	position: relative;
	box-shadow: 0 4px 25px rgba(0, 0, 0, 0.15);
}

.close-button {
	color: #aaa;
	float: right;
	font-size: 32px;
	font-weight: bold;
	position: absolute;
	top: 10px;
	right: 20px;
	cursor: pointer;
}

.close-button:hover,
.close-button:focus {
	color: #333;
	text-decoration: none;
	cursor: pointer;
}

/* Utility classes */
.hidden {
	display: none;
}
