/* =========================
   Roland Garros — Premium Reservation UI
   mobile-first, clean, kafelki typu rezerwacji + blokada + blokowani członkowie
   ========================= */

:root {
	--bg: #f7f4ee;
	--surface: #fff;
	--surface2: #fbf8f2;
	--surface3: #f3eee6;
	--text: #18221c;
	--muted: #5a655f;
	--rg-green: #0f3d2e;
	--rg-green-2: #184c3a;
	--rg-clay: #c65a2e;
	--rg-clay2: #e07a3a;
	--ok: #1f8a4c;
	--bad: #d64545;
	--border: rgba(15, 61, 46, 0.12);
	--shadow-xs: 0 4px 10px rgba(15, 61, 46, 0.05);
	--shadow-sm: 0 8px 20px rgba(15, 61, 46, 0.08);
	--shadow-md: 0 14px 30px rgba(15, 61, 46, 0.12);
	--shadow-clay: 0 10px 24px rgba(198, 90, 46, 0.18);
}

.reservation-page {
	background:
		radial-gradient(circle at top left, rgba(198, 90, 46, 0.05), transparent 28%),
		radial-gradient(circle at top right, rgba(15, 61, 46, 0.05), transparent 24%), var(--bg);
	padding: 26px 0 34px;
	min-height: 100vh;
	color: var(--text);
}
.reservation-container {
	width: min(1480px, 96%);
	margin: auto;
}
.reservation-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	margin-bottom: 10px;
	padding: 12px 14px;
	background: rgba(255, 255, 255, 0.78);
	backdrop-filter: blur(10px);
	border: 1px solid rgba(15, 61, 46, 0.08);
	border-radius: 16px;
	box-shadow: var(--shadow-sm);
}
.reservation-top-left,
.reservation-top-right {
	display: flex;
	align-items: center;
	gap: 14px;
	flex-wrap: wrap;
}
.reservation-top-right {
	justify-content: flex-end;
}
.reservation-top h2 {
	margin: 0;
	font-size: 22px;
	font-weight: 1000;
	color: var(--rg-green);
	white-space: nowrap;
}
.court-switch {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}
.court-switch a,
.week-btn,
.admin-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 38px;
	padding: 0 16px !important;
	border-radius: 999px !important;
	font-weight: 900 !important;
	font-size: 13px !important;
	text-decoration: none !important;
	transition: 0.18s ease;
	white-space: nowrap;
}
.court-switch a {
	background: linear-gradient(180deg, #f5f6f4, #ebece9) !important;
	color: #31423a !important;
	border: 1px solid rgba(15, 61, 46, 0.1) !important;
	box-shadow: var(--shadow-xs);
}
.court-switch a.active {
	background: linear-gradient(180deg, var(--rg-green-2), var(--rg-green)) !important;
	color: #fff !important;
	box-shadow: 0 10px 24px rgba(15, 61, 46, 0.24) !important;
}
.court-switch a:hover,
.week-btn:hover,
.admin-link:hover {
	transform: translateY(-1px);
}
.week-navigation {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin: 10px 0 8px;
}
.compact-nav {
	margin: 0;
}
.week-btn {
	background: linear-gradient(180deg, var(--rg-clay2), var(--rg-clay));
	color: #fff;
	box-shadow: var(--shadow-clay);
}
.week-btn.disabled {
	background: linear-gradient(180deg, #d2cbc1, #c6beb2);
	color: rgba(24, 34, 28, 0.65);
	pointer-events: none;
	box-shadow: none;
}
.week-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 38px;
	padding: 0 14px;
	border-radius: 999px;
	background: linear-gradient(180deg, #fff, #f4efe7);
	border: 1px solid rgba(15, 61, 46, 0.1);
	color: var(--rg-green);
	font-size: 12px;
	font-weight: 900;
	white-space: nowrap;
	box-shadow: 0 6px 16px rgba(15, 61, 46, 0.06);
}
.msg {
	margin: 8px 0 12px;
	font-weight: 900;
	font-size: 13.5px;
	line-height: 1.35;
	padding: 10px 12px;
	border-radius: 12px;
	border: 1px solid transparent;
	background: rgba(255, 255, 255, 0.72);
	box-shadow: var(--shadow-xs);
}
.msg.success {
	color: var(--ok);
	border-color: rgba(31, 138, 76, 0.16);
	background: rgba(31, 138, 76, 0.06);
}
.msg.error {
	color: var(--bad);
	border-color: rgba(214, 69, 69, 0.15);
	background: rgba(214, 69, 69, 0.055);
}
.week-grid-scroll {
	overflow: auto !important;
	-webkit-overflow-scrolling: touch;
	max-height: 76vh;
	border-radius: 18px;
	border: 1px solid var(--border);
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(251, 248, 242, 0.98));
	box-shadow: var(--shadow-md);
	position: relative;
	z-index: 1 !important;
}
.week-grid {
	display: grid;
	grid-template-columns: 76px repeat(7, minmax(145px, 1fr));
	gap: 6px;
	font-size: 12px;
	padding: 10px;
	min-width: 1120px;
	position: relative;
	isolation: isolate;
	z-index: 1 !important;
}
.corner {
	position: sticky;
	top: 0;
	left: 0;
	z-index: 1000 !important;
	background: linear-gradient(180deg, var(--surface3), var(--surface));
	border-radius: 12px;
	border: 1px solid rgba(15, 61, 46, 0.1);
}
.day-header {
	position: sticky;
	top: 0;
	z-index: 200 !important;
	font-weight: 1000;
	text-align: center;
	padding: 9px 8px;
	color: var(--rg-green);
	font-size: 12px;
	background: linear-gradient(180deg, var(--surface3), var(--surface));
	border-radius: 12px;
	border: 1px solid rgba(15, 61, 46, 0.1);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
.hour-label {
	position: sticky;
	left: 0;
	z-index: 999 !important;
	font-weight: 1000;
	text-align: center;
	padding: 8px 6px;
	color: var(--rg-green);
	font-size: 11.5px;
	background: linear-gradient(180deg, var(--surface2), var(--surface));
	border-radius: 10px;
	border: 1px solid rgba(15, 61, 46, 0.1);
}
.day-header.is-today {
	background: linear-gradient(180deg, #f3c7b3, #efb192);
	border: 1px solid rgba(198, 90, 46, 0.55);
	color: #8f3d1d;
	box-shadow: 0 6px 16px rgba(198, 90, 46, 0.15);
}
.day-header.is-today::after {
	content: '';
	display: block;
	width: 20px;
	height: 3px;
	margin: 6px auto 0;
	border-radius: 999px;
	background: var(--rg-clay);
}
.cell {
	border-radius: 12px;
	min-height: 34px;
	padding: 4px 8px;
	text-align: center;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: stretch;
	position: relative;
	overflow: hidden;
	border: 1px solid rgba(15, 61, 46, 0.1);
	background: var(--surface2);
	z-index: 1;
}
.cell.free {
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(249, 247, 242, 0.98));
}
.cell.free:hover {
	border-color: rgba(198, 90, 46, 0.3);
	box-shadow: 0 8px 18px rgba(198, 90, 46, 0.08);
}
.cell.free .add {
	width: 100%;
	height: 100%;
	min-height: 24px;
	display: grid;
	place-items: center;
	border-radius: 8px;
	background: rgba(198, 90, 46, 0.08);
	color: var(--rg-clay);
	font-weight: 1000;
	font-size: 16px;
	text-decoration: none;
	border: 1px dashed rgba(198, 90, 46, 0.24);
}
.cell.booked {
	background: linear-gradient(180deg, rgba(15, 61, 46, 0.08), rgba(15, 61, 46, 0.06));
	border-color: rgba(15, 61, 46, 0.16);
	z-index: 2 !important;
}
.cell.is-start {
	z-index: 3 !important;
}
.locked,
.occupied {
	opacity: 0.68;
	font-weight: 1000;
	color: var(--muted);
	font-size: 10px;
}
.booking-pill {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 100%;
	padding: 0 !important;
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
	cursor: pointer;
	z-index: 4;
}
.booking-name {
	display: -webkit-box;
	width: 100%;
	padding: 4px 8px;
	border-radius: 8px;
	font-size: 11px;
	line-height: 1.05;
	font-weight: 900;
	color: var(--text);
	text-align: left;
	white-space: normal;
	word-break: break-word;
	overflow-wrap: anywhere;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.booking-type-standard .booking-name {
	background: rgba(59, 130, 246, 0.18);
	border: 1px solid rgba(59, 130, 246, 0.4);
}
.booking-type-gosc .booking-name {
	background: #ebd400;
	border: 1px solid rgba(238, 255, 0, 0.4);
}
.booking-type-liga .booking-name {
	background: rgba(34, 197, 94, 0.18);
	border: 1px solid rgba(34, 197, 94, 0.4);
}
.booking-type-sam .booking-name {
	background: rgba(236, 72, 153, 0.18);
	border: 1px solid rgba(236, 72, 153, 0.42);
}
.booking-type-blokada .booking-name {
	background: linear-gradient(180deg, rgba(239, 68, 68, 0.28), rgba(220, 38, 38, 0.18)) !important;
	border: 1px solid rgba(220, 38, 38, 0.65) !important;
	color: #7f1d1d !important;
	text-align: center !important;
	font-weight: 1000 !important;
	justify-content: center;
}
.cell.booked:has(.booking-type-blokada) {
	background: linear-gradient(180deg, rgba(239, 68, 68, 0.14), rgba(220, 38, 38, 0.08)) !important;
	border-color: rgba(220, 38, 38, 0.34) !important;
}
.cell.is-start:has(.booking-type-blokada) {
	box-shadow: 0 10px 24px rgba(220, 38, 38, 0.18);
}
.delete-form {
	position: absolute;
	top: 2px;
	right: 2px;
}
.delete {
	background: linear-gradient(180deg, var(--rg-clay2), var(--rg-clay));
	border: 1px solid rgba(0, 0, 0, 0.04);
	color: #fff;
	cursor: pointer;
	width: 18px;
	height: 18px;
	border-radius: 7px;
	font-size: 9px;
	display: grid;
	place-items: center;
	padding: 0;
	box-shadow: 0 6px 14px rgba(198, 90, 46, 0.18);
}
.soft-hr {
	border: none;
	border-top: 1px solid rgba(15, 61, 46, 0.12);
	margin: 22px 0;
}
.booking-form,
.admin-block-card {
	width: min(660px, 94vw) !important;
	margin: 26px auto !important;
	padding: 20px !important;
	border-radius: 24px !important;
	background: linear-gradient(180deg, #fff 0%, #fffaf4 100%) !important;
	border: 1px solid rgba(15, 61, 46, 0.1) !important;
	box-shadow: 0 24px 70px rgba(15, 61, 46, 0.14) !important;
}
.booking-form h3,
.admin-block-card h3 {
	font-size: 22px !important;
	color: var(--rg-green) !important;
	margin: 0 0 4px !important;
	font-weight: 1000 !important;
}
.admin-block-card p,
.form-sub {
	font-size: 13px !important;
	color: #6b756f !important;
	margin: 0 0 16px !important;
}
.form-grid {
	display: grid !important;
	grid-template-columns: repeat(3, 1fr) !important;
	gap: 12px !important;
}
.field {
	display: flex;
	flex-direction: column;
	gap: 6px !important;
}
.field.wide {
	grid-column: 1/-1 !important;
}
.field label {
	font-size: 12px !important;
	font-weight: 1000 !important;
	color: var(--rg-green) !important;
}
.input {
	height: 42px !important;
	border-radius: 14px !important;
	border: 1px solid rgba(15, 61, 46, 0.14) !important;
	background: #fff !important;
	padding: 0 13px !important;
	font-size: 13px !important;
	color: var(--text) !important;
	box-shadow: 0 4px 12px rgba(15, 61, 46, 0.04) !important;
	outline: none !important;
}
.input:focus {
	border-color: #d96d36 !important;
	box-shadow: 0 0 0 4px rgba(217, 109, 54, 0.12) !important;
}
.submit {
	width: 100%;
	height: 46px !important;
	margin-top: 14px !important;
	border-radius: 999px !important;
	border: 0;
	font-size: 14px !important;
	font-weight: 1000 !important;
	color: #fff;
	background: linear-gradient(180deg, #e77a3f, #c65a2e) !important;
	box-shadow: 0 14px 30px rgba(198, 90, 46, 0.24) !important;
	cursor: pointer;
}
.field-error {
	margin-top: 6px;
	color: var(--bad);
	font-size: 12px;
	font-weight: 900;
}
.input-error {
	border-color: var(--bad) !important;
	box-shadow: 0 0 0 4px rgba(214, 69, 69, 0.1) !important;
}
.type-tiles {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 9px;
	margin-top: 1px;
}
.type-tile {
	position: relative;
	cursor: pointer;
	min-width: 0;
}
.type-tile input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}
.type-tile span {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 44px;
	border-radius: 15px;
	font-size: 12px;
	font-weight: 1000;
	text-align: center;
	border: 1px solid rgba(15, 61, 46, 0.12);
	background: #fff;
	box-shadow: 0 8px 18px rgba(15, 61, 46, 0.065);
	transition:
		transform 0.16s ease,
		box-shadow 0.16s ease,
		border-color 0.16s ease,
		background 0.16s ease;
	color: #1f2d28;
	user-select: none;
}
.type-standard span {
	color: #1d4ed8;
	background: linear-gradient(180deg, rgba(59, 130, 246, 0.13), rgba(59, 130, 246, 0.07));
}
.type-gosc span {
	color: #a16207;
	background: linear-gradient(180deg, rgba(245, 158, 11, 0.17), rgba(245, 158, 11, 0.08));
}
.type-sam span {
	color: #be185d;
	background: linear-gradient(180deg, rgba(236, 72, 153, 0.16), rgba(236, 72, 153, 0.07));
}
.type-liga span {
	color: #15803d;
	background: linear-gradient(180deg, rgba(34, 197, 94, 0.16), rgba(34, 197, 94, 0.07));
}
.type-blokada span {
	color: #b91c1c;
	background: linear-gradient(180deg, rgba(239, 68, 68, 0.18), rgba(239, 68, 68, 0.08));
}
.type-tile input:checked + span {
	transform: translateY(-1px);
	box-shadow: 0 12px 28px rgba(15, 61, 46, 0.15);
	border-width: 2px;
}
.type-standard input:checked + span {
	border-color: #3b82f6;
	background: linear-gradient(180deg, rgba(59, 130, 246, 0.3), rgba(59, 130, 246, 0.17));
}
.type-gosc input:checked + span {
	border-color: #f59e0b;
	background: linear-gradient(180deg, rgba(245, 158, 11, 0.34), rgba(245, 158, 11, 0.2));
}
.type-sam input:checked + span {
	border-color: #ec4899;
	background: linear-gradient(180deg, rgba(236, 72, 153, 0.32), rgba(236, 72, 153, 0.18));
}
.type-liga input:checked + span {
	border-color: #22c55e;
	background: linear-gradient(180deg, rgba(34, 197, 94, 0.3), rgba(34, 197, 94, 0.17));
}
.type-blokada input:checked + span {
	border-color: #dc2626;
	background: linear-gradient(180deg, rgba(239, 68, 68, 0.38), rgba(220, 38, 38, 0.22));
	color: #7f1d1d;
}
.type-tile input:focus-visible + span {
	outline: 3px solid rgba(198, 90, 46, 0.18);
	outline-offset: 2px;
}
.type-tile:hover span {
	transform: translateY(-1px);
}
.admin-block-form {
	display: grid;
	grid-template-columns: 1fr auto auto;
	gap: 10px;
	align-items: center;
}
.admin-block-btn {
	height: 42px;
	border: 0;
	border-radius: 999px;
	padding: 0 16px;
	font-size: 12px;
	font-weight: 1000;
	cursor: pointer;
	color: #fff;
}
.admin-block-btn.block {
	background: linear-gradient(180deg, #ef4444, #b91c1c);
}
.admin-block-btn.unblock {
	background: linear-gradient(180deg, #22c55e, #15803d);
}
.blocked-list {
	margin-top: 12px;
	padding: 10px 12px;
	border-radius: 14px;
	background: rgba(239, 68, 68, 0.08);
	border: 1px solid rgba(239, 68, 68, 0.18);
	color: #7f1d1d;
	font-size: 13px;
	font-weight: 800;
}
.admin-hidden {
	margin-top: 18px;
	text-align: center;
	opacity: 0.38;
	font-size: 11px;
}
.admin-hidden a {
	color: var(--muted);
	text-decoration: none;
	transition: 0.2s ease;
}
.admin-hidden a:hover {
	opacity: 1;
	text-decoration: underline;
}
.header {
	position: sticky;
	top: 0;
	z-index: 150000 !important;
}
.mobile-menu {
	z-index: 300000 !important;
}
#overlay,
.overlay {
	z-index: 299999 !important;
}
#form {
	scroll-margin-top: 140px;
}
body.modal-open {
	overflow: hidden;
}
.delete-modal,
.booking-details-modal {
	position: fixed;
	inset: 0;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 20px;
	background: rgba(10, 18, 14, 0.46);
	backdrop-filter: blur(4px);
	z-index: 400000;
}
.booking-details-modal {
	z-index: 410000;
}
.delete-modal.is-open,
.booking-details-modal.is-open {
	display: flex !important;
}
.delete-modal-box,
.booking-details-box {
	width: min(420px, 100%);
	background: linear-gradient(180deg, #fff, #f8f5ef);
	border: 1px solid rgba(15, 61, 46, 0.12);
	border-radius: 18px;
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
	padding: 18px;
	animation: modalIn 0.18s ease;
}
@keyframes modalIn {
	from {
		opacity: 0;
		transform: translateY(8px) scale(0.98);
	}
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}
.delete-modal-head h3,
.booking-details-box h3 {
	margin: 0 0 12px;
	font-size: 20px;
	color: var(--rg-green);
}
.delete-modal-message {
	margin: 0 0 14px;
	color: var(--text);
	font-size: 14px;
	line-height: 1.45;
}
.delete-modal-password-wrap {
	margin-bottom: 14px;
}
.delete-modal-password-wrap label {
	display: block;
	margin-bottom: 6px;
	font-size: 12px;
	font-weight: 900;
	color: var(--rg-green);
}
.delete-modal-password {
	width: 100%;
	height: 38px;
	border-radius: 10px;
	border: 1px solid rgba(15, 61, 46, 0.18);
	background: #fff;
	padding: 0 12px;
	font-size: 13px;
	color: var(--text);
	outline: none;
	box-sizing: border-box;
}
.delete-modal-actions {
	display: flex;
	justify-content: flex-end;
	gap: 10px;
}
.delete-modal-cancel,
.delete-modal-confirm,
.booking-details-close {
	height: 38px;
	border: none;
	border-radius: 999px;
	padding: 0 16px;
	font-weight: 900;
	font-size: 12.5px;
	cursor: pointer;
}
.delete-modal-cancel {
	background: #ece8df;
	color: #38433d;
	border: 1px solid rgba(15, 61, 46, 0.1);
}
.delete-modal-confirm,
.booking-details-close {
	background: linear-gradient(180deg, #de7441, #c65a2e);
	color: #fff;
	box-shadow: 0 10px 24px rgba(198, 90, 46, 0.22);
}
.booking-details-close {
	width: 100%;
	margin-top: 14px;
}
.booking-details-row {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 9px 0;
	border-bottom: 1px solid rgba(15, 61, 46, 0.09);
	font-size: 14px;
}
.booking-details-row span {
	color: var(--muted);
	font-weight: 800;
}
.booking-details-row strong {
	text-align: right;
	color: var(--text);
	font-weight: 1000;
}
@media (max-width: 980px) {
	.reservation-page {
		padding: 18px 0 26px;
	}
	.reservation-container {
		width: min(98%, 100%);
	}
	.reservation-top {
		flex-direction: column;
		align-items: stretch;
		gap: 10px;
		padding: 12px;
	}
	.reservation-top-left,
	.reservation-top-right {
		width: 100%;
		justify-content: flex-start;
	}
	.reservation-top-left {
		flex-direction: column;
		align-items: stretch;
		gap: 10px;
	}
	.reservation-top-right {
		flex-direction: column;
		align-items: stretch;
		gap: 8px;
	}
	.reservation-top h2 {
		font-size: 20px;
		white-space: normal;
	}
	.court-switch {
		width: 100%;
	}
	.court-switch a {
		flex: 1 1 calc(50% - 4px);
		min-width: 0;
	}
	.compact-nav {
		width: 100%;
	}
	.week-btn {
		flex: 1 1 0;
		min-width: 0;
	}
	.week-badge {
		flex: 1 1 100%;
		width: 100%;
	}
	.week-grid {
		grid-template-columns: 70px repeat(7, minmax(128px, 1fr));
		min-width: 1010px;
		gap: 5px;
		padding: 8px;
	}
	.form-grid {
		grid-template-columns: 1fr 1fr !important;
	}
	.type-tiles {
		grid-template-columns: repeat(3, 1fr);
	}
}
@media (max-width: 640px) {
	.reservation-page {
		padding: 12px 0 22px;
	}
	.reservation-container {
		width: 98%;
	}
	.reservation-top {
		padding: 8px;
		gap: 6px;
		align-items: center;
		border-radius: 14px;
	}
	.reservation-top h2 {
		font-size: 14px;
		text-align: center;
	}
	.reservation-top-left {
		display: flex !important;
		justify-content: center;
		align-items: center;
		gap: 6px;
		flex-wrap: nowrap;
	}
	.court-switch {
		display: flex !important;
		gap: 6px;
	}
	.court-switch a {
		width: auto !important;
		min-width: 72px;
		max-width: 90px;
		height: 26px;
		min-height: 26px;
		padding: 0 8px !important;
		font-size: 10px !important;
	}
	.compact-nav {
		display: flex;
		justify-content: center;
		align-items: center;
		gap: 6px;
		flex-wrap: nowrap;
	}
	.week-btn {
		width: auto !important;
		min-width: 80px;
		max-width: 100px;
		height: 26px;
		min-height: 26px;
		padding: 0 6px !important;
		font-size: 10px !important;
	}
	.week-badge {
		width: auto !important;
		min-width: 110px;
		max-width: 130px;
		height: 24px;
		min-height: 24px;
		font-size: 9px;
		padding: 0 6px !important;
	}
	.msg {
		margin: 8px 0 10px;
		padding: 9px 10px;
		font-size: 12.5px;
	}
	.week-grid-scroll {
		border-radius: 14px;
		max-height: 72vh;
	}
	.week-grid {
		grid-template-columns: 62px repeat(7, minmax(116px, 1fr));
		min-width: 900px;
		gap: 4px;
		padding: 6px;
	}
	.corner,
	.day-header,
	.hour-label,
	.cell {
		border-radius: 9px;
	}
	.day-header {
		padding: 7px 4px;
		font-size: 10.5px;
	}
	.day-header.is-today {
		box-shadow: none;
	}
	.day-header.is-today::after {
		width: 14px;
		height: 2px;
		margin-top: 4px;
	}
	.hour-label {
		font-size: 10px;
		padding: 6px 3px;
	}
	.cell {
		min-height: 28px;
		padding: 2px 6px;
	}
	.booking-name {
		font-size: 9.6px;
		line-height: 1.02;
		-webkit-line-clamp: 2;
	}
	.delete {
		width: 16px;
		height: 16px;
		font-size: 8px;
		border-radius: 6px;
	}
	.soft-hr {
		margin: 18px 0;
	}
	.booking-form,
	.admin-block-card {
		width: calc(100% - 22px) !important;
		margin: 18px auto !important;
		padding: 16px !important;
		border-radius: 22px !important;
	}
	.booking-form h3,
	.admin-block-card h3 {
		font-size: 20px !important;
	}
	.form-sub,
	.admin-block-card p {
		font-size: 12px !important;
		margin-bottom: 14px !important;
	}
	.form-grid {
		grid-template-columns: 1fr 1fr !important;
		gap: 10px !important;
	}
	.field.wide {
		grid-column: 1/-1 !important;
	}
	.field label {
		font-size: 11px !important;
	}
	.input {
		height: 40px !important;
		font-size: 12px !important;
		border-radius: 13px !important;
	}
	.type-tiles {
		grid-template-columns: repeat(2, 1fr);
		gap: 8px;
	}
	.type-tile span {
		height: 38px;
		border-radius: 13px;
		font-size: 11px;
	}
	.admin-block-form {
		grid-template-columns: 1fr;
	}
	.admin-block-btn {
		width: 100%;
	}
	.submit {
		height: 44px !important;
		font-size: 13px !important;
	}
	#form {
		scroll-margin-top: 120px;
	}
	.admin-hidden {
		margin-top: 14px;
		font-size: 10px;
		opacity: 0.32;
	}
	.delete-modal,
	.booking-details-modal {
		padding: 14px;
	}
	.delete-modal-box,
	.booking-details-box {
		border-radius: 16px;
		padding: 14px;
	}
	.delete-modal-head h3,
	.booking-details-box h3 {
		font-size: 17px;
	}
	.delete-modal-cancel,
	.delete-modal-confirm {
		flex: 1 1 0;
		height: 36px;
		padding: 0 10px;
		font-size: 12px;
	}
	.booking-details-row {
		font-size: 13px;
	}
}
@media (max-width: 380px) {
	.reservation-top h2 {
		font-size: 17px;
	}
	.court-switch a,
	.week-btn {
		font-size: 11px !important;
	}
	.week-grid {
		grid-template-columns: 58px repeat(7, minmax(108px, 1fr));
		min-width: 840px;
	}
	.booking-name {
		font-size: 9px;
	}
	.form-grid {
		grid-template-columns: 1fr !important;
	}
	.type-tiles {
		grid-template-columns: 1fr 1fr !important;
	}
}
