#wwd-calendar {
    #max-width: 1000px;
	max-width: 100%;
    margin: 0 auto;
    font-family: 'Jost', sans-serif; /* Schriftart */
}

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

.calendar-nav {
    display: flex;
    gap: 10px;
    align-items: center;
}

.calendar-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
}

.calendar-header button {
    background: #c6c6c6;
    border: none;
    color: white;
    padding: 6px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

.calendar-header button:hover {
    background: #f39201;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
    background: #ccc;
}

.calendar-day {
    background: #fff;
    min-height: 120px;
    padding: 6px;
    box-sizing: border-box;
    position: relative;
}

.calendar-day-header {
    font-weight: bold;
    margin-bottom: 4px;
}


.event {
    display: block;
    padding: 4px 6px;
    border-radius: 4px;
    text-decoration: none !important;
    font-size: 16px;
    line-height: 1.4;
    transition: background-color 0.25s ease-in-out;
    color: #ffffff !important; /* Weiß als Standardtextfarbe */
}

.event.event-open {
    background-color: #f39201 !important; /* MakerSpace-Orange */
    color: #ffffff !important;
}

.event.event-open:hover {
    background-color: #cc7a00 !important;
}

.event.event-closed {
    background-color: #7f8c8d !important; /* neutrales Grau */
    color: #ffffff !important;
    /*cursor: not-allowed;*/
    opacity: 0.85;
}

.event.event-closed:hover {
    background-color: #8c8c8c !important;
    text-decoration: none !important;
}


.tooltip {
    position: absolute;
    background: #333;
    color: white;
    padding: 6px;
    border-radius: 6px;
    z-index: 10;
    display: none;
    font-size: 16px;
    max-width: 200px;
}

.tooltip-divider {
    border: none;
    border-top: 1px solid #ddd;
    margin: 4px 0;
}

.tooltip * {
    margin: 0;   /* entfernt die Standard-Abstände */
}

#calendar-loading {
    position: absolute;
    background: rgba(255, 255, 255, 0.8);
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: none;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: #333;
    font-size: 18px;
    z-index: 50;
    border-radius: 8px;
}