/* _content/Studiomate.Web/Components/Layout/AuthLayout.razor.rz.scp.css */
/* Blazor's unhandled-error banner. Duplicated from MainLayout.razor.css rather than shared:
   both files are CSS-isolation stylesheets, and scoped CSS only applies to markup declared in
   its own component, so AuthLayout needs its own copy for the #blazor-error-ui it renders. */
#blazor-error-ui[b-mwghbqkjq5] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-mwghbqkjq5] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* _content/Studiomate.Web/Components/Layout/MainLayout.razor.rz.scp.css */
/* The stock Blazor template's layout rules (.page/.sidebar/main/.top-row and their breakpoint
   variants) were removed when MainLayout.razor adopted the Sneat shell — the elements they styled
   no longer exist. The gradient sidebar, the 250px fixed width and the sticky top row are all the
   theme's job now (wwwroot/sneat/css/core.css + theme-default.css). */

/* Carried over from the `main` rule the old layout had, and still needed: .layout-container is a
   flex row (core.css:15214) and .layout-page is `flex: 1 1 auto` (core.css:15233) with no
   min-width of its own, so it defaults to min-width:auto and refuses to shrink below its
   content's intrinsic width. A wide table then pushes it past the viewport and the *page* scrolls
   sideways instead of the .table-responsive wrapper scrolling internally. First surfaced on
   /bookings, whose eight-column table crossed the line once Sneat's roomier cell padding applied.
   The element moved from <main> to .layout-page; the problem and the fix did not. */
.layout-page[b-x15mq0o6lh] {
    min-width: 0;
}

#blazor-error-ui[b-x15mq0o6lh] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-x15mq0o6lh] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* _content/Studiomate.Web/Components/Shared/MonthCalendar.razor.rz.scp.css */
.month-calendar[b-rhtzn1v5v6] {
    border: 1px solid #dee2e6;
    border-radius: 4px;
    overflow: hidden;
}

.month-calendar-row[b-rhtzn1v5v6] {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
}

.month-calendar-header[b-rhtzn1v5v6] {
    background: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
}

.month-calendar-weekday[b-rhtzn1v5v6] {
    padding: 6px 4px;
    font-size: 0.8rem;
    font-weight: 600;
    text-align: center;
    text-transform: capitalize;
    color: #6c757d;
}

.month-calendar-cell[b-rhtzn1v5v6] {
    min-height: 88px;
    padding: 4px 6px;
    box-sizing: border-box;
    border-right: 1px solid #eee;
    border-bottom: 1px solid #eee;
    cursor: pointer;
}

.month-calendar-cell:hover[b-rhtzn1v5v6] {
    background: #f8f9fa;
}

.month-calendar-cell-muted[b-rhtzn1v5v6] {
    color: #adb5bd;
    background: #fcfcfd;
}

.month-calendar-cell-today .month-calendar-day-number[b-rhtzn1v5v6] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    /* Was #0d6efd — stock Bootstrap blue, left over from before the theme and visibly foreign
       against Sneat's purple. Uses the contrast-corrected primary (#6264ed) rather than the raw
       theme hue because this pill carries white text; the selected-cell tint below is decorative
       and keeps the theme's own #696cff. */
    background: #6264ed;
    color: white;
}

.month-calendar-cell-selected[b-rhtzn1v5v6] {
    background: rgba(105, 108, 255, 0.08);
    box-shadow: inset 0 0 0 2px rgba(105, 108, 255, 0.5);
}

.month-calendar-day-number[b-rhtzn1v5v6] {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.month-calendar-dots[b-rhtzn1v5v6] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 3px;
}

.month-calendar-dot[b-rhtzn1v5v6] {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex: 0 0 auto;
}

.month-calendar-dot-extra[b-rhtzn1v5v6] {
    font-size: 0.65rem;
    color: #6c757d;
}
/* _content/Studiomate.Web/Components/Shared/WeekCalendar.razor.rz.scp.css */
.week-calendar[b-dvgjer5r3h] {
    overflow-x: auto;
    border: 1px solid #dee2e6;
    border-radius: 4px;
}

.week-calendar-row[b-dvgjer5r3h] {
    display: grid;
    grid-template-columns: 56px repeat(7, minmax(110px, 1fr));
}

.week-calendar-header[b-dvgjer5r3h] {
    border-bottom: 1px solid #dee2e6;
    background: #f8f9fa;
    position: sticky;
    top: 0;
}

.week-calendar-gutter[b-dvgjer5r3h] {
    border-right: 1px solid #dee2e6;
}

.week-calendar-day-header[b-dvgjer5r3h] {
    padding: 6px 4px;
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
    border-left: 1px solid #eee;
}

.week-calendar-hour-label[b-dvgjer5r3h] {
    font-size: 0.7rem;
    color: #6c757d;
    text-align: right;
    padding-right: 4px;
    box-sizing: border-box;
    border-top: 1px solid #f1f1f1;
}

.week-calendar-day-column[b-dvgjer5r3h] {
    position: relative;
    border-left: 1px solid #eee;
}

.week-calendar-hour-cell[b-dvgjer5r3h] {
    box-sizing: border-box;
    border-top: 1px solid #f1f1f1;
    cursor: pointer;
}

.week-calendar-hour-cell:hover[b-dvgjer5r3h] {
    background: #f8f9fa;
}

/* Fase 11, user-requested: an hour with no coverage at all (neither a real window nor
   recurring-rule-derived virtual coverage reaches it, see WeekCalendar.razor's IsHourCovered) is
   shaded light gray instead of being left blank. Kept as a plain background fill layered under the
   existing hover state (below), matching the muted neutral tone already used elsewhere in this file
   (e.g. .week-calendar-block's rgba(108, 117, 125, ...) grays). */
.week-calendar-closed[b-dvgjer5r3h] {
    background-color: rgba(0, 0, 0, 0.045);
}

.week-calendar-closed:hover[b-dvgjer5r3h] {
    background: rgba(0, 0, 0, 0.08);
}

.week-calendar-bar[b-dvgjer5r3h] {
    position: absolute;
    left: 2px;
    right: 2px;
    border-radius: 3px;
    box-sizing: border-box;
    overflow: hidden;
}

.week-calendar-window[b-dvgjer5r3h] {
    /* background-color/border-color come from an inline style — SalaColorPalette.ToTintStyle,
       Bloco K — since a window's color now depends on which Sala it belongs to. */
    border-style: solid;
    border-width: 1px;
    pointer-events: none;
    z-index: 1;
}

/* Fase 11: a computed/virtual coverage span (recurring-rule-derived, no backing row — see
   AvailabilityWindowDto.IsVirtual) — dashed border on top of the already-lighter tint set via
   WindowBarStyle's inline style, so it reads as "computed" rather than "a real window". No
   edit/delete action exists on any window bar in this view regardless (they're pointer-events:none
   above; only the hour cell underneath is clickable), so nothing else needed to guard here. */
.week-calendar-window-virtual[b-dvgjer5r3h] {
    border-style: dashed;
}

.week-calendar-block[b-dvgjer5r3h] {
    background: repeating-linear-gradient(45deg, rgba(108, 117, 125, 0.35), rgba(108, 117, 125, 0.35) 6px, rgba(108, 117, 125, 0.2) 6px, rgba(108, 117, 125, 0.2) 12px);
    border: 1px solid rgba(108, 117, 125, 0.6);
    cursor: pointer;
    z-index: 2;
}

.week-calendar-booking[b-dvgjer5r3h] {
    /* background-color/border-color come from an inline style — SalaColorPalette.ToTintStyle,
       Bloco K — same Sala color as the window it sits inside, just more opaque. */
    border-style: solid;
    border-width: 1px;
    cursor: pointer;
    z-index: 2;
}

/* Positions the shared .booking-type-icon (wwwroot/app.css — global, since Calendar.razor's
   legend and Bookings.razor's "Tipo" column need the same glyphs, and component-scoped CSS
   isolation can't leak out of this file) in the top-right corner of a booking bar. */
.week-calendar-bar-icon[b-dvgjer5r3h] {
    position: absolute;
    top: 2px;
    right: 2px;
    z-index: 1;
}

.week-calendar-bar-label[b-dvgjer5r3h] {
    position: absolute;
    left: 3px;
    right: 18px;
    bottom: 2px;
    font-size: 0.7rem;
    line-height: 1.1;
    color: rgba(0, 0, 0, 0.75);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
