 .loading-indicator {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.form-group {
    margin-bottom: 15px;
}

.form-control {
    width: 100%;
    padding: 8px;
    border: 1px solid #ced4da;
    border-radius: 4px;
}

.form-section {
    margin-top: 20px;
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #f9f9f9;
}

.submit-btn {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
}

.submit-btn:hover {
    background-color: #0056b3;
}





:root {
    --border-color: #f5f5f5; /* Farbe des Rahmens, hier als Variable für einfache Anpassungen */
    
}


.calendar-container {
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    background-color: white;
    padding: 15px;
    border-radius: 5px;
    margin-top: 20px;
    border: 1px solid var(--border-color); /* Äußerer Rahmen des Kalenders */
}

.weekdays, .calendar-days {
    display: flex;
    flex-wrap: wrap;
}

.day, .empty, .weekdays div {
    flex: 0 0 calc(100% / 7);
    text-align: center;
    min-height: 80px;
    background-color: white;
}

.day, .empty {
    padding: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
    border: 1px solid var(--border-color); /* Rahmen für jeden Tag */
}

.day.available:hover, .day:not(.empty):hover {
    transform: scale(1.15); /* Vergrößert den Tag leicht */
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2); /* Fügt einen Schatten hinzu */
    z-index: 1; /* Stellt sicher, dass der Tag über anderen Elementen schwebt */
}

.weekdays {
    padding-bottom: 10px;
}

.weekdays div {
    font-weight: bold;
    border-bottom: 1px solid var(--border-color); /* Rahmen für Wochentagsköpfe */
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .day, .empty {
        min-height: 60px;
        padding: 10px;
    }
}








#selectedDate, #numberDIV{
    margin-top: 10px;
    font-size: larger;
    font-weight: bold;
}

.selected {
    background-color: #add8e6 !important;
    /* Light Blue */
    color: rgb(137, 76, 76);
    font-weight: bold;
}


@media (max-width: 768px) {
    .day, .empty {
        min-height: 60px;
        padding: 10px;
    }
    
    .day div {
        font-size: 12px; /* Verkleinert den Text im dayElement */
    }
    
    /* Ensure tiles are always properly aligned */
    .calendar-days {
        display: grid;
        grid-template-columns: repeat(7, 1fr);
    }

    .day, .empty, .weekdays div {
        min-height: 60px;
        padding: 10px;
        border: 1px solid var(--border-color); /* Rahmen für jeden Tag */
        text-align: center;
    }

    /* Smaller font size for text within tiles */
    .day div, .day span {
        font-size: 10px; /* Adjust the font size as needed */
    }
}

/* Ensure the calendar header matches the width of the calendar grid */
.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    padding-bottom: 10px;
}

.weekdays div {
    font-weight: bold;
    border-bottom: 1px solid var(--border-color); /* Rahmen für Wochentagsköpfe */
    text-align: center;
    padding: 10px;
}
