/*
BioGurukul Final Parent Under Student + Header Login Icon v3.7.0
Author: Abhishek Das
*/

/* Hide all old wrong parent top-level attempts */
.bgk-parent-portal-menu-final,
.bgk-parent-portal-holder,
.bgk-parent-menu-item{
	display:none!important;
	visibility:hidden!important;
	opacity:0!important;
	pointer-events:none!important;
}

/* Hide old account attempts only; final account remains visible */
.bgk-header-login-icon-menu,
.bgk-login-symbol-menu-item,
.bgk-simple-login-icon-menu,
.bgk-account-menu-final,
.bgk-exact-account-holder,
.bgk-exact-account-li,
.bgk-account-holder-final{
	display:none!important;
	visibility:hidden!important;
	opacity:0!important;
	pointer-events:none!important;
}

/* Parent Portal only inside Student dropdown/submenu */
.bgk-parent-portal-student-submenu,
.bgk-final-parent-under-student{
	display:list-item!important;
	visibility:visible!important;
	opacity:1!important;
	pointer-events:auto!important;
}
.bgk-parent-portal-student-submenu > a,
.bgk-final-parent-under-student > a,
.bgk-student-parent-submenu .bgk-final-parent-under-student > a{
	display:flex!important;
	align-items:center!important;
	width:100%!important;
	min-height:42px!important;
	padding:12px 16px!important;
	border-radius:14px!important;
	color:#15172f!important;
	background:#f7f9ff!important;
	text-decoration:none!important;
	font-weight:950!important;
	white-space:nowrap!important;
}
.bgk-parent-portal-student-submenu > a:hover,
.bgk-parent-portal-student-submenu > a:focus,
.bgk-final-parent-under-student > a:hover,
.bgk-final-parent-under-student > a:focus{
	background:#eef4ff!important;
	color:#6c00ff!important;
}

.bgk-student-parent-submenu{
	min-width:220px!important;
	background:#fff!important;
	border:1px solid #e5eaf3!important;
	border-radius:18px!important;
	padding:8px!important;
	box-shadow:0 18px 42px rgba(16,24,40,.12)!important;
}

/* Final login/account icon remains in header as last top-level item */
.bgk-final-header-account{
	display:inline-flex!important;
	align-items:center!important;
	justify-content:center!important;
	margin-left:8px!important;
	list-style:none!important;
	align-self:center!important;
	visibility:visible!important;
	opacity:1!important;
	pointer-events:auto!important;
}
.bgk-final-header-account-icon,
.bgk-final-header-account > a{
	width:38px!important;
	height:38px!important;
	min-width:38px!important;
	border-radius:999px!important;
	background:rgba(255,255,255,.10)!important;
	border:1px solid rgba(255,255,255,.18)!important;
	color:#fff!important;
	display:inline-flex!important;
	align-items:center!important;
	justify-content:center!important;
	text-decoration:none!important;
	font-size:17px!important;
	line-height:1!important;
	padding:0!important;
	box-shadow:none!important;
	transition:.18s ease!important;
}
.bgk-final-header-account-icon:hover,
.bgk-final-header-account-icon:focus,
.bgk-final-header-account > a:hover,
.bgk-final-header-account > a:focus{
	background:#6c00ff!important;
	color:#fff!important;
	transform:translateY(-1px);
	box-shadow:0 10px 22px rgba(108,0,255,.24)!important;
}

/* Header alignment safety */
header ul,
.site-header ul,
.main-header ul,
.elementor-location-header ul,
.primary-menu,
.nav-menu,
.mega-menu{
	align-items:center!important;
}

@media(max-width:900px){
	.bgk-final-header-account{
		margin-left:4px!important;
	}
	.bgk-final-header-account-icon,
	.bgk-final-header-account > a{
		width:36px!important;
		height:36px!important;
		min-width:36px!important;
		font-size:16px!important;
	}
	.bgk-parent-portal-student-submenu > a,
	.bgk-final-parent-under-student > a{
		min-height:42px!important;
		padding:12px 14px!important;
	}
}
