/* LPC Scheduler — front-end styles for schedules, tabs, events, booking form.
   Uses the lpc2026 theme custom properties when present, with fallbacks. */

/* ---------------------------------------------------- tabs */

.lpc-tabs__list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 0 0 1.5rem;
	padding: 0.4rem;
	background: var(--lpc-navy-050, #eef4fb);
	border-radius: 999px;
	width: fit-content;
	max-width: 100%;
}

.lpc-tabs__tab {
	appearance: none;
	border: 0;
	background: transparent;
	font: inherit;
	font-weight: 600;
	font-size: 0.95rem;
	color: var(--lpc-navy, #1b4f8a);
	padding: 0.55rem 1.1rem;
	border-radius: 999px;
	cursor: pointer;
	transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.lpc-tabs__tab:hover {
	background: rgba(27, 79, 138, 0.12);
}

.lpc-tabs__tab.is-active {
	background: var(--lpc-navy, #1b4f8a);
	color: #fff;
	box-shadow: 0 4px 14px rgba(27, 79, 138, 0.35);
}

.lpc-tabs__tab:focus-visible {
	outline: 3px solid var(--lpc-aqua, #19b5d4);
	outline-offset: 2px;
}

.lpc-tabs__panel:focus-visible {
	outline: 3px solid var(--lpc-aqua, #19b5d4);
	outline-offset: 4px;
	border-radius: 12px;
}

/* ---------------------------------------------------- weekly schedule */

.lpc-schedule__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
	gap: 1rem;
	align-items: start;
}

.lpc-day {
	background: #fff;
	border: 1px solid rgba(27, 79, 138, 0.12);
	border-radius: 14px;
	padding: 1rem 1.1rem 1.2rem;
	box-shadow: 0 6px 18px rgba(17, 41, 68, 0.06);
}

.lpc-day.is-today {
	border: 2px solid var(--lpc-aqua, #19b5d4);
	box-shadow: 0 10px 26px rgba(25, 181, 212, 0.18);
}

.lpc-day__name {
	margin: 0 0 0.75rem;
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: var(--lpc-navy, #1b4f8a);
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.lpc-day__badge {
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	background: var(--lpc-aqua, #19b5d4);
	color: #06283d;
	padding: 0.15rem 0.55rem;
	border-radius: 999px;
	text-transform: uppercase;
}

.lpc-day__empty {
	margin: 0;
	color: #6b7a8c;
	font-size: 0.92rem;
	font-style: italic;
}

.lpc-day__slots {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.7rem;
}

.lpc-slot {
	display: grid;
	gap: 0.1rem;
	padding: 0.6rem 0.75rem;
	background: var(--lpc-navy-050, #eef4fb);
	border-left: 4px solid var(--lpc-aqua, #19b5d4);
	border-radius: 8px;
}

.lpc-slot__time {
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--lpc-navy, #1b4f8a);
}

.lpc-slot__title {
	font-weight: 600;
	color: #16283c;
}

.lpc-slot__meta {
	font-size: 0.85rem;
	color: #55677c;
}

/* ---------------------------------------------------- event cards */

.lpc-events {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 1.5rem;
}

.lpc-event-card {
	background: #fff;
	border: 1px solid rgba(27, 79, 138, 0.12);
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 8px 24px rgba(17, 41, 68, 0.07);
	transition: transform 0.18s ease, box-shadow 0.18s ease;
	display: flex;
}

.lpc-event-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 34px rgba(17, 41, 68, 0.13);
}

.lpc-event-card__body {
	padding: 1.4rem 1.5rem 1.5rem;
	display: flex;
	flex-direction: column;
	gap: 0.45rem;
	width: 100%;
}

.lpc-event-card__date {
	margin: 0;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	color: var(--lpc-aqua-dark, #0d8aa6);
}

.lpc-event-card__title {
	margin: 0;
	font-size: 1.25rem;
	line-height: 1.3;
}

.lpc-event-card__title a {
	color: var(--lpc-navy, #1b4f8a);
	text-decoration: none;
}

.lpc-event-card__title a:hover {
	text-decoration: underline;
}

.lpc-event-card__meta {
	margin: 0;
	font-weight: 600;
	font-size: 0.92rem;
	color: #35506b;
}

.lpc-event-card__excerpt {
	margin: 0;
	color: #4a5d71;
	font-size: 0.95rem;
}

.lpc-event-card__capacity {
	margin: 0;
	font-size: 0.85rem;
	color: #6b7a8c;
}

.lpc-event-card__link {
	margin-top: auto;
	padding-top: 0.5rem;
	font-weight: 700;
	font-size: 0.92rem;
	color: var(--lpc-aqua-dark, #0d8aa6);
	text-decoration: none;
}

.lpc-event-card__link:hover {
	text-decoration: underline;
}

/* ---------------------------------------------------- notices */

.lpc-notice {
	padding: 1rem 1.25rem;
	border-radius: 12px;
	margin: 0 0 1.5rem;
	font-weight: 600;
}

.lpc-notice--success {
	background: #e7f7ee;
	border: 1px solid #9adbb6;
	color: #0d5c31;
}

.lpc-notice--error {
	background: #fdeeee;
	border: 1px solid #f0b3b3;
	color: #8a1f22;
}

/* ---------------------------------------------------- booking form */

.lpc-booking-form {
	background: #fff;
	border: 1px solid rgba(27, 79, 138, 0.12);
	border-radius: 16px;
	padding: 2rem;
	box-shadow: 0 8px 24px rgba(17, 41, 68, 0.07);
	max-width: 860px;
}

.lpc-form-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 0 1.5rem;
}

.lpc-field {
	margin: 0 0 1.2rem;
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
}

.lpc-field label,
.lpc-field__label {
	font-weight: 600;
	font-size: 0.95rem;
	color: #16283c;
}

.lpc-req {
	color: #b32d2e;
}

.lpc-booking-form input[type="text"],
.lpc-booking-form input[type="email"],
.lpc-booking-form input[type="tel"],
.lpc-booking-form input[type="date"],
.lpc-booking-form input[type="time"],
.lpc-booking-form input[type="number"],
.lpc-booking-form select,
.lpc-booking-form textarea {
	font: inherit;
	padding: 0.65rem 0.8rem;
	border: 1.5px solid #c4d2e0;
	border-radius: 10px;
	background: #fbfdff;
	color: #16283c;
	width: 100%;
}

.lpc-booking-form input:focus,
.lpc-booking-form select:focus,
.lpc-booking-form textarea:focus {
	outline: 3px solid var(--lpc-aqua, #19b5d4);
	outline-offset: 1px;
	border-color: var(--lpc-navy, #1b4f8a);
}

.lpc-field__pair {
	display: flex;
	align-items: center;
	gap: 0.6rem;
}

.lpc-field__dash {
	color: #6b7a8c;
}

.lpc-form-note {
	margin: 0.75rem 0 0;
	font-size: 0.85rem;
	color: #6b7a8c;
}

/* Honeypot: visually removed, still in the DOM for bots. */
.lpc-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* Button fallback (theme also styles .lpc-btn). */
.lpc-btn {
	display: inline-block;
	font: inherit;
	font-weight: 700;
	padding: 0.85rem 1.9rem;
	border-radius: 999px;
	border: 0;
	cursor: pointer;
	text-decoration: none;
	transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.lpc-btn--primary {
	background: linear-gradient(100deg, var(--lpc-navy, #1b4f8a), var(--lpc-aqua-dark, #0d8aa6));
	color: #fff;
	box-shadow: 0 8px 20px rgba(27, 79, 138, 0.32);
}

.lpc-btn--primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 26px rgba(27, 79, 138, 0.4);
	color: #fff;
}

.lpc-btn:focus-visible {
	outline: 3px solid var(--lpc-aqua, #19b5d4);
	outline-offset: 3px;
}

/* ---------------------------------------------------- small screens */

@media (max-width: 640px) {
	.lpc-tabs__list {
		border-radius: 16px;
		width: 100%;
	}

	.lpc-tabs__tab {
		flex: 1 1 auto;
		text-align: center;
	}

	.lpc-booking-form {
		padding: 1.4rem;
	}
}
