.save__footer {
    margin-top: auto;           /* pushes footer to bottom when content is short */
    padding: 0.75rem 0;
    width: 100%;
    align-self: stretch;        /* helps when the parent is a flex container */
    box-sizing: border-box;
}

.save__footer-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
}

.save__footer-leading {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.save__footer-actions {
    margin-left: auto;          /* always push Save/Cancel to the right */
    display: flex;
    gap: 0.5rem;
}

.ac-field-error {
    border: 1px solid #d32f2f;
    background: #fff5f5;
}

/*Scheduler*/
/* Make the Scheduler appointment form wider (scoped to this scheduler only) */
.planner-scheduler .modal-dialog {
    max-width: 1100px; /* try 900–1400px depending on your layout */
    width: 1100px;
}

/* Optional: allow the content to actually use the width */
.planner-scheduler .modal-body {
    overflow-x: auto;
}

/*button and icons*/
.btn-sm {
    padding: 0.125rem 0.25rem;   /* smaller click chrome */
    min-width: auto;
    line-height: 1;
}

.icon-sm {
    font-size: 18px;             /* shrink the material icon */
    line-height: 1;
}

/*Validation*/
/* Layout: icon on the left, editor+message on the right */
.ac-field-row {
    display: flex;
    align-items: flex-start;
    gap: .25rem;
}

/* Optional: tweak vertical alignment to match your editor height */
.ac-validation-icon {
    margin-top: .45rem; /* adjust to taste */
    font-size: 20px;
    line-height: 1;
}
/********/

/*Split button*/
.split-btn {
    position: relative;            /* anchor for absolute positioning */
    /*padding-right: 1.25rem;        !* make room for the bottom-right icon *!*/
    /*padding-bottom: 1.0rem;        !* make room for the bottom-right icon *!*/
}

.split-btn__content {
    display: inline-block;
}

.split-btn__arrow {
    position: absolute;
    right: -5px;
    bottom: -3px;
    line-height: 1;                /* helps prevent weird vertical alignment */
}

/*********************************/

.action-buttons {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem; /* adjust spacing between buttons */
}


/* Base stays the same */
.scheduler-chip {
    --chip-bg: rgba(59, 130, 246, 0.12);
    --chip-border: rgba(59, 130, 246, 0.35);
    --chip-text: #0f172a;

    background: var(--chip-bg);
    border: 1px solid var(--chip-border);
    border-radius: 9999px;
    min-height: 30px;
    line-height: 1;
    user-select: none;
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
}

.scheduler-chip:hover {
    background: color-mix(in srgb, var(--chip-bg) 80%, white 20%);
    border-color: color-mix(in srgb, var(--chip-border) 70%, black 30%);
}

.scheduler-chip:focus-within {
    outline: 2px solid rgba(59, 130, 246, 0.35);
    outline-offset: 2px;
}

/* Variants (assign based on city) */
.scheduler-chip.chip--adelaide {
    --chip-bg: rgba(34, 197, 94, 0.14);      /* green */
    --chip-border: rgba(34, 197, 94, 0.42);
    --chip-text: #052e16;
}

.scheduler-chip.chip--brisbane {
    --chip-bg: rgba(168, 85, 247, 0.14);     /* purple */
    --chip-border: rgba(168, 85, 247, 0.42);
    --chip-text: #2e1065;
}

.scheduler-chip.chip--perth {
    --chip-bg: rgba(245, 158, 11, 0.16);     /* amber */
    --chip-border: rgba(245, 158, 11, 0.45);
    --chip-text: #451a03;
}
/* Explicit fallback class (use when city is unknown) */
.scheduler-chip.chip--default {
    --chip-bg: rgba(100, 116, 139, 0.14);     /* neutral slate */
    --chip-border: rgba(100, 116, 139, 0.40);
    --chip-text: #0f172a;
}
/********************/

.effort-details-list {
    height: 35vh !important
}