:root {
	--primary: #3b82f6;
	--primary-dark: #2563eb;
	--bg-dark: #0f172a;
	--bg-card: #1e293b;
	--text: #e2e8f0;
	--text-light: #94a3b8;
	--green: #10b981;
	--yellow: #f59e0b;
	--red: #ef4444;
	--purple: #8b5cf6;
	--radius: 12px;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family:
		system-ui,
		-apple-system,
		sans-serif;
	background: var(--bg-dark);
	color: var(--text);
	min-height: 100vh;
	line-height: 1.5;
}

.layout {
	display: grid;
	grid-template-columns: 260px 1fr;
	min-height: 100vh;
}

.content-area,
.main-content {
	display: flex;
	flex-direction: column;
	flex: 1;
}

/* SIDEBAR */
.sidebar {
	background: #111827;
	padding: 1.5rem 0;
	display: flex;
	flex-direction: column;
	border-right: 1px solid #1e293b;
}

.logo {
	padding: 0 1.5rem 2rem;
	font-size: 1.6rem;
	font-weight: 700;
	color: white;
	display: flex;
	align-items: center;
	gap: 12px;
}

.logo i {
	color: var(--primary);
}

.nav {
	flex: 1;
}

.nav a {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 0.95rem 1.5rem;
	color: var(--text-light);
	text-decoration: none;
	transition: all 0.15s;
}

.nav a:hover,
.nav a.active {
	background: #1e293b;
	color: white;
}

.nav a.active {
	border-left: 4px solid var(--primary);
	padding-left: calc(1.5rem - 4px);
}

.nav .badge {
	margin-left: auto;
	background: var(--red);
	color: white;
	font-size: 0.68rem;
	padding: 2px 8px;
	border-radius: 999px;
}

/* TOPBAR */
.topbar {
	background: var(--bg-card);
	padding: 1rem 1.8rem;
	border-bottom: 1px solid #1e293b;
	display: flex;
	align-items: center;
	justify-content: space-between;
	position: sticky;
	top: 0;
	z-index: 90;
	flex-wrap: wrap;
	gap: 1rem;
}

.menu-toggle {
	font-size: 1.4rem;
	color: var(--text);
	cursor: pointer;
	display: none;
}

.gym-selector {
	display: flex;
	align-items: center;
	gap: 0.8rem;
	flex-wrap: wrap;
}

.gym-selector label {
	font-size: 0.95rem;
	color: var(--text-light);
}

.gym-selector select {
	background: #0f172a;
	border: 1px solid #334155;
	color: white;
	padding: 0.6rem 1rem;
	border-radius: var(--radius);
	font-size: 1rem;
	min-width: 220px;
	cursor: pointer;
}

.topbar-right {
	display: flex;
	align-items: center;
	gap: 1.4rem;
}

.search-box {
	background: #0f172a;
	border: 1px solid #334155;
	border-radius: var(--radius);
	padding: 0.5rem 1rem;
	color: white;
	width: 260px;
}

/* MAIN */
.main {
	padding: 1.8rem;
	overflow-y: auto;
	flex: 1;
}

h1 {
	font-size: 1.9rem;
	margin-bottom: 0.8rem;
}

h2 {
	font-size: 1.6rem;
	margin: 0 0 1.2rem 0;
}

.breadcrumb {
	color: var(--text-light);
	font-size: 0.9rem;
	margin-bottom: 1.8rem;
}

.breadcrumb a {
	color: var(--primary);
	text-decoration: none;
}

/* Wspólne komponenty */
.container {
	max-width: 1100px;
	margin: 0 auto;
}

.card {
	background: var(--bg-card);
	border-radius: var(--radius);
	padding: 1.6rem;
	margin-bottom: 2rem;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.section-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 1.4rem;
	flex-wrap: wrap;
	gap: 1rem;
}

.btn {
	background: var(--primary);
	color: white;
	border: none;
	padding: 0.65rem 1.4rem;
	border-radius: 8px;
	cursor: pointer;
	font-weight: 500;
	transition: all 0.2s;
}

.btn:hover {
	background: var(--primary-dark);
	transform: translateY(-1px);
}

.btn-add,
.btn-green {
	background: var(--green);
}

.btn-add:hover,
.btn-green:hover {
	background: #059669;
}

.btn-save {
	background: var(--primary);
}

.btn-save:hover {
	background: var(--primary-dark);
}

.btn-small {
	width: 36px;
	height: 36px;
	border-radius: 6px;
	border: none;
	cursor: pointer;
	font-size: 1.1rem;
	display: flex;
	align-items: center;
	justify-content: center;
}

.btn-icon {
	width: 42px;
	height: 42px;
	border-radius: 8px;
	border: none;
	cursor: pointer;
	font-size: 1.2rem;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.2s;
}

.btn-icon:hover {
	transform: scale(1.1);
}

/* =====================================================================
   STYLE SPECYFICZNE DLA POSZCZEGÓLNYCH STRON – NIE ŁĄCZONE
   ===================================================================== */

/* Godziny Otwarcia */
.hours-table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	border-radius: var(--radius);
	overflow: hidden;
}

.hours-table th,
.hours-table td {
	padding: 1rem 1.2rem;
	text-align: left;
	border-bottom: 1px solid #334155;
}

.hours-table th {
	background: #111827;
	font-weight: 600;
	color: white;
}

.hours-table tr:last-child td {
	border-bottom: none;
}

.hours-table td.day {
	font-weight: 500;
	width: 160px;
}

.time-inputs {
	display: flex;
	align-items: center;
	gap: 12px;
}

input[type='time'] {
	background: #0f172a;
	border: 1px solid #334155;
	color: white;
	padding: 0.55rem 0.9rem;
	border-radius: 6px;
	font-size: 1rem;
	width: 110px;
}

.exception-item {
	background: #1e293b;
	border-radius: var(--radius);
	padding: 1.2rem 1.5rem;
	margin-bottom: 1rem;
	display: grid;
	grid-template-columns: 140px 1fr 180px 110px;
	gap: 1rem;
	align-items: center;
}

.exception-closed {
	color: var(--red);
	font-weight: 600;
}
.exception-short {
	color: var(--yellow);
	font-weight: 600;
}

/* Grafik zajęć */
table:not(.hours-table):not(.karnety) {
	border-collapse: collapse;
	width: 100%;
	max-width: 1100px;
	margin-bottom: 3rem;
	background: #1e293b;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

th,
td {
	padding: 10px 12px;
	text-align: center;
	border: 1px solid #334155;
	min-width: 110px;
}

th {
	background: #111827;
	color: #cbd5e1;
	font-weight: 600;
	padding: 12px;
}

.time-col {
	background: #172554;
	font-weight: 500;
	color: #93c5fd;
	width: 110px;
}

td.editable {
	background: #0f172a;
	cursor: pointer;
	min-height: 60px;
	position: relative;
}

td.editable:hover {
	background: #1e293b;
}

td.editable:focus {
	outline: 2px solid var(--primary);
	background: #1e40af22;
}

td.editable:empty::before {
	content: '—';
	color: #475569;
	font-style: italic;
}

/* Karnety */
.karnety {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.95rem;
	min-width: 900px;
}

.price-cell {
	background: #0f172a;
	font-weight: 600;
	color: #fbbf24;
	cursor: pointer;
}

.price-cell:hover {
	background: #1e293b;
}

.price-cell:focus {
	outline: 2px solid var(--primary);
	background: #1e40af22;
}

/* FAQ */
.faq-list {
	padding: 0.5rem 0;
}

.faq-item {
	border-bottom: 1px solid #334155;
	padding: 1.6rem 1.8rem;
	transition: background 0.2s;
}

.faq-item:hover {
	background: rgba(59, 130, 246, 0.05);
}

.faq-question {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 1rem;
	gap: 1rem;
}

.faq-question input {
	flex: 1;
	background: #0f172a;
	border: 1px solid #334155;
	color: white;
	padding: 0.9rem 1.1rem;
	border-radius: 8px;
	font-size: 1.1rem;
	font-weight: 600;
}

.faq-answer textarea {
	width: 100%;
	min-height: 120px;
	background: #0f172a;
	border: 1px solid #334155;
	color: white;
	padding: 1rem 1.1rem;
	border-radius: 8px;
	resize: vertical;
}

/* Aktualności */
.news-list {
	padding: 1rem 0;
}

.news-item {
	display: grid;
	grid-template-columns: 120px 1fr 180px;
	gap: 1.4rem;
	padding: 1.2rem 1.6rem;
	border-bottom: 1px solid #334155;
	align-items: center;
	transition: background 0.2s;
}

.news-item:hover {
	background: rgba(59, 130, 246, 0.06);
}

.news-thumb {
	width: 120px;
	height: 80px;
	background: #0f172a;
	border-radius: 8px;
	overflow: hidden;
	display: grid;
	place-items: center;
}

.news-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.news-info h3 {
	margin: 0 0 0.4rem;
	font-size: 1.15rem;
	color: #93c5fd;
}

.news-actions {
	display: flex;
	gap: 10px;
	flex-direction: column;
	align-items: flex-end;
}

/* Ustawienia managera – zachowuję prawie wszystko oryginalne */
.tab-buttons {
	margin-top:2rem;
	margin-left:2rem;
	display: flex;
	flex-wrap: wrap;
	gap: 0.8rem 1.2rem;
	margin-bottom: 1.8rem;
}

.tab-btn {
	background: #1e293b;
	color: var(--text-light);
	border: none;
	padding: 0.75rem 1.5rem;
	border-radius: 8px;
	cursor: pointer;
}

.tab-btn.active {
	background: var(--primary);
	color: white;
}

.tab-content {
	display: none;
}

.tab-content.active {
	display: block;
}

.employee-header,
.employee-item {
	display: grid;
	grid-template-columns: 140px 220px 100px 1fr 120px 140px;
	gap: 16px;
	padding: 14px 20px;
	align-items: center;
}

.employee-header {
	background: #111827;
	font-weight: 600;
	color: #cbd5e1;
	border-bottom: 1px solid #334155;
}

.log-header,
.log-item {
	display: grid;
	grid-template-columns: 160px 180px 120px 1fr 140px 140px;
	gap: 16px;
	padding: 14px 20px;
	align-items: center;
}

.log-header {
	background: #111827;
	font-weight: 600;
	color: #cbd5e1;
	border-bottom: 1px solid #334155;
}

.filters {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	padding: 16px 20px;
	background: #172554;
	border-bottom: 1px solid #334155;
}

.filter-group {
	display: flex;
	align-items: center;
	gap: 8px;
	flex: 1 1 220px;
}

.config-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
	gap: 1.8rem;
}

.config-card {
	background: #172554;
	border-radius: 10px;
	padding: 1.5rem;
	border: 1px solid #334155;
}

/* =====================================================================
   FORMULARZE – wspólne
   ===================================================================== */
input,
textarea,
select {
	background: #0f172a;
	border: 1px solid #334155;
	color: white;
	padding: 0.7rem 1rem;
	border-radius: 8px;
	font-family: inherit;
}

input:focus,
textarea:focus,
select:focus {
	border-color: var(--primary);
	box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
	outline: none;
}

.form-group {
	margin-bottom: 1.4rem;
}

.form-group label {
	display: block;
	margin-bottom: 0.6rem;
	color: var(--text-light);
	font-size: 0.95rem;
}

.form-buttons {
	display: flex;
	gap: 1rem;
	margin-top: 1.5rem;
}

/* RESPONSIVE */
@media (max-width: 992px) {
	.layout {
		grid-template-columns: 1fr;
	}

	.sidebar {
		position: fixed;
		left: -260px;
		top: 0;
		height: 100%;
		width: 260px;
		z-index: 100;
		transition: left 0.3s;
	}

	.sidebar.open {
		left: 0;
	}

	.menu-toggle {
		display: block;
	}

	.topbar {
		flex-direction: column;
		align-items: flex-start;
	}

	.gym-selector,
	.gym-selector select {
		width: 100%;
	}
}

@media (max-width: 768px) {
	.news-item,
	.exception-item,
	.employee-header,
	.employee-item,
	.log-header,
	.log-item {
		grid-template-columns: 1fr;
		gap: 1rem;
		text-align: left;
	}

	.config-grid {
		grid-template-columns: 1fr;
	}
}
/* ===============================================
   LOGI AKTYWNOŚCI – poprawiona wersja
   =============================================== */

/* Kontener filtrów */
.filters {
	display: flex;
	flex-wrap: wrap;
	gap: 14px 18px;
	padding: 1.4rem 1.8rem;
	background: #172554;
	border-bottom: 1px solid #334155;
	margin-bottom: 1rem;
}

.filter-group {
	display: flex;
	align-items: center;
	gap: 10px;
	flex: 1 1 240px;
	min-width: 220px;
}

.filter-group label {
	color: #cbd5e1;
	font-size: 0.95rem;
	font-weight: 500;
	white-space: nowrap;
}

.filter-group input,
.filter-group select {
	flex: 1;
	min-width: 140px;
	background: #0f172a;
	border: 1px solid #475569;
	color: white;
	padding: 0.75rem 1rem;
	border-radius: 8px;
	font-size: 0.98rem;
}

.filter-group input:focus,
.filter-group select:focus {
	border-color: var(--primary);
	box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.22);
	outline: none;
}

/* Nagłówek i wiersze logów */
.log-header,
.log-item {
	display: grid;
	grid-template-columns: 180px 200px 140px 1fr 160px 160px;
	gap: 20px;
	padding: 14px 22px;
	align-items: center;
	border-bottom: 1px solid #2d3748;
}

.log-header {
	background: #0f172a;
	font-weight: 600;
	color: #cbd5e1;
	text-transform: uppercase;
	font-size: 0.88rem;
	letter-spacing: 0.4px;
}

.log-item {
	background: #1e293b;
	transition: background 0.15s;
}

.log-item:hover {
	background: rgba(59, 130, 246, 0.09);
}

/* Kolory akcji – wyraźniejsze i ładniejsze */
.action {
	padding: 5px 12px;
	border-radius: 6px;
	font-size: 0.86rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.3px;
	text-align: center;
	min-width: 90px;
}

.action-login {
	background: #064e3b;
	color: #a7f3d0;
}
.action-logout {
	background: #78350f;
	color: #fde68a;
}
.action-create {
	background: #1e40af;
	color: #bfdbfe;
}
.action-update {
	background: #713f12;
	color: #fcd34d;
}
.action-delete {
	background: #991b1b;
	color: #fca5a5;
}
.action-block {
	background: #7f1d1d;
	color: #f87171;
}
.action-unblock {
	background: #065f46;
	color: #34d399;
}
.action-password {
	background: #4338ca;
	color: #c4b5fd;
}
.action-2fa {
	background: #5b21b6;
	color: #c4b5fd;
}

/* Gym tag (siłownia) */
.gym-tag {
	background: #172554;
	color: #93c5fd;
	padding: 5px 10px;
	border-radius: 6px;
	font-size: 0.88rem;
	font-weight: 500;
}

/* Paginacja – jeśli jest */
.pagination {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 1.2rem 1.8rem;
	background: #111827;
	border-top: 1px solid #334155;
	margin-top: 1rem;
	border-radius: 0 0 var(--radius) var(--radius);
}

.pagination button {
	background: var(--primary);
	color: white;
	border: none;
	padding: 0.7rem 1.3rem;
	border-radius: 8px;
	cursor: pointer;
	font-weight: 500;
	transition: background 0.2s;
}

.pagination button:hover {
	background: var(--primary-dark);
}

.pagination button:disabled {
	opacity: 0.45;
	cursor: not-allowed;
	background: #334155;
}

/* Responsywność logów */
@media (max-width: 1100px) {
	.log-header,
	.log-item {
		grid-template-columns: 160px 180px 120px 1fr 140px;
	}
}

@media (max-width: 768px) {
	.log-header,
	.log-item {
		grid-template-columns: 1fr;
		gap: 0.9rem 1.2rem;
		padding: 1.2rem 1.4rem;
		text-align: left;
	}

	.log-header > div,
	.log-item > div {
		display: flex;
		justify-content: space-between;
		flex-wrap: wrap;
		gap: 0.4rem;
	}

	.log-header > div::after {
		content: ':';
		margin-left: 0.4rem;
		color: #64748b;
	}

	.filters {
		flex-direction: column;
		gap: 1rem;
	}

	.filter-group {
		flex: none;
		width: 100%;
	}
}
/* ===============================================
   PRACOWNICY – poprawione ikony akcji
   =============================================== */

.employee-header,
.employee-item {
	display: grid;
	grid-template-columns: 140px 220px 100px 1fr 120px 140px;
	gap: 16px 20px;
	padding: 14px 22px;
	align-items: center;
	border-bottom: 1px solid #334155;
}

.employee-header {
	background: #0f172a;
	font-weight: 600;
	color: #cbd5e1;
	text-transform: uppercase;
	font-size: 0.88rem;
	letter-spacing: 0.4px;
}

.employee-item {
	background: #1e293b;
	transition: background 0.15s;
}

.employee-item:hover {
	background: rgba(59, 130, 246, 0.08);
}

/* Przyciski akcji – małe ikony */
.actions {
	display: flex;
	gap: 10px;
	justify-content: flex-end;
	flex-wrap: wrap;
}

.btn-small {
	width: 38px;
	height: 38px;
	border-radius: 8px;
	border: none;
	cursor: pointer;
	font-size: 1.18rem; /* większe ikony */
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.18s;
	color: white;
	background: #334155; /* neutralne tło bazowe */
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.btn-small:hover {
	transform: translateY(-2px) scale(1.08);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

/* Kolory specyficzne dla akcji */
.btn-small.btn-reset {
	/* 🔑 i 📱 */
	background: #4338ca; /* fiolet indigo */
}

.btn-small.btn-reset:hover {
	background: #5b51e0;
}

.btn-small.btn-block {
	/* 🚫 blokada */
	background: #991b1b; /* czerwony ciemny */
}

.btn-small.btn-block:hover {
	background: #b91c1c;
}

.btn-small.btn-delete {
	/* 🗑 usuwanie */
	background: #ef4444;
}

.btn-small.btn-delete:hover {
	background: #f87171;
}

/* Statusy – jeśli są w tabeli */
.status-active {
	color: #10b981;
	background: rgba(16, 185, 129, 0.16);
	padding: 5px 12px;
	border-radius: 6px;
	font-weight: 600;
	font-size: 0.94rem;
}

.status-blocked {
	color: #ef4444;
	background: rgba(239, 68, 68, 0.16);
	padding: 5px 12px;
	border-radius: 6px;
	font-weight: 600;
	font-size: 0.94rem;
}

/* Responsywność – na mniejszych ekranach */
@media (max-width: 1100px) {
	.employee-header,
	.employee-item {
		grid-template-columns: 130px 200px 90px 1fr 110px 130px;
		gap: 12px 16px;
		padding: 12px 18px;
	}
}

@media (max-width: 768px) {
	.employee-header,
	.employee-item {
		grid-template-columns: 1fr;
		gap: 0.9rem 1.1rem;
		padding: 1.2rem 1.4rem;
		text-align: left;
	}

	.employee-header > div,
	.employee-item > div {
		display: flex;
		justify-content: space-between;
		flex-wrap: wrap;
	}

	.employee-header > div::after {
		content: ':';
		margin-left: 0.5rem;
		color: #64748b;
	}

	.actions {
		justify-content: flex-start;
		margin-top: 0.6rem;
	}

	.btn-small {
		width: 42px;
		height: 42px;
		font-size: 1.25rem; /* jeszcze większe na mobile */
	}
}
/* ===============================================
   KONFIGURACJA STRONY – wersja wizualnie poprawiona
   =============================================== */

.page-selector {
	display: flex;
	align-items: baseline;
	justify-content: flex-start;
	gap: 14px;
	margin: 0 0 2.2rem; /* <-- usunięte auto */
	max-width: 580px;
	padding: 1.2rem;
	background: #172554;
	border-radius: 12px;
	border: 1px solid #334155;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.page-selector label {
	color: #cbd5e1;
	font-weight: 500;
	font-size: 1.05rem;
	white-space: nowrap;
}

.page-selector select {
	flex: 1;
	max-width: 360px;
	background: #0f172a;
	border: 1px solid #475569;
	color: white;
	padding: 0.9rem 1.2rem;
	border-radius: 10px;
	font-size: 1.02rem;
	cursor: pointer;
	transition: all 0.18s;
}

.page-selector select:focus {
	border-color: var(--primary);
	box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25);
	outline: none;
}

/* Karty konfiguracyjne – ładniejsze, z podziałem */
.config-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(480px, 1fr));
	gap: 2rem 2.2rem;
	margin-top: 1rem;
}

.config-card {
	background: linear-gradient(145deg, #172554 0%, #1e293b 100%);
	border: 1px solid #334155;
	border-radius: 12px;
	padding: 1.8rem 2rem;
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
	transition:
		transform 0.2s,
		box-shadow 0.2s;
}

.config-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35);
}

.config-card h3 {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 1.4rem 0;
	color: #93c5fd;
	font-size: 1.22rem;
	font-weight: 600;
}

.config-card h3 i {
	color: var(--primary);
	font-size: 1.3rem;
}

/* Pola formularzy – większe, ładniejsze */
.form-group {
	margin-bottom: 1.6rem;
}

.form-group label {
	display: block;
	margin-bottom: 0.7rem;
	color: #cbd5e1;
	font-size: 0.97rem;
	font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
	width: 100%;
	background: #0f172a;
	border: 1px solid #475569;
	color: #f1f5f9;
	padding: 0.95rem 1.25rem;
	border-radius: 10px;
	font-size: 1.02rem;
	transition: all 0.18s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
	border-color: var(--primary);
	box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.22);
	outline: none;
}

.form-group textarea {
	min-height: 140px;
	resize: vertical;
	line-height: 1.6;
}

/* Licznik znaków */
.char-count {
	font-size: 0.88rem;
	text-align: right;
	margin-top: 6px;
	color: #94a3b8;
}

.char-count.warning {
	color: var(--yellow);
}

.char-count.danger {
	color: var(--red);
	font-weight: 600;
}

/* Podgląd Google – realistyczny wygląd */
.google-preview {
	background: #ffffff;
	border: 1px solid #dadce0;
	border-radius: 8px;
	padding: 1.4rem 1.6rem;
	margin-top: 1.6rem;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.google-title {
	color: #1a0dab;
	font-size: 1.22rem;
	margin: 0 0 4px 0;
	line-height: 1.4;
}

.google-url {
	color: #006621;
	font-size: 0.94rem;
	margin-bottom: 6px;
}

.google-desc {
	color: #545454;
	font-size: 0.97rem;
	line-height: 1.48;
}

/* Akordeon / dodatkowe ustawienia */
details summary {
	cursor: pointer;
	padding: 1rem 1.2rem;
	background: #0f172a;
	border-radius: 10px;
	font-size: 1.05rem;
	font-weight: 500;
	color: #93c5fd;
	display: flex;
	align-items: center;
	gap: 10px;
	transition: background 0.2s;
}

details summary:hover {
	background: #1e293b;
}

details[open] summary {
	background: #1e40af;
	color: white;
}

/* Responsywność */
@media (max-width: 1100px) {
	.config-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 768px) {
	.page-selector {
		flex-direction: column;
		gap: 1rem;
		padding: 1rem;
	}

	.page-selector label {
		text-align: center;
	}

	.page-selector select {
		max-width: 100%;
	}
}
