/* ===========================================
   Claudaborative Cloud — Design System
   =========================================== */

:root {
	--font-display: "Instrument Serif", Georgia, serif;
	--font-body: "Plus Jakarta Sans", system-ui, sans-serif;

	--bg: #f9f6f1;
	--bg-alt: #f0ece5;
	--ink: #1a1620;
	--surface: #ffffff;
	--border: #e4dfd7;
	--border-light: #ece8e2;

	--text: #1c1917;
	--text-muted: #78716c;
	--text-light: #a8a29e;
	--text-on-dark: #ece7df;
	--text-muted-dark: #908a96;

	--accent: #c44d34;
	--accent-hover: #a83d28;
	--accent-bg: #fdf0ed;
	--gold: #a07c1c;
	--gold-bg: #faf5e8;

	--success: #2d7a50;
	--success-bg: #ecf7f0;
	--warning: #a07c1c;
	--warning-bg: #faf5e8;
	--error: #c44d34;
	--error-bg: #fdf0ed;

	--nav-bg: rgba(249, 246, 241, 0.92);

	--radius: 8px;
	--radius-lg: 16px;
	--shadow-sm: 0 1px 2px rgba(26, 22, 32, 0.05);
	--shadow: 0 4px 12px rgba(26, 22, 32, 0.08);
	--shadow-lg: 0 12px 32px rgba(26, 22, 32, 0.12);
	--transition: 0.2s ease;
}

@media (prefers-color-scheme: dark) {
	:root {
		--bg: #111014;
		--bg-alt: #1a181d;
		--ink: #0c0b0e;
		--surface: #1e1c22;
		--border: #2e2b33;
		--border-light: #252330;

		--text: #ede8e1;
		--text-muted: #908a96;
		--text-light: #5c5762;
		--text-on-dark: #ece7df;
		--text-muted-dark: #908a96;

		--accent: #e06449;
		--accent-hover: #c85438;
		--accent-bg: rgba(224, 100, 73, 0.12);
		--gold: #c9a84c;
		--gold-bg: rgba(201, 168, 76, 0.1);

		--success: #5cb87a;
		--success-bg: rgba(92, 184, 122, 0.1);
		--warning: #c9a84c;
		--warning-bg: rgba(201, 168, 76, 0.1);
		--error: #e86a5a;
		--error-bg: rgba(232, 106, 90, 0.1);

		--nav-bg: rgba(17, 16, 20, 0.92);

		--shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.2);
		--shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
		--shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.4);
	}
}

*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}
html {
	font-size: 16px;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
body {
	font-family: var(--font-body);
	color: var(--text);
	background: var(--bg);
	line-height: 1.65;
	min-height: 100vh;
}

h1,
h2 {
	font-family: var(--font-display);
	font-weight: 400;
	line-height: 1.2;
	letter-spacing: -0.01em;
}
h1 {
	font-size: 2.25rem;
}
h2 {
	font-size: 1.625rem;
	margin-bottom: 0.75rem;
}
h3 {
	font-size: 1.0625rem;
	font-weight: 600;
	line-height: 1.4;
}
p {
	margin-bottom: 1rem;
}
p:last-child {
	margin-bottom: 0;
}
a {
	color: var(--accent);
	text-decoration: none;
	transition: color var(--transition);
}
a:hover {
	color: var(--accent-hover);
}
small {
	font-size: 0.875rem;
	color: var(--text-muted);
}
code {
	font-family: "SF Mono", "Fira Code", ui-monospace, monospace;
	font-size: 0.875em;
	background: var(--bg-alt);
	padding: 0.15em 0.4em;
	border-radius: 4px;
}

/* --- Layout --- */
.container {
	max-width: 1080px;
	margin: 0 auto;
	padding: 0 1.5rem;
}
.container-sm {
	max-width: 480px;
	margin: 0 auto;
	padding: 0 1.5rem;
}
main {
	min-height: calc(100vh - 160px);
}

/* --- Nav --- */
.site-nav {
	padding: 0.875rem 0;
	border-bottom: 1px solid var(--border);
	position: sticky;
	top: 0;
	z-index: 100;
	backdrop-filter: blur(16px);
	background: var(--nav-bg);
}
.site-nav .container {
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.nav-brand {
	font-family: var(--font-display);
	font-size: 1.25rem;
	font-style: italic;
	color: var(--text);
	text-decoration: none;
}
.nav-brand:hover {
	color: var(--accent);
}
.nav-links {
	display: flex;
	gap: 1.25rem;
	align-items: center;
}
.nav-links a {
	color: var(--text-muted);
	font-size: 0.875rem;
	font-weight: 500;
	transition: color var(--transition);
}
.nav-links a:hover {
	color: var(--text);
}
.nav-links a.btn-primary {
	color: #fff;
}
.nav-links a.btn-primary:hover {
	color: #fff;
}

/* --- Buttons --- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.625rem 1.25rem;
	font-family: var(--font-body);
	font-size: 0.875rem;
	font-weight: 600;
	border: none;
	border-radius: var(--radius);
	cursor: pointer;
	transition: all var(--transition);
	text-decoration: none;
	line-height: 1.4;
}
.btn:hover {
	text-decoration: none;
}
.btn-primary {
	background: var(--accent);
	color: #fff;
}
.btn-primary:hover {
	background: var(--accent-hover);
	color: #fff;
}
.btn-secondary {
	background: var(--surface);
	color: var(--text);
	border: 1.5px solid var(--border);
}
.btn-secondary:hover {
	background: var(--bg-alt);
	border-color: var(--text-light);
}
.btn-ghost {
	background: transparent;
	color: var(--text-muted);
	padding: 0.5rem 0.75rem;
}
.btn-ghost:hover {
	background: var(--bg-alt);
	color: var(--text);
}
.btn-danger {
	background: transparent;
	color: var(--error);
	border: 1.5px solid rgba(196, 77, 52, 0.3);
}
.btn-danger:hover {
	background: var(--error);
	color: #fff;
}
.btn-sm {
	padding: 0.375rem 0.75rem;
	font-size: 0.8125rem;
}
.btn-lg {
	padding: 0.875rem 2rem;
	font-size: 0.9375rem;
}

/* --- Cards --- */
.card {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	padding: 1.5rem;
	transition: all var(--transition);
}
.card-hover:hover {
	box-shadow: var(--shadow);
	transform: translateY(-2px);
	border-color: var(--border-light);
}

/* --- Forms --- */
label {
	display: block;
	font-size: 0.875rem;
	font-weight: 600;
	margin-bottom: 0.375rem;
}
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"] {
	width: 100%;
	padding: 0.625rem 0.875rem;
	font-family: var(--font-body);
	font-size: 0.9375rem;
	color: var(--text);
	background: var(--surface);
	border: 1.5px solid var(--border);
	border-radius: var(--radius);
	transition:
		border-color var(--transition),
		box-shadow var(--transition);
	outline: none;
}
input:focus {
	border-color: var(--accent);
	box-shadow: 0 0 0 3px var(--accent-bg);
}
.form-group {
	margin-bottom: 1.25rem;
}
.form-hint {
	font-size: 0.8125rem;
	color: var(--text-muted);
	margin-top: 0.375rem;
	line-height: 1.5;
}
.form-actions {
	display: flex;
	gap: 0.75rem;
	align-items: center;
	margin-top: 1.5rem;
}

/* --- Badges --- */
.badge {
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	padding: 0.1875rem 0.5rem;
	font-size: 0.6875rem;
	font-weight: 700;
	border-radius: 100px;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}
.badge-success {
	background: var(--success-bg);
	color: var(--success);
}
.badge-warning {
	background: var(--warning-bg);
	color: var(--warning);
}
.badge-error {
	background: var(--error-bg);
	color: var(--error);
}
.badge-muted {
	background: var(--bg-alt);
	color: var(--text-muted);
}

/* --- Flash --- */
.flash {
	padding: 0.75rem 1rem;
	border-radius: var(--radius);
	font-size: 0.875rem;
	margin-bottom: 1.5rem;
	animation: slideDown 0.35s ease;
}
.flash-success {
	background: var(--success-bg);
	color: var(--success);
	border: 1px solid rgba(45, 122, 80, 0.15);
}
.flash-error {
	background: var(--error-bg);
	color: var(--error);
	border: 1px solid rgba(196, 77, 52, 0.15);
}
.flash-info {
	background: var(--gold-bg);
	color: var(--gold);
	border: 1px solid rgba(160, 124, 28, 0.15);
}

/* --- Hero --- */
.hero {
	background: var(--ink);
	color: var(--text-on-dark);
	padding: 7rem 0 6rem;
	position: relative;
	overflow: hidden;
}
.hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(
			ellipse 70% 50% at 15% -20%,
			rgba(196, 77, 52, 0.18) 0%,
			transparent 60%
		),
		radial-gradient(
			ellipse 50% 40% at 90% 120%,
			rgba(160, 124, 28, 0.1) 0%,
			transparent 60%
		);
	pointer-events: none;
}
.hero-content {
	position: relative;
	z-index: 1;
	max-width: 640px;
}
.hero-rule {
	width: 48px;
	height: 2px;
	background: var(--accent);
	margin-bottom: 1.75rem;
}
.hero h1 {
	font-size: clamp(2.5rem, 5vw, 3.75rem);
	color: #fff;
	margin-bottom: 1.25rem;
	font-style: italic;
	line-height: 1.1;
}
.hero h1 em {
	color: var(--accent);
	font-style: italic;
}
.hero p {
	font-size: 1.125rem;
	color: var(--text-muted-dark);
	max-width: 480px;
	margin-bottom: 2.25rem;
	line-height: 1.7;
}
.hero .btn-primary {
	font-size: 0.9375rem;
	padding: 0.875rem 2.25rem;
}

/* --- Landing sections --- */
.section {
	padding: 5rem 0;
}
.section-alt {
	background: var(--bg-alt);
}
.section-label {
	font-family: var(--font-display);
	font-style: italic;
	font-size: 0.9375rem;
	color: var(--accent);
	margin-bottom: 0.5rem;
}
.section-header {
	margin-bottom: 2.5rem;
}
.section-header h2 {
	font-size: 2rem;
}
.section-rule {
	width: 100%;
	height: 1px;
	background: var(--border);
	margin: 0;
	border: none;
}

.steps {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2.5rem;
}
.step-number {
	font-family: var(--font-display);
	font-size: 3.5rem;
	font-style: italic;
	color: var(--border);
	line-height: 1;
	margin-bottom: 0.75rem;
}
.step h3 {
	margin-bottom: 0.375rem;
}
.step p {
	color: var(--text-muted);
	font-size: 0.9rem;
}

.features-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.25rem;
}
.feature-card {
	padding: 1.75rem;
}
.feature-index {
	font-family: var(--font-display);
	font-size: 1.75rem;
	font-style: italic;
	color: var(--accent);
	opacity: 0.45;
	margin-bottom: 0.875rem;
	line-height: 1;
}
.feature-card h3 {
	margin-bottom: 0.375rem;
}
.feature-card p {
	color: var(--text-muted);
	font-size: 0.875rem;
	margin: 0;
}

.pricing-card {
	max-width: 400px;
	margin: 0 auto;
	text-align: center;
	padding: 2.5rem;
}
.pricing-amount {
	font-family: var(--font-display);
	font-size: 3.5rem;
	font-style: italic;
	color: var(--text);
	line-height: 1;
	margin-bottom: 0.25rem;
}
.pricing-period {
	color: var(--text-muted);
	font-size: 0.875rem;
	margin-bottom: 2rem;
}
.pricing-features {
	list-style: none;
	text-align: left;
	margin-bottom: 2rem;
}
.pricing-features li {
	padding: 0.625rem 0;
	border-bottom: 1px solid var(--border-light);
	font-size: 0.9rem;
	color: var(--text-muted);
}
.pricing-features li::before {
	content: "\2713";
	color: var(--success);
	margin-right: 0.625rem;
	font-weight: 700;
}

/* --- Dashboard --- */
.page-header {
	padding: 2.5rem 0 1.5rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.page-header h1 {
	margin: 0;
}

.dashboard-grid {
	display: grid;
	gap: 1.5rem;
	margin-bottom: 2rem;
}
.sites-list {
	display: grid;
	gap: 1rem;
}

.site-card .card {
	transition: border-color var(--transition);
}
.site-card .card:hover {
	border-color: var(--text-light);
}
.site-card-inner {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 1rem;
}
.site-info {
	flex: 1;
	min-width: 0;
}
.site-url {
	font-weight: 600;
	font-size: 0.9375rem;
	margin-bottom: 0.125rem;
	word-break: break-all;
}
.site-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	font-size: 0.8125rem;
	color: var(--text-muted);
}
.site-meta span {
	display: flex;
	align-items: center;
	gap: 0.25rem;
}
.site-actions {
	display: flex;
	gap: 0.5rem;
	align-items: center;
	flex-shrink: 0;
}

.api-key-row {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-top: 0.875rem;
	padding-top: 0.875rem;
	border-top: 1px solid var(--border-light);
}
.api-key-label {
	font-size: 0.75rem;
	font-weight: 600;
	color: var(--text-light);
	text-transform: uppercase;
	letter-spacing: 0.05em;
	flex-shrink: 0;
}
.api-key-value {
	font-family: "SF Mono", "Fira Code", ui-monospace, monospace;
	font-size: 0.8125rem;
	color: var(--text-muted);
	user-select: all;
	flex: 1;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.api-key-btn {
	background: none;
	border: none;
	color: var(--text-muted);
	cursor: pointer;
	padding: 0.25rem 0.375rem;
	font-size: 0.75rem;
	font-weight: 600;
	font-family: var(--font-body);
	border-radius: 4px;
	transition: all var(--transition);
	flex-shrink: 0;
}
.api-key-btn:hover {
	background: var(--bg-alt);
	color: var(--text);
}
.site-card-highlight .card {
	border-color: var(--accent);
	box-shadow: 0 0 0 3px var(--accent-bg);
}

/* Usage */
.usage-section {
	margin-bottom: 2rem;
}
.usage-bar-track {
	height: 6px;
	background: var(--bg-alt);
	border-radius: 100px;
	overflow: hidden;
	margin: 0.75rem 0 0.5rem;
}
.usage-bar-fill {
	height: 100%;
	border-radius: 100px;
	background: var(--success);
	animation: barGrow 0.8s ease;
}
.usage-bar-fill.medium {
	background: var(--warning);
}
.usage-bar-fill.high {
	background: var(--error);
}
.usage-labels {
	display: flex;
	justify-content: space-between;
	font-size: 0.8125rem;
	color: var(--text-muted);
}

.command-table {
	width: 100%;
	border-collapse: collapse;
	margin-top: 1rem;
}
.command-table th {
	text-align: left;
	padding: 0.5rem 0;
	font-size: 0.6875rem;
	font-weight: 700;
	color: var(--text-light);
	text-transform: uppercase;
	letter-spacing: 0.06em;
	border-bottom: 1px solid var(--border);
}
.command-table td {
	padding: 0.5rem 0;
	font-size: 0.875rem;
	border-bottom: 1px solid var(--border-light);
}
.command-table td:last-child {
	text-align: right;
	color: var(--text-muted);
}

/* Subscription banner */
.sub-banner {
	padding: 1rem 1.25rem;
	border-radius: var(--radius);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1.5rem;
}
.sub-banner-info {
	font-size: 0.875rem;
}
.sub-banner-info strong {
	display: block;
	margin-bottom: 0.125rem;
}
.sub-banner-info span {
	color: var(--text-muted);
}
.sub-banner-inactive {
	background: var(--gold-bg);
	border: 1px solid rgba(160, 124, 28, 0.15);
}
.sub-banner-past-due {
	background: var(--error-bg);
	border: 1px solid rgba(196, 77, 52, 0.15);
}

/* --- Auth pages --- */
.auth-page {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: calc(100vh - 200px);
	padding: 2rem 0;
}
.auth-card {
	width: 100%;
	max-width: 400px;
	text-align: center;
	padding: 2.5rem;
}
.auth-card h1 {
	margin-bottom: 0.5rem;
}
.auth-card > p {
	color: var(--text-muted);
	margin-bottom: 2rem;
}
.auth-card .form-group {
	text-align: left;
}
.auth-icon {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: var(--accent-bg);
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 1.5rem;
	font-size: 1.5rem;
}

/* --- Account page --- */
.account-section {
	padding: 1.5rem;
	margin-bottom: 1rem;
}
.account-section h3 {
	margin-bottom: 1.25rem;
}
.account-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0.75rem 0;
	border-bottom: 1px solid var(--border-light);
}
.account-row:last-child {
	border-bottom: none;
}
.account-label {
	font-size: 0.875rem;
	color: var(--text-muted);
}
.account-value {
	font-size: 0.875rem;
	font-weight: 500;
}

/* --- Setup checks --- */
.setup-check {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	padding: 0.875rem 0;
	border-bottom: 1px solid var(--border-light);
}
.setup-check:last-child {
	border-bottom: none;
}
.setup-check-icon {
	flex-shrink: 0;
	width: 1.5rem;
	height: 1.5rem;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.875rem;
	font-weight: 700;
	border-radius: 50%;
	line-height: 1;
}
.setup-check-pass .setup-check-icon {
	color: var(--success);
	background: var(--success-bg);
}
.setup-check-fail .setup-check-icon {
	color: var(--error);
	background: var(--error-bg);
}
.setup-check-warn .setup-check-icon {
	color: var(--warning);
	background: var(--warning-bg);
}
.setup-check-body {
	flex: 1;
	min-width: 0;
}
.setup-check-label {
	font-weight: 600;
	font-size: 0.9rem;
	display: block;
}
.setup-check-detail {
	font-size: 0.8125rem;
	color: var(--text-muted);
	display: block;
	margin-top: 0.125rem;
	line-height: 1.5;
}

/* --- Empty states --- */
.empty-state {
	text-align: center;
	padding: 3rem 1.5rem;
}
.empty-state p {
	color: var(--text-muted);
	margin-bottom: 1.5rem;
}

/* --- Footer --- */
.site-footer {
	padding: 2rem 0;
	border-top: 1px solid var(--border);
	text-align: center;
	font-size: 0.8125rem;
	color: var(--text-light);
}
.site-footer a {
	color: var(--text-light);
	text-decoration: none;
}
.site-footer a:hover {
	color: var(--text);
}

/* --- Privacy page --- */
.privacy-content {
	max-width: 740px;
	padding: 3rem 0;
}
.privacy-content h1 {
	margin-bottom: 0.25rem;
}
.privacy-updated {
	color: var(--text-muted);
	font-size: 0.875rem;
	margin-bottom: 2.5rem;
}
.privacy-content h2 {
	margin-top: 2.5rem;
	margin-bottom: 0.75rem;
	font-size: 1.25rem;
}
.privacy-content h3 {
	margin-top: 1.5rem;
	margin-bottom: 0.5rem;
	font-size: 1rem;
	font-weight: 600;
}
.privacy-content p {
	line-height: 1.7;
	margin-bottom: 0.75rem;
}
.privacy-content ul {
	margin-left: 1.5rem;
	margin-bottom: 1rem;
	line-height: 1.7;
}
.privacy-content li {
	margin-bottom: 0.25rem;
}
.privacy-table-wrap {
	overflow-x: auto;
	margin-bottom: 1rem;
}
.privacy-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.875rem;
}
.privacy-table th,
.privacy-table td {
	text-align: left;
	padding: 0.625rem 0.75rem;
	border-bottom: 1px solid var(--border);
}
.privacy-table th {
	font-weight: 600;
	color: var(--text-muted);
	font-size: 0.8125rem;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}
.privacy-table tbody tr:last-child td {
	border-bottom: none;
}

/* --- Animations --- */
@keyframes slideDown {
	from {
		opacity: 0;
		transform: translateY(-8px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}
@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(12px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}
@keyframes barGrow {
	from {
		width: 0;
	}
}
.fade-in {
	animation: fadeIn 0.5s ease both;
}
.fade-in-d1 {
	animation-delay: 0.08s;
}
.fade-in-d2 {
	animation-delay: 0.16s;
}
.fade-in-d3 {
	animation-delay: 0.24s;
}
.fade-in-d4 {
	animation-delay: 0.32s;
}

/* --- Responsive --- */
@media (max-width: 768px) {
	.hero {
		padding: 4.5rem 0 3.5rem;
	}
	.hero h1 {
		font-size: 2.25rem;
	}
	.features-grid,
	.steps {
		grid-template-columns: 1fr;
		gap: 1rem;
	}
	.page-header {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.75rem;
	}
	.site-card-inner {
		flex-direction: column;
	}
	.site-actions {
		width: 100%;
		justify-content: flex-end;
	}
	.nav-links {
		gap: 0.75rem;
	}
	.sub-banner {
		flex-direction: column;
		align-items: flex-start;
	}
	.account-row {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.25rem;
	}
}

/* ===========================================
   Admin
   =========================================== */

.admin-stats {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 1rem;
	margin-bottom: 2rem;
}
.stat-card {
	text-align: center;
	padding: 1.5rem;
}
.stat-value {
	font-family: var(--font-display);
	font-size: 2.25rem;
	font-style: italic;
	color: var(--text);
	line-height: 1;
	margin-bottom: 0.25rem;
}
.stat-label {
	font-size: 0.75rem;
	color: var(--text-muted);
	text-transform: uppercase;
	letter-spacing: 0.05em;
	font-weight: 600;
}
.admin-table {
	width: 100%;
	border-collapse: collapse;
}
.admin-table th {
	text-align: left;
	padding: 0.625rem 0.75rem;
	font-size: 0.75rem;
	font-weight: 700;
	color: var(--text-light);
	text-transform: uppercase;
	letter-spacing: 0.05em;
	border-bottom: 1.5px solid var(--border);
}
.admin-table td {
	padding: 0.625rem 0.75rem;
	font-size: 0.875rem;
	border-bottom: 1px solid var(--border-light);
}
.admin-table tr:hover td {
	background: var(--bg-alt);
}
.admin-table a {
	color: var(--accent);
	text-decoration: none;
	font-weight: 500;
}
.admin-table a:hover {
	text-decoration: underline;
}
.admin-search {
	display: flex;
	gap: 0.75rem;
	margin-bottom: 1rem;
	align-items: center;
}
.admin-search input {
	max-width: 320px;
}
.admin-filters {
	display: flex;
	gap: 0.5rem;
	margin-bottom: 1.5rem;
}
.admin-filter-btn {
	display: inline-block;
	padding: 0.375rem 0.75rem;
	font-size: 0.8125rem;
	font-weight: 500;
	border-radius: 100px;
	border: 1px solid var(--border);
	background: transparent;
	color: var(--text-muted);
	text-decoration: none;
	transition: all var(--transition);
}
.admin-filter-btn:hover {
	border-color: var(--text-light);
	color: var(--text);
}
.admin-filter-btn.active {
	background: var(--accent-bg);
	border-color: var(--accent);
	color: var(--accent);
}
.admin-pagination {
	display: flex;
	gap: 0.75rem;
	align-items: center;
	justify-content: center;
	margin-top: 1.5rem;
}
.admin-actions {
	display: flex;
	gap: 0.75rem;
	align-items: center;
	flex-wrap: wrap;
}

@media (max-width: 768px) {
	.admin-stats {
		grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
	}
	.admin-search {
		flex-direction: column;
	}
	.admin-search form {
		flex-direction: column;
	}
	.admin-search input {
		max-width: 100% !important;
	}
}
