* {
	padding: 0;
	margin: 0;
	box-sizing: border-box;
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 15px 30px;
	background: #ffffff;
	color: #2c3e50;
	box-shadow: 0 2px 15px rgba(0,0,0,0.08);
	position: sticky;
	top: 0;
	z-index: 100;
}

.u-name {
	font-size: 20px;
	padding-left: 17px;
	color: #2c3e50;
	font-weight: 600;
}

.u-name b {
	color: #667eea;
	font-weight: 700;
}

.header i {
	font-size: 30px;
	cursor: pointer;
	color: #2c3e50;
	transition: color 0.3s ease;
}

.header i:hover {
	color: #667eea;
}

.header .notification {
	position: relative;
	cursor: pointer;
}

.header .notification span{
	position: absolute;
	top: 5px;
	left: 5px;
	background: #dc3545;
	color: white;
	padding: 2px 6px;
	border-radius: 50%;
	font-size: 12px;
	font-weight: bold;
}

.header .notification:hover i{
	color: #667eea;
}

.notification-bar {
	display: none;
	width: 90%;
	max-width: 350px;
	position: absolute;
	right: 20px;
	top: 70px;
	background: #ffffff;
	padding: 15px;
	border: 1px solid #eef2f6;
	border-radius: 12px;
	box-shadow: 0 10px 30px rgba(0,0,0,0.15);
	z-index: 1000;
}

.notification-bar ul {
	max-height: 400px;
	overflow-y: auto;
}

.notification-bar ul li{
	list-style: none;
	padding: 12px;
	border-radius: 8px;
	margin-bottom: 5px;
	transition: background 0.3s ease;
}

.notification-bar ul li a{
	text-decoration: none;
	color: #2c3e50;
	font-size: 14px;
}

.notification-bar ul li:hover {
	background: #f8faff;
}

.notification-bar ul li:nth-child(even){
	background: #f8f9fa;
}

.notification-bar ul li:nth-child(even):hover {
	background: #f0f2f5;
}

.open-notification {
	display: block;
}

.user-p {
	text-align: center;
	padding: 30px 20px;
	border-bottom: 1px solid #eef2f6;
}

.user-p img {
	width: 100px;
	height: 100px;
	border-radius: 50%;
	border: 3px solid #fff;
	box-shadow: 0 5px 15px rgba(102, 126, 234, 0.2);
}

.user-p h4 {
	color: #2c3e50;
	padding: 15px 0 5px;
	font-size: 18px;
	font-weight: 600;
}

.user-p p {
	color: #6c757d;
	font-size: 14px;
}

.side-bar {
	width: 280px;
	background: #ffffff;
	min-height: 100vh;
	transition: 500ms width;
	box-shadow: 2px 0 15px rgba(0,0,0,0.05);
	border-right: 1px solid #eef2f6;
}

.body {
	display: flex;
	background: #f8faff;
}

.side-bar ul {
	margin-top: 20px;
	list-style: none;
	padding: 0 15px;
}

.side-bar ul li {
	font-size: 15px;
	padding: 12px 15px;
	margin: 5px 0;
	border-radius: 12px;
	transition: all 0.3s ease;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.side-bar ul li:hover {
	background: #f0f3ff;
}

.side-bar ul li a {
	text-decoration: none;
	color: #4a5568;
	cursor: pointer;
	letter-spacing: 0.3px;
	font-weight: 500;
	display: flex;
	align-items: center;
}

.side-bar .active {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.side-bar .active a {
	color: #ffffff !important;
}

.side-bar .active a i {
	color: #ffffff !important;
}

.side-bar ul li a i {
	display: inline-block;
	padding-right: 12px;
	font-size: 20px;
	color: #667eea;
	width: 35px;
	transition: color 0.3s ease;
}

.side-bar ul li:hover a i {
	color: #667eea;
}

#navbtn {
	display: inline-block;
	margin-left: 20px;
	font-size: 24px;
	transition: 500ms color;
	color: #2c3e50;
}

#checkbox {
	display: none;
}

#checkbox:checked ~ .body .side-bar {
	width: 80px;
}

#checkbox:checked ~ .body .side-bar .user-p {
	opacity: 0;
	visibility: hidden;
}

#checkbox:checked ~ .body .side-bar a span {
	display: none;
}

#checkbox:checked ~ .body .side-bar ul li {
	padding: 12px;
	text-align: center;
}

#checkbox:checked ~ .body .side-bar ul li a i {
	padding-right: 0;
	width: auto;
	font-size: 22px;
}

/* Login Page */
.login-body {
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 100vh;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.login-body form {
	max-width: 420px;
	width: 90%;
	background: white;
	padding: 40px;
	border-radius: 20px;
	box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* Sections */
.section-1 {
	padding: 30px 40px;
	width: 100%;
}

.section-1 .title {
	margin-bottom: 25px;
	font-size: 24px;
	color: #2c3e50;
	font-weight: 600;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.section-1 .title a {
	text-decoration: none;
	display: inline-block;
	border: none;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	padding: 12px 24px;
	color: #fff;
	font-size: 14px;
	font-weight: 500;
	border-radius: 10px;
	cursor: pointer;
	outline: none;
	transition: all 0.3s ease;
	box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.section-1 .title a:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.section-1 .title-2 {
	margin-bottom: 20px;
	font-size: 20px;
	color: #2c3e50;
	font-weight: 500;
	display: flex;
	align-items: center;
	gap: 15px;
	flex-wrap: wrap;
}

.section-1 .title-2 .btn {
	text-decoration: none;
	display: inline-block;
	border: none;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	padding: 10px 20px;
	color: #fff;
	font-size: 14px;
	font-weight: 500;
	border-radius: 8px;
	cursor: pointer;
	outline: none;
	transition: all 0.3s ease;
	box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.section-1 .title-2 .btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.section-1 .title-2 a {
	display: inline-block;
	color: #667eea;
	text-decoration: none;
	font-size: 14px;
	font-weight: 500;
	padding: 8px 16px;
	border-radius: 20px;
	background: #f0f3ff;
	transition: all 0.3s ease;
}

.section-1 .title-2 a:hover {
	background: #667eea;
	color: white;
}

/* Tables */
.main-table {
	width: 100%;
	margin-top: 30px;
	background: white;
	border-radius: 15px;
	overflow: hidden;
	box-shadow: 0 5px 20px rgba(0,0,0,0.05);
	border: none;
}

.main-table, .main-table tr, .main-table th, .main-table td {
	border: none;
	border-collapse: collapse;
}

.main-table th {
	background: #f8faff;
	color: #2c3e50;
	font-weight: 600;
	font-size: 14px;
	padding: 15px;
	text-align: left;
	border-bottom: 1px solid #eef2f6;
}

.main-table td {
	padding: 15px;
	color: #4a5568;
	font-size: 14px;
	border-bottom: 1px solid #eef2f6;
}

.main-table tr:hover td {
	background: #f8faff;
}

/* Buttons */
.delete-btn {
	text-decoration: none;
	display: inline-block;
	border: none;
	background: #dc3545;
	padding: 8px 16px;
	color: #fff;
	font-size: 13px;
	font-weight: 500;
	border-radius: 6px;
	cursor: pointer;
	outline: none;
	transition: all 0.3s ease;
	box-shadow: 0 5px 15px rgba(220, 53, 69, 0.2);
}

.delete-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(220, 53, 69, 0.3);
}

.edit-btn {
	text-decoration: none;
	display: inline-block;
	border: none;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	padding: 8px 16px;
	color: #fff;
	font-size: 13px;
	font-weight: 500;
	border-radius: 6px;
	cursor: pointer;
	outline: none;
	transition: all 0.3s ease;
	box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.edit-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

/* Forms */
.form-1 {
	width: 100%;
	max-width: 600px;
	background: white;
	padding: 30px;
	border-radius: 15px;
	box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.input-holder {
	margin-bottom: 20px;
}

.input-holder label {
	display: block;
	margin-bottom: 8px;
	color: #2c3e50;
	font-weight: 500;
	font-size: 14px;
}

.input-1 {
	border: 2px solid #eef2f6;
	width: 100%;
	padding: 12px 15px;
	font-size: 14px;
	outline: none;
	border-radius: 10px;
	display: block;
	transition: all 0.3s ease;
	background: #f8faff;
}

.input-1:focus {
	border-color: #667eea;
	background: white;
	box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Alerts */
.danger {
	background: #fff5f5;
	color: #dc3545;
	padding: 15px;
	margin-bottom: 20px;
	border-radius: 10px;
	border-left: 4px solid #dc3545;
	font-size: 14px;
}

.success {
	background: #f0fff4;
	color: #28a745;
	padding: 15px;
	margin-bottom: 20px;
	border-radius: 10px;
	border-left: 4px solid #28a745;
	font-size: 14px;
}

/* Dashboard */
.dashboard {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 25px;
	margin-bottom: 30px;
}

.dashboard-item {
	text-align: center;
	background: white;
	padding: 25px 20px;
	border-radius: 15px;
	box-shadow: 0 5px 20px rgba(0,0,0,0.05);
	transition: all 0.3s ease;
	border: 1px solid #eef2f6;
}

.dashboard-item:hover {
	transform: translateY(-5px);
	box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.dashboard-item i {
	display: block;
	color: #667eea;
	font-size: 32px;
	margin-bottom: 12px;
}

.dashboard-item span {
	display: block;
	color: #2c3e50;
	font-size: 16px;
	font-weight: 500;
}

/* Page Themes */
.dashboard-page {
	background: #f8faff;
}

.clients-page {
	background: #fff8f0;
}

.tasks-page {
	background: #f0fff4;
}

.login-page {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* Responsive */
@media (max-width: 768px) {
	.header {
		padding: 12px 20px;
	}
	
	.u-name {
		font-size: 16px;
	}
	
	.section-1 {
		padding: 20px;
	}
	
	.dashboard {
		grid-template-columns: 1fr;
	}
	
	.section-1 .title {
		flex-direction: column;
		align-items: flex-start;
		gap: 15px;
	}
	
	.section-1 .title-2 {
		flex-direction: column;
		align-items: flex-start;
	}
}