#krieg-calendar-table {
    font-family: sans-serif;
}
.krieg-calendar-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 1em 0;
    max-width: 660px;
    margin-left: auto;
    margin-right: auto;
}
.krieg-calendar-wrap {
    display: flex;
    gap: 1em;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
}
.krieg-calendar {
    border-collapse: collapse;
    width: 100%;
    margin: 0 0.5em;
}
.krieg-calendar caption {
    text-align: center;
    font-weight: bold;
    margin-bottom: 0.5em;
}
.krieg-calendar th,
.krieg-calendar td {
    width: 14.2%;
    padding: 4px;
    text-align: center;
    border: 1px solid #ccc;
}
.krieg {
    background: #70ae6e;
    color: #fff;
}
.blocked {
    background: #ccc;
    color: #999;
    font-weight: normal;
}
.booked {
    background-color: #ee7674;
    color: #fff;
}
.inactive {
    background: #fafafa;
    color: #cccccc;
}
.empty {
    background: #fff;
}
.clickable {
    cursor: pointer;
}
/* ✅ Highlight full selection range */
.selected-start,
.selected-end,
.selected-between {
    background: #66bb6a !important;
    color: white;
    font-weight: bold;
}
/* ✅ Visual indicator for half-day start/end of Krieg */
.krieg-start {
    background: linear-gradient(135deg, #ccc 50%, #70ae6e 50%) !important;
}
.krieg.booked.krieg-start {
    background: linear-gradient(135deg, #ccc 50%, #ee7674 50%) !important;
}
.krieg-end {
    background: linear-gradient(315deg, #ccc 50%, #70ae6e 50%) !important;
}
.krieg.booked.krieg-end {
    background: linear-gradient(315deg, #ccc 50%, #ee7674 50%) !important;
}
.blocked.booked {
    background: #ee7674;
    color: #fff;
}
.krieg-calendar-nav button,
button.bluesteel {
    background-color: #3f88c5 !important;
    color: #fff;
}
#krieg-booking-form input[type="text"] {
    width: 100% !important;
    max-width: none !important;
}

/* 🔧 FIX: Prevent text wrapping in price table */
#preisuebersicht table {
    table-layout: fixed;
    width: 100%;
}

#preisuebersicht table td:first-child {
    /* First column takes up most space for the description */
    width: 70%;
}

#preisuebersicht table td:last-child {
    /* Second column is narrower but doesn't wrap */
    width: 30%;
    white-space: nowrap;
    text-align: right;
}
/* The Past */
.krieg-calendar td[data-date].past {
  opacity: 0.4;
  pointer-events: none;
}