/* Basic styles for calendar UI */
.hitone-sb {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 12px;
}
.hitone-sb-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}
.hitone-sb-header button {
    padding: 4px 10px;
}
.hitone-sb-month {
    font-weight: 700;
}
.hitone-sb-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
}
.hitone-sb-day {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 6px;
    min-height: 110px;
    display: flex;
    flex-direction: column;
}
.hitone-sb-day h4 {
    margin: 0 0 6px 0;
    font-size: 12px;
    color: #374151;
}
.hitone-sb-slot {
    font-size: 12px;
    margin: 2px 0;
    padding: 4px;
    border-radius: 6px;
    cursor: pointer;
    border: 1px solid transparent;
}
/* status colours */
.hitone-sb-slot.free {
    background: #f0fdf4;
    border-color: #bbf7d0;
}
.hitone-sb-slot.in-cart {
    background: #e0f2fe; /* Very light blue */
    border-color: #bfdbfe; /* Light blue */
    opacity: 0.7;
}
.hitone-sb-slot.booked {
    background: #fef2f2;
    border-color: #fecaca;
    cursor: not-allowed;
    opacity: 0.7;
}
.hitone-sb-slot.blocked {
    background: #f3f4f6;
    border-color: #e5e7eb;
    cursor: not-allowed;
    opacity: 0.6;
}
.hitone-sb-slot.loading {
    cursor: wait;
}
.hitone-sb-legend {
    margin-top: 8px;
    display: flex;
    gap: 10px;
    font-size: 12px;
}
.hitone-sb-legend span {
    padding: 4px 6px;
    border-radius: 6px;
    border: 1px solid #e5e7eb;
}
.hitone-sb-legend .free {
    background: #f0fdf4;
}
.hitone-sb-legend .in-cart {
    background: #e0f2fe;
}
.hitone-sb-legend .booked {
    background: #fef2f2;
}
.hitone-sb-legend .blocked {
    background: #f3f4f6;
}
.hitone-sb-day.sunday {
    border: 1px solid red;
}

.hitone-sb-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
    gap: 10px;
    flex-wrap: wrap;
}

.hitone-sb-cart-wrapper .button {
    display: inline-block;
    padding: 4px 6px;
    background-color: black;
    color: white;
    text-decoration: none;
    border-radius: 2px;
    font-size: 12px;
    border: 1px solid black;
}