/* Talkline Class Manager calendar — default visual port, v1.2.5 */
.tlutc-wrap,
.tlutc-wrap * {
    box-sizing: border-box;
}

.tlutc-wrap {
    direction: rtl;
    width: 100%;
    overflow: hidden;
    padding: 0;
    color: #151515;
    background: #fff;
    outline: 0;
    border-radius: 32px;
    box-shadow: 0 14px 36px rgba(30, 24, 38, .035);
}

/* Month title + minimal navigation */
.tlutc-toolbar {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 48px;
    align-items: center;
    min-height: 46px;
    padding: 4px 18px;
    margin: 0;
    background: #fff;
}

.tlutc-title {
    margin: 0;
    color: #151515;
    font-size: clamp(18px, 1.65vw, 23px);
    font-weight: 800;
    line-height: 1.35;
    text-align: center;
}

.tlcm-calendar__nav-button {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: center;
    width: 32px;
    height: 32px;
    padding: 0;
    color: #bf1c82;
    background: transparent;
    outline: 0 solid transparent;
    outline-offset: 2px;
    border-radius: 999px;
    box-shadow: none;
    font: inherit;
    font-size: 24px;
    font-weight: 400;
    line-height: 1;
    cursor: pointer;
    transition: color .18s ease, background-color .18s ease, opacity .18s ease;
}

.tlcm-calendar__nav-button:hover:not(:disabled) {
    color: #8f1260;
    background: #fff1fa;
}

.tlcm-calendar__nav-button:focus-visible {
    outline-width: 2px;
    outline-style: solid;
    outline-color: #bf1c82;
}

.tlcm-calendar__nav-button:disabled {
    opacity: .18;
    cursor: default;
}

/* Calendar grid */
.tlutc-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    overflow: hidden;
    background: #fff;
    outline: 0;
    border-radius: 0 0 32px 32px;
}

.tlutc-head {
    min-width: 0;
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 7px;
    color: #171317;
    background: #ffd9f3;
    outline: 0;
    font-size: clamp(14px, 1.45vw, 18px);
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
}

.tlutc-cell {
    position: relative;
    min-width: 0;
    min-height: 95px;
    padding: 8px 6px 6px;
    background: #fff;
    /* Neutralize stale Elementor-generated cell outlines from earlier builds. */
    outline: 0 !important;
    outline-offset: 0 !important;
}

/* Draw every shared grid edge once only. */
.tlutc-cell::before,
.tlutc-cell::after {
    content: "";
    position: absolute;
    z-index: 0;
    pointer-events: none;
    background: #ededed;
}

.tlutc-cell::before {
    inset-inline-start: 0;
    top: 0;
    bottom: 0;
    width: 1px;
}

.tlutc-cell::after {
    inset-inline: 0;
    top: 0;
    height: 1px;
}

/* First cell of every RTL row has no outer vertical separator. */
.tlutc-grid > .tlutc-cell:nth-child(7n + 1)::before {
    display: none;
}

.tlutc-daynum {
    position: relative;
    z-index: 1;
    display: block;
    min-height: 18px;
    margin: 0 2px 3px;
    color: #b7b7b7;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.2;
    text-align: right;
}

/* Session card */
.tlutc-event {
    position: relative;
    z-index: 1;
    display: block;
    width: calc(100% - 8px);
    min-height: 72px;
    margin: 0 4px 6px;
    padding: 8px 9px 7px;
    overflow: hidden;
    color: #171317;
    background-color: #ffe4f6;
    background-image: repeating-linear-gradient(
        135deg,
        rgba(255, 255, 255, .42) 0,
        rgba(255, 255, 255, .42) 9px,
        rgba(235, 91, 180, .025) 9px,
        rgba(235, 91, 180, .025) 18px
    );
    outline: 0;
    border-radius: 0;
    box-shadow: none;
    font-size: 12px;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
    transition: filter .18s ease, transform .18s ease, box-shadow .18s ease;
}

.tlutc-event::before {
    content: "";
    position: absolute;
    inset-inline-end: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #d62b98;
}

.tlutc-event strong,
.tlutc-event span,
.tlutc-event time {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tlutc-event strong {
    margin: 0 0 1px;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.2;
}

.tlutc-event span {
    font-size: 11px;
}

.tlutc-event span:first-of-type {
    color: #8e4a77;
    font-size: 10px;
}

.tlutc-event time {
    margin-top: 2px;
    font-size: 11px;
    font-weight: 600;
}

.tlutc-event + .tlutc-event {
    margin-top: 5px;
}

.tlutc-event:hover {
    color: #171317;
    filter: brightness(.985);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(194, 29, 130, .08);
}

.tlutc-event:focus-visible {
    outline-width: 2px;
    outline-style: solid;
    outline-color: #9c176b;
    outline-offset: 2px;
}

.tlcm-calendar__event--past {
    opacity: .72;
    filter: saturate(.72);
}

.tlcm-calendar__event--current {
    background-color: #ffd5f1;
    box-shadow: 0 0 0 3px rgba(216, 44, 154, .12);
}

.tlcm-calendar__event--future {
    opacity: 1;
}

.tlutc-empty,
.tlutc-guest,
.tlcm-calendar-empty {
    direction: rtl;
    padding: 20px;
    color: #333;
    background: #fff;
    outline: 1px solid #ececec;
    outline-offset: -1px;
    border-radius: 22px;
    text-align: center;
}

.tlcm-calendar__month[hidden] {
    display: none !important;
}

@media (max-width: 767px) {
    .tlutc-wrap {
        overflow-x: auto;
        border-radius: 24px;
    }

    .tlutc-toolbar,
    .tlutc-grid {
        min-width: 760px;
    }

    .tlutc-toolbar {
        min-height: 44px;
        padding-inline: 14px;
    }

    .tlutc-grid {
        border-radius: 0 0 24px 24px;
    }

    .tlutc-head {
        min-height: 52px;
        font-size: 14px;
    }

    .tlutc-cell {
        min-height: 92px;
    }
}
