.imp-frontend-wrap { max-width: 1000px; margin: 0 auto; padding: 20px 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; color: #222; }

/* ---------- Auth Card ---------- */
.imp-auth-card {
	max-width: 480px;
	margin: 20px auto;
	background: #fff;
	border-radius: 14px;
	padding: 36px;
	box-shadow: 0 8px 30px rgba(0,0,0,0.08);
	border-top: 4px solid #f5c518;
}
.imp-auth-card h2 { margin-top: 0; font-size: 22px; }
.imp-sub { color: #666; margin-bottom: 20px; font-size: 14px; }

.imp-form { display: flex; flex-wrap: wrap; gap: 14px; }
.imp-form-row { display: flex; flex-direction: column; gap: 6px; flex: 1 1 220px; }
.imp-form-row.imp-full { flex-basis: 100%; }
.imp-form-row label { font-weight: 600; font-size: 13px; }
.imp-form-row input, .imp-form-row select, .imp-form-row textarea {
	padding: 10px 12px; border: 1px solid #ddd; border-radius: 8px; font-size: 14px; width: 100%; box-sizing: border-box;
}
.imp-form-row textarea { min-height: 80px; }

.imp-btn {
	display: inline-block; background: #111; color: #f5c518 !important; font-weight: 700;
	padding: 12px 26px; border: none; border-radius: 8px; cursor: pointer; text-decoration: none; font-size: 14px;
	transition: background .2s ease;
}
.imp-btn:hover { background: #2a2a2a; }
.imp-btn-outline { background: transparent; color: #111 !important; border: 2px solid #111; }
.imp-btn-outline:hover { background: #111; color: #f5c518 !important; }
.imp-btn-sm { padding: 6px 14px; font-size: 12px; }
.imp-btn-primary { background: #111; color: #f5c518 !important; }

.imp-alert { padding: 14px 18px; border-radius: 10px; margin-bottom: 18px; font-weight: 500; }
.imp-alert-success { background: #e6f6ea; color: #1a7f37; border: 1px solid #b7e4c1; }
.imp-alert-error { background: #fde8e8; color: #c0262d; border: 1px solid #f3b7b7; }

/* ---------- Dashboard ---------- */
.imp-dashboard { }
.imp-dash-header {
	display: flex; align-items: center; gap: 18px; background: linear-gradient(135deg,#111,#2a2a2a);
	color: #fff; padding: 24px; border-radius: 14px; margin-bottom: 20px;
}
.imp-dash-header h2 { margin: 0; color: #f5c518; }
.imp-dash-header p { margin: 4px 0 0; opacity: .85; font-size: 13px; }
.imp-dash-header .imp-btn-outline { margin-left: auto; border-color: #f5c518; color: #f5c518 !important; }
.imp-dash-header .imp-btn-outline:hover { background: #f5c518; color: #111 !important; }
.imp-dash-avatar { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 3px solid #f5c518; }

.imp-stat-row { display: flex; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.imp-mini-stat { background: #fff; border: 1px solid #eee; border-radius: 12px; padding: 18px 24px; flex: 1 1 200px; box-shadow: 0 2px 8px rgba(0,0,0,.04); }
.imp-mini-stat h3 { margin: 0; font-size: 24px; color: #111; }
.imp-mini-stat p { margin: 4px 0 0; color: #777; font-size: 13px; }

.imp-tabs { background: #fff; border-radius: 14px; border: 1px solid #eee; overflow: hidden; }
.imp-tab-nav { display: flex; flex-wrap: wrap; background: #fafafa; border-bottom: 1px solid #eee; }
.imp-tab-nav button {
	background: none; border: none; padding: 14px 20px; cursor: pointer; font-weight: 600; font-size: 13px; color: #555;
	border-bottom: 3px solid transparent;
}
.imp-tab-nav button.active { color: #111; border-bottom-color: #f5c518; }
.imp-tab-panel { padding: 24px; }

.imp-info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 16px; }
.imp-info-grid div { display: flex; flex-direction: column; gap: 4px; }
.imp-info-grid strong { font-size: 12px; text-transform: uppercase; color: #999; letter-spacing: .04em; }
.imp-info-grid span { font-size: 15px; }

.imp-front-table { width: 100%; border-collapse: collapse; }
.imp-front-table th, .imp-front-table td { padding: 10px 12px; text-align: left; border-bottom: 1px solid #f0f0f0; font-size: 14px; }
.imp-front-table th { background: #fafafa; font-size: 12px; text-transform: uppercase; color: #888; }

.imp-badge { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 12px; font-weight: 600; text-transform: capitalize; }
.imp-badge-active, .imp-badge-paid, .imp-badge-present, .imp-badge-credit { background: #e6f6ea; color: #1a7f37; }
.imp-badge-inactive, .imp-badge-unpaid, .imp-badge-absent, .imp-badge-debit { background: #fde8e8; color: #c0262d; }
.imp-badge-partial, .imp-badge-leave, .imp-badge-scheduled { background: #fff6db; color: #916800; }

.imp-permission-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px,1fr)); gap: 16px; }
.imp-permission-card { background: #fff; border: 1px solid #eee; border-radius: 12px; padding: 20px; text-decoration: none; color: #111; box-shadow: 0 2px 8px rgba(0,0,0,.04); transition: transform .15s ease; }
.imp-permission-card:hover { transform: translateY(-3px); border-color: #f5c518; }
.imp-permission-card h3 { margin: 0 0 6px; color: #111; }
.imp-permission-card p { margin: 0; color: #777; font-size: 13px; }

/* ---------- Courses ---------- */
.imp-courses-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px,1fr)); gap: 20px; }
.imp-course-card { background: #fff; border-radius: 14px; padding: 22px; box-shadow: 0 4px 16px rgba(0,0,0,.06); border-top: 4px solid #f5c518; }
.imp-course-card h3 { margin: 0 0 6px; }
.imp-course-duration { color: #777; font-size: 13px; margin: 0 0 10px; }
.imp-course-fee { font-size: 20px; font-weight: 700; color: #111; margin: 0 0 10px; }

/* ---------- Study Material ---------- */
.imp-materials-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px,1fr)); gap: 16px; }
.imp-material-card { background: #fff; border: 1px solid #eee; border-radius: 12px; padding: 18px; box-shadow: 0 2px 8px rgba(0,0,0,.04); }
.imp-material-type { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 11px; font-weight: 700; background: #111; color: #f5c518; margin-bottom: 8px; }
.imp-material-card h4 { margin: 0 0 6px; }
.imp-material-card p { color: #777; font-size: 13px; min-height: 32px; }

/* ---------- Printable Documents ---------- */
.imp-doc-header { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; border-bottom: 2px solid #111; padding-bottom: 16px; }
.imp-doc-logo { max-height: 60px; }
.imp-doc-header h1 { margin: 0; font-size: 22px; }
.imp-doc-header p { margin: 2px 0 0; color: #666; font-size: 13px; }
.imp-doc-title { text-align: center; letter-spacing: 2px; margin: 20px 0; font-size: 20px; }
.imp-doc-meta { width: 100%; margin-bottom: 16px; }
.imp-doc-meta td { padding: 6px 4px; font-size: 14px; }
.imp-doc-table { width: 100%; border-collapse: collapse; margin-bottom: 16px; }
.imp-doc-table th, .imp-doc-table td { border: 1px solid #ddd; padding: 8px 10px; font-size: 14px; text-align: left; }
.imp-doc-table th { background: #111; color: #f5c518; }
.imp-doc-status { font-size: 16px; margin-top: 16px; }
.imp-doc-footer { margin-top: 30px; color: #999; font-size: 12px; text-align: center; }

.imp-admitcard-body { display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; }
.imp-admitcard-photo img { width: 110px; height: 130px; object-fit: cover; border: 2px solid #111; border-radius: 6px; }

.imp-certificate { text-align: center; border: 6px double #f5c518; padding: 40px; }
.imp-cert-title { font-size: 26px; letter-spacing: 3px; margin: 20px 0; }
.imp-cert-body { color: #555; }
.imp-cert-name { font-size: 28px; margin: 10px 0; color: #111; border-bottom: 2px solid #f5c518; display: inline-block; padding-bottom: 6px; }
.imp-cert-course { font-size: 20px; color: #111; }
.imp-cert-sign { margin-top: 40px; }
.imp-cert-sign img { max-height: 60px; }
.imp-cert-sign p { border-top: 1px solid #999; display: inline-block; padding-top: 4px; margin-top: 4px; }

/* ---------- Dynamic Pages ---------- */
.imp-dynamic-page { background: #fff; border-radius: 14px; padding: 30px; box-shadow: 0 4px 16px rgba(0,0,0,.05); }
