#calendar {
    max-width: 1000px;
    margin: 40px auto;
    font-family: Arial, Helvetica Neue, Helvetica, sans-serif;
    font-size: 14px;
}

.fc-day-bg.available-day {
    background-color: #f0f0f0 !important;
}

.fc-day-bg.unavailable-day {
    background-color: #ffebeb !important;
    cursor: not-allowed;
}

.fc-event.booked-slot {
    background-color: #ff9800;
    border-color: #ff9800;
}

#bookingFormContainer {
    display: none;
    margin-top: 20px;
    padding: 20px;
    border: 1px solid #ddd;
    background-color: #f9f9f9;
    border-radius: 5px;
}

#bookingFormContainer h3 {
    margin-top: 0;
}

#bookingFormContainer label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

#bookingFormContainer input[type="text"],
#bookingFormContainer input[type="email"],
#bookingFormContainer input[type="tel"],
#bookingFormContainer input[type="file"] {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

#bookingFormContainer button,
button.download {
    background-color: #0073aa;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

#bookingFormContainer button:hover {
    background-color: #005177;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px;
    border-radius: 8px;
    position: relative;
    text-align: center;
}

.close-button {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close-button:hover,
.close-button:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.time-slot-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
    margin-bottom: 20px;
}

.time-slot-button {
    background-color: #f0f0f0;
    color: #333;
    border: 1px solid #ccc;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.2s, border-color 0.2s;
    flex-grow: 1;
    min-width: 100px;
    text-align: center;
}

.time-slot-button:hover {
    background-color: rgb(18 47 61 / 73%);
    border-color: #999;
}

.time-slot-button.selected {
    background-color: rgb(18 47 61 / 73%);
    color: white;
    border-color: #0073aa;
    box-shadow: 0 0 5px rgba(0, 115, 170, 0.5);
}

.fc-theme-standard td {
    cursor: pointer;
}

.unavailable-day {
    background-color: rgba(211, 211, 211, 0.24);
    cursor: default !important;
}

.unavailable-day a {
    text-decoration: none;
}

.fc-day-sat, .fc-day-sun {
    background-color: rgba(211, 211, 211, 0.24);
}

.drop-zone {
    border: 2px dashed #ccc;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    font-size: 1.1em;
    color: #666;
    cursor: pointer;
    transition: background-color 0.3s, border-color 0.3s;
    margin-bottom: 20px;
}

.drop-zone:hover,
.drop-zone.dragover {
    background-color: #f0f8ff;
    border-color: #0073aa;
}

.drop-zone p {
    margin: 0;
}

.drop-zone a {
    color: #0073aa;
    text-decoration: underline;
}

.file-list-container {
    margin-top: 15px;
    border: 1px solid #eee;
    padding: 15px;
    border-radius: 5px;
    background-color: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.file-list-container h4 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #333;
    font-size: 1em;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
}

#fileList {
    list-style: none;
    padding: 0;
    margin: 0;
}

#fileList li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px dashed #eee;
    color: #555;
}

#fileList li:last-child {
    border-bottom: none;
}

#fileList li .file-name {
    flex-grow: 1;
    word-break: break-all;
    margin-right: 10px;
}

#fileList li .remove-file {
    background: none;
    border: none;
    color: #dc3232;
    cursor: pointer;
    font-size: 1.2em;
    padding: 0 5px;
    transition: color 0.2s;
}

#fileList li .remove-file:hover {
    color: #a00;
}

#noFilesSelected {
    color: #888;
    font-style: italic;
    text-align: center;
    padding: 10px;
}

.no-decoration {
    content: none;
}

button[type="submit"] {
    margin-top: 20px;
}

.time-slot-button.selected {
    background-color: #005177 !important;
}

.fc-event.fc-event-start.fc-event-end.fc-event-future.fc-bg-event {
    background-color: white !important;
}
.fc-day-future.fc-daygrid-day.available-day.selected {
    background-color: rgb(224, 255, 224) !important;
}

main ul li:not(.nav-item,
.list li,
.slick-dots li,
.downloads li,
.pagination li,
.list-unstyled li)::before {
    content: none !important;
}

/* Styles für Tage mit verfügbaren Terminen im Kalender */
.fc-day-has-appointments {
    background-color: white !important; /* Wichtig, um die Standard-FullCalendar-Farben zu überschreiben */
}

/* Optional: Um den Hover-Effekt auf diesen Tagen anzupassen, falls gewünscht */
.fc-day-has-appointments:hover {
    background-color: #f0f0f0 !important; /* Ein leicht grauer Farbton beim Hover */
}

@media (max-width: 600px) {
    .time-slot-buttons {
        flex-direction: column;
    }
    .time-slot-button {
        width: 100%;
    }
}