/*
 * Dark theme, reusing rusti-new-styles.css's --rusti-* custom properties
 * directly (functions.php enqueues this file with a dependency on that
 * one, specifically so they're guaranteed defined by the time these
 * rules are evaluated) rather than redefining a local palette — unlike
 * the theme's front-page widgets (hero-search.css etc.), this is a
 * plugin file that's always loaded alongside rusti-new-styles.css on
 * this exact page, so there's no "might load standalone" case to guard
 * against. This file only adds the pieces specific to the upcoming-wipes
 * page itself (timeline nav, bucket headings, the region-select form) —
 * server cards are rendered by Servers/ServerCardRenderer.php (the PHP
 * mirror of assets/server-list.js's renderServer()) and use its v2 card
 * classes wholesale, already dark-themed via rusti-new-styles.css.
 * .rusto-probe-form itself is *not* reused from anywhere — the detail
 * page's own styling for that same class
 * (web/app/themes/rusto/assets/single-server.css) is scoped to
 * #primary.rusto-server-detail specifically and never applies here.
 */

.rusto-upcoming-wipes h1 {
	color: var(--rusti-text);
	margin-bottom: 0.25rem;
}

.rusto-upcoming-wipes-intro {
	color: var(--rusti-muted-2);
	margin-top: 0;
	margin-bottom: 1.5rem;
}

.rusto-probe-form {
	margin: 0 0 1.5rem;
	display: flex;
	align-items: center;
}

.rusto-probe-form label {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	color: var(--rusti-muted-2);
	font-size: 0.86rem;
	font-weight: 700;
}

.rusto-probe-form select {
	height: 38px;
	padding: 0 2rem 0 0.75rem;
	color: var(--rusti-text);
	background: var(--rusti-input);
	border: 1px solid var(--rusti-border);
	border-radius: var(--rusti-radius-sm);
	font: inherit;
	font-weight: 650;
	cursor: pointer;
}

.rusto-probe-form select:focus-visible {
	outline: 2px solid var(--rusti-accent-hover);
	outline-offset: 2px;
}

.rusto-probe-form button {
	height: 38px;
	margin-left: 0.6rem;
	padding: 0 0.9rem;
	color: var(--rusti-text);
	background: var(--rusti-panel-hover);
	border: 1px solid var(--rusti-border-hover);
	border-radius: var(--rusti-radius-sm);
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

.rusto-wipe-timeline {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: 2rem;
	padding: 0.85rem 1rem;
	background: linear-gradient(180deg, rgba(18, 28, 39, .97), rgba(14, 23, 32, .97));
	border-radius: var(--rusti-radius);
	border: 1px solid var(--rusti-border);
}

.rusto-wipe-timeline a {
	font-size: 0.85rem;
	font-weight: 700;
	color: var(--rusti-text);
	background: var(--rusti-input);
	border: 1px solid var(--rusti-border);
	border-radius: 999px;
	padding: 0.35rem 0.85rem;
	text-decoration: none;
	transition: border-color 0.15s ease, color 0.15s ease;
}

.rusto-wipe-timeline a:hover {
	border-color: var(--rusti-accent-hover);
	color: var(--rusti-accent-hover);
}

.rusto-wipe-bucket {
	margin-bottom: 2.25rem;
}

.rusto-wipe-bucket h2 {
	color: var(--rusti-text);
	border-bottom: 2px solid var(--rusti-accent);
	padding-bottom: 0.4rem;
	margin-bottom: 1.1rem;
}

