/*
 * Spellman School Planner — Plugin Styles
 *
 * All styles for this plugin are compiled into the Spellman Walker
 * theme via style.less. This file is intentionally empty.
 *
 * See: wp-content/themes/spellman-walker/style.less
 * (search for "Spellman School Planner Plugin")
 */

/* ── Planner cover thumbnail ───────────────────────────────── */
.ssp-planner-thumb-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 12px;
	padding: 0;
	background: none;
	border: none;
	cursor: pointer;
	text-decoration: none;
}

.ssp-planner-thumb {
	display: block;
	width: 70px;
	height: auto;
	border: 2px solid #ccc;
	border-radius: 3px;
	box-shadow: 0 2px 6px rgba(0,0,0,.18);
	transition: border-color .2s, box-shadow .2s;
}

.ssp-planner-thumb-btn:hover .ssp-planner-thumb,
.ssp-planner-thumb-btn:focus .ssp-planner-thumb {
	border-color: #009c9c;
	box-shadow: 0 3px 10px rgba(0,0,0,.28);
}

.ssp-planner-thumb-hint {
	font-size: 11px;
	color: #009c9c;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	text-decoration: underline;
	white-space: nowrap;
}

/* ── Field note (red instruction, matches label style) ─────── */
.ssp-field-note {
	margin: 0 0 8px;
	font-size: 11px;
	line-height: 20px;
	font-weight: 700;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: #c0392b;
}

/* ── Lightbox ───────────────────────────────────────────────── */
.ssp-lightbox {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 99999;
	align-items: center;
	justify-content: center;
}

.ssp-lightbox.is-open {
	display: flex;
}

.ssp-lightbox-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, .75);
}

.ssp-lightbox-inner {
	position: relative;
	z-index: 1;
	max-width: 90vw;
	max-height: 90vh;
	display: flex;
	align-items: center;
	justify-content: center;
}

.ssp-lightbox-img {
	display: block;
	max-width: 100%;
	max-height: 90vh;
	width: auto;
	height: auto;
	border-radius: 4px;
	box-shadow: 0 8px 40px rgba(0,0,0,.5);
}

.ssp-lightbox-close {
	position: absolute;
	top: -16px;
	right: -16px;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: #fff;
	border: none;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 2px 8px rgba(0,0,0,.3);
	transition: background .2s;
	z-index: 2;
}

.ssp-lightbox-close:hover {
	background: #f0f0f0;
}
