/* Rota page: small additions layered on top of the site's existing theme
   (assets/css/main.css) — same palette, same spacing units, no new colors. */

.error {
	color: #e0a3a3;
}

.next-meeting-card {
	box-sizing: border-box;
	max-width: 30em;
	margin: 2em auto 2.5em auto;
	padding: 2em 2.5em 1.75em 2.5em;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.15);
	border-radius: 0.25em;
	text-align: center;
}

.next-meeting-eyebrow {
	margin: 0;
	font-size: 0.8em;
	font-weight: bold;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: #eb6539;
}

.next-meeting-name {
	position: relative;
	margin: 0.5em 0 0 0;
	padding-bottom: 0.5em;
	font-size: 2.4em;
	font-weight: bold;
	color: #ffffff;
	line-height: 1.2;
}

.next-meeting-name:after {
	content: '';
	position: absolute;
	left: 50%;
	bottom: 0;
	transform: translateX(-50%);
	width: 3.5em;
	height: 3px;
	background-image: linear-gradient(to right, #a1371b, #eb6539);
}

.next-meeting-date {
	margin: 0.75em 0 0 0;
	font-size: 1.05em;
	color: rgba(255, 255, 255, 0.55);
}

.next-meeting-time {
	margin: 0.5em 0 0 0;
	font-size: 0.95em;
	font-weight: bold;
	color: #eb6539;
}

.password-field {
	display: flex;
	align-items: center;
	gap: 0.75em;
}

.password-field input {
	flex: 1;
}

.password-toggle {
	white-space: nowrap;
	font-size: 0.8em;
}

.rota-card {
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.15);
	border-radius: 0.25em;
	padding: 1.5em;
	margin: 0 0 1.5em 0;
}

.rota-card h3 {
	margin-top: 0;
}

#editor-table input[type="text"],
#editor-table input[type="email"] {
	height: 2em;
	padding: 0 0.6em;
}

#editor-table .col-order {
	width: 2.5em;
	text-align: center;
}

#editor-table .col-presents {
	width: 6em;
	text-align: center;
}

#editor-table .col-actions,
#skips-table .col-actions,
#time-overrides-table .col-actions {
	white-space: nowrap;
	text-align: right;
}

.order-badge {
	display: inline-block;
	min-width: 1.6em;
	padding: 0.15em 0;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.1);
	text-align: center;
	font-size: 0.85em;
}

.order-badge.is-presenter {
	background: #689329;
	color: #ffffff;
	font-weight: bold;
}

.row-actions a {
	margin-left: 0.6em;
}

.row-actions a:first-child {
	margin-left: 0;
}

#editor-status {
	min-height: 1.5em;
}
