/* Reset and base styles */
* {
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
	box-sizing: border-box;
}

/* Layout container for sidebar layout */
.layout-container {
	display: flex;
	min-height: 100vh;
}

/* Left sidebar navigation */
.navigation {
	background-color: #2c3e50;
	color: #fff;
	width: 250px;
	flex-shrink: 0;
	display: flex;
	flex-direction: column;
	box-shadow: 2px 0 5px rgba(0,0,0,0.1);
}

.nav-header {
	padding: 1.5rem 1rem;
	border-bottom: 1px solid #34495e;
	text-align: center;
}

.nav-header h3 {
	margin: 0;
	color: #fff;
	font-size: 1.25rem;
	font-weight: 600;
}

.nav-menu {
	display: flex;
	flex-direction: column;
	padding: 1rem 0;
}

.nav-item {
	display: block;
	padding: 0.75rem 1.5rem;
	color: #ecf0f1;
	text-decoration: none;
	transition: all 0.3s ease;
	border-left: 3px solid transparent;
}

.nav-item:hover {
	background-color: #34495e;
	border-left-color: #3498db;
	color: #fff;
	transform: translateX(2px);
}

.nav-item.active {
	background-color: #34495e;
	border-left-color: #3498db;
	color: #fff;
}

.nav-logout {
	margin-top: auto;
	border-top: 1px solid #34495e;
	padding-top: 1rem;
}

.nav-logout:hover {
	background-color: #e74c3c;
	border-left-color: #c0392b;
}

/* Main content area */
.main-content {
	flex: 1;
	overflow-x: hidden;
	background-color: #f8f9fa;
}



body {
	margin: 0;
	padding: 0;
	background-color: #f8f9fa;
	color: #333;
	line-height: 1.6;
}



/* Container improvements */
.p-5 {
	padding: 2rem;
	max-width: 1200px;
	margin: 0 auto;
	width: 100%;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
	color: #2c3e50;
	margin-top: 0;
	margin-bottom: 1rem;
}

h1 {
	font-size: 2.5rem;
	font-weight: 300;
	text-align: center;
	margin-bottom: 2rem;
}

h2 {
	font-size: 2rem;
	font-weight: 400;
	border-bottom: 2px solid #e9ecef;
	padding-bottom: 0.5rem;
	margin-bottom: 1.5rem;
}

/* Form styling */
.form-group {
	display: block;
	margin-bottom: 1.5rem;
}

.form-group label {
	display: block;
	margin-bottom: 0.5rem;
	font-weight: 600;
	color: #495057;
}

.form-group input,
.form-group textarea,
.form-group select {
	display: block;
	width: 100%;
	padding: 0.75rem;
	border: 1px solid #ced4da;
	border-radius: 0.375rem;
	font-size: 1rem;
	transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
	background-color: #fff;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
	outline: none;
	border-color: #80bdff;
	box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* Button styling */
button {
	display: inline-block;
	padding: 0.75rem 1.5rem;
	margin: 0.25rem;
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.5;
	text-align: center;
	text-decoration: none;
	vertical-align: middle;
	cursor: pointer;
	border: 1px solid transparent;
	border-radius: 0.375rem;
	transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
	background-color: #6c757d;
	color: #fff;
}

button:hover {
	background-color: #5a6268;
	transform: translateY(-1px);
	box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

button.primary,
button.btn-primary {
	background-color: #007bff;
	border-color: #007bff;
}

button.primary:hover,
button.btn-primary:hover {
	background-color: #0056b3;
	border-color: #004085;
}

/* Alert styling */
.alert {
	padding: 1rem;
	margin-bottom: 1rem;
	border: 1px solid transparent;
	border-radius: 0.375rem;
}

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

/* Input styling improvements */
input[type="text"],
input[type="email"],
input[type="password"],
textarea {
	border: 1px solid #ced4da;
	border-radius: 0.375rem;
	padding: 0.75rem;
	font-size: 1rem;
	transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
	background-color: #fff;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
textarea:focus {
	outline: none;
	border-color: #80bdff;
	box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* Search input styling */
input[placeholder="Search..."] {
	max-width: 400px;
	margin-bottom: 1rem;
}

/* Table improvements */
table {
	width: 100%;
	margin-bottom: 1rem;
	background-color: transparent;
	border-collapse: collapse;
}

table td {
	padding: 0.75rem;
	vertical-align: top;
	border-top: 1px solid #dee2e6;
}

table thead th {
	vertical-align: bottom;
	border-bottom: 2px solid #dee2e6;
	background-color: #f8f9fa;
	font-weight: 600;
}

/* Card-like containers */
.overlay_inner,
.product_box {
	background: #fff;
	border-radius: 0.5rem;
	box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
	border: 1px solid rgba(0, 0, 0, 0.125);
}

/* Utility classes */
.text-center {
	text-align: center;
}

.mb-3 {
	margin-bottom: 1rem;
}

.mt-3 {
	margin-top: 1rem;
}

/* Responsive design for mobile */
@media (max-width: 768px) {
	.layout-container {
		flex-direction: column;
	}
	
	.navigation {
		width: 100%;
		flex-direction: row;
		overflow-x: auto;
	}
	
	.nav-header {
		display: none;
	}
	
	.nav-menu {
		flex-direction: row;
		padding: 0.5rem;
		gap: 0.5rem;
	}
	
	.nav-item {
		white-space: nowrap;
		padding: 0.5rem 1rem;
		border-left: none;
		border-bottom: 3px solid transparent;
	}
	
	.nav-item:hover,
	.nav-item.active {
		border-left: none;
		border-bottom-color: #3498db;
		transform: translateY(-2px);
	}
	
	.nav-logout {
		margin-top: 0;
		border-top: none;
		padding-top: 0.5rem;
	}
}

