:root {
	/* Academic-inspired color palette for student admission portal */
	--funato-primary: #2563eb; /* Bright academic blue */
	--funato-primary-light: #3b82f6;
	--funato-secondary: #10b981; /* Success green for milestones */
	--funato-accent: #f59e0b; /* Amber for highlights/deadlines */
	--funato-faculty: #8b5cf6; /* Purple for faculty/courses */
	--funato-muted: #64748b;

	/* Bootstrap v5 vars override */
	--bs-primary: var(--funato-primary);
	--bs-primary-rgb: 37, 99, 235;
	--bs-link-color: var(--funato-primary);
	--bs-link-hover-color: var(--funato-primary-light);
}

.btn-primary {
	background: linear-gradient(135deg, var(--funato-primary), var(--funato-primary-light));
	border: none;
	box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
	transition: all 0.3s ease;
}
.btn-primary:hover,
.btn-primary:focus {
	background: linear-gradient(135deg, var(--funato-primary-light), var(--funato-primary));
	box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
	transform: translateY(-1px);
}

.text-primary { color: var(--funato-primary) !important; }
.bg-primary { background-color: var(--funato-primary) !important; }
.border-primary { border-color: var(--funato-primary) !important; }

.form-check-input:checked {
	background-color: var(--funato-primary);
	border-color: var(--funato-primary);
}

.progress-bar {
	background: linear-gradient(90deg, var(--funato-secondary), var(--funato-primary));
	box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
}

.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
	background-color: var(--funato-primary);
}

.page-link {
	color: var(--funato-primary);
}
.page-item.active .page-link {
	background-color: var(--funato-primary);
	border-color: var(--funato-primary);
}

.form-control:focus, .form-select:focus {
	border-color: var(--funato-primary);
	box-shadow: 0 0 0 .2rem rgba(37, 99, 235, .25);
}

.funato-panel {
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: 16px;
    padding: 1.25rem;
    background: linear-gradient(145deg, rgba(37, 99, 235, 0.03), #ffffff);
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.08);
    transition: all 0.3s ease;
}

.funato-panel:hover {
    border-color: var(--funato-primary);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.15);
    transform: translateY(-2px);
}

/* Academic-themed gradient header */
.admission-header-gradient {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #6366f1 100%);
    color: #ffffff;
    padding: 2.5rem;
    border-radius: 20px;
    margin-bottom: 2rem;
    box-shadow: 0 10px 40px rgba(37, 99, 235, 0.25), 0 4px 12px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.admission-header-gradient::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.admission-header-gradient::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.admission-header-gradient .row {
    position: relative;
    z-index: 1;
}

.admission-header-gradient h3 {
    color: #ffffff;
    font-weight: 700;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.admission-header-gradient p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.05rem;
    line-height: 1.6;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
    font-weight: 400;
}

.admission-header-gradient .icon-circle-academic {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

/* Icon circles for student-focused icons */
.icon-circle-academic {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(139, 92, 246, 0.1));
    color: var(--funato-primary);
    margin-bottom: 0.5rem;
}

/* Timeline styles for admission milestones */
.admission-timeline {
    position: relative;
    padding-left: 2rem;
}

.admission-timeline::before {
    content: '';
    position: absolute;
    left: 0.5rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--funato-primary), var(--funato-secondary));
}

.timeline-item {
    position: relative;
    padding-bottom: 1.5rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -1.75rem;
    top: 0.25rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--funato-primary);
    border: 3px solid white;
    box-shadow: 0 0 0 2px var(--funato-primary);
}

.timeline-item.completed::before {
    background: var(--funato-secondary);
    box-shadow: 0 0 0 2px var(--funato-secondary);
}

/* Deadline badge */
.deadline-badge {
    background: linear-gradient(135deg, var(--funato-accent), #f97316);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.nav-logo { display:flex; justify-content:center; }

.nav-logo .nav-logo-img {
	display: block !important;
	margin-left: auto !important;
	margin-right: auto !important;
}

.nav-logo .theme-logo{
    text-align: center !important;
}

/* Center logo even with toggle button present */
.navbar-nav.theme-brand {
	position: relative;
	justify-content: center !important;
	width: 100%;
}
.navbar-nav.theme-brand .sidebar-toggle {
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
}
.navbar-nav.theme-brand .nav-logo {
	flex: 0 1 auto;
}

.menu span{
	font-size: 0.75rem;
}

/* Enhanced Sidebar Styling for Student Admission Portal */
#sidebar ul.menu-categories li.menu > .dropdown-toggle {
	border-radius: 12px;
	margin: 4px 12px;
	padding: 12px 16px;
	transition: all 0.3s ease;
	font-weight: 500;
}

#sidebar ul.menu-categories li.menu > .dropdown-toggle:hover {
	background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(37, 99, 235, 0.12)) !important;
	color: var(--funato-primary) !important;
	transform: translateX(4px);
}

#sidebar ul.menu-categories li.menu.active > .dropdown-toggle {
	background: linear-gradient(135deg, var(--funato-primary), var(--funato-primary-light)) !important;
	color: #fff !important;
	box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
	font-weight: 600;
}

#sidebar ul.menu-categories li.menu.active > .dropdown-toggle svg,
#sidebar ul.menu-categories li.menu.active > .dropdown-toggle span {
	color: #fff !important;
}

#sidebar ul.menu-categories li.menu > .dropdown-toggle[aria-expanded=true] {
	background: linear-gradient(135deg, var(--funato-primary), var(--funato-primary-light)) !important;
}

#sidebar ul.menu-categories li.menu > .dropdown-toggle[aria-expanded=true] svg,
#sidebar ul.menu-categories li.menu > .dropdown-toggle[aria-expanded=true] span {
	color: #fff !important;
}

#sidebar ul.menu-categories li.menu > .dropdown-toggle svg:not(.badge-icon) {
	width: 22px;
	height: 22px;
	stroke-width: 2;
	transition: all 0.3s ease;
}

#sidebar ul.menu-categories li.menu > .dropdown-toggle:hover svg:not(.badge-icon) {
	color: var(--funato-primary);
	transform: scale(1.1);
}

#sidebar ul.menu-categories li.menu.active > .dropdown-toggle:hover {
	background: linear-gradient(135deg, var(--funato-primary-light), var(--funato-primary));
	box-shadow: 0 6px 16px rgba(37, 99, 235, 0.4);
}

/* Sidebar brand/logo area enhancement */
#sidebar .theme-brand {
	background: linear-gradient(135deg, rgba(37, 99, 235, 0.05), rgba(139, 92, 246, 0.05));
	border-bottom: 2px solid rgba(37, 99, 235, 0.1);
	padding: 16px 12px;
}

/* Sidebar wrapper enhancement */
.sidebar-wrapper.sidebar-theme {
	background: #ffffff;
	border-right: 1px solid rgba(37, 99, 235, 0.1);
	box-shadow: 4px 0 20px rgba(37, 99, 235, 0.08);
}

/* Submenu styling */
#sidebar ul.menu-categories li.menu ul.submenu > li a:hover {
	color: var(--funato-primary) !important;
	background: rgba(37, 99, 235, 0.05);
	border-radius: 8px;
}

#sidebar ul.menu-categories li.menu ul.submenu > li.active a {
	color: var(--funato-primary) !important;
	font-weight: 600;
	background: rgba(37, 99, 235, 0.08);
	border-radius: 8px;
}

#sidebar ul.menu-categories li.menu ul.submenu > li.active a:before {
	background-color: var(--funato-primary) !important;
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

#sidebar ul.menu-categories li.menu ul.submenu > li a:hover:before {
	background: var(--funato-primary) !important;
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

/*# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlcyI6WyJjdXN0b20uc2NzcyJdLCJzb3VyY2VzQ29udGVudCI6WyIiXSwiZmlsZSI6ImN1c3RvbS5jc3MifQ== */
