/* ============================================================
   Rhino Boxing — Timetable Widget
   Weekly class-schedule grid (Req 6.3–6.7, 16.4).

   Markup/classes are ported from the concept-1 prototype
   (table.schedule, .class-chip, .cc-name, .cc-meta). Colours are
   declared here as Design System token defaults (with hard-coded
   fallbacks) so that when an Elementor Style control is cleared the
   element still renders in the correct brand colour (Req 3.7).
   ============================================================ */

.rhino-timetable {
	background-color: var(--atmo0, #000000);
	color: var(--text, #FFFFFF);
	font-family: var(--font-body, 'Archivo', system-ui, -apple-system, sans-serif);
}

/* --- Section head --------------------------------------------------- */
.rhino-timetable__head {
	text-align: center;
	margin-bottom: var(--space-5, 24px);
}

.rhino-timetable__overline {
	display: block;
	color: var(--brand, #E59744);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: var(--tracking-wide, 0.08em);
	text-transform: uppercase;
	margin-bottom: var(--space-2, 8px);
}

.rhino-timetable__title {
	color: var(--text, #FFFFFF);
	font-family: var(--font-display, 'Anton', system-ui, -apple-system, sans-serif);
	text-transform: uppercase;
	font-size: 40px;
	line-height: 1.1;
	font-weight: 400;
	margin: 0 0 var(--space-3, 12px);
}

.rhino-timetable__intro {
	color: var(--placeholder, #B8B8B8);
	font-size: 16px;
	line-height: 1.7;
	margin: 0 auto;
	max-width: 640px;
}

/* --- Persistent display-only notice (Req 6.7) ----------------------- */
.rhino-timetable__notice {
	display: flex;
	align-items: center;
	gap: var(--space-2, 8px);
	justify-content: center;
	max-width: 760px;
	margin: 0 auto var(--space-5, 24px);
	padding: var(--space-3, 12px) var(--space-4, 16px);
	background-color: rgba(229, 151, 68, 0.08);
	border: 1px solid var(--border, #2A2A2A);
	border-left: 3px solid var(--brand, #E59744);
	border-radius: var(--radius-md, 8px);
	color: var(--placeholder, #B8B8B8);
	font-size: 13px;
	line-height: 1.5;
}

.rhino-timetable__notice .rhino-icon {
	color: var(--brand, #E59744);
	flex: 0 0 auto;
}

/* --- Schedule table (ported: table.schedule) ----------------------- */
.rhino-schedule-wrap {
	overflow-x: auto;
	border-radius: var(--radius-lg, 12px);
	border: 1px solid var(--border, #2A2A2A);
}

.rhino-schedule {
	width: 100%;
	border-collapse: collapse;
	min-width: 760px;
}

.rhino-schedule th {
	background: var(--atmo0, #000000);
	color: var(--brand, #E59744);
	font-family: var(--font-display, 'Anton', system-ui, -apple-system, sans-serif);
	text-transform: uppercase;
	font-size: 14px;
	font-weight: 400;
	padding: 16px 14px;
	text-align: center;
	border-bottom: 1px solid var(--border, #2A2A2A);
}

.rhino-schedule td {
	padding: 10px;
	text-align: center;
	border-bottom: 1px solid var(--border, #2A2A2A);
	border-left: 1px solid var(--border, #2A2A2A);
	background: var(--atmo2, #141414);
	vertical-align: top;
}

.rhino-schedule__time {
	color: var(--placeholder, #B8B8B8);
	font-weight: 600;
	font-size: 13px;
	white-space: nowrap;
	background: var(--atmo1, #0A0A0A) !important;
}

/* --- Class chip (ported: .class-chip / .cc-name / .cc-meta) --------- */
.rhino-timetable .class-chip {
	display: block;
	background-color: rgba(229, 151, 68, 0.1);
	color: var(--text, #FFFFFF);
	border: 1px solid var(--brand, #E59744);
	border-radius: var(--radius-md, 8px);
	padding: 8px 6px;
	cursor: pointer;
	transition: background-color var(--dur-base, 250ms), color var(--dur-base, 250ms);
}

.rhino-timetable .class-chip + .class-chip {
	margin-top: 6px;
}

.rhino-timetable .class-chip:hover,
.rhino-timetable .class-chip:focus-visible {
	background-color: var(--brand, #E59744);
	color: #000000;
	outline: none;
}

.rhino-timetable .class-chip:hover .cc-name,
.rhino-timetable .class-chip:hover .cc-meta,
.rhino-timetable .class-chip:focus-visible .cc-name,
.rhino-timetable .class-chip:focus-visible .cc-meta {
	color: #000000;
}

.rhino-timetable .cc-name {
	display: block;
	font-weight: 700;
	font-size: 12px;
	color: inherit;
	text-transform: uppercase;
}

.rhino-timetable .cc-meta {
	display: block;
	font-size: 11px;
	color: var(--placeholder, #B8B8B8);
}

/* --- Empty state (Req 6.5) ----------------------------------------- */
.rhino-timetable__empty {
	text-align: center;
	padding: var(--space-10, 64px) var(--space-4, 16px);
	border: 1px dashed var(--border, #2A2A2A);
	border-radius: var(--radius-lg, 12px);
	background: var(--atmo2, #141414);
	color: var(--placeholder, #B8B8B8);
}

.rhino-timetable__empty .rhino-icon {
	color: var(--brand, #E59744);
	font-size: 32px;
	margin-bottom: var(--space-3, 12px);
}

.rhino-timetable__empty p {
	margin: 0;
	font-size: 16px;
}

/* --- Responsive ----------------------------------------------------- */
@media (max-width: 767px) {
	.rhino-timetable__title {
		font-size: 30px;
	}
}

/* === Section container + vertical rhythm ===
   Constrain to the concept-1 container width and add section padding so the
   widget does not bleed edge-to-edge inside a full-width Elementor section. */
.rhino-timetable {
	max-width: 1280px;
	margin-left: auto;
	margin-right: auto;
	padding: 80px 24px;
	background-color: transparent;
}
@media (max-width: 767px) {
	.rhino-timetable { padding: 56px 20px; }
}
