/* ==== GENERAL BODY STYLE ==== */
body {
	margin: 0;
	padding: 0;
	font-family: 'Montserrat', sans-serif;
}

/* ==== INPUT FIELD ==== */
.inputField {
	width: 100%;
	padding: 14px;
	border-radius: 12px;
	border: 1px solid #D9D9D9;
	font-size: 14px;
	background: white;
}

/* ==== LABEL STYLE ==== */
label {
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.5px;
}

/* ==== LOGIN BUTTON ==== */
.loginBtn {
	width: 100%;
	background: #2F2F2F;
	color: white !important;
	padding: 15px;
	border-radius: 40px !important;
	border: none;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 1px;
	transition: background-color 0.25s ease, color 0.25s ease;
}

.loginBtn:hover {
	background-color: #2e21de;
	color: #fff;
}

/* ==== CENTER WRAPPER ==== */
.centerBox {
	width: 100%;
	height: 100vh;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	background: #fff;
}

/* ==== LOGO TEXT ==== */
.logoText {
	position: absolute;
	top: 25px;
	left: 30px;
	font-size: 32px;
	font-weight: 700;
}

/* ==== PURPLE BUTTON (btn-random) ==== */
.btn-random {
	background-color: #2e21de !important;
	color: #fff !important;
	margin: 10px auto 0 auto !important;
	border-radius: 8px !important;
	border: none !important;
	box-shadow: none !important;
}

.btn-random:hover {
	background-color: #fff !important;
	color: #2e21de !important;
	border: 1px solid #2e21de !important;
}

/* ==== DASHBOARD WRAPPER ==== */
.dashboard-wrapper {
	background: #ffffff;
	border-radius: 10px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	padding: 25px;
	border-top: 6px solid #2e21de;
	margin-top: 25px;
}

.dashboard-wrapper h2 {
	font-size: 24px;
	font-weight: 600;
	color: #2d465e;
	margin-bottom: 10px;
}

.dashboard-wrapper p {
	color: #555;
	font-size: 14px;
	margin-bottom: 20px;
}

/* ==== CHART CONTAINER ==== */
.chart-container {
	position: relative;
	width: 100%;
	min-height: 320px;
	margin-top: 20px;
}

/* ==== EXPORT BUTTON ==== */
.btn-export {
	font-size: 15px;
	padding: 8px 20px;
	border-radius: 50px;
	font-weight: 600;
	border: 2px solid #2e21de;
	background: #2e21de;
	color: #fff;
	transition: all 0.18s;
}

.btn-export:hover {
	background: #fff;
	color: #2e21de;
}

/* ==== HEADER STYLE ==== */
.header {
	background-color: #f4f3fd;
	color: #2d465e;
	font-family: "Poppins", sans-serif;
	font-weight: bolder;
	height: 70px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 35px;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 2000;
	font-size: 26px;
}

.logo-black {
	color: #2d465e;
}

.logo-blue {
	color: #2e21de;
}

.logo {
	text-decoration: none !important;
}

/* ==== PROFILE MENU ==== */
.profile-menu {
	position: relative;
	display: inline-block;
}

.profile-pic {
	width: 45px;
	height: 45px;
	border-radius: 50%;
	cursor: pointer;
	object-fit: cover;
	border: 2px solid #2e21de;
}

/* ==== DROPDOWN MENU ==== */
.dropdown-menu {
	position: absolute;
	right: 0;
	top: 60px;
	background: white;
	border-radius: 8px;
	width: 260px;
	display: none;
	z-index: 9999 !important;
	padding: 0;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.20);
}

/* ==== DROPDOWN HEADER ==== */
.dropdown-header {
	display: flex;
	align-items: center;
	padding: 15px;
	border-bottom: 1px solid #e6e6e6;
}

.dropdown-header img {
	width: 55px;
	height: 55px;
	border-radius: 6px;
	object-fit: cover;
	margin-right: 12px;
}

.dropdown-header .name {
	font-weight: 600;
	color: #2d465e;
	font-size: 15px;
	line-height: 18px;
}

.dropdown-header .role {
	color: #777;
	font-size: 13px;
	margin-top: 3px;
	display: block;
}

/* ==== DROPDOWN ITEMS ==== */
.dropdown-menu a {
	display: block;
	padding: 12px 20px;
	color: #333;
	font-size: 14px;
	border-bottom: 1px solid #f0f0f0;
	text-decoration: none;
	transition: background 0.2s;
}

.dropdown-menu a:last-child {
	border-bottom: none;
}

.dropdown-menu a:hover {
	background: #f4f3fd;
	color: #2e21de;
}

/* ==== DROPDOWN ARROW ==== */
.dropdown-menu::before {
	content: "";
	position: absolute;
	top: -8px;
	right: 14px;
	width: 15px;
	height: 15px;
	background: white;
	transform: rotate(45deg);
	box-shadow: -3px -3px 6px rgba(0, 0, 0, 0.05);
}

/* USER INFO SECTION */
.user {
	display: flex;
	align-items: center;
	padding: 12px 10px;
	margin-bottom: 10px;
	background: #ffffff;
	border-radius: 8px;
}

.avatar-sm {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	overflow: hidden;
	border: 2px solid #2e21de;
	flex-shrink: 0;
}

.avatar-sm img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.info {
	display: flex;
	flex-direction: column;
	justify-content: center;
	margin-left: 10px;
	text-align: left;
}

.info a {
	text-decoration: none;
	color: #212e2d;
	font-weight: 600;
	font-size: 14px;
	line-height: 1.2;
}

.user-level {
	display: block;
	color: #666;
	font-size: 12px;
	font-weight: 400;
	margin-top: 2px;
}

/* SIDEBAR */
#sidebar-wrapper {
	width: 220px;
	position: fixed;
	left: 0;
	top: 70px;
	height: 100vh;
	background: #f4f3fd;
	transition: left 0.3s ease;
	z-index: 999;
	overflow-y: auto;
	box-shadow: 2px 0 6px rgba(0, 0, 0, 0.1);
}

#sidebar-wrapper.open {
	left: 0;
}

.sidebar-menu {
	display: flex;
	flex-direction: column;
	padding: 10px;
}

.menu-item, .submenu a {
	border: none;
	background: none;
	text-align: left;
	padding: 8px 12px;
	font-size: 15px;
	line-height: 1.2;
	cursor: pointer;
	color: #2d465e;
	border-radius: 5px;
	margin: 4px 0;
	display: flex;
	justify-content: space-between;
	align-items: center;
	text-decoration: none;
	transition: background 0.3s;
}

.menu-item:hover, .submenu a:hover {
	background: rgba(0, 16, 33, 0.15);
	text-decoration: none;
}

.menu-item.active, .submenu a.active {
	background: #11B5E4;
	color: #fff;
}

.submenu {
	display: flex;
	flex-direction: column;
	margin-left: 14px;
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease, opacity 0.3s ease;
	opacity: 0;
}

.dropdown.open+.submenu {
	max-height: 500px;
	opacity: 1;
}

.chevron {
	transition: transform 0.3s ease;
	font-size: 13px;
}

.dropdown.open .chevron {
	transform: rotate(90deg);
}

/* Responsive Design */
@media ( min-width : 992px) {
	/* On desktops and large screens, hide hamburger */
	.hamburger {
		display: none;
	}
	#sidebar-wrapper {
		left: 0 !important;
	}
	.main {
		margin-left: 220px !important;
	}
}