.cf7-booking-calendar-grid {
    display: flex;
    gap: 24px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    width: 100%;
    max-width: 500px;
    margin: 0 auto 20px auto;
}
.cf7-booking-day {
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: #f9f9f9;
    padding: 12px;
    border-radius: 6px;
    min-width: 180px;
}
.cf7-booking-slot {
    margin: 3px 0;
    padding: 6px 16px;
    border: none;
    border-radius: 4px;
    color: #fff;
    cursor: pointer;
    font-size: 15px;
    transition: background 0.2s, box-shadow 0.2s;
    flex: 1 1 80px;
    min-width: 80px;
    max-width: 120px;
    margin-bottom: 8px;
    box-sizing: border-box;
}
.cf7-booking-slot.available {
    background: rgba(46, 204, 64, 0.6); /* softer green */
}
.cf7-booking-slot.available:hover {
    background: rgba(39, 174, 54, 0.6); /* slightly stronger on hover */
    box-shadow: 0 0 0 2px #27ae3633;
}
.cf7-booking-slot.booked,
.cf7-booking-slot:disabled {
    background: rgba(231, 77, 60, 0.6); /* softer red */
    cursor: not-allowed;
    opacity: 0.7;
}
.cf7-booking-slot.selected {
    background: rgba(52, 152, 219, 0.6); /* softer blue */
    box-shadow: 0 0 0 2px #2980b955;
    border: 2px solid #2980b9;
}
.cf7-booking-days-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}
.cf7-booking-day-btn {
    width: 100%;
    min-width: 36px;
    min-height: 36px;
    border-radius: 4px;
    border: 1px solid #ccc;
    background: #f9f9f9;
    color: #222;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
    margin: 0;
    outline: none;
}
.cf7-booking-day-btn.selected,
.cf7-booking-day-btn:focus {
    background: #3498db;
    color: #fff;
    border-color: #2980b9;
    box-shadow: 0 0 0 2px #2980b955;
}
.cf7-booking-day-btn:hover:not(.disabled) {
    background: #b2e6c3;
    border-color: #2ecc40;
    color: #222;
}
.cf7-booking-day-btn.disabled {
    background: #eee;
    color: #aaa;
    cursor: not-allowed;
    border-color: #eee;
}

/* Make calendar grid/table responsive */
.cf7-booking-calendar-table {
    width: 100%;
    min-width: 0;
    table-layout: fixed;
    border-collapse: separate;
    border-spacing: 6px 8px;
}

.cf7-booking-calendar-table th,
.cf7-booking-calendar-table td {
    width: 14.28%;
    text-align: center;
    padding: 0;
    background: none;
    border: none;
}

/* Side-by-side layout for calendar and slots */
.cf7-booking-calendar-flex {
    display: flex;
    gap: 32px;
    justify-content: stretch;
    align-items: flex-start;
    width: 100%;
    max-width: none;
    flex-wrap: wrap;
    margin-bottom: 24px;
}
.cf7-booking-calendar-col {
    flex: 1 1 0;
    min-width: 0;
    max-width: none;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}
.cf7-booking-slots-col {
    flex: 1 1 340px;
    min-width: 320px;
    max-width: 420px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Responsive slots row */
.cf7-booking-slots-row {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    justify-items: center;
    width: 100%;
    margin-bottom: 16px;
}
@media (max-width: 900px) {
    .cf7-booking-calendar-flex {
        flex-direction: column;
        gap: 20px;
    }
    .cf7-booking-calendar-col,
    .cf7-booking-slots-col {
        width: 100%;
        max-width: none;
    }
}
@media (max-width: 600px) {
    .cf7-booking-calendar-grid {
        max-width: 100%;
    }
    .cf7-booking-slots-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .cf7-booking-slot {
        flex: 1 1 45%;
        min-width: 100px;
        font-size: 1em;
    }
}