/* Artcore Padel Booking – mobile-first, framework-frei. */

.apb {
	max-width: 720px;
	margin: 0 auto;
	font-size: 16px;
	line-height: 1.5;
}

.apb-datebar {
	display: flex;
	gap: 8px;
	align-items: center;
	justify-content: center;
	margin-bottom: 16px;
}

.apb-date {
	padding: 8px 12px;
	border: 1px solid #c3c4c7;
	border-radius: 6px;
	font-size: 16px;
}

.apb-btn {
	padding: 8px 16px;
	border: 1px solid #1d4ed8;
	border-radius: 6px;
	background: #1d4ed8;
	color: #fff;
	font-size: 16px;
	cursor: pointer;
}

.apb-btn:hover:not(:disabled) {
	background: #1e40af;
}

.apb-btn:disabled {
	opacity: 0.45;
	cursor: not-allowed;
}

.apb-grid-wrap {
	overflow-x: auto;
}

.apb-grid {
	width: 100%;
	border-collapse: collapse;
}

.apb-grid th,
.apb-grid td {
	border: 1px solid #e0e0e0;
	padding: 6px;
	text-align: center;
	font-size: 14px;
	white-space: nowrap;
}

.apb-grid thead th {
	background: #f6f7f7;
}

.apb-slot {
	width: 100%;
	padding: 6px 10px;
	border: 1px solid #16a34a;
	border-radius: 4px;
	background: #dcfce7;
	color: #14532d;
	cursor: pointer;
	font-size: 14px;
}

.apb-slot:hover {
	background: #bbf7d0;
}

.apb-slot--selected {
	background: #16a34a;
	color: #fff;
}

.apb-cell--booked {
	background: #f3f4f6;
	color: #9ca3af;
}

.apb-cell--past {
	background: #fafafa;
	color: #d1d5db;
}

.apb-selection {
	margin-top: 20px;
	padding: 16px;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	background: #fafafa;
}

.apb-selection-summary {
	font-weight: 600;
	margin-bottom: 12px;
}

.apb-duration {
	display: flex;
	gap: 8px;
	margin-bottom: 16px;
}

.apb-form label {
	display: block;
	margin-bottom: 12px;
	font-weight: 600;
}

.apb-form input[type="text"],
.apb-form input[type="email"],
.apb-form input[type="tel"] {
	display: block;
	width: 100%;
	padding: 10px;
	margin-top: 4px;
	border: 1px solid #c3c4c7;
	border-radius: 6px;
	font-size: 16px;
	font-weight: 400;
	box-sizing: border-box;
}

/* Honeypot: für Menschen unsichtbar. */
.apb-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.apb-note {
	font-size: 14px;
	color: #50575e;
}

.apb-submit {
	width: 100%;
	padding: 12px;
	font-weight: 600;
}

.apb-message {
	margin-top: 16px;
	min-height: 1em;
}

.apb-message--error {
	padding: 12px;
	border-radius: 6px;
	background: #fde8e8;
	color: #9b1c1c;
}

.apb-message--info {
	padding: 12px;
	border-radius: 6px;
	background: #e1effe;
	color: #1e429f;
}

.apb-loading,
.apb-closed {
	text-align: center;
	color: #50575e;
	padding: 24px 0;
}

.apb-success-box,
.apb-cancel-box {
	padding: 20px;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	background: #fafafa;
}

@media (min-width: 600px) {
	.apb-grid th,
	.apb-grid td {
		font-size: 15px;
		padding: 8px;
	}
}
