@charset "UTF-8";

/* ═══════════════════════════════════════
   BASE RESET
═══════════════════════════════════════ */
*, *::before, *::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html, body {
	height: 100%;
	font-family: 'Source Sans 3', sans-serif;
	background: #0a0f1c;
	overflow: hidden;
}

/* ═══════════════════════════════════════
   PAGE SHELL
═══════════════════════════════════════ */
.erp-page {
	display: flex;
	height: 100vh;
	width: 100%;
	overflow: hidden;
}

/* ═══════════════════════════════════════
   SIDEBAR — sophisticated dark gradient
═══════════════════════════════════════ */
.erp-sidebar {
	width: 280px;
	flex-shrink: 0;
	background: linear-gradient(165deg, #0B1426 0%, #121C34 60%, #1A2742 100%);
	display: flex;
	flex-direction: column;
	position: relative;
	overflow: hidden;
	z-index: 10;
	box-shadow: 4px 0 30px rgba(0, 0, 0, 0.6);
}

.erp-sidebar::after {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	width: 2px;
	height: 100%;
	background: linear-gradient(180deg, transparent, rgba(210, 175, 55, 0.35),
		transparent);
}

/* ═══════════════════════════════════════
   MAIN — refined background overlay
═══════════════════════════════════════ */
.erp-main {
	flex: 1;
	position: relative;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background-image: url('../images/pdea1img.png');
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
}

.bg-overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: rgba(8, 15, 30, 0.75);
	backdrop-filter: blur(3px);
}

/* ═══════════════════════════════════════
   SCROLL AREA — elegant minimal scrollbar
═══════════════════════════════════════ */
.dash-scroll {
	position: relative;
	z-index: 2;
	flex: 1;
	overflow-y: auto;
	overflow-x: hidden;
	padding: 24px 28px;
}

.dash-scroll::-webkit-scrollbar {
	width: 5px;
}

.dash-scroll::-webkit-scrollbar-track {
	background: rgba(20, 30, 50, 0.4);
	border-radius: 10px;
}

.dash-scroll::-webkit-scrollbar-thumb {
	background: rgba(210, 175, 55, 0.4);
	border-radius: 10px;
}

.dash-scroll::-webkit-scrollbar-thumb:hover {
	background: rgba(210, 175, 55, 0.7);
}

/* ═══════════════════════════════════════
   ALERTS — refined glassmorphism
═══════════════════════════════════════ */
.erp-alert {
	padding: 14px 18px;
	border-radius: 12px;
	font-size: 14px;
	font-weight: 500;
	margin-bottom: 20px;
	display: flex;
	align-items: center;
	gap: 12px;
	line-height: 1.5;
	background: rgba(20, 30, 50, 0.6);
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.1);
	color: #fff;
	box-shadow: 0 8px 20px -8px rgba(0, 0, 0, 0.4);
}

.erp-alert-danger {
	border-color: rgba(239, 68, 68, 0.4);
	background: rgba(190, 45, 45, 0.2);
}

.erp-alert-success {
	border-color: rgba(34, 197, 94, 0.4);
	background: rgba(30, 150, 70, 0.15);
}

.erp-alert-warning {
	border-color: rgba(234, 179, 8, 0.4);
	background: rgba(200, 140, 20, 0.15);
}

/* ═══════════════════════════════════════
   PROFESSIONAL TWO-COLUMN LAYOUT
═══════════════════════════════════════ */
.pro-layout {
	display: grid;
	grid-template-columns: 1fr 280px;
	gap: 28px;
	align-items: start;
}

/* ═══════════════════════════════════════
   SECTION HEADERS — elegant with gold accent
═══════════════════════════════════════ */
.pro-section {
	margin-bottom: 28px;
}

.pro-section:last-child {
	margin-bottom: 0;
}

.pro-section+.pro-section {
	padding-top: 24px;
	border-top: 1px solid rgba(210, 175, 55, 0.2);
}

.pro-label {
	font-size: 18px;
	font-weight: 700;
	color: #fff;
	margin-bottom: 18px;
	letter-spacing: 0.3px;
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
	position: relative;
	padding-left: 16px;
	display: inline-block;
}

.pro-label::before {
	content: '';
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 4px;
	height: 22px;
	background: linear-gradient(180deg, #F5D060, #B88B2C);
	border-radius: 4px;
	box-shadow: 0 0 15px rgba(245, 208, 96, 0.4);
}

/* ═══════════════════════════════════════
   PROFESSIONAL CARD GRIDS
═══════════════════════════════════════ */
.card-grid-3 {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
}

.card-grid-1 {
	display: grid;
	grid-template-columns: 1fr;
	gap: 16px;
}

/* ═══════════════════════════════════════
   ELEGANT CARDS — professional, refined
═══════════════════════════════════════ */
.pro-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 24px 16px 20px;
	border-radius: 16px;
	cursor: pointer;
	position: relative;
	overflow: hidden;
	text-decoration: none;
	transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1);
	border: none;
	outline: none;
	min-height: 160px;
	user-select: none;
	box-shadow: 0 15px 30px -12px rgba(0, 0, 0, 0.5);
	border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Elegant overlay gradient */
.pro-card::before {
	content: '';
	position: absolute;
	inset: 0;
	background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.15)
		0%, transparent 70%);
	opacity: 0;
	transition: opacity 0.4s ease;
	pointer-events: none;
	z-index: 1;
}

/* Shimmer effect */
.pro-card::after {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1),
		transparent);
	transition: left 0.8s ease;
	pointer-events: none;
	z-index: 2;
}

.pro-card:hover::before {
	opacity: 1;
}

.pro-card:hover::after {
	left: 100%;
}

.pro-card:hover {
	transform: translateY(-6px) scale(1.02);
	box-shadow: 0 25px 40px -15px rgba(0, 0, 0, 0.7);
	border-color: rgba(210, 175, 55, 0.3);
}

.pro-card:active {
	transform: translateY(-2px) scale(0.99);
}

.pro-card.selected {
	outline: 3px solid #F5D060;
	outline-offset: 3px;
	filter: brightness(1.15);
	box-shadow: 0 20px 35px -10px rgba(245, 208, 96, 0.3);
}

/* Icon container — sophisticated circular design */
.card-icon {
	width: 64px;
	height: 64px;
	border-radius: 20px;
	background: rgba(255, 255, 255, 0.15);
	backdrop-filter: blur(5px);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	transition: all 0.3s ease;
	border: 1.5px solid rgba(255, 255, 255, 0.2);
	margin-bottom: 16px;
	position: relative;
	z-index: 5;
	box-shadow: 0 8px 18px -6px rgba(0, 0, 0, 0.4);
}

.pro-card:hover .card-icon {
	background: rgba(255, 255, 255, 0.25);
	transform: scale(1.05) rotate(3deg);
	border-color: rgba(255, 255, 255, 0.4);
}

.card-icon svg {
	width: 30px;
	height: 30px;
	stroke: #fff;
	fill: none;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

/* Card content */
.card-content {
	position: relative;
	z-index: 5;
	width: 100%;
}

.card-title {
	font-size: 16px;
	font-weight: 700;
	color: #fff;
	line-height: 1.3;
	margin-bottom: 6px;
	text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
	letter-spacing: -0.2px;
}

.card-subtitle {
	font-size: 13px;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.85);
	line-height: 1.4;
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

/* Right column card variant — slightly different for hostel */
.pro-card-right {
	min-height: 140px;
	padding: 22px 16px;
}

/* ═══════════════════════════════════════
   PROFESSIONAL COLOR PALETTE — sophisticated gradients
═══════════════════════════════════════ */
/* Primary Blue — Deep Ocean */
.color-primary-1 {
	background: linear-gradient(145deg, #1A365D, #2C5282, #3182CE);
}

.color-primary-2 {
	background: linear-gradient(145deg, #1E4A6F, #2B6C9E, #4299E1);
}

/* Teal — Elegant Verdant */
.color-teal-1 {
	background: linear-gradient(145deg, #1D4044, #276749, #2F855A);
}

.color-teal-2 {
	background: linear-gradient(145deg, #1E4B4B, #2C6B6B, #38A89D);
}

/* Purple — Royal */
.color-purple-1 {
	background: linear-gradient(145deg, #322659, #44337A, #6B46C1);
}

.color-purple-2 {
	background: linear-gradient(145deg, #3C366B, #553C9A, #805AD5);
}

/* Amber/Gold — Warm Prestige */
.color-gold-1 {
	background: linear-gradient(145deg, #744210, #975A16, #D69E2E);
}

.color-gold-2 {
	background: linear-gradient(145deg, #7B4D1A, #A1621B, #E9B741);
}

/* Red/Burgundy — Rich */
.color-red-1 {
	background: linear-gradient(145deg, #63171B, #9B2C2C, #C53030);
}

/* Indigo — Deep Professional */
.color-indigo-1 {
	background: linear-gradient(145deg, #283152, #2E3B6E, #4159A5);
}

.color-indigo-2 {
	background: linear-gradient(145deg, #1E2A5A, #2F3B7A, #4C63B8);
}

/* Cyan — Cool */
.color-cyan-1 {
	background: linear-gradient(145deg, #165A6B, #1D7A8F, #319795);
}

/* Pink/Magenta — Accent */
.color-accent-1 {
	background: linear-gradient(145deg, #521B41, #742A5A, #A53F7A);
}

/* LMS Card Special Gradient */
.color-lms {
	background: linear-gradient(145deg, #0F4C5C, #1A6D7A, #2C9A9A);
}

/* ═══════════════════════════════════════
   MODERN INSTITUTE LIST STYLING
═══════════════════════════════════════ */
.inst-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.inst-row {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 16px 20px;
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.05);
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
}

.inst-row::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	height: 100%;
	width: 4px;
	background: linear-gradient(180deg, #D2AF37, #F5D060);
	opacity: 0;
	transition: opacity 0.3s ease;
}

.inst-row:hover {
	background: rgba(30, 40, 60, 0.8);
	border-color: rgba(210, 175, 55, 0.3);
	transform: translateX(4px);
	box-shadow: 0 10px 25px -10px rgba(0, 0, 0, 0.5);
}

.inst-row:hover::before {
	opacity: 1;
}

.inst-row-num {
	width: 36px;
	height: 36px;
	border-radius: 12px;
	background: linear-gradient(135deg, rgba(210, 175, 55, 0.2),
		rgba(210, 175, 55, 0.1));
	border: 1px solid rgba(210, 175, 55, 0.3);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
	font-weight: 700;
	color: #D2AF37;
	flex-shrink: 0;
	box-shadow: 0 5px 10px -5px rgba(210, 175, 55, 0.3);
}

.inst-row-name {
	flex: 1;
	font-size: 16px;
	font-weight: 500;
	color: #fff;
	line-height: 1.4;
	letter-spacing: 0.2px;
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Professional Select Button */
.inst-select-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 22px;
	border-radius: 40px;
	background: linear-gradient(135deg, #1E3A8A, #2563EB, #3B82F6);
	background-size: 200% 200%;
	background-position: 0% 0%;
	border: none;
	cursor: pointer;
	font-size: 13px;
	font-weight: 600;
	color: #fff;
	white-space: nowrap;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	text-decoration: none;
	flex-shrink: 0;
	transition: all 0.3s ease;
	box-shadow: 0 8px 20px -8px rgba(37, 99, 235, 0.6);
	position: relative;
	overflow: hidden;
}

.inst-select-btn::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2),
		transparent);
	transition: left 0.5s ease;
}

.inst-select-btn:hover {
	background-position: 50% 50%;
	transform: translateY(-3px) scale(1.02);
	box-shadow: 0 15px 25px -8px rgba(37, 99, 235, 0.8);
}

.inst-select-btn:hover::before {
	left: 100%;
}

.inst-select-btn:active {
	transform: translateY(-1px) scale(0.98);
}

.inst-select-btn svg {
	width: 16px;
	height: 16px;
	stroke: #fff;
	stroke-width: 2.5;
	transition: transform 0.3s ease;
}

.inst-select-btn:hover svg {
	transform: translateX(4px);
}

/* Loading State Styling */
.m-loading {
	text-align: center;
	padding: 48px 0;
	color: rgba(255, 255, 255, 0.6);
	font-size: 15px;
	font-weight: 500;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
}

.m-spinner {
	width: 44px;
	height: 44px;
	border: 3px solid rgba(210, 175, 55, 0.2);
	border-top-color: #D2AF37;
	border-radius: 50%;
	animation: spin 0.8s linear infinite;
}

/* Empty State Styling */
.m-empty {
	text-align: center;
	padding: 48px 0;
	color: rgba(255, 255, 255, 0.5);
	font-size: 15px;
	font-weight: 500;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
}

.m-empty svg {
	width: 56px;
	height: 56px;
	stroke: rgba(210, 175, 55, 0.3);
	fill: none;
	stroke-width: 1.5;
}

/* ═══════════════════════════════════════
   MODAL — refined, all functionality preserved
═══════════════════════════════════════ */
@
keyframes modalFadeIn {from { opacity:0;
	
}

to {
	opacity: 1;
}

}
@
keyframes modalSlideUp {from { opacity:0;
	transform: translateY(30px) scale(0.98);
}

to {
	opacity: 1;
	transform: translateY(0) scale(1);
}

}
@
keyframes spin {to { transform:rotate(360deg);
	
}

}
.inst-backdrop {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 500;
	background: rgba(5, 10, 22, 0.85);
	backdrop-filter: blur(10px);
	align-items: center;
	justify-content: center;
}

.inst-backdrop.open {
	display: flex;
	animation: modalFadeIn 0.2s ease both;
}

.inst-modal {
	background: linear-gradient(160deg, #141E34 0%, #0F172A 100%);
	border: 1px solid rgba(210, 175, 55, 0.25);
	border-radius: 24px;
	width: 620px;
	max-width: 94vw;
	max-height: 80vh;
	display: flex;
	flex-direction: column;
	box-shadow: 0 35px 80px rgba(0, 0, 0, 0.8);
	animation: modalSlideUp 0.3s cubic-bezier(0.2, 0.9, 0.3, 1) both;
	overflow: hidden;
}

.modal-topbar {
	height: 4px;
	background: linear-gradient(90deg, transparent, #D2AF37, #F5D060, #D2AF37,
		transparent);
	flex-shrink: 0;
}

.modal-head {
	padding: 20px 24px 16px;
	border-bottom: 1px solid rgba(210, 175, 55, 0.15);
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-shrink: 0;
}

.modal-head-left {
	display: flex;
	align-items: center;
	gap: 16px;
}

.modal-type-badge {
	width: 48px;
	height: 48px;
	border-radius: 16px;
	background: rgba(210, 175, 55, 0.1);
	border: 1px solid rgba(210, 175, 55, 0.3);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.modal-type-badge svg {
	width: 22px;
	height: 22px;
	stroke: #D2AF37;
	fill: none;
	stroke-width: 1.8;
}

.modal-head-text h4 {
	font-family: 'Playfair Display', serif;
	font-size: 18px;
	font-weight: 700;
	color: #fff;
}

.modal-head-text p {
	font-size: 13px;
	color: rgba(255, 255, 255, 0.5);
	margin-top: 4px;
}

.modal-close-btn {
	width: 34px;
	height: 34px;
	border-radius: 10px;
	border: none;
	cursor: pointer;
	background: rgba(255, 255, 255, 0.05);
	color: rgba(255, 255, 255, 0.5);
	font-size: 18px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.2s;
	flex-shrink: 0;
}

.modal-close-btn:hover {
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
}

.modal-body {
	padding: 16px 24px 24px;
	overflow-y: auto;
	flex: 1;
}

.modal-body::-webkit-scrollbar {
	width: 5px;
}

.modal-body::-webkit-scrollbar-thumb {
	background: rgba(210, 175, 55, 0.25);
	border-radius: 10px;
}

/* College List Styling (for LMS) */
.college-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.college-row {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 16px 20px;
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.05);
	transition: all 0.3s ease;
}

.college-row:hover {
	background: rgba(30, 40, 60, 0.8);
	border-color: rgba(210, 175, 55, 0.3);
	transform: translateX(4px);
}

.college-icon {
	width: 40px;
	height: 40px;
	border-radius: 12px;
	background: linear-gradient(135deg, rgba(210, 175, 55, 0.2),
		rgba(210, 175, 55, 0.1));
	border: 1px solid rgba(210, 175, 55, 0.3);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.college-icon svg {
	width: 20px;
	height: 20px;
	stroke: #D2AF37;
	fill: none;
	stroke-width: 1.8;
}

.college-info {
	flex: 1;
}

.college-name {
	font-size: 16px;
	font-weight: 600;
	color: #fff;
	margin-bottom: 4px;
}

.college-url {
	font-size: 12px;
	color: rgba(210, 175, 55, 0.7);
	word-break: break-all;
}

.college-link-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 22px;
	border-radius: 40px;
	background: linear-gradient(135deg, #1E3A8A, #2563EB);
	border: none;
	cursor: pointer;
	font-size: 13px;
	font-weight: 600;
	color: #fff;
	white-space: nowrap;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	text-decoration: none;
	flex-shrink: 0;
	transition: all 0.3s ease;
	box-shadow: 0 8px 20px -8px rgba(37, 99, 235, 0.6);
}

.college-link-btn:hover {
	background: linear-gradient(135deg, #2563EB, #1E3A8A);
	transform: translateY(-3px) scale(1.02);
	box-shadow: 0 15px 25px -8px rgba(37, 99, 235, 0.8);
	color: #fff;
	text-decoration: none;
}

.college-link-btn svg {
	width: 16px;
	height: 16px;
	stroke: #fff;
	stroke-width: 2.5;
	transition: transform 0.3s ease;
}

.college-link-btn:hover svg {
	transform: translateX(4px);
}

/* ═══════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════ */
@media ( max-width : 1100px) {
	.pro-layout {
		grid-template-columns: 1fr 240px;
		gap: 24px;
	}
}

@media ( max-width : 960px) {
	html, body {
		overflow: auto;
	}
	.erp-page {
		flex-direction: column;
		height: auto;
		min-height: 100vh;
	}
	.erp-sidebar {
		position: fixed;
		top: 0;
		left: 0;
		bottom: 0;
		width: 280px;
		transform: translateX(-100%);
		transition: transform 0.3s ease;
		z-index: 100;
	}
	.erp-sidebar.open {
		transform: translateX(0);
	}
	.sb-overlay.open {
		display: block;
	}
	.sb-toggle {
		display: flex;
	}
	.erp-main {
		min-height: 100vh;
	}
	.dash-scroll {
		padding: 80px 20px 30px;
	}
	.pro-layout {
		grid-template-columns: 1fr;
		gap: 30px;
	}
	.card-grid-3 {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media ( max-width : 640px) {
	.card-grid-3 {
		grid-template-columns: repeat(2, 1fr);
	}
	.inst-row {
		flex-direction: column;
		align-items: flex-start;
	}
	.inst-select-btn {
		width: 100%;
		justify-content: center;
	}
	.college-row {
		flex-direction: column;
		align-items: flex-start;
	}
	.college-link-btn {
		width: 100%;
		justify-content: center;
	}
}

@media ( max-width : 480px) {
	.card-grid-3 {
		grid-template-columns: 1fr;
	}
	.pro-card {
		min-height: 130px;
	}
}