@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700&family=Poppins:wght@400;500;600;700&display=swap');

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

a {
	text-decoration: none;
}

li {
	list-style: none;
}

:root {
	--poppins: 'Poppins', sans-serif;
	--lato: 'Lato', sans-serif;

	--light: #F9F9F9;
	--blue: #3C91E6;
	--light-blue: #CFE8FF;
	--grey: #eee;
	--dark-grey: #AAAAAA;
	--dark: #342E37;
	--red: #DB504A;
	--yellow: #FFCE26;
	--light-yellow: #FFF2C6;
	--orange: #FD7238;
	--light-orange: #FFE0D3;
}

html {
	overflow-x: hidden;
}

body.dark {
	--light: #0C0C1E;
	--grey: #060714;
	--dark: #FBFBFB;
}

body {
	background-color: #F6FAFC;
	overflow-x: hidden;
	overflow-y: auto !important;

}







/* SIDEBAR */
/* Make sidebar slim with white background and rounded corners */
/* Default expanded sidebar */
#sidebar {
	position: fixed;
	top: 0;
	left: 0;
	width: 190px;
	/* expanded width */
	height: 96%;
	background: #ffffff;
	border-radius: 15px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
	padding-top: 20px;
	overflow-x: hidden;
	display: flex;
	flex-direction: column;
	align-items: center;
	margin-left: 20px;
	margin-top: 8px;
	transition: width 0.3s ease;
	z-index: 100;
}




/* Center the logo */
img.logo {
	width: 70%;
	margin-bottom: 20px;
}

/* Side menu list styling */
#sidebar .side-menu {
	width: 100%;
	padding-left: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	margin-top: 12px;
}

/* Each item is centered */
#sidebar .side-menu li {
	width: 80%;
	height: 45px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 10px;
	transition: background 0.3s ease;
}

/* Active state with blue background */
#sidebar .side-menu li.active {
	background: #c9f0ff;
	/* light blue like your screenshot */
}

/* Links inside */
#sidebar .side-menu li a {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 10px;
	padding-left: 12px;
	font-size: 14px;
	color: #333;
	border-radius: 10px;
	text-decoration: none;
}

/* Hover state */
#sidebar .side-menu li a:hover {
	color: #007bff;
}

/* Icons styling */
#sidebar .side-menu li a .bx {
	font-size: 20px;
}

/* Logout styling pinned to bottom */
#sidebar .side-menu:last-of-type {
	margin-top: auto;
	margin-bottom: 20px;
}

#sidebar .side-menu li a.logout {
	color: #ff4d4f;
}

#sidebar.collapsed {
	width: 47px;
	/* Adjust as needed */
	transition: width 0.3s;
}


/* SIDEBAR */




.custom-hover tbody tr:hover {
	background-color: rgba(0, 123, 255, 0.1) !important;
	/* light blue shade */
	transition: background-color 0.2s ease;
}




/* CONTENT */
#content {
	position: relative;
	width: calc(100% - 190px);
	left: 190px;
	transition: .3s ease;
}

#sidebar.hide~#content {
	width: calc(100% - 60px);
	left: 60px;
}


#sidebar.collapsed~#content {
	width: calc(100% - 47px);
	left: 47px;
}


#sidebar.collapsed .text {
	display: none;
}

/* Center icons in collapsed mode */
#sidebar.collapsed .side-menu li a {
	justify-content: center;
	padding-left: 0;
}


/* Sidebar overlay */
#sidebar-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	/* semi-transparent black */
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s ease;
	z-index: 99;
	/* behind sidebar but above content */
}

/* Show overlay when sidebar is expanded on mobile */
#sidebar.expanded~#sidebar-overlay {
	opacity: 1;
	pointer-events: auto;
}


/* NAVBAR */
#content nav {
	height: 56px;
	/* background: var(--light); */
	padding: 0 24px;
	margin-top: 20px;
	display: flex;
	align-items: center;
	grid-gap: 24px;
	font-family: var(--lato);
	font-weight: bolder;
	position: sticky;
	top: 0;
	left: 0;
	z-index: 1000;
}

#content nav a {
	color: var(--dark);
}

#content nav .bx.bx-menu {
	cursor: pointer;
	color: var(--dark);
	font-size: 22px;
	font-weight: bolder;
}

#content nav .nav-link {
	font-size: 20px;
	transition: .3s ease;
}

#content nav .nav-link:hover {
	color: var(--blue);
}

#content nav form {
	max-width: 400px;
	width: 100%;
	margin-right: auto;
}

#content nav form .form-input {
	display: flex;
	align-items: center;
	height: 40px;
}

#content nav form .form-input input {
	flex-grow: 1;
	padding: 0 16px;
	height: 100%;
	border: none;
	background-color: #ffff;
	border-radius: 36px 0 0 36px;
	outline: none;
	width: 100%;
	color: var(--dark);
}

#content nav form .form-input button {
	width: 36px;
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	background: var(--blue);
	color: var(--light);
	font-size: 18px;
	border: none;
	outline: none;
	border-radius: 0 36px 36px 0;
	cursor: pointer;
}


.search-form {

	margin-left: 20%;
}

.notification {
	position: relative;
	display: inline-flex;
	justify-content: center;
	align-items: center;
	width: 45px;
	/* circle width */
	height: 45px;
	/* circle height */
	background: #ffff;
	/* circle background color */
	border-radius: 50%;
	/* make it a circle */
	text-decoration: none;
	color: #333;
	/* bell icon color */
	font-size: 22px;
	/* bell icon size */
	cursor: pointer;
}

.notification:hover {
	background: #e0e0e0;
	/* hover effect */
}

#content nav .notification .num {
	position: absolute;
	top: -6px;
	right: -6px;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	border: 2px solid var(--light);
	background: var(--red);
	color: var(--light);
	font-weight: 700;
	font-size: 12px;
	display: flex;
	justify-content: center;
	align-items: center;
}

/* Push profile-container to the right */
.profile-container {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-left: auto;
	/* THIS pushes it to the right end */
}

.profile-details {
	display: flex;
	flex-direction: column;
	line-height: 1.2;
}

.profile-details .profile-name {
	color: var(--dark);
	font-size: 18px;
}

.profile-details .profile-email {
	color: var(--dark);
	font-size: 16px;
}

#content nav .profile img {
	width: 36px;
	height: 36px;
	object-fit: cover;
	border-radius: 50%;
}

.approve-btn {

	background: linear-gradient(to right, #28a745, #1e7e34);
	color: white !important;
	text-decoration: none;
	padding: 14px 21px 14px 21px;
	border: none;
	border-radius: 25px;
	font-weight: 400;
}

.reject-btn {

	background: linear-gradient(to right, #dc3545, #a71d2a);
	color: white !important;
	text-decoration: none;
	padding: 14px 21px 14px 21px;
	border: none;
	border-radius: 25px;
	font-weight: 400;
}

/* 

#content nav .switch-mode {
	display: block;
	min-width: 50px;
	height: 25px;
	border-radius: 25px;
	background: var(--grey);
	cursor: pointer;
	position: relative;
}
#content nav .switch-mode::before {
	content: '';
	position: absolute;
	top: 2px;
	left: 2px;
	bottom: 2px;
	width: calc(25px - 4px);
	background: var(--blue);
	border-radius: 50%;
	transition: all .3s ease;
}
#content nav #switch-mode:checked + .switch-mode::before {
	left: calc(100% - (25px - 4px) - 2px);
} */
/* NAVBAR */


/* Login */

.container {
	display: block !important;
	/* allow natural vertical stacking */
	min-height: auto !important;
	align-items: initial !important;
	justify-content: initial !important;
}



.blue-card {
	background: #0077cc;
	color: #fff;
	border-radius: 12px;
	padding: 40px 30px;
	width: 100%;
	max-width: 500px;
	min-height: 500px;
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	text-align: left;
}

/* Text Section */
.blue-card .text-section {
	z-index: 2;
}

/* Woman Image aligned bottom-right */
.blue-card .woman-image {
	position: absolute;
	bottom: 0;
	right: -70px;
	max-width: 250px;
	height: auto;
}


.blue-card h1 {
	font-size: 28px;
	font-weight: 600;
	margin-bottom: 15px;
}

.blue-card p {
	font-size: 18px;
	margin: 0;
}

.blue-card .image-section {
	display: flex;
	justify-content: center;
	/* center the image */
	align-items: flex-end;
	/* align image at bottom */
}

.blue-card .woman-image {
	max-width: 100%;
	height: auto;
	margin-top: -196px !important;
	margin-left: 100px;
}


/* Right login form */
.login-box {
	border-radius: 12px;
	padding: 40px 30px;
	max-width: 400px;
	flex: 1;
}

.login-box h2 {
	font-size: 24px;
	margin-bottom: 5px;
	font-weight: 600;
}

.login-box p {
	font-size: 14px;
	color: #666;
	margin-bottom: 30px;
}

.login-box select,
.login-box input {
	width: 100%;
	padding: 12px 14px;
	margin-bottom: 15px;
	border-radius: 6px;
	border: 1px solid #c4c5c9;
	font-size: 14px;
	background-color: #F4F5F9;
}

.login-box button {
	width: 100%;
	padding: 14px;
	background: #1e90ff;
	border: none;
	border-radius: 6px;
	color: #fff;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 8px;
	transition: background 0.3s ease;
}

.login-box button:hover {
	background: #006dcc;
}

#eyeIcon {
	position: absolute;
	right: 14px;
	top: 10px;
	cursor: pointer;
	color: #666;
}


/* MAIN */
#content main {
	width: 100%;
	padding: 36px 24px;
	font-family: var(--poppins);
	min-height: calc(100vh - 56px);
	overflow-y: auto;
}

#content main .head-title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	grid-gap: 16px;
	flex-wrap: wrap;
}

#content main .head-title .left h1 {
	font-size: 36px;
	font-weight: 600;
	margin-bottom: 10px;
	color: var(--dark);
}

#content main .head-title .left .breadcrumb {
	display: flex;
	align-items: center;
	grid-gap: 16px;
}

#content main .head-title .left .breadcrumb li {
	color: var(--dark);
}

#content main .head-title .left .breadcrumb li a {
	color: var(--dark-grey);
	pointer-events: none;
}

#content main .head-title .left .breadcrumb li a.active {
	color: var(--blue);
	pointer-events: unset;
}

#content main .head-title .btn-download {
	height: 36px;
	padding: 0 16px;
	border-radius: 36px;
	background: var(--blue);
	color: var(--light);
	display: flex;
	justify-content: center;
	align-items: center;
	grid-gap: 10px;
	font-weight: 500;
}




#content main .box-info {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(271px, 1fr)) !important;
	grid-gap: 24px;
	margin-top: 36px;
}

#content main .box-info li {
	padding: 24px;
	background: var(--light);
	border-radius: 20px;
	display: flex;
	align-items: center;
	grid-gap: 24px;
}

#content main .box-info li .bx {
	width: 80px;
	height: 80px;
	border-radius: 10px;
	font-size: 36px;
	display: flex;
	justify-content: center;
	align-items: center;

}

#content main .box-info li:nth-child(1) .bx {
	background: var(--light-blue);
	color: var(--blue);
}

#content main .box-info li:nth-child(2) .bx {
	background: var(--light-yellow);
	color: var(--yellow);
}

#content main .box-info li:nth-child(3) .bx {
	background: var(--light-orange);
	color: var(--orange);
}


#content main .box-info li:nth-child(4) .bx {
	background-color: #d1c4e9 !important;
	color: #673ab7 !important;
}

#content main .box-info li:nth-child(5) .bx {
	background-color: #c8e6c9 !important;
	color: #388e3c !important;
}

#content main .box-info li .text h3 {
	font-size: 24px;
	font-weight: 600;
	color: var(--dark);
}

#content main .box-info li .text p {
	color: var(--dark);
}





#content main .table-data {
	display: flex;
	flex-wrap: wrap;
	grid-gap: 24px;
	margin-top: 24px;
	width: 100%;
	color: var(--dark);
}

#content main .table-data>div {
	border-radius: 20px;
	background: var(--light);
	padding: 24px;
	overflow-x: auto;
}

#content main .table-data .head {
	display: flex;
	align-items: center;
	grid-gap: 16px;
	margin-bottom: 24px;
}

#content main .table-data .head h3 {
	margin-right: auto;
	font-size: 24px;
	font-weight: 600;
}

#content main .table-data .head .bx {
	cursor: pointer;
}

#content main .table-data .order {
	flex-grow: 1;
	flex-basis: 500px;
}

#content main .table-data .order table {
	width: 100%;
	border-collapse: collapse;
}

#content main .table-data .order table th {
	padding-bottom: 12px;
	font-size: 13px;
	text-align: left;
	border-bottom: 1px solid var(--grey);
}

#content main .table-data .order table td {
	padding: 16px 0;
}

#content main .table-data .order table tr td:first-child {
	display: flex;
	align-items: center;
	grid-gap: 12px;
	padding-left: 6px;
}

#content main .table-data .order table td img {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	object-fit: cover;
}

#content main .table-data .order table tbody tr:hover {
	background: var(--grey);
}

#content main .table-data .order table tr td .status {
	font-size: 10px;
	padding: 6px 16px;
	color: var(--light);
	border-radius: 20px;
	font-weight: 700;
}

#content main .table-data .order table tr td .status.completed {
	background: var(--blue);
}

#content main .table-data .order table tr td .status.process {
	background: var(--yellow);
}

#content main .table-data .order table tr td .status.pending {
	background: var(--orange);
}


#content main .table-data .todo {
	flex-grow: 1;
	flex-basis: 300px;
}

#content main .table-data .todo .todo-list {
	width: 100%;
}

#content main .table-data .todo .todo-list li {
	width: 100%;
	margin-bottom: 16px;
	background: var(--grey);
	border-radius: 10px;
	padding: 14px 20px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

#content main .table-data .todo .todo-list li .bx {
	cursor: pointer;
}

#content main .table-data .todo .todo-list li.completed {
	border-left: 10px solid var(--blue);
}

#content main .table-data .todo .todo-list li.not-completed {
	border-left: 10px solid var(--orange);
}

#content main .table-data .todo .todo-list li:last-child {
	margin-bottom: 0;
}


.main-content {
	margin-left: 250px;
	/* same width as sidebar */
	transition: margin-left 0.3s ease;
}

.sidebar.collapsed~.main-content {
	margin-left: 80px;
	/* smaller when collapsed */
}

/* MAIN */
/* CONTENT */


/* Admin */


.table-responsive {
	background: #fff;
	border-radius: 15px;
	box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
	padding: 20px;
	width: 100%;
	height: 700px;
	cursor: pointer;
}


.add-admin-btn {
	background: linear-gradient(to right, #54BAF5, #007BC2);
	color: white !important;
	text-decoration: none;
	padding: 8px 20px;
	border: none;
	border-radius: 25px;
	font-weight: 500;
}

.dataTables_wrapper .dataTables_filter {
	display: none !important;
	/* Remove search */
}

table.dataTable thead {

	font-weight: lighter !important;
	font-size: 14px;
}

table.dataTable thead th {
	border-bottom: none;
	padding: 12px;
	background-color: #D9F7FF40 !important;
	color: #007BC2;
}


table.dataTable tbody td {
	vertical-align: middle;
	font-size: 15px !important;
}

table.dataTable tbody tr:hover {
	background-color: #f9f9f9;
}

.custom-hover tbody tr:hover {
	background-color: #e6f7ff !important;
	/* Soft blue */
}

.dataTables_paginate .pagination .page-item .page-link {
	border-radius: 10px !important;
	margin: 0 2px;
	color: #0680c6;
	background-color: white;
}

.dataTables_paginate .pagination .page-item .page-link:hover,
.dataTables_paginate .pagination .page-item .page-link:active {
	background-color: #0680c6 !important;
	color: white !important;
}


.dataTables_info {
	padding-top: 15px;
}



.avatar {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	object-fit: cover;
	margin-right: 10px;
}

.edit-btn {
	background-color: #F7FFEA;
	color: #7ED957;
	border: none;
	border-radius: 10px;
	padding: 4px 10px;
	font-weight: 500;
	font-size: 14px;
}

.edit-btn i {
	margin-right: 5px;
}


.border-dashed {
	border: 2px dotted #bcdffd;
}

.form-control {
	background-color: #f6fafd;
	border: none;
}

.form-control:focus {
	box-shadow: none;
	background-color: #f6fafd;
	border: 1px solid #bcdffd;
}

.btn[disabled] {
	background-color: #f2f2f2;
	margin-left: -20px;
	color: #888;
	cursor: not-allowed;
}


#adminImage {

	opacity: 0;
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	cursor: pointer;
}

.main-content {

	margin-top: -50px;
}

.add-btn {
	background: linear-gradient(to right, #54BAF5, #007BC2);
	border: none;
	color: white !important;
	margin-top: -10px !important;

}

select.form-select {
	border-radius: 16px !important;
}


.square-img {
	width: 120px;
	height: 120px;
	object-fit: cover;
	border-radius: 12px;
	/* Optional: slightly rounded corners */
	border: 2px solid #eee;
	background: #fafafa;
}

.card {
	min-height: 100%;
	border-radius: 12px;
	padding: 10px;
	border-radius: 12px !important;
	transition: all 0.3s ease !important;
	cursor: pointer;
}

.card:hover {
	transform: translateY(-5px) !important;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1) !important;
}

.btn-outline-primary {
	border-radius: 20px !important;
}

.btn-outline-success {
	border-radius: 20px !important;
}


.card-title {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}


.chart-container {
	width: 100%;
	max-width: 800px;
	margin: auto;
}

.avatars {
	display: flex;
	justify-content: space-around;
	margin-top: 10px;
}

.avatar {
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: #6c63ff;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-size: 14px;
	font-weight: bold;
}



.section-header {
	background-color: #F5FFF0 !important;
	padding: 10px 15px !important;
	font-weight: bold !important;
	color: #0680c6 !important;
	cursor: pointer !important;
	display: flex !important;
	justify-content: space-between !important;
	align-items: center !important;
}

.section-card {
	border-radius: 12px;
	border: 1px solid #eee;
	margin-bottom: 20px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
	background-color: white;
}

.submit-btn {
	background: linear-gradient(to right, #54BAF5, #007BC2);
	border: transparent !important;
}


.swal2-timer-progress-bar {
	background-color: #0680c6 !important;
}


@media (max-width: 2560px) {}

@media (max-width: 1920px) {}

@media (max-width: 1700px) {}

@media (max-width: 1440px) {}

@media (max-width: 1200px) {}





/* Responsive */
@media (max-width: 992px) {
	.container {
		flex-direction: column;
		text-align: center;
	}



	.toggle-password {

		margin-top: 2px;
	}

	.blue-card {

		margin-top: 16px;
	}

	.blue-card .woman-image {
		max-width: 370px;
		top: 315px;
		right: -48px;
	}



}






@media (max-width: 768px) {
	/* #sidebar {
		width: 200px;
	}

	#content {
		width: calc(100% - 60px);
		left: 200px;
	} */

	#content nav .nav-link {
		display: none;
	}


	/* .login-box{

		width: 100% !important;
	} */

	.toggle-password {

		margin-top: -9px;
	}



	button.add-admin-btn {
		margin: auto !important;
	}


	.blue-card {

		padding: 40px;
		width: 90% !important;
		height: 80% !important;
		margin-top: 16px;
	}

	.blue-card h1 {

		font-size: 28px;
	}

}


@media (max-width: 576px) {
	#content nav form .form-input input {
		display: none;
	}

	#content nav form .form-input button {
		width: auto;
		height: auto;
		background: transparent;
		border-radius: none;
		color: var(--dark);
	}

	#content nav form.show .form-input input {
		display: block;
		width: 100%;
	}

	#content nav form.show .form-input button {
		width: 36px;
		height: 100%;
		border-radius: 0 36px 36px 0;
		color: var(--light);
		background: var(--blue) !important;
	}

	#content nav form.show~.notification,
	#content nav form.show~.profile {
		display: none;
	}

	#content main .box-info {
		grid-template-columns: 1fr;
	}

	#content main .table-data .head {
		min-width: 420px;
	}

	#content main .table-data .order table {
		min-width: 420px;
	}

	#content main .table-data .todo .todo-list {
		min-width: 420px;
	}



	.toggle-password {

		margin-top: -9px;
	}


	button.add-admin-btn {
		margin: auto !important;
	}
}



@media (max-width: 480px) {



	.woman-image {

		margin-top: -20px !important;
		margin-left: 65px !important;
	}

	.toggle-password {

		margin-top: -7px;
	}


	button.add-admin-btn {
		margin: auto !important;
	}

	.blue-card {

		padding: 30px;
		width: 90% !important;
		height: 80% !important;
		margin-top: 16px;
	}

	/* .login-box {
		padding: 20px;
	} */

	.blue-card h1 {

		font-size: 28px;
		padding-left: 5px;

	}

	.blue-card h2 {

		font-size: 20px;
		padding-left: 15px;

	}

}




@media (max-width: 420px) {


	/* 
	.login-box {

		margin-left: -6px !important;

	} */


	.blue-card h1 {

		font-size: 28px;
		padding-left: 3px;

	}

	.woman-image {

		margin-top: -78px !important;
		margin-left: 65px !important;
	}


	.toggle-password {

		margin-top: -5px;
	}




}


@media (max-width: 380px) {


	/* .blue-card {
		width: 90% !important;
		height: 380px !important;
		margin-top: 10%;
	}


	

	.blue-card h2 {
		margin-left: -20px;

	} */

	.blue-card h1 {

		font-size: 19px !important;
		padding: 0;

	}

	.login-box {

		padding: 30px 30px !important;
	}

	/* 
	.blue-card .woman-image {

		margin-top: -78px !important;
		margin-left: 65px !important;
	} */
}


@media (max-width: 320px) {

	/* 
	.blue-card {
		width: 90% !important;
		height: 380px !important;
		margin-top: 10%;
	}


	.blue-card h1 {

		font-size: 22px !important;

	}

	.blue-card h2 {
		margin-left: -20px;

	} */

	.login-box {

		padding: 30px 30px !important;
	}


	/* .blue-card .woman-image {

		margin-top: -22px !important;
		margin-left: 55px !important;
	} */





}