/* Wrapper */
#tapot-wrapper {
    max-width: 900px;
    margin: 20px auto;
}

/* Kalender */
#tapot-calendar-container {
    margin-bottom: 30px;
}

.tapot-cal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.tapot-cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

.tapot-cal-grid div {
    padding: 10px;
    text-align: center;
    border: 1px solid #ddd;
}

/* NEUTRALER TAG – NICHT GRÜN! */
.tapot-day {
    cursor: pointer;
    background: #ffffff; /* weiß */
}

/* Verfügbarer Tag */
.tapot-available {
    background: #c8f7c5 !important; /* grün */
}

/* Hover nur bei verfügbaren Tagen */
.tapot-available:hover {
    background: #a8e7a5 !important;
}

/* Heute markieren */
.tapot-today {
    border: 2px solid #0073aa !important;
}

/* Leere Felder */
.empty {
    background: #f5f5f5;
}

/* Slots */
#tapot-slots button {
    display: block;
    width: 100%;
    margin: 5px 0;
    padding: 10px;
    background: #0073aa;
    color: white;
    border: none;
    cursor: pointer;
}

/* Formular */
#tapot-form-container {
    margin-top: 30px;
}

#tapot-booking-form input,
#tapot-booking-form select {
    width: 100%;
    padding: 8px;
    margin-bottom: 12px;
}

/* Submit */
#tapot-submit {
    width: 100%;
    padding: 12px;
    background: #0073aa;
    color: white;
    border: none;
    cursor: pointer;
}
.tapot-checkbox {
    display: inline-block;
}

.tapot-checkbox input[type="checkbox"] {
    vertical-align: middle;
    margin-right: 6px;
}
.tapot-inline-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 15px 0;
    flex-wrap: nowrap;
}

.tapot-checkbox {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    white-space: nowrap;
}

/* Datenschutz-Zeile NICHT auf 100% Breite strecken */
#tapot-booking-form .tapot-inline-row label,
#tapot-booking-form .tapot-inline-row button {
    width: auto !important;
}

/* Mobile: Button unter die Checkbox */
@media (max-width: 600px) {
    .tapot-inline-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .tapot-inline-row button {
        width: 100%;
    }
}

