#tk-open-btn {
    font-size: 0.85em;
}
#tk-open-btn:hover { opacity: 0.9; }

#tk-auswahl-anzeige {
	margin-top: 0.8em;
    padding: 0.7em 1em;
    background: #eef3d1;
    border: 1px solid var(--wp--preset--color--gruen);
    border-radius: 4px;
    font-size: 0.9em;
    color: var(--wp--preset--color--grau);
}

#tk-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.tk-modal {
    background: #fff;
    border-radius: 8px;
    padding: 1.5em;
    width: 100%;
    max-width: 400px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

#tk-close-btn {
    position: absolute;
    top: 10px;
    right: 12px;
    background: none;
    border: none;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    color: #666;
}

.tk-kalender-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1em;
    font-weight: 600;
	color: var(--wp--preset--color--grau);
    text-transform: uppercase;
}
.tk-kalender-header button {
    background: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 30px;
    height: 30px;
    cursor: pointer;
}

.tk-kalender-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
}

.tk-wochentag {
    text-align: center;
    font-size: 0.75em;
    font-weight: 600;
    color: var(--wp--preset--color--grau);
    padding-bottom: 4px;
	text-transform: uppercase;
	opacity: 0.6;
}

.tk-tag {
    text-align: center;
    padding: 8px 0;
    border-radius: 4px;
    font-size: 0.85em;
}

.tk-tag-leer { visibility: hidden; }

.tk-tag-frei {
    background: var(--wp--preset--color--grau);
    color: #fff;
    cursor: pointer;
    font-weight: 600;
}
.tk-tag-frei:hover { background: var(--wp--preset--color--gruen); }

.tk-tag-gesperrt {
    background: #f2f2f2;
    color: #b3b3b3;
    text-decoration: line-through;
}

.tk-tag-vergangen {
    background: transparent;
    color: #d5d5d5;
}
.tk-tag-heute{background: rgb(170 195 25 / 20%);color: var(--wp--preset--color--grau);}

.tk-tag-ausgewaehlt {
    outline: 2px solid var(--wp--preset--color--gruen);
	background: var(--wp--preset--color--gruen);
}

.tk-lade-hinweis {
    grid-column: 1 / -1;
    text-align: center;
    color: #888;
    padding: 20px 0;
    font-size: 0.85em;
}

.tk-slots {
    margin-top: 1em;
    border-top: 1px solid #eee;
    padding-top: 1em;
}

.tk-slots-titel {
    font-size: 0.85em;
    font-weight: 600;
    margin-bottom: 0.6em;
	color: var(--wp--preset--color--grau);
}

.tk-slots-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
}

.tk-slot-btn {
	padding: 6px 4px;
    border: 2px solid var(--wp--preset--color--gruen);
    background: #fff;
    color: var(--wp--preset--color--grau);
    border-radius: 4px;
    font-size: 0.8em;
    cursor: pointer;
}
.tk-slot-btn:hover {
    background: var(--wp--preset--color--gruen);
    color: #fff;
}
