table 
{
	width: auto; /* Verhindert, dass sich die Tabelle zu stark ausdehnt */
    table-layout: fixed; /* Sorgt dafür, dass die Breiten gleichmäßig verteilt werden */
	border-collapse: collapse;
}

th, td {
	border: 1px solid #ddd;  /* Standard-Rahmen */
	text-align: center;
	padding: 3px;
}

th {
	border-bottom: 3px solid black; /* Dickere Linie unter der Kopfzeile */
}

/* Dickere vertikale Linie zwischen Tagen */
td:not(:last-child),
th:not(:last-child) {
	border-right: 3px solid black; /* Trennlinie zwischen den Tages-Spalten */
}
.platzteil-column {
	display: flex;
	flex-direction: column;
	align-items: center;
	border: 1px solid #ddd;
	gap: 2px;
}
.platzteile-container {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 5px; /* Weniger Abstand zwischen den Platzteilen */
}

/* Platzteil-Beschriftung unter den Wochentagen */
.platzteil-header 
{
	font-weight: bold;
	text-align: center;
	padding: 5px;
	border-bottom: 2px solid black;
}

/* Zeitslots */
.time-slot {
	display: flex;
    align-items: center;
    justify-content: center;
    width: 50px; /* Reduziert die Breite der Slots */
    height: 20px; /* Optional: Höhe anpassen */
    font-size: 12px; /* Kleinere Schrift, aber lesbar */
    border: 1px solid #ccc; /* Optional: Klare Abtrennung */
    text-overflow: ellipsis;
    white-space: nowrap;
	text-align: center;
	margin-bottom: 2px;
	position: relative;
	cursor: pointer;
}

/* Standard-Tooltip-Stil */
.time-slot::before {
	content: attr(data-tooltip);
	position: absolute;
	bottom: 100%;
	left: 50%;
	transform: translateX(-50%);
	background-color: rgba(0, 0, 0, 0.85);
	color: #fff;
	padding: 5px 8px;
	border-radius: 5px;
	font-size: 12px;
	white-space: nowrap;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s, transform 0.3s;
	z-index: 100;
}

/* Pfeil unter dem Tooltip */
.time-slot::after {
	content: "";
	position: absolute;
	bottom: 100%;
	left: 50%;
	transform: translateX(-50%);
	border-width: 5px;
	border-style: solid;
	border-color: rgba(0, 0, 0, 0.85) transparent transparent transparent;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s;
}

/* Tooltip beim Hover sichtbar machen */
.time-slot:hover::before,
.time-slot:hover::after {
	opacity: 1;
	visibility: visible;
}

/* Dynamische Anpassung für Slots in der rechten Spalte */
.time-slot.right-tooltip::before {
	left: auto;
	right: 0;
	transform: translateX(0%);
}

.time-slot.right-tooltip::after {
	left: auto;
	right: 10px;
}

.time-slot span {
	font-size: 10px;
	color: black !important;
	display: block;
}

/* Hintergrund für heutigen Tag */
.today {
	background-color: rgba(209, 209, 3, 0.625) !important; /* Dezentes Rot als Hintergrund */
}

/* Scrollbare Tabelle */
.scrollable-table-container {
	overflow-x: auto;
	width: 100%;
}

/* Buchungsdetails */
#booking-details-container {
	padding: 10px;
	border: 1px solid #ddd;
	background-color: #f9f9f9;
	display: none;
	margin-top: 20px;
}

/* Button Styling */
.btn {
	padding: 5px 10px;
	margin: 5px;
	cursor: pointer;
	background-color: #007bff;
	color: white;
	border: none;
	border-radius: 5px;
}

.btn:hover {
	background-color: #0056b3;
}


.collapsible 
{
	background-color: #f1f1f1;
	color: #444;
	cursor: pointer;
	padding: 0 10px; /* Nur horizontales Padding */
	width: 100%;
	border: none;
	text-align: left;
	outline: none;
	font-size: 15px;
	line-height: 1.5; /* Höhe des Buttons auf die Höhe der Schrift setzen */

}

.collapsible h3 
{
	margin: 0; /* Entfernt den Standardabstand des h3-Elements */
	line-height: 1.5; /* Setzt die Höhe des h3-Elements */
}

.active, .collapsible:hover 
{
	background-color: #ccc;
}

.collapsiblecontent 
{
	display: none;
	overflow: hidden;
	background-color: #f9f9f9;
}
