.cf7-calendly-wrapper {
    margin: 1em 0;
}

/* Widget container */
.cf7-calendly-widget {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 0.75rem;
    background: #ffffff;
    max-width: 420px;
    box-sizing: border-box;
}

/* Header with month + navigation */
.cf7-calendly-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 600;
}

.cf7-calendly-month-label {
    font-size: 1rem;
}

.cf7-calendly-nav {
    border: 1px solid #ccc;
    background: #f5f5f5;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    cursor: pointer;
    line-height: 1;
}

/* Calendar grid */
.cf7-calendly-calendar {
    border-top: 1px solid #eee;
    padding-top: 0.5rem;
}

.cf7-calendly-weekdays,
.cf7-calendly-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.25rem;
    text-align: center;
}

.cf7-calendly-weekdays span {
    font-size: 0.75rem;
    font-weight: 600;
    color: #888;
}

.cf7-calendly-day {
    border: none;
    background: #f9f9f9;
    border-radius: 6px;
    padding: 0.4rem 0;
    cursor: pointer;
    font-size: 0.85rem;
}

.cf7-calendly-day.empty {
    background: transparent;
    cursor: default;
}

.cf7-calendly-day.disabled {
    background: #f1f1f1;
    color: #bbb;
    cursor: not-allowed;
}

.cf7-calendly-day.selected {
    background: #0052ff;
    color: #fff;
}

/* Times section */
.cf7-calendly-times {
    border-top: 1px solid #eee;
    padding-top: 0.5rem;
}

.cf7-calendly-times-title {
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    color: #555;
}

.cf7-calendly-times-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.cf7-calendly-time-slot {
    border: 1px solid #ccc;
    background: #f9f9f9;
    border-radius: 999px;
    padding: 0.25rem 0.75rem;
    font-size: 0.8rem;
    cursor: pointer;
}

.cf7-calendly-time-slot.selected {
    background: #0052ff;
    color: #fff;
    border-color: #0052ff;
}