#booknow-calendar {
    margin: 1rem 0;
}

/* Navigation */
.booknow-cal-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.booknow-cal-nav button {
    padding: 4px 8px;
    font-weight: 600;
    border: 1px solid #ccc;
    background: #f7f7f7;
    cursor: pointer;
}

.booknow-cal-nav button:hover {
    background: #e9f5ff;
}

.booknow-cal-title {
    text-transform: capitalize;
    font-weight: 600;
}

/* Kalender-Grid */
.booknow-grid {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.booknow-grid th,
.booknow-grid td {
    border: 1px solid #ddd;
    text-align: center;
    padding: 6px;
    font-size: 12px;
}

/* Statusfarben */
.booknow-free {
    background: #fff;
    cursor: pointer;
    transition: background-color 0.2s;
}

.booknow-free:hover {
    background: #eef8ff;
}

.booknow-booked {
    background: #f8d7da;
    color: #842029;
}

.booknow-gap {
    background: #ffe5b3;
    color: #8a5100;
}

.booknow-selected {
    outline: 2px solid #2c7;
    background: #d7f7e5;
}

.booknow-range-preview {
    background: #eaf4ff;
    outline: 1px dashed #8dc7ff;
}

/* Info & Ladeanzeige */
.booknow-info {
    margin-top: 0.5rem;
    font-weight: 600;
    text-align: center;
}

.booknow-info-loading::after {
    content: '';
    display: inline-block;
    width: 12px;
    height: 12px;
    margin-left: 6px;
    border: 2px solid #bbb;
    border-top-color: #2c7;
    border-radius: 50%;
    animation: booknow-spin 0.8s linear infinite;
    vertical-align: middle;
}

@keyframes booknow-spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.booknow-summary {
    display: inline-block;
    text-align: left;
    background: #f7f9ff;
    border: 1px solid #d5e2fb;
    border-radius: 6px;
    padding: 0.75rem 1rem;
    min-width: 260px;
    margin-top: 0.5rem;
}

.booknow-summary-header {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1f2a44;
}

.booknow-summary-line,
.booknow-summary-total {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    font-size: 13px;
    margin: 2px 0;
}

.booknow-summary-total {
    border-top: 1px solid #dfe5f5;
    margin-top: 0.4rem;
    padding-top: 0.4rem;
    font-weight: 700;
}

.booknow-summary-line span:last-child,
.booknow-summary-total span:last-child {
    font-variant-numeric: tabular-nums;
}

.loading::after {
    content: "Lädt…";
    display: block;
    text-align: center;
    padding: 0.5em;
    color: #555;
    font-size: 13px;
}
