/* Custom Visual Calendar Style matching Amelia / Custom Color */
.agapia-calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}
.ag-cal-prev, .ag-cal-next {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 8px 15px;
    cursor: pointer;
    color: #555;
    font-weight: bold;
    transition: all 0.2s;
}
.ag-cal-prev:hover, .ag-cal-next:hover {
    background: #f0f0f0;
}
.ag-cal-title {
    font-weight: bold;
    font-size: 1.1em;
    color: #444;
}
.agapia-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    text-align: center;
}
.ag-cal-day-name {
    font-weight: bold;
    color: #888;
    margin-bottom: 5px;
    font-size: 0.85em;
    text-transform: uppercase;
}
.ag-cal-day {
    padding: 12px 5px;
    border-radius: 6px;
    color: #333;
    font-size: 0.95em;
    user-select: none;
    background: transparent;
}
.ag-cal-day.empty {
    background: transparent;
}
.ag-cal-day.disabled {
    color: #ccc;
    text-decoration: line-through;
    background: #f9f9f9;
}
.ag-cal-day.selectable {
    background: #f4ecdf; /* soft beige corresponding to #bca385 */
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s;
}
.ag-cal-day.selectable:hover {
    background: #e8dbcb;
}
.ag-cal-day.selected {
    background: var(--ag-primary, #bca385);
    color: #fff;
    border-color: var(--ag-primary, #bca385);
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(188, 163, 133, 0.4);
}

/* Time slots Amelia style using the specific color */
.agapia-times-wrapper .agapia-time-slot {
    border: 1px solid var(--ag-primary, #bca385);
    color: var(--ag-primary, #bca385);
    background: #fff;
    font-weight: 500;
}

.agapia-times-wrapper .agapia-time-slot:hover {
    background: #f4ecdf;
    border-color: var(--ag-primary, #bca385);
    color: var(--ag-primary, #bca385);
}

.agapia-times-wrapper .agapia-time-slot.selected {
    background: var(--ag-primary, #bca385);
    color: #fff;
    border-color: var(--ag-primary, #bca385);
    box-shadow: 0 2px 4px rgba(188, 163, 133, 0.4);
}
