@import url("./base/tokens.css");
@import url("./base/base.css");

@import url("./components/button.css");
@import url("./components/surface.css");
@import url("./components/badge.css");

@import url("./components/card.css");
@import url("./components/chip.css");
@import url("./components/section-header.css");@import url("./pages/ui-engine.css");


/* ============================================================
   Booking Review / Detail Polish
   ============================================================ */

.sgh-review-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 28px;
}

.sgh-review-card {
    min-height: 156px;
    padding: 24px;
    border: 1px solid rgba(14, 30, 50, .09);
    border-radius: 24px;
    background:
        linear-gradient(135deg, rgba(230, 2, 40, .035), rgba(255,255,255,1) 58%),
        #fff;
    box-shadow: 0 10px 28px rgba(14, 30, 50, .045);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 8px;
}

.sgh-review-card__icon {
    width: 44px;
    height: 44px;
    border-radius: 16px;
    background: rgba(14, 30, 50, .055);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--sgh-color-heading);
    margin-bottom: 8px;
}

.sgh-review-card__icon svg {
    width: 21px;
    height: 21px;
}

.sgh-review-card__label {
    color: var(--sgh-color-muted);
    font-size: .78rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.sgh-review-card strong {
    color: var(--sgh-color-heading);
    font-size: 1.2rem;
    line-height: 1.2;
}

.sgh-review-card small {
    color: var(--sgh-color-muted);
    font-weight: 800;
    line-height: 1.35;
}

.sgh-review-note {
    grid-column: 1 / -1;
    padding: 22px 24px;
    border-radius: 24px;
    background: rgba(230, 2, 40, .055);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sgh-review-note strong {
    color: var(--sgh-color-heading);
    font-size: 1.05rem;
}

.sgh-review-note span,
.sgh-review-note small {
    color: var(--sgh-color-muted);
    font-weight: 800;
    line-height: 1.45;
}

.sgh-my-booking {
    text-decoration: none;
    color: inherit;
    transition:
        transform var(--sgh-transition-base),
        border-color var(--sgh-transition-base),
        box-shadow var(--sgh-transition-base),
        background var(--sgh-transition-base);
}

.sgh-my-booking:hover {
    transform: translateY(-2px);
    border-color: rgba(230, 2, 40, .22);
    box-shadow: 0 16px 38px rgba(14, 30, 50, .07);
    background:
        linear-gradient(135deg, rgba(230, 2, 40, .025), rgba(255,255,255,1) 56%),
        #fff;
}

.sgh-booking-detail-card {
    padding: 28px;
}

.sgh-booking-detail-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(14, 30, 50, .08);
}

.sgh-booking-detail-head h2 {
    margin: 8px 0 0;
    color: var(--sgh-color-heading);
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1;
    letter-spacing: -.04em;
}

.sgh-booking-detail-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 24px;
}

.sgh-booking-info {
    min-height: 130px;
    padding: 22px;
    border: 1px solid rgba(14, 30, 50, .08);
    border-radius: 22px;
    background: #fff;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.sgh-booking-info span {
    color: var(--sgh-color-muted);
    font-size: .76rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.sgh-booking-info strong {
    color: var(--sgh-color-heading);
    font-size: 1.18rem;
    line-height: 1.2;
}

.sgh-booking-info small {
    color: var(--sgh-color-muted);
    font-weight: 800;
    line-height: 1.35;
}

.sgh-booking-detail-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid rgba(14, 30, 50, .08);
}

.sgh-booking-detail-actions form {
    margin: 0;
}

@media (max-width: 900px) {
    .sgh-review-grid,
    .sgh-booking-detail-grid {
        grid-template-columns: 1fr;
    }

    .sgh-booking-detail-head {
        flex-direction: column;
    }
}

/* Calendar Month V2 Overrides */
.sgh-booking-page .cal-month.cal-month--six {
    display: grid !important;
    grid-template-columns: repeat(7, minmax(0, 1fr)) !important;
    gap: 14px !important;
}

.sgh-booking-page .cal-month.cal-month--six .cal-month-day {
    min-height: 150px !important;
    padding: 14px !important;
    border-radius: 24px !important;
    background: linear-gradient(180deg, #ffffff, #fbfcff) !important;
    border: 1px solid rgba(15, 23, 42, .08) !important;
    transition: .18s ease !important;
}

.sgh-booking-page .cal-month.cal-month--six .cal-month-day:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 18px 45px rgba(15, 23, 42, .09) !important;
}

.sgh-booking-page .cal-month.cal-month--six .cal-month-day.is-muted {
    background: #f5f7fa !important;
    opacity: .38 !important;
}

.sgh-booking-page .cal-month.cal-month--six .cal-month-day.is-today {
    border-color: #ef002b !important;
    box-shadow: 0 20px 50px rgba(239, 0, 43, .16) !important;
}

.sgh-booking-page .cal-month-day__date {
    width: 36px !important;
    height: 36px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 999px !important;
    font-size: 17px !important;
    font-weight: 950 !important;
    color: #0f1f33 !important;
    text-decoration: none !important;
}

.sgh-booking-page .cal-month-day.is-today .cal-month-day__date {
    background: #ef002b !important;
    color: #fff !important;
}

.sgh-booking-page .cal-month.cal-month--six .cal-event.is-compact {
    margin-top: 8px !important;
    padding: 8px 10px !important;
    border-radius: 14px !important;
    font-size: 12px !important;
}

.sgh-booking-page .cal-month.cal-month--six .cal-event.is-compact small,
.sgh-booking-page .cal-month.cal-month--six .cal-event.is-compact em {
    display: none !important;
}


/* =========================================================
   SGH UI Engine v2 – Calendar Components


.sgh-calendar-demo {
    overflow: hidden;
}

.sgh-cal-toolbar {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 18px;
    align-items: center;
    margin-bottom: 22px;
}

.sgh-cal-toolbar h2 {
    margin: 2px 0 0;
    font-size: clamp(34px, 5vw, 56px);
    line-height: .95;
    font-weight: 950;
    letter-spacing: -.065em;
    color: #0e1e32;
}

.sgh-cal-toolbar p {
    margin: 8px 0 0;
    color: #7b8798;
    font-weight: 650;
}

.sgh-cal-nav {
    display: inline-flex;
    align-items: center;
    padding: 5px;
    gap: 4px;
    background: #f3f5f8;
    border-radius: 999px;
}

.sgh-cal-nav button,
.sgh-cal-segments button,
.sgh-cal-filters button {
    border: 0;
    cursor: pointer;
    font-weight: 900;
    transition: .18s ease;
}

.sgh-cal-nav button {
    min-width: 42px;
    height: 42px;
    border-radius: 999px;
    background: transparent;
    color: #0e1e32;
    font-size: 22px;
}

.sgh-cal-nav button.is-today {
    padding: 0 16px;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .08);
    font-size: 14px;
}

.sgh-cal-create {
    height: 48px;
    padding: 0 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #0e1e32;
    color: #fff;
    text-decoration: none;
    font-weight: 900;
    box-shadow: 0 18px 36px rgba(14, 30, 50, .18);
}

.sgh-cal-segments {
    display: inline-flex;
    padding: 5px;
    gap: 4px;
    background: #f3f5f8;
    border-radius: 999px;
    margin-bottom: 16px;
}

.sgh-cal-segments button {
    padding: 10px 16px;
    border-radius: 999px;
    background: transparent;
    color: #7b8798;
}

.sgh-cal-segments button.is-active {
    background: #fff;
    color: #0e1e32;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .08);
}

.sgh-cal-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.sgh-cal-filters button {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    padding: 9px 13px;
    border-radius: 999px;
    background: #fff;
    color: #7b8798;
    box-shadow: inset 0 0 0 1px rgba(15, 23, 42, .08);
}

.sgh-cal-filters button.is-active {
    color: #0e1e32;
    box-shadow: inset 0 0 0 1px rgba(15, 23, 42, .15), 0 10px 24px rgba(15, 23, 42, .07);
}

.sgh-cal-filters i {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: #0e1e32;
}

.sgh-cal-filters .is-gast i,
.sgh-cal-month em.is-gast::before {
    background: #3b82f6;
}

.sgh-cal-filters .is-saal i,
.sgh-cal-month em.is-saal::before {
    background: #22c55e;
}

.sgh-cal-filters .is-terrasse i,
.sgh-cal-month em.is-terrasse::before {
    background: #f97316;
}

.sgh-cal-month {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 10px;
}

.sgh-cal-month > span {
    padding: 0 10px 4px;
    color: #98a2b3;
    font-size: 12px;
    font-weight: 950;
    text-align: center;
}

.sgh-cal-month > div {
    min-height: 112px;
    padding: 12px;
    border-radius: 22px;
    background: linear-gradient(180deg, #fff, #fbfcff);
    border: 1px solid rgba(15, 23, 42, .075);
    transition: .18s ease;
}

.sgh-cal-month > div:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 42px rgba(15, 23, 42, .08);
    border-color: rgba(15, 23, 42, .14);
}

.sgh-cal-month > div.is-muted {
    opacity: .38;
    background: #f7f9fc;
}

.sgh-cal-month > div strong {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #0e1e32;
    font-size: 15px;
    font-weight: 950;
}

.sgh-cal-month > div.is-today {
    border-color: rgba(230, 2, 40, .35);
    box-shadow: 0 18px 44px rgba(230, 2, 40, .12);
}

.sgh-cal-month > div.is-today strong {
    background: #e60228;
    color: #fff;
}

.sgh-cal-month em {
    position: relative;
    display: block;
    margin-top: 8px;
    padding-left: 14px;
    color: #0e1e32;
    font-style: normal;
    font-size: 12px;
    font-weight: 850;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sgh-cal-month em::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 7px;
    height: 7px;
    border-radius: 999px;
}

@media (max-width: 900px) {
    .sgh-cal-toolbar {
        grid-template-columns: 1fr;
    }

    .sgh-cal-create {
        width: 100%;
    }

    .sgh-cal-month {
        gap: 6px;
    }

    .sgh-cal-month > div {
        min-height: 86px;
        padding: 8px;
        border-radius: 16px;
    }

    .sgh-cal-month em {
        font-size: 11px;
    }
}


/* =========================================================
   SGH UI Engine v2 – Calendar iOS Toolbar


.sgh-calendar-demo--ios {
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    border: 0 !important;
}

.sgh-cal-ios-top {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 24px;
    align-items: center;
    margin-bottom: 18px;
}

.sgh-cal-ios-nav {
    display: inline-flex;
    align-items: center;
    gap: 14px;
}

.sgh-cal-ios-top button,
.sgh-cal-ios-bar button {
    border: 0;
    cursor: pointer;
    font-family: inherit;
    font-weight: 900;
    color: #0e1e32;
    transition: .18s ease;
}

.sgh-cal-ios-nav > button:not(.sgh-cal-ios-today) {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: rgba(255,255,255,.92);
    box-shadow: 0 12px 30px rgba(15,23,42,.08);
    font-size: 26px;
}

.sgh-cal-ios-today,
.sgh-cal-ios-month,
.sgh-cal-ios-filter {
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 20px;
    background: rgba(255,255,255,.94);
    box-shadow: 0 12px 30px rgba(15,23,42,.08), inset 0 0 0 1px rgba(15,23,42,.06);
}

.sgh-cal-ios-today {
    padding: 0 22px;
}

.sgh-cal-ios-month {
    min-width: 230px;
    padding: 0 24px;
    font-size: 22px;
    justify-self: center;
}

.sgh-cal-ios-month span,
.sgh-cal-ios-filter span {
    margin-left: 18px;
    font-size: 18px;
}

.sgh-cal-ios-filter {
    padding: 0 22px;
    justify-self: end;
}

.sgh-cal-ios-top svg,
.sgh-cal-ios-bar svg {
    width: 19px;
    height: 19px;
    stroke-width: 2.4;
}

.sgh-cal-ios-bar {
    display: grid;
    grid-template-columns: minmax(420px, 1fr) auto;
    gap: 18px;
    align-items: center;
    padding: 10px;
    border-radius: 18px;
    background: rgba(255,255,255,.88);
    box-shadow: 0 14px 36px rgba(15,23,42,.08), inset 0 0 0 1px rgba(15,23,42,.06);
}

.sgh-cal-ios-tabs {
    display: grid;
    grid-template-columns: repeat(4, minmax(110px, 1fr));
    gap: 4px;
    padding: 4px;
    border-radius: 16px;
    background: #f1f3f7;
}

.sgh-cal-ios-tabs button {
    height: 44px;
    display: inline-flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    background: transparent;
    color: #64748b;
}

.sgh-cal-ios-tabs button.is-active {
    background: #fff;
    color: #e60228;
    box-shadow: 0 10px 26px rgba(15,23,42,.10);
}

.sgh-cal-ios-areas {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.sgh-cal-ios-areas button {
    height: 38px;
    padding: 0 15px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 12px;
    background: #f4f6f9;
    color: #64748b;
    font-size: 13px;
}

.sgh-cal-ios-areas button.is-active {
    background: #0e1e32;
    color: #fff;
    box-shadow: 0 12px 26px rgba(14,30,50,.20);
}

.sgh-cal-ios-areas i {
    width: 8px;
    height: 8px;
    border-radius: 999px;
}

.sgh-cal-ios-areas .is-gast { background: #2f80ed; }
.sgh-cal-ios-areas .is-saal { background: #16a34a; }
.sgh-cal-ios-areas .is-terrasse { background: #f97316; }
.sgh-cal-ios-areas .is-verein { background: #9c27b0; }

.sgh-cal-ios-status {
    display: flex;
    gap: 34px;
    align-items: center;
    margin-top: 18px;
    padding: 13px 18px;
    border-radius: 16px;
    background: rgba(255,255,255,.76);
    color: #64748b;
    font-weight: 750;
}

.sgh-cal-ios-status span {
    display: inline-flex;
    gap: 9px;
    align-items: center;
}

.sgh-cal-ios-status i {
    width: 20px;
    height: 20px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    font-style: normal;
    font-size: 12px;
    font-weight: 950;
}

.sgh-cal-ios-status .is-booked {
    background: #dcfce7;
    color: #16a34a;
}

.sgh-cal-ios-status .is-pending {
    background: #ffedd5;
    color: #f97316;
}

.sgh-cal-ios-status .is-cancelled {
    background: #e2e8f0;
    color: #64748b;
}

@media (max-width: 1050px) {
    .sgh-cal-ios-top {
        grid-template-columns: 1fr;
    }

    .sgh-cal-ios-month,
    .sgh-cal-ios-filter {
        justify-self: stretch;
        width: 100%;
    }

    .sgh-cal-ios-bar {
        grid-template-columns: 1fr;
    }

    .sgh-cal-ios-areas {
        justify-content: flex-start;
    }
}


/* Calendar iOS Month Grid */
.sgh-cal-ios-grid {
    margin-top: 18px;
    overflow: hidden;
    border-radius: 22px;
    background: rgba(255,255,255,.92);
    box-shadow: 0 16px 42px rgba(15,23,42,.08), inset 0 0 0 1px rgba(15,23,42,.06);
}

.sgh-cal-ios-weekdays {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    border-bottom: 1px solid rgba(15,23,42,.07);
}

.sgh-cal-ios-weekdays span {
    padding: 18px 14px 14px;
    text-align: center;
    color: #64748b;
    font-size: 13px;
    font-weight: 900;
}

.sgh-cal-ios-monthgrid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
}

.sgh-cal-ios-monthgrid > div {
    min-height: 118px;
    padding: 13px;
    border-right: 1px solid rgba(15,23,42,.07);
    border-bottom: 1px solid rgba(15,23,42,.07);
    background: rgba(255,255,255,.62);
    transition: .18s ease;
}

.sgh-cal-ios-monthgrid > div:nth-child(7n) {
    border-right: 0;
}

.sgh-cal-ios-monthgrid > div:hover {
    background: #fff;
    box-shadow: inset 0 0 0 1px rgba(15,23,42,.12);
}

.sgh-cal-ios-monthgrid strong {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #0e1e32;
    font-size: 15px;
    font-weight: 950;
}

.sgh-cal-ios-monthgrid .is-muted {
    background: rgba(248,250,252,.82);
}

.sgh-cal-ios-monthgrid .is-muted strong {
    color: #a0a8b5;
}

.sgh-cal-ios-monthgrid .is-today {
    box-shadow: inset 0 0 0 2px rgba(230,2,40,.72);
    background: linear-gradient(180deg, #fff, #fff7f8);
}

.sgh-cal-ios-monthgrid .is-today strong {
    background: #e60228;
    color: #fff;
}

.sgh-cal-ios-monthgrid em {
    display: block;
    margin-top: 8px;
    padding: 9px 10px;
    border-radius: 13px;
    font-style: normal;
    font-weight: 900;
    color: #0e1e32;
    line-height: 1.15;
}

.sgh-cal-ios-monthgrid em span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-right: 5px;
    color: #475569;
    font-size: 12px;
    font-weight: 850;
}

.sgh-cal-ios-monthgrid em span::before {
    content: "";
    width: 7px;
    height: 7px;
    display: inline-block;
    border-radius: 999px;
}

.sgh-cal-ios-monthgrid em small {
    display: block;
    margin-top: 4px;
    color: #64748b;
    font-size: 11px;
    font-weight: 750;
}

.sgh-cal-ios-monthgrid em.is-gast {
    background: #eaf3ff;
}

.sgh-cal-ios-monthgrid em.is-gast span::before {
    background: #2f80ed;
}

.sgh-cal-ios-monthgrid em.is-saal {
    background: #eaf8ef;
}

.sgh-cal-ios-monthgrid em.is-saal span::before {
    background: #16a34a;
}

.sgh-cal-ios-monthgrid em.is-terrasse {
    background: #fff0df;
}

.sgh-cal-ios-monthgrid em.is-terrasse span::before {
    background: #f97316;
}

.sgh-cal-ios-monthgrid em.is-verein {
    background: #f5e9ff;
}

.sgh-cal-ios-monthgrid em.is-verein span::before {
    background: #9c27b0;
}

@media (max-width: 900px) {
    .sgh-cal-ios-grid {
        overflow-x: auto;
    }

    .sgh-cal-ios-weekdays,
    .sgh-cal-ios-monthgrid {
        min-width: 820px;
    }

    .sgh-cal-ios-monthgrid > div {
        min-height: 104px;
        padding: 10px;
    }
}


/* Calendar iOS Toolbar Lucide polish */
.sgh-cal-ios-month > svg,
.sgh-cal-ios-filter > svg:last-child {
    margin-left: 16px;
}

.sgh-cal-ios-nav > button:not(.sgh-cal-ios-today) svg {
    width: 22px;
    height: 22px;
    stroke-width: 3;
}

.sgh-cal-ios-month svg,
.sgh-cal-ios-filter svg {
    flex: 0 0 auto;
}

.sgh-cal-ios-month span,
.sgh-cal-ios-filter span {
    display: none !important;
}



/* =========================================================
   SGH UI Engine v2 – softer iOS shadow system patch


:root {
    --sgh-shadow-none: none;
    --sgh-shadow-xs: 0 1px 2px rgba(15, 23, 42, .035);
    --sgh-shadow-sm: 0 2px 8px rgba(15, 23, 42, .045);
    --sgh-shadow-md: 0 6px 16px rgba(15, 23, 42, .055);
    --sgh-shadow-lg: 0 14px 36px rgba(15, 23, 42, .075);
    --sgh-shadow-xl: 0 24px 60px rgba(15, 23, 42, .11);

    --sgh-surface-border: rgba(15, 23, 42, .065);
    --sgh-surface-border-strong: rgba(15, 23, 42, .11);
}

/* Calendar toolbar: weniger Schweben, mehr iOS-Fläche */
.sgh-cal-ios-nav > button:not(.sgh-cal-ios-today),
.sgh-cal-ios-today,
.sgh-cal-ios-month,
.sgh-cal-ios-filter {
    box-shadow:
        var(--sgh-shadow-sm),
        inset 0 0 0 1px var(--sgh-surface-border) !important;
}

/* Top-Buttons ruhiger */
.sgh-cal-ios-nav > button:not(.sgh-cal-ios-today) {
    background: rgba(255,255,255,.86) !important;
}

.sgh-cal-ios-today,
.sgh-cal-ios-month,
.sgh-cal-ios-filter {
    background: rgba(255,255,255,.90) !important;
}

/* Ansicht-/Filter-Leiste entschärfen */
.sgh-cal-ios-bar {
    box-shadow:
        var(--sgh-shadow-sm),
        inset 0 0 0 1px var(--sgh-surface-border) !important;
    background: rgba(255,255,255,.76) !important;
}

/* Segmented Control fast ohne Shadow */
.sgh-cal-ios-tabs {
    background: rgba(241,243,247,.82) !important;
}

.sgh-cal-ios-tabs button.is-active {
    box-shadow: var(--sgh-shadow-xs) !important;
}

/* Filter-Pills ruhiger */
.sgh-cal-ios-areas button {
    background: rgba(244,246,249,.86) !important;
    box-shadow: inset 0 0 0 1px rgba(15,23,42,.035) !important;
}

.sgh-cal-ios-areas button.is-active {
    box-shadow:
        var(--sgh-shadow-sm),
        inset 0 0 0 1px rgba(255,255,255,.08) !important;
}

/* Kalenderkörper weniger hart */
.sgh-cal-ios-grid {
    box-shadow:
        var(--sgh-shadow-sm),
        inset 0 0 0 1px var(--sgh-surface-border) !important;
}

/* Hover subtiler */
.sgh-cal-ios-monthgrid > div:hover {
    box-shadow: inset 0 0 0 1px var(--sgh-surface-border-strong) !important;
}

/* Statusleiste fast flach */
.sgh-cal-ios-status {
    box-shadow: inset 0 0 0 1px rgba(15,23,42,.035) !important;
    background: rgba(255,255,255,.70) !important;
}

/* Große rote Buttons bleiben prominent, aber weniger Glow */
.sgh-cal-create,
.sgh-button--primary,
.sgh-btn-primary,
.sgh-cal-ios-areas button.is-active {
    box-shadow: var(--sgh-shadow-md) !important;
}


/* =========================================================
   SGH UI Engine v2 – Calendar responsive polish


@media (max-width: 720px) {
    .sgh-ui-page .sgh-container {
        padding-inline: 14px;
    }

    .sgh-cal-ios-top {
        gap: 12px !important;
        margin-bottom: 14px !important;
    }

    .sgh-cal-ios-nav {
        width: 100%;
        display: grid !important;
        grid-template-columns: 52px 1fr 52px;
        gap: 10px !important;
    }

    .sgh-cal-ios-today,
    .sgh-cal-ios-month,
    .sgh-cal-ios-filter {
        width: 100%;
        min-width: 0 !important;
        height: 52px !important;
        border-radius: 18px !important;
    }

    .sgh-cal-ios-month,
    .sgh-cal-ios-filter {
        justify-self: stretch !important;
    }

    .sgh-cal-ios-bar {
        display: block !important;
        padding: 8px !important;
        border-radius: 20px !important;
        overflow: hidden;
    }

    .sgh-cal-ios-tabs {
        display: flex !important;
        overflow-x: auto;
        gap: 6px !important;
        padding: 5px !important;
        margin-bottom: 10px;
        scrollbar-width: none;
    }

    .sgh-cal-ios-tabs::-webkit-scrollbar {
        display: none;
    }

    .sgh-cal-ios-tabs button {
        flex: 0 0 auto;
        min-width: 118px;
        height: 44px !important;
    }

    .sgh-cal-ios-areas {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto;
        gap: 8px !important;
        padding-bottom: 2px;
        justify-content: flex-start !important;
        scrollbar-width: none;
    }

    .sgh-cal-ios-areas::-webkit-scrollbar {
        display: none;
    }

    .sgh-cal-ios-areas button {
        flex: 0 0 auto;
        height: 38px !important;
        white-space: nowrap;
    }

    .sgh-cal-ios-grid {
        margin-top: 14px !important;
        overflow-x: auto !important;
        border-radius: 20px !important;
        -webkit-overflow-scrolling: touch;
    }

    .sgh-cal-ios-weekdays,
    .sgh-cal-ios-monthgrid {
        min-width: 760px !important;
    }

    .sgh-cal-ios-weekdays span {
        padding: 14px 10px 12px !important;
    }

    .sgh-cal-ios-monthgrid > div {
        min-height: 118px !important;
        padding: 10px !important;
    }

    .sgh-cal-ios-monthgrid em {
        max-width: 100%;
        padding: 8px 9px !important;
        font-size: 12px !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .sgh-cal-ios-monthgrid em small {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .sgh-cal-ios-status {
        display: flex !important;
        overflow-x: auto;
        gap: 18px !important;
        white-space: nowrap;
        scrollbar-width: none;
    }

    .sgh-cal-ios-status::-webkit-scrollbar {
        display: none;
    }
}


/* =========================================================
   SGH UI Engine v2 – Calendar mobile no-scroll patch


@media (max-width: 720px) {
    .sgh-cal-ios-grid {
        overflow-x: visible !important;
    }

    .sgh-cal-ios-weekdays,
    .sgh-cal-ios-monthgrid {
        min-width: 0 !important;
        width: 100% !important;
        grid-template-columns: repeat(7, minmax(0, 1fr)) !important;
    }

    .sgh-cal-ios-weekdays span {
        padding: 11px 2px 9px !important;
        font-size: 11px !important;
    }

    .sgh-cal-ios-monthgrid > div {
        min-height: 82px !important;
        padding: 6px 4px !important;
    }

    .sgh-cal-ios-monthgrid strong {
        width: 24px !important;
        height: 24px !important;
        font-size: 13px !important;
    }

    .sgh-cal-ios-monthgrid em {
        margin-top: 4px !important;
        padding: 5px 6px !important;
        border-radius: 9px !important;
        font-size: 10px !important;
        line-height: 1.1 !important;
        max-width: 100% !important;
    }

    .sgh-cal-ios-monthgrid em span {
        display: block !important;
        margin-right: 0 !important;
        font-size: 9px !important;
    }

    .sgh-cal-ios-monthgrid em span::before {
        width: 5px !important;
        height: 5px !important;
    }

    .sgh-cal-ios-monthgrid em small {
        display: none !important;
    }

    .sgh-cal-ios-status {
        flex-wrap: wrap !important;
        overflow-x: visible !important;
    }
}

@media (max-width: 420px) {
    .sgh-cal-ios-monthgrid > div {
        min-height: 72px !important;
        padding: 5px 3px !important;
    }

    .sgh-cal-ios-monthgrid em {
        font-size: 9px !important;
        padding: 4px 5px !important;
    }

    .sgh-cal-ios-monthgrid em span {
        font-size: 8px !important;
    }
}


/* =========================================================
   SGH UI Engine v2 – Calendar controls no-scroll patch


@media (max-width: 720px) {
    .sgh-cal-ios-bar {
        overflow: visible !important;
    }

    .sgh-cal-ios-tabs {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        overflow-x: visible !important;
        width: 100% !important;
        margin-bottom: 10px !important;
    }

    .sgh-cal-ios-tabs button {
        min-width: 0 !important;
        width: 100% !important;
        flex: initial !important;
    }

    .sgh-cal-ios-areas {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        overflow-x: visible !important;
        width: 100% !important;
        gap: 8px !important;
        padding-bottom: 0 !important;
    }

    .sgh-cal-ios-areas button {
        min-width: 0 !important;
        width: 100% !important;
        flex: initial !important;
        justify-content: center !important;
        padding-inline: 8px !important;
    }
}

@media (max-width: 420px) {
    .sgh-cal-ios-tabs {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .sgh-cal-ios-areas {
        grid-template-columns: 1fr 1fr !important;
    }

    .sgh-cal-ios-areas button {
        font-size: 12px !important;
    }
}


/* Calendar mobile active filter readability */
@media (max-width: 720px) {
    .sgh-cal-ios-areas button.is-active {
        background: #0e1e32 !important;
        color: #ffffff !important;
        box-shadow: 0 2px 8px rgba(15,23,42,.12) !important;
    }

    .sgh-cal-ios-areas button.is-active i {
        background: #ffffff !important;
    }
}


/* Mobile: aktiver Filter wie Apple */
@media (max-width:720px){

.sgh-cal-ios-areas button.is-active{
    background:#f4f6f9 !important;
    color:#0e1e32 !important;
    border:1px solid rgba(15,23,42,.08) !important;
    box-shadow:0 1px 3px rgba(15,23,42,.05) !important;
}

.sgh-cal-ios-areas button.is-active i{
    background:#0e1e32 !important;
}

}


/* =========================================================
   iOS Today Card


.sgh-cal-ios-monthgrid .is-today{

    border-radius:20px !important;

    box-shadow:
        inset 0 0 0 1.5px rgba(230,2,40,.35),
        0 8px 24px rgba(230,2,40,.06) !important;

    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,.98),
            rgba(255,247,248,.96)
        ) !important;

}

.sgh-cal-ios-monthgrid .is-today strong{

    background:#e60228 !important;

    box-shadow:
        0 4px 10px rgba(230,2,40,.18);

}


/* =========================================================
   Calendar – Active Area Filter


.sgh-cal-ios-areas button.is-active{
    background:#0e1e32;
    color:#ffffff !important;
    font-weight:700;
}

.sgh-cal-ios-areas button.is-active *,
.sgh-cal-ios-areas button.is-active span{
    color:#ffffff !important;
}

.sgh-cal-ios-areas button.is-active i{
    background:#ffffff !important;
}


/* =========================================================
   FINAL Calendar Area Filter State


/* Desktop: aktiver "Alle"-Filter dunkel mit weißer Schrift */
@media (min-width: 721px) {
    .sgh-ui-page .sgh-calendar-demo--ios .sgh-cal-ios-areas > button.is-active {
        background: #0e1e32 !important;
        color: #ffffff !important;
        border-color: transparent !important;
        box-shadow: 0 2px 8px rgba(15,23,42,.10) !important;
    }
}

/* Mobile: aktiver Filter hell, aber lesbar */
@media (max-width: 720px) {
    .sgh-ui-page .sgh-calendar-demo--ios .sgh-cal-ios-areas > button.is-active {
        background: #f4f6f9 !important;
        color: #0e1e32 !important;
        border: 1px solid rgba(15,23,42,.08) !important;
        box-shadow: 0 1px 3px rgba(15,23,42,.05) !important;
    }
}


/* Calendar final visual polish */
.sgh-cal-ios-status {
    margin-top: 12px !important;
}

.sgh-cal-ios-monthgrid > div {
    background: rgba(255,255,255,.76) !important;
}

.sgh-cal-ios-monthgrid .is-muted {
    background: rgba(248,250,252,.74) !important;
}

.sgh-cal-ios-monthgrid .is-today {
    box-shadow:
        inset 0 0 0 1.25px rgba(230,2,40,.28),
        0 6px 18px rgba(230,2,40,.045) !important;
}

.sgh-cal-ios-monthgrid em {
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.45);
}

.sgh-cal-ios-monthgrid em:hover {
    transform: translateY(-1px);
    filter: saturate(1.04);
}


/* =========================================================
   Calendar – Today Cell Layout Polish


.sgh-cal-ios-monthgrid > div{
    position:relative;
}

/* Tag schwebt oben links */
.sgh-cal-ios-monthgrid strong{
    position:absolute;
    top:12px;
    left:12px;
    z-index:5;
}

/* Events beginnen unterhalb der Tageszahl */
.sgh-cal-ios-monthgrid em{
    margin-top:38px;
    padding:10px 12px;
    border-radius:14px;
}

/* Mehr Luft zwischen mehreren Terminen */
.sgh-cal-ios-monthgrid em + em{
    margin-top:10px;
}

/* Heute etwas größer und luftiger */
.sgh-cal-ios-monthgrid .is-today{
    padding-top:8px;
}

/* Etwas mehr Innenabstand */
.sgh-cal-ios-monthgrid .is-today strong{
    top:10px;
    left:10px;
}



/* =========================================================
   Calendar – Event Pill Airy iOS Patch


.sgh-cal-ios-monthgrid em {
    width: auto !important;
    max-width: 86% !important;
    display: inline-flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;

    margin-top: 40px !important;
    margin-left: 8px !important;

    padding: 8px 10px !important;
    border-radius: 16px !important;

    font-size: 13px !important;
    font-weight: 750 !important;
    line-height: 1.15 !important;
}

.sgh-cal-ios-monthgrid em + em {
    margin-top: 9px !important;
}

.sgh-cal-ios-monthgrid em span {
    font-size: 11px !important;
    font-weight: 700 !important;
}

.sgh-cal-ios-monthgrid em small {
    font-size: 10px !important;
    font-weight: 600 !important;
}

.sgh-cal-ios-monthgrid .is-today em {
    margin-left: 10px !important;
    max-width: 84% !important;
}

@media (max-width: 720px) {
    .sgh-cal-ios-monthgrid em {
        max-width: 92% !important;
        margin-left: 2px !important;
        padding: 5px 6px !important;
        border-radius: 10px !important;
        font-size: 10px !important;
    }

    .sgh-cal-ios-monthgrid .is-today em {
        margin-left: 2px !important;
        max-width: 92% !important;
    }
}


/* =========================================================
   Calendar – Today Card Floating


.sgh-cal-ios-monthgrid .is-today{

    margin:2px !important;

    border-radius:22px !important;

    min-height:calc(100% - 4px);

}


/* =========================================================
   Calendar – Today Card Floating (v2)


.sgh-cal-ios-monthgrid .is-today{

    margin:6px !important;

    min-height:calc(100% - 12px) !important;

    border-radius:24px !important;

    background:#fff !important;

    box-shadow:
        inset 0 0 0 1.25px rgba(230,2,40,.24),
        0 10px 24px rgba(230,2,40,.04) !important;

}

.sgh-cal-ios-monthgrid .is-today strong{
    top:14px !important;
    left:14px !important;
}

.sgh-cal-ios-monthgrid .is-today em{
    margin-left:12px !important;
    margin-right:12px !important;
}


/* =========================================================
   Calendar – Today Card Final Spacing


.sgh-cal-ios-monthgrid .is-today{

    /* mehr Luft außen */
    margin:5px 6px 7px 6px !important;

    /* dafür weniger Luft innen */
    padding:4px 4px 6px 4px !important;

    border-radius:24px !important;

}

/* Tag etwas näher an den Rand */
.sgh-cal-ios-monthgrid .is-today strong{
    top:10px !important;
    left:10px !important;
}

/* Events etwas weiter nach oben */
.sgh-cal-ios-monthgrid .is-today em{

    margin-top:34px !important;

    margin-left:8px !important;
    margin-right:8px !important;

}


/* =========================================================
   Calendar – Today Badge Position


.sgh-cal-ios-monthgrid .is-today strong{
    top:14px !important;
    left:14px !important;

    /* schöner schwebender Badge */
    box-shadow:
        0 4px 12px rgba(230,2,40,.18);
}


/* =========================================================
   Calendar – Today State calmer v3


.sgh-cal-ios-monthgrid .is-today {
    margin: 3px !important;
    padding: 8px !important;
    border-radius: 18px !important;
    background: rgba(255,255,255,.88) !important;
    box-shadow:
        inset 0 0 0 1px rgba(230,2,40,.28),
        0 4px 12px rgba(230,2,40,.035) !important;
}

/* Badge zurück in natürliche Position */
.sgh-cal-ios-monthgrid .is-today strong {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: 28px !important;
    height: 28px !important;
    margin-bottom: 8px !important;
    box-shadow: 0 3px 8px rgba(230,2,40,.16) !important;
}

/* Events nicht mehr künstlich nach unten drücken */
.sgh-cal-ios-monthgrid .is-today em {
    margin-top: 6px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: 92% !important;
}

.sgh-cal-ios-monthgrid .is-today em + em {
    margin-top: 8px !important;
}


/* =========================================================
   Calendar – Today State v4


.sgh-cal-ios-monthgrid .is-today {
    position: relative !important;
    margin: 4px !important;
    padding: 44px 10px 10px 10px !important;
    border-radius: 20px !important;
    background: rgba(255,255,255,.92) !important;
    box-shadow:
        inset 0 0 0 1px rgba(230,2,40,.24),
        0 4px 12px rgba(230,2,40,.035) !important;
}

.sgh-cal-ios-monthgrid .is-today strong {
    position: absolute !important;
    top: 10px !important;
    left: 10px !important;
    width: 28px !important;
    height: 28px !important;
    margin: 0 !important;
    box-shadow: 0 3px 8px rgba(230,2,40,.16) !important;
}

.sgh-cal-ios-monthgrid .is-today em {
    display: block !important;
    width: auto !important;
    max-width: 100% !important;
    margin: 0 0 8px 0 !important;
    padding: 8px 10px !important;
    border-radius: 14px !important;
}

.sgh-cal-ios-monthgrid .is-today em + em {
    margin-top: 8px !important;
}


/* =========================================================
   Calendar Components – anchor/button compatibility fix


.sgh-cal-ios-nav a,
.sgh-cal-ios-tabs a {
    text-decoration: none !important;
}

.sgh-cal-ios-nav > a.sgh-cal-ios-round {
    width: 52px !important;
    height: 52px !important;
    display: grid !important;
    place-items: center !important;
    border-radius: 999px !important;
    background: rgba(255,255,255,.86) !important;
    box-shadow:
        var(--sgh-shadow-sm),
        inset 0 0 0 1px var(--sgh-surface-border) !important;
    color: #0e1e32 !important;
}

.sgh-cal-ios-nav > a.sgh-cal-ios-round svg {
    width: 22px !important;
    height: 22px !important;
    stroke-width: 3 !important;
}

.sgh-cal-ios-tabs a {
    height: 44px !important;
    display: inline-flex !important;
    gap: 10px !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 15px !important;
    background: transparent !important;
    color: #64748b !important;
    font-weight: 900 !important;
}

.sgh-cal-ios-tabs a.is-active {
    background: #fff !important;
    color: #e60228 !important;
    box-shadow: var(--sgh-shadow-xs) !important;
}

.sgh-cal-ios-tabs a svg {
    width: 19px !important;
    height: 19px !important;
    stroke-width: 2.4 !important;
}

@media (max-width: 720px) {
    .sgh-cal-ios-tabs a {
        min-width: 0 !important;
        width: 100% !important;
    }
}

/* =========================================================
   Calendar V3 productive header integration


.sgh-booking-page .sgh-calendar-v3-head {
    margin: 24px 0;
}

.sgh-booking-page .sgh-calendar-v3-head .sgh-cal-ios-top {
    margin-bottom: 18px;
}

.sgh-booking-page .cal-hero--v3 {
    margin-bottom: 0;
}

/* Kalenderseite: neue UI-Komponenten harmonisieren */
.sgh-booking-page .sgh-cal-ios-bar {
    margin-bottom: 0;
}

.sgh-booking-page .sgh-cal-ios-status {
    margin-top: 18px;
}

/* Alte Kalender-Surface etwas ruhiger unter neuer Toolbar */
.sgh-booking-page .cal-shell {
    margin-top: 0;
}

/* Anchor-Kompatibilität produktiv */
.sgh-booking-page .sgh-cal-ios-nav a,
.sgh-booking-page .sgh-cal-ios-tabs a {
    text-decoration: none !important;
}

.sgh-booking-page .sgh-cal-ios-nav > a.sgh-cal-ios-round {
    width: 52px !important;
    height: 52px !important;
    display: grid !important;
    place-items: center !important;
    border-radius: 999px !important;
    background: rgba(255,255,255,.86) !important;
    box-shadow:
        var(--sgh-shadow-sm),
        inset 0 0 0 1px var(--sgh-surface-border) !important;
    color: #0e1e32 !important;
}

.sgh-booking-page .sgh-cal-ios-tabs a {
    height: 44px !important;
    display: inline-flex !important;
    gap: 10px !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 15px !important;
    background: transparent !important;
    color: #64748b !important;
    font-weight: 900 !important;
}

.sgh-booking-page .sgh-cal-ios-tabs a.is-active {
    background: #fff !important;
    color: #e60228 !important;
    box-shadow: var(--sgh-shadow-xs) !important;
}

.sgh-booking-page .sgh-cal-ios-tabs a svg {
    width: 19px !important;
    height: 19px !important;
    stroke-width: 2.4 !important;
}

@media (max-width: 720px) {
    .sgh-booking-page .sgh-cal-ios-tabs a {
        min-width: 0 !important;
        width: 100% !important;
    }
}


/* Calendar V3 functional controls */
.sgh-calendar-month-jump {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.sgh-booking-page .sgh-cal-ios-areas a {
    height: 38px;
    padding: 0 15px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 12px;
    background: #f4f6f9;
    color: #64748b;
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
}

.sgh-booking-page .sgh-cal-ios-areas a.is-active {
    background: #0e1e32 !important;
    color: #fff !important;
    box-shadow: 0 2px 8px rgba(15,23,42,.10) !important;
}

.sgh-booking-page .sgh-cal-ios-areas a i {
    width: 8px;
    height: 8px;
    border-radius: 999px;
}

.sgh-booking-page .sgh-cal-ios-areas a .is-gast { background: #2f80ed; }
.sgh-booking-page .sgh-cal-ios-areas a .is-saal { background: #16a34a; }
.sgh-booking-page .sgh-cal-ios-areas a .is-terrasse { background: #f97316; }
.sgh-booking-page .sgh-cal-ios-areas a .is-verein { background: #9c27b0; }

@media (max-width: 720px) {
    .sgh-booking-page .sgh-cal-ios-areas {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .sgh-booking-page .sgh-cal-ios-areas a {
        justify-content: center;
    }

    .sgh-booking-page .sgh-cal-ios-areas a.is-active {
        background: #f4f6f9 !important;
        color: #0e1e32 !important;
        border: 1px solid rgba(15,23,42,.08) !important;
    }
}

/* Calendar V3 Filter Popover */
.sgh-calendar-filter-popover {
    position: relative;
    z-index: 20;
    width: min(420px, 100%);
    margin: -10px 0 22px auto;
    padding: 16px;
    border-radius: 24px;
    background: rgba(255,255,255,.94);
    box-shadow:
        0 18px 50px rgba(15,23,42,.12),
        inset 0 0 0 1px rgba(15,23,42,.06);
}

.sgh-calendar-filter-popover[hidden] {
    display: none !important;
}

.sgh-calendar-filter-popover__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.sgh-calendar-filter-popover__head strong {
    font-size: 18px;
    font-weight: 950;
    color: #0e1e32;
}

.sgh-calendar-filter-popover__head button {
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 999px;
    background: #f4f6f9;
    color: #64748b;
    font-size: 22px;
    font-weight: 800;
    cursor: pointer;
}

.sgh-calendar-filter-group {
    display: grid;
    gap: 8px;
}

.sgh-calendar-filter-group > span {
    margin-bottom: 4px;
    color: #94a3b8;
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.sgh-calendar-filter-group label {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 9px 12px;
    border-radius: 16px;
    background: #f8fafc;
    color: #0e1e32;
    font-weight: 850;
    cursor: pointer;
}

.sgh-calendar-filter-group input {
    display: none;
}

.sgh-calendar-filter-group label:has(input:checked) {
    background: #fff;
    box-shadow:
        0 2px 8px rgba(15,23,42,.05),
        inset 0 0 0 1px rgba(15,23,42,.08);
}

.sgh-calendar-filter-group i {
    width: 22px;
    height: 22px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    font-style: normal;
    font-size: 12px;
    font-weight: 950;
}

.sgh-calendar-filter-group .is-booked {
    background: #dcfce7;
    color: #16a34a;
}

.sgh-calendar-filter-group .is-pending {
    background: #ffedd5;
    color: #f97316;
}

.sgh-calendar-filter-group .is-cancelled {
    background: #e2e8f0;
    color: #64748b;
}

.sgh-calendar-filter-actions {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 16px;
}

.sgh-calendar-filter-actions a,
.sgh-calendar-filter-actions button {
    height: 42px;
    padding: 0 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-weight: 900;
    text-decoration: none;
}

.sgh-calendar-filter-actions a {
    color: #64748b;
    background: #f4f6f9;
}

.sgh-calendar-filter-actions button {
    border: 0;
    background: #0e1e32;
    color: #fff;
    cursor: pointer;
}

@media (max-width: 720px) {
    .sgh-calendar-filter-popover {
        margin: -6px 0 18px 0;
    }
}

/* Calendar V3 – custom month popover, no global filter */
.sgh-calendar-v3-head {
    position: relative;
}

.sgh-calendar-month-popover {
    position: absolute;
    z-index: 50;
    top: 68px;
    left: 50%;
    transform: translateX(-50%);
    width: 292px;
    padding: 14px;
    border-radius: 24px;
    background: rgba(255,255,255,.96);
    box-shadow:
        0 18px 50px rgba(15,23,42,.13),
        inset 0 0 0 1px rgba(15,23,42,.06);
}

.sgh-calendar-month-popover[hidden] {
    display: none !important;
}

.sgh-calendar-month-popover__year {
    display: grid;
    grid-template-columns: 38px 1fr 38px;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.sgh-calendar-month-popover__year strong {
    text-align: center;
    color: #0e1e32;
    font-size: 18px;
    font-weight: 950;
}

.sgh-calendar-month-popover__year a {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: #f4f6f9;
    color: #0e1e32;
    text-decoration: none;
}

.sgh-calendar-month-popover__year svg {
    width: 18px;
    height: 18px;
    stroke-width: 2.8;
}

.sgh-calendar-month-popover__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.sgh-calendar-month-popover__grid a {
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: #f4f6f9;
    color: #64748b;
    text-decoration: none;
    font-weight: 900;
}

.sgh-calendar-month-popover__grid a.is-active {
    background: #e60228;
    color: #fff;
    box-shadow: 0 8px 18px rgba(230,2,40,.18);
}

@media (max-width: 720px) {
    .sgh-calendar-month-popover {
        top: 128px;
        width: min(320px, calc(100vw - 32px));
    }
}


/* Calendar V3 – search instead of toolbar filters */
.sgh-calendar-live-search {
    height: 44px;
    min-width: 260px;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border-radius: 14px;
    background: #f4f6f9;
    color: #64748b;
}

.sgh-calendar-live-search svg {
    width: 18px;
    height: 18px;
}

.sgh-calendar-live-search input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: #0e1e32;
    font-weight: 800;
}

.sgh-calendar-live-search input::placeholder {
    color: #94a3b8;
}

/* Monats-Popover blickdicht */
.sgh-calendar-month-popover {
    background: #ffffff !important;
}

/* Filter-Popover über allem */
.sgh-calendar-filter-popover {
    z-index: 80 !important;
}

@media (max-width:720px) {
    .sgh-calendar-live-search {
        width: 100%;
        min-width: 0;
    }
}

/* Calendar Filter Popover: korrekt am Header ausrichten */
.sgh-calendar-v3-head {
    position: relative !important;
}

.sgh-calendar-filter-popover {
    position: absolute !important;
    top: 68px !important;
    right: 0 !important;
    z-index: 120 !important;
    width: min(420px, 100%) !important;
    margin: 0 !important;
}

.sgh-calendar-filter-popover[hidden] {
    display: none !important;
}

@media (max-width:720px) {
    .sgh-calendar-filter-popover {
        top: 188px !important;
        left: 0 !important;
        right: auto !important;
        width: 100% !important;
    }
}


/* -------------------------------------------------------
   Calendar V3 - Filter Popover Spacing
------------------------------------------------------- */

.sgh-calendar-filter-group + .sgh-calendar-filter-group{
    margin-top:28px;
}

.sgh-calendar-filter-group > span{
    display:block;
    margin:0 0 14px;
    font-size:.78rem;
    font-weight:800;
    letter-spacing:.08em;
    text-transform:uppercase;
    color:#94a3b8;
}


/* Calendar V3 - Filter Trefferhinweis */
.sgh-calendar-filter-summary{
    display:inline-flex;
    align-items:center;
    width:max-content;
    max-width:100%;
    margin:0 0 14px auto;
    padding:10px 14px;
    border-radius:999px;
    background:rgba(255,255,255,.88);
    color:#64748b;
    font-weight:850;
    box-shadow:inset 0 0 0 1px rgba(15,23,42,.06);
}


/* Calendar V3 - Filter Result List */
.sgh-calendar-filter-results {
    margin: 18px 0 20px;
    padding: 16px;
    border-radius: 24px;
    background: rgba(255,255,255,.92);
    box-shadow:
        0 8px 24px rgba(15,23,42,.06),
        inset 0 0 0 1px rgba(15,23,42,.06);
}

.sgh-calendar-filter-results header {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    margin-bottom: 14px;
}

.sgh-calendar-filter-results header span {
    display: block;
    color: #94a3b8;
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.sgh-calendar-filter-results header strong {
    display: block;
    margin-top: 3px;
    color: #0e1e32;
    font-size: 18px;
    font-weight: 950;
}

.sgh-calendar-filter-results header a {
    color: #64748b;
    background: #f4f6f9;
    border-radius: 999px;
    padding: 10px 14px;
    text-decoration: none;
    font-weight: 900;
    white-space: nowrap;
}

.sgh-calendar-filter-results__list {
    display: grid;
    gap: 10px;
}

.sgh-calendar-filter-result {
    position: relative;
    display: grid;
    gap: 4px;
    padding: 14px 96px 14px 14px;
    border-radius: 18px;
    background: #f8fafc;
    color: #0e1e32;
    text-decoration: none;
    transition: .18s ease;
}

.sgh-calendar-filter-result:hover {
    background: #fff;
    box-shadow: 0 8px 24px rgba(15,23,42,.07);
    transform: translateY(-1px);
}

.sgh-calendar-filter-result time {
    color: #64748b;
    font-size: 13px;
    font-weight: 850;
}

.sgh-calendar-filter-result strong {
    font-size: 16px;
    font-weight: 950;
}

.sgh-calendar-filter-result span {
    color: #64748b;
    font-size: 13px;
    font-weight: 750;
}

.sgh-calendar-filter-result em {
    position: absolute;
    top: 14px;
    right: 14px;
    padding: 6px 10px;
    border-radius: 999px;
    font-style: normal;
    font-size: 12px;
    font-weight: 950;
}

.sgh-calendar-filter-result em.is-booked {
    background: #dcfce7;
    color: #16a34a;
}

.sgh-calendar-filter-result em.is-pending {
    background: #ffedd5;
    color: #f97316;
}

.sgh-calendar-filter-results__empty {
    padding: 18px;
    border-radius: 18px;
    background: #f8fafc;
    color: #64748b;
    font-weight: 850;
}

@media (max-width:720px) {
    .sgh-calendar-filter-results header {
        display: grid;
    }

    .sgh-calendar-filter-result {
        padding-right: 14px;
    }

    .sgh-calendar-filter-result em {
        position: static;
        width: max-content;
        margin-top: 4px;
    }
}


/* Calendar V3 - Premium Filter Result List */
.sgh-calendar-results-v3 {
    margin: 22px 0 26px;
    padding: 22px;
    border-radius: 28px;
    background: rgba(255,255,255,.94);
    box-shadow:
        0 12px 32px rgba(15,23,42,.06),
        inset 0 0 0 1px rgba(15,23,42,.06);
}

.sgh-calendar-results-v3__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}

.sgh-calendar-results-v3__head span {
    color: #94a3b8;
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: .07em;
}

.sgh-calendar-results-v3__head h2 {
    margin: 4px 0 4px;
    color: #0e1e32;
    font-size: 26px;
    font-weight: 950;
    letter-spacing: -.04em;
}

.sgh-calendar-results-v3__head p {
    margin: 0;
    color: #64748b;
    font-weight: 750;
}

.sgh-calendar-results-v3__head a {
    padding: 11px 16px;
    border-radius: 999px;
    background: #f4f6f9;
    color: #64748b;
    text-decoration: none;
    font-weight: 900;
    white-space: nowrap;
}

.sgh-calendar-results-v3__search {
    height: 48px;
    max-width: 560px;
    padding: 0 16px;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 11px;
    border-radius: 16px;
    background: #f4f6f9;
    color: #64748b;
}

.sgh-calendar-results-v3__search svg {
    width: 20px;
    height: 20px;
}

.sgh-calendar-results-v3__search input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: #0e1e32;
    font-weight: 850;
}

.sgh-calendar-results-v3__table {
    display: grid;
    gap: 8px;
}

.sgh-calendar-results-v3__row {
    display: grid;
    grid-template-columns: 150px 130px 1.4fr 1.4fr 1fr 110px 130px 34px;
    gap: 18px;
    align-items: center;
    padding: 14px;
    border-radius: 18px;
    background: #fff;
    color: #0e1e32;
    text-decoration: none;
    box-shadow: inset 0 0 0 1px rgba(15,23,42,.07);
    transition: .18s ease;
}

.sgh-calendar-results-v3__row:not(.sgh-calendar-results-v3__row--head):hover {
    transform: translateY(-1px);
    box-shadow:
        0 10px 24px rgba(15,23,42,.07),
        inset 0 0 0 1px rgba(15,23,42,.08);
}

.sgh-calendar-results-v3__row--head {
    background: transparent;
    box-shadow: none;
    padding-block: 8px;
    color: #64748b;
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.sgh-calendar-results-v3__row strong {
    display: block;
    font-weight: 950;
}

.sgh-calendar-results-v3__row small {
    display: block;
    margin-top: 3px;
    color: #64748b;
    font-weight: 750;
}

.sgh-calendar-results-v3__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.sgh-calendar-results-v3__chips i {
    padding: 6px 10px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #475569;
    font-style: normal;
    font-size: 12px;
    font-weight: 850;
}

.sgh-calendar-results-v3__row em {
    display: inline-flex;
    width: max-content;
    padding: 7px 11px;
    border-radius: 999px;
    font-style: normal;
    font-size: 12px;
    font-weight: 950;
}

.sgh-calendar-results-v3__row em.is-booked {
    background: #dcfce7;
    color: #16a34a;
}

.sgh-calendar-results-v3__row em.is-pending {
    background: #ffedd5;
    color: #f97316;
}

.sgh-calendar-results-v3__arrow {
    display: grid;
    place-items: center;
}

.sgh-calendar-results-v3__arrow svg {
    width: 20px;
    height: 20px;
}

.sgh-calendar-results-v3__empty {
    padding: 20px;
    border-radius: 18px;
    background: #f8fafc;
    color: #64748b;
    font-weight: 850;
}

@media (max-width: 1100px) {
    .sgh-calendar-results-v3__row {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .sgh-calendar-results-v3__row--head {
        display: none;
    }

    .sgh-calendar-results-v3__arrow {
        display: none;
    }
}

@media (max-width: 720px) {
    .sgh-calendar-results-v3 {
        padding: 16px;
        border-radius: 24px;
    }

    .sgh-calendar-results-v3__head {
        display: grid;
    }

    .sgh-calendar-results-v3__head a {
        width: max-content;
    }
}


/* Calendar V3 - Dedicated List View */
.sgh-calendar-list-view {
    margin: 24px 0 28px;
    padding: 24px;
    border-radius: 30px;
    background: rgba(255,255,255,.94);
    box-shadow: 0 12px 32px rgba(15,23,42,.06), inset 0 0 0 1px rgba(15,23,42,.06);
}

.sgh-calendar-list-view__head {
    display:flex;
    justify-content:space-between;
    gap:20px;
    align-items:flex-start;
    margin-bottom:22px;
}

.sgh-calendar-list-view__head span {
    color:#94a3b8;
    font-size:12px;
    font-weight:950;
    text-transform:uppercase;
    letter-spacing:.07em;
}

.sgh-calendar-list-view__head h2 {
    margin:4px 0;
    color:#0e1e32;
    font-size:28px;
    font-weight:950;
    letter-spacing:-.04em;
}

.sgh-calendar-list-view__head p {
    margin:0;
    color:#64748b;
    font-weight:750;
}

.sgh-calendar-list-view__head a {
    padding:11px 16px;
    border-radius:999px;
    background:#f4f6f9;
    color:#64748b;
    text-decoration:none;
    font-weight:900;
    white-space:nowrap;
}

.sgh-calendar-list-view__search {
    height:50px;
    max-width:620px;
    padding:0 16px;
    margin-bottom:18px;
    display:flex;
    align-items:center;
    gap:12px;
    border-radius:17px;
    background:#f4f6f9;
    color:#64748b;
}

.sgh-calendar-list-view__search svg { width:20px; height:20px; }

.sgh-calendar-list-view__search input {
    width:100%;
    border:0;
    outline:0;
    background:transparent;
    color:#0e1e32;
    font-weight:850;
}

.sgh-calendar-list-view__cards {
    display:grid;
    gap:10px;
}

.sgh-calendar-list-card {
    display:grid;
    grid-template-columns: 150px 130px 1.3fr 1.3fr 1fr 110px 28px;
    gap:18px;
    align-items:center;
    min-height:78px;
    padding:14px;
    border-radius:20px;
    background:#fff;
    color:#0e1e32;
    text-decoration:none;
    box-shadow: inset 0 0 0 1px rgba(15,23,42,.07);
    transition:.18s ease;
}

.sgh-calendar-list-card:hover {
    transform:translateY(-1px);
    box-shadow:0 10px 24px rgba(15,23,42,.07), inset 0 0 0 1px rgba(15,23,42,.08);
}

.sgh-calendar-list-card__date {
    display:grid;
    grid-template-columns:28px 1fr;
    column-gap:10px;
    align-items:center;
}

.sgh-calendar-list-card__date svg {
    grid-row:1 / span 2;
    width:22px;
    height:22px;
    color:#64748b;
}

.sgh-calendar-list-card strong {
    display:block;
    font-weight:950;
}

.sgh-calendar-list-card small,
.sgh-calendar-list-card__meta span {
    display:block;
    margin-top:3px;
    color:#64748b;
    font-weight:750;
}

.sgh-calendar-list-card__time {
    font-weight:850;
}

.sgh-calendar-list-card__areas {
    display:flex;
    flex-wrap:wrap;
    gap:6px;
}

.sgh-calendar-list-card__areas i {
    padding:6px 10px;
    border-radius:999px;
    background:#f1f5f9;
    color:#475569;
    font-style:normal;
    font-size:12px;
    font-weight:850;
}

.sgh-calendar-list-card em {
    width:max-content;
    padding:7px 11px;
    border-radius:999px;
    font-style:normal;
    font-size:12px;
    font-weight:950;
}

.sgh-calendar-list-card em.is-booked {
    background:#dcfce7;
    color:#16a34a;
}

.sgh-calendar-list-card em.is-pending {
    background:#ffedd5;
    color:#f97316;
}

.sgh-calendar-list-card__arrow {
    display:grid;
    place-items:center;
}

.sgh-calendar-list-card__arrow svg {
    width:20px;
    height:20px;
}

.sgh-calendar-list-view__empty {
    padding:20px;
    border-radius:18px;
    background:#f8fafc;
    color:#64748b;
    font-weight:850;
}

@media (max-width:1100px) {
    .sgh-calendar-list-card {
        grid-template-columns:1fr;
        gap:8px;
    }

    .sgh-calendar-list-card__arrow {
        display:none;
    }
}

@media (max-width:720px) {
    .sgh-calendar-list-view {
        padding:16px;
        border-radius:24px;
    }

    .sgh-calendar-list-view__head {
        display:grid;
    }
}


/* Calendar V3 - remove list as permanent tab */
.sgh-booking-page .sgh-cal-ios-tabs {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

/* Wenn Filter aktiv: Ergebnisliste als eigenständiger Modus */
.sgh-calendar-list-view {
    margin-top: 24px;
}















/* =========================================================
   Calendar Components Base – clean restore
   ========================================================= */

.sgh-booking-shell{
    max-width:1280px !important;
    margin-inline:auto !important;
}

.sgh-calendar-v3-head{
    width:100% !important;
    margin:0 0 24px !important;
}

.sgh-cal-ios-top{
    display:grid !important;
    grid-template-columns:auto 1fr auto !important;
    align-items:center !important;
    gap:20px !important;
    margin-bottom:18px !important;
}

.sgh-cal-ios-nav{
    display:flex !important;
    align-items:center !important;
    gap:14px !important;
}

.sgh-cal-ios-round,
.sgh-cal-ios-today,
.sgh-cal-ios-month,
.sgh-cal-ios-filter{
    appearance:none !important;
    border:0 !important;
    background:#fff !important;
    color:#0e1e32 !important;
    box-shadow:0 10px 26px rgba(15,23,42,.08) !important;
    text-decoration:none !important;
    font-family:inherit !important;
    font-weight:900 !important;
}

.sgh-cal-ios-round{
    width:52px !important;
    height:52px !important;
    border-radius:999px !important;
    display:inline-grid !important;
    place-items:center !important;
}

.sgh-cal-ios-today,
.sgh-cal-ios-month,
.sgh-cal-ios-filter{
    height:52px !important;
    border-radius:18px !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    gap:12px !important;
    padding:0 22px !important;
}

.sgh-cal-ios-month{
    justify-self:center !important;
    min-width:240px !important;
    font-size:20px !important;
}

.sgh-cal-ios-filter{
    justify-self:end !important;
    min-width:150px !important;
    font-size:16px !important;
}

.sgh-cal-ios-bar{
    display:grid !important;
    grid-template-columns:minmax(0,1fr) minmax(300px,390px) !important;
    gap:16px !important;
    align-items:center !important;
    width:100% !important;
    padding:10px !important;
    border-radius:24px !important;
    background:rgba(255,255,255,.86) !important;
    box-shadow:0 10px 28px rgba(15,23,42,.06) !important;
}

.sgh-cal-ios-tabs{
    display:grid !important;
    grid-template-columns:repeat(4,minmax(0,1fr)) !important;
    gap:8px !important;
}

.sgh-cal-ios-tabs a{
    min-height:48px !important;
    border-radius:18px !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    gap:10px !important;
    text-decoration:none !important;
    font-weight:900 !important;
    color:#64748b !important;
}

.sgh-cal-ios-tabs a.is-active{
    background:#fff !important;
    color:#e60228 !important;
    box-shadow:0 8px 22px rgba(15,23,42,.08) !important;
}

.sgh-calendar-live-search{
    height:48px !important;
    display:flex !important;
    align-items:center !important;
    gap:12px !important;
    padding:0 20px !important;
    border-radius:18px !important;
    background:#f4f7fb !important;
}

.sgh-calendar-live-search input{
    width:100% !important;
    height:48px !important;
    border:0 !important;
    outline:0 !important;
    background:transparent !important;
    font:inherit !important;
    font-weight:800 !important;
}

.sgh-cal-ios-areas{
    display:flex !important;
    align-items:center !important;
    gap:10px !important;
    flex-wrap:wrap !important;
}

.sgh-cal-ios-areas button{
    height:40px !important;
    border:0 !important;
    border-radius:14px !important;
    padding:0 14px !important;
    background:#f4f7fb !important;
    color:#64748b !important;
    font-weight:900 !important;
}

.sgh-cal-ios-areas button.is-active{
    background:#0e1e32 !important;
    color:#fff !important;
}

.sgh-cal-ios-status{
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
    gap:18px !important;
    flex-wrap:wrap !important;
    margin-top:18px !important;
    padding:16px 22px !important;
    border-radius:18px !important;
    background:#fff !important;
    box-shadow:0 8px 22px rgba(15,23,42,.04) !important;
}

.sgh-cal-ios-status span{
    display:inline-flex !important;
    align-items:center !important;
    gap:8px !important;
    font-weight:800 !important;
    color:#64748b !important;
}

.sgh-booking-page .sgh-cal-ios-areas{
    display:none !important;
}

.sgh-booking-shell > .sgh-surface.cal-shell{
    width:100% !important;
    max-width:100% !important;
    margin:0 !important;
    box-sizing:border-box !important;
}

@media(max-width:860px){
    .sgh-cal-ios-top,
    .sgh-cal-ios-bar{
        grid-template-columns:1fr !important;
    }

    .sgh-cal-ios-month,
    .sgh-cal-ios-filter{
        width:100% !important;
        justify-self:stretch !important;
    }
}



/* =========================================================
   Calendar Tabs Background Radius Fix
   ========================================================= */

.sgh-cal-ios-bar{
    overflow:hidden !important;
}

.sgh-cal-ios-tabs{
    background:#f3f5f9 !important;
    border-radius:24px !important;
    overflow:hidden !important;
    padding:0 !important;
}

.sgh-cal-ios-tabs a{
    min-height:54px !important;
    border-radius:0 !important;
}

.sgh-cal-ios-tabs a.is-active{
    border-radius:22px !important;
    margin:0 !important;
}

/* linker/rechter Abschluss der grauen Tab-Fläche weich */
.sgh-cal-ios-tabs a:first-child{
    border-top-left-radius:24px !important;
    border-bottom-left-radius:24px !important;
}

.sgh-cal-ios-tabs a:last-child{
    border-top-right-radius:24px !important;
    border-bottom-right-radius:24px !important;
}

.sgh-cal-ios-tabs a.is-active:first-child,
.sgh-cal-ios-tabs a.is-active:last-child{
    border-radius:22px !important;
}





/* =========================================================
   Calendar Legend – Vorlage unten in der Card
   ========================================================= */

.sgh-booking-page .sgh-cal-ios-status{
    width:100% !important;
    max-width:100% !important;

    display:flex !important;
    align-items:center !important;
    justify-content:flex-end !important;
    gap:34px !important;
    flex-wrap:wrap !important;

    margin:14px 0 0 !important;
    padding:0 6px !important;

    background:transparent !important;
    box-shadow:none !important;
    border:0 !important;
    border-radius:0 !important;
}

.sgh-booking-page .sgh-cal-ios-status span{
    display:inline-flex !important;
    align-items:center !important;
    gap:8px !important;

    font-size:14px !important;
    font-weight:800 !important;
    line-height:1 !important;
    color:#50627a !important;
}

.sgh-booking-page .sgh-cal-ios-status i{
    width:18px !important;
    height:18px !important;
    border-radius:999px !important;

    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;

    font-style:normal !important;
    font-size:12px !important;
    font-weight:950 !important;
    line-height:1 !important;
}

.sgh-booking-page .sgh-cal-ios-status .is-booked{
    background:#dcfce7 !important;
    color:#16a34a !important;
}

.sgh-booking-page .sgh-cal-ios-status .is-pending{
    background:#ffedd5 !important;
    color:#f97316 !important;
}

.sgh-booking-page .sgh-cal-ios-status .is-cancelled{
    background:#e2e8f0 !important;
    color:#64748b !important;
}



/* =========================================================
   Calendar Legend – Vorlage unten in der Card
   ========================================================= */

.sgh-booking-page .sgh-cal-ios-status{
    width:100% !important;
    max-width:100% !important;

    display:flex !important;
    align-items:center !important;
    justify-content:flex-end !important;
    gap:34px !important;
    flex-wrap:wrap !important;

    margin:14px 0 0 !important;
    padding:0 6px !important;

    background:transparent !important;
    box-shadow:none !important;
    border:0 !important;
    border-radius:0 !important;
}

.sgh-booking-page .sgh-cal-ios-status span{
    display:inline-flex !important;
    align-items:center !important;
    gap:8px !important;

    font-size:14px !important;
    font-weight:800 !important;
    line-height:1 !important;
    color:#50627a !important;
}

.sgh-booking-page .sgh-cal-ios-status i{
    width:18px !important;
    height:18px !important;
    border-radius:999px !important;

    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;

    font-style:normal !important;
    font-size:12px !important;
    font-weight:950 !important;
    line-height:1 !important;
}

.sgh-booking-page .sgh-cal-ios-status .is-booked{
    background:#dcfce7 !important;
    color:#16a34a !important;
}

.sgh-booking-page .sgh-cal-ios-status .is-pending{
    background:#ffedd5 !important;
    color:#f97316 !important;
}

.sgh-booking-page .sgh-cal-ios-status .is-cancelled{
    background:#e2e8f0 !important;
    color:#64748b !important;
}

