/* Multi-School Platform — front-end defaults. Override freely in Elementor or your theme. */

.msp-level-section { margin: 0 0 56px; }
.msp-level-heading { margin: 0 0 24px; font-size: 1.5rem; font-weight: 500; }

.msp-course-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 24px;
}

.msp-card--basic {
	display: flex;
	flex-direction: column;
	background: #fff;
	border-radius: 6px;
	box-shadow: 0 2px 12px rgba(0, 0, 0, .08);
	overflow: hidden;
}
.msp-card--basic .msp-card__media img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.msp-card--basic .msp-card__body { display: flex; flex-direction: column; flex: 1; padding: 20px; }
.msp-card--basic .msp-card__title { margin: 0 0 20px; font-size: 1.1rem; }
.msp-card--basic .msp-card__title a { color: inherit; text-decoration: none; }
.msp-card--basic .msp-card__button {
	margin-top: auto;
	padding: 8px 12px;
	border: 1px solid var(--msp-primary, #2563eb);
	border-radius: 4px;
	color: var(--msp-primary, #2563eb);
	text-align: center;
	text-decoration: none;
}

.msp-dashboard-bar {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 16px;
	padding: 12px 16px;
	border-left: 4px solid var(--msp-primary, #2563eb);
	background: #f6f8fb;
	border-radius: 4px;
}
.msp-dashboard-bar__logo img { display: block; max-height: 36px; width: auto; }
.msp-dashboard-bar__sep { margin: 0 4px; opacity: .6; }

.msp-finder__search { width: 100%; max-width: 420px; margin: 0 0 24px; padding: 10px 14px; }
.msp-finder__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 24px; }
.msp-finder__item { padding: 24px; background: #fff; border-radius: 6px; box-shadow: 0 2px 12px rgba(0, 0, 0, .08); text-align: center; }
.msp-finder__logo img { max-height: 80px; width: auto; }
.msp-finder__name { margin: 12px 0 16px; font-size: 1.05rem; }
.msp-finder__actions { display: flex; gap: 8px; justify-content: center; }
.msp-finder__btn { padding: 8px 14px; border: 1px solid #2563eb; border-radius: 4px; color: #2563eb; text-decoration: none; }
.msp-finder__btn--primary { background: #2563eb; color: #fff; }

.msp-notice { margin: 0 0 20px; padding: 12px 16px; border-radius: 4px; border-left: 4px solid; }
.msp-notice--success { background: #ecfdf3; border-color: #16a34a; }
.msp-notice--info { background: #eff6ff; border-color: #2563eb; }
.msp-notice--error { background: #fef2f2; border-color: #dc2626; }
.msp-hide { display: none !important; }
