/* Belegungskalender Styles - basierend auf dem Original von spo.stark-jena.de */

.bk-kalender-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
}

.bk-kalender-wrapper table {
    border: thin solid black;
    border-collapse: collapse;
    padding: 0.3em;
    text-align: center;
    width: 220px;
    font-size: 14px;
}

.bk-kalender-wrapper caption {
    border: thin solid black;
    border-collapse: collapse;
    padding: 0.5em;
    text-align: center;
    background: #666;
    color: #c4ced3;
    font-weight: bold;
    caption-side: top;
}

.bk-kalender-wrapper th {
    border: thin solid black;
    border-collapse: collapse;
    padding: 0.3em;
    text-align: center;
    background: #666;
    color: #c4ced3;
    font-weight: bold;
}

.bk-kalender-wrapper td.day {
    background: #cbf5b7;
    color: #666;
    border: thin solid black;
    border-collapse: collapse;
    padding: 0.3em;
    text-align: center;
    width: 28px;
    height: 28px;
}

.bk-kalender-wrapper td.weekend {
    background: #ebf5d7;
    color: #666;
    border: thin solid black;
    border-collapse: collapse;
    padding: 0.3em;
    text-align: center;
    width: 28px;
    height: 28px;
}

.bk-kalender-wrapper td.belegt {
    background: #ff6b6b;
    color: #fff;
    font-weight: bold;
    border: thin solid black;
    border-collapse: collapse;
    padding: 0.3em;
    text-align: center;
    width: 28px;
    height: 28px;
}

.bk-kalender-wrapper td.privat {
    background: #ffa500;
    color: #fff;
    font-weight: bold;
    border: thin solid black;
    border-collapse: collapse;
    padding: 0.3em;
    text-align: center;
    width: 28px;
    height: 28px;
}

.bk-kalender-wrapper td.heute {
    background: #4dabf7;
    color: #fff;
    font-weight: bold;
    border: 2px solid #1864ab;
    border-collapse: collapse;
    padding: 0.3em;
    text-align: center;
    width: 28px;
    height: 28px;
}

.bk-kalender-wrapper td.leer {
    background: transparent;
    border: thin solid black;
    border-collapse: collapse;
    padding: 0.3em;
    text-align: center;
    width: 28px;
    height: 28px;
}

/* Halbe Tage - schraege Markierung */
.bk-kalender-wrapper td.halb-anfang,
.bk-kalender-wrapper td.halb-ende {
    color: #333;
    font-weight: bold;
    border: thin solid black;
    border-collapse: collapse;
    padding: 0.3em;
    text-align: center;
    width: 28px;
    height: 28px;
}

.bk-legend {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.bk-legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}

.bk-legend-box {
    width: 20px;
    height: 20px;
    border: thin solid black;
}

.bk-legend-box.frei { background: #cbf5b7; }
.bk-legend-box.wochenende { background: #ebf5d7; }
.bk-legend-box.belegt { background: #ff6b6b; }
.bk-legend-box.privat { background: #ffa500; }
.bk-legend-box.heute { background: #4dabf7; border: 2px solid #1864ab; }
.bk-legend-box.halb {
    background: linear-gradient(to bottom right, #cbf5b7 50%, #ff6b6b 50%);
}
