.efa-calendar {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    width: 100%;
    max-width: 980px;
    position: relative;
    z-index: 2;
    overflow: visible;
}

.efa-calendar-left {
    flex: 0 0 70%;
    border: 1px solid #e2e2e2;
    padding: 12px;
    background: #fff;
    position: relative;
    z-index: 2;
    overflow: visible;
}

.efa-calendar-right {
    flex: 1;
    border: 1px solid #e2e2e2;
    padding: 12px;
    background: #fff;
    position: relative;
    z-index: 2;
    overflow: visible;
}

.efa-calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-weight: 600;
}

.efa-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    padding-top: 4px;
    position: relative;
    z-index: 3;
    overflow: visible;
}

.efa-calendar-day,
.efa-calendar-weekday {
    text-align: center;
    padding: 6px 4px;
    font-size: 12px;
}

.efa-calendar-weekday {
    font-weight: 600;
    color: #333;
}

.efa-calendar-day {
    border-radius: 4px;
    cursor: pointer;
    border: 1px solid transparent;
    position: relative;
    z-index: 3;
    pointer-events: auto;
}

.efa-calendar-day.is-disabled {
    color: #b7b7b7;
    cursor: default;
    pointer-events: none;
}

.efa-calendar-day.is-available {
    background: #eaf3ff;
    border-color: #c4dbff;
    pointer-events: auto;
}

.efa-calendar-day.is-available:hover {
    background: #cfe2ff;
    border-color: #2c7be5;
}

.efa-calendar-day.is-selected {
    background: #2c7be5;
    color: #fff;
    border-color: #2c7be5;
}

.efa-calendar-day.is-today {
    box-shadow: inset 0 -2px 0 #2c7be5;
}

.efa-timeslot-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 8px;
}

.efa-timeslot-button {
    background: #fff;
    border: 1px solid #2c7be5;
    color: #2c7be5;
    padding: 6px 8px;
    border-radius: 4px;
    cursor: pointer;
    text-align: left;
    position: relative;
    z-index: 3;
    pointer-events: auto;
}

.efa-timeslot-button.is-selected {
    background: #2c7be5;
    color: #fff;
}

.efa-timeslot-empty {
    color: #666;
    font-size: 12px;
}

.efa-selected-output {
    margin-top: 8px;
    font-size: 12px;
    color: #2c7be5;
    min-height: 16px;
}

@media (max-width: 900px) {
    .efa-calendar {
        flex-direction: column;
    }

    .efa-calendar-left,
    .efa-calendar-right {
        flex: 1 1 auto;
        width: 100%;
    }
}
