:root {
	--primary-color: #4361ee;
	--secondary-color: #3f37c9;
	--success-color: #4cc9f0;
	--warning-color: #f72585;
	--info-color: #4895ef;
	--background-color: #f8f9fa;
	--text-primary: #2b2d42;
	--text-secondary: #8d99ae;
	--sidebar-width: 280px;
	--header-height: 60px;
	--border-radius: 12px;
	--box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}



/* Base Styles */
body {
	background-color: var(--background-color);
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
	color: var(--text-primary);
	line-height: 1.6;
}

.icon-container {
	padding: 0.5rem 1rem;
}

.icon-container i {
	font-size: 2rem;
}

/* Layout */
.wrapper {
	display: flex;
	min-height: 100vh;
}

/*-- Login Page --*/
.login-page .main-content {
	margin-left: 0;
	width: 100%;
	padding: 1rem;
}

/* Sidebar */
.sidebar {
	width: var(--sidebar-width);
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	z-index: 100;
	background: white;
	box-shadow: var(--box-shadow);
	transition: all 0.3s ease;
}

.sidebar-sticky {
	position: relative;
	top: 0;
	height: 100vh;
	padding: 1.5rem;
	overflow-x: hidden;
	overflow-y: auto;
}

.sidebar .nav-link {
	color: var(--text-primary);
	padding: 0.8rem 1rem;
	border-radius: var(--border-radius);
	margin-bottom: 0.5rem;
	display: flex;
	align-items: center;
	transition: all 0.3s ease;
}

.sidebar .nav-link:hover,
.sidebar .nav-link.active {
	color: var(--primary-color);
	background-color: rgba(67, 97, 238, 0.1);
}

.sidebar .nav-link i {
	margin-right: 0.75rem;
	font-size: 1.1rem;
}

/* Main Content */
.main-content {
	margin-left: var(--sidebar-width);
	padding: 2rem;
	width: calc(100% - var(--sidebar-width));
	min-height: 100vh;
}

/* Cards */
.card {
	background: white;
	border: none;
	border-radius: var(--border-radius);
	box-shadow: var(--box-shadow);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	margin-bottom: 1.5rem;
}

.card:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.card-body {
	padding: 1.5rem;
}

.card-title {
	color: var(--text-primary);
	font-weight: 600;
	margin-bottom: 1rem;
}

.card-subtitle {
	color: var(--text-secondary);
	font-size: 0.875rem;
}

/* Stats Cards */
.stat-card {
	padding: 1.5rem;
	border-radius: var(--border-radius);
	background: white;
	box-shadow: var(--box-shadow);
}

.stat-card .value {
	font-size: 1.75rem;
	font-weight: 700;
	color: var(--primary-color);
	margin: 0.5rem 0;
}

.stat-card .title {
	color: var(--text-secondary);
	font-size: 0.875rem;
	font-weight: 500;
}

/* Tables */
.table {
	margin: 0;
}

.table thead th {
	background-color: rgba(67, 97, 238, 0.05);
	border-bottom: none;
	color: var(--text-primary);
	font-weight: 600;
	padding: 1rem;
}

.table tbody td {
	padding: 1rem;
	vertical-align: middle;
	color: var(--text-primary);
	border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* Forms */
.form-control {
	border-radius: var(--border-radius);
	border: 1px solid #e9ecef;
	padding: 0.625rem 1rem;
	font-size: 0.875rem;
}

.form-control:focus {
	border-color: var(--primary-color);
	box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.1);
}

.form-select {
	border-radius: var(--border-radius);
	border: 1px solid #e9ecef;
	padding: 0.625rem 2.5rem 0.625rem 1rem;
	font-size: 0.875rem;
	background-position: right 1rem center;
}

/* Buttons */
.btn {
	padding: 0.625rem 1.25rem;
	border-radius: var(--border-radius);
	font-weight: 500;
	transition: all 0.2s ease;
}

.btn-primary {
	background-color: var(--primary-color);
	border-color: var(--primary-color);
}

.btn-primary:hover {
	background-color: var(--secondary-color);
	border-color: var(--secondary-color);
}

.btn-light {
	background-color: #f8f9fa;
	border-color: #e9ecef;
}

/* Dropdowns */
.dropdown-menu {
	border: none;
	border-radius: var(--border-radius);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	padding: 0.5rem;
}

.dropdown-item {
	padding: 0.625rem 1rem;
	border-radius: 8px;
	color: var(--text-primary);
}

.dropdown-item:hover {
	background-color: rgba(67, 97, 238, 0.1);
	color: var(--primary-color);
}

/* User Profile Section */
.user-profile {
	padding: 1rem;
	border-top: 1px solid rgba(0, 0, 0, 0.05);
	margin-top: auto;
}

.user-profile .user-name {
	font-weight: 600;
	color: var(--text-primary);
}

.user-profile .user-email {
	font-size: 0.875rem;
	color: var(--text-secondary);
}

/* Utilities */
.text-primary {
	color: var(--primary-color) !important;
}

.text-secondary {
	color: var(--text-secondary) !important;
}

/* Responsive Design */
@media (max-width: 768px) {
	:root {
		--sidebar-width: 0px;
	}

	.sidebar {
		transform: translateX(-100%);
	}

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

	.main-content {
		margin-left: 0;
		width: 100%;
		padding: 1rem;
	}
}

/* Custom Range Inputs */
.custom-range {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.custom-range input[type="date"] {
	border-radius: var(--border-radius);
	border: 1px solid #e9ecef;
	padding: 0.5rem;
	font-size: 0.875rem;
}

/* Modal Styling */
.modal-content {
	border: none;
	border-radius: var(--border-radius);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.modal-header {
	border-bottom: 1px solid rgba(0, 0, 0, 0.05);
	padding: 1.5rem;
}

.modal-body {
	padding: 1.5rem;
}

.modal-footer {
	border-top: 1px solid rgba(0, 0, 0, 0.05);
	padding: 1.5rem;
}

/* Welcome Section */
.welcome-section {
	margin-bottom: 2rem;
}

.welcome-section h2 {
	font-weight: 700;
	color: var(--text-primary);
	margin-bottom: 0.5rem;
}

.welcome-section p {
	color: var(--text-secondary);
	font-size: 1rem;
}

/* Sidebar Logo */
.sidebar-logo {
	display: block;
	margin: 0 auto;
	max-width: 64px;
	height: auto;
}

.sidebar-header {
	padding: 1rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Adjust the existing sidebar header styles */
.sidebar-header h3 {
	margin-bottom: 0;
	font-size: 1.5rem;
	color: #007AFF;
}

/*-- Vehicles Page --*/
.set-default-car {
	line-height: 1;
	border-radius: 6px;
	font-weight: normal;
}