/* The Blazor-template defaults that used to live here — a Helvetica font stack on html/body,
   a #006bb7 link colour, a #1b6ec2 .btn-primary and a custom focus ring — were removed when the
   Sneat theme was adopted (see wwwroot/sneat/README.md). They existed only to soften stock
   Bootstrap; keeping them would have fought the theme's own typography (Public Sans), palette
   (#696cff primary) and focus styling for no benefit. */

.content {
    padding-top: 1.1rem;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

/* Booking-type ("Ensaio"/"Gravação") icon chips — Bloco K. Global (not component-scoped CSS
   isolation) since WeekCalendar.razor, Calendar.razor's legend, and Bookings.razor's "Tipo" column
   all need the same glyphs. Hand-rolled inline-SVG data URIs (copies of the real Bootstrap Icons
   bi-music-note / bi-mic-fill glyph paths) rather than the actual bootstrap-icons webfont/CSS
   package — this project only ever committed Bootstrap's own CSS/JS bundle under wwwroot/lib
   (see App.razor), never bootstrap-icons, so NavMenu.razor.css's own "*-nav-menu" classes already
   use this same inline-SVG-background approach; this follows that existing convention rather than
   introducing a new font/package dependency. */
.booking-type-icon {
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.45);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 9px 9px;
    vertical-align: middle;
}

.booking-type-icon-rehearsal {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M9 13c0 1.105-1.12 2-2.5 2S4 14.105 4 13s1.12-2 2.5-2 2.5.895 2.5 2z'/%3E%3Cpath fill-rule='evenodd' d='M9 3v10H8V3h1z'/%3E%3Cpath d='M8 2.82a1 1 0 0 1 .804-.98l3-.6A1 1 0 0 1 13 2.22V4L8 5V2.82z'/%3E%3C/svg%3E");
}

.booking-type-icon-recording {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M5 3a3 3 0 0 1 6 0v5a3 3 0 0 1-6 0V3z'/%3E%3Cpath d='M3.5 6.5A.5.5 0 0 1 4 7v1a4 4 0 0 0 8 0V7a.5.5 0 0 1 1 0v1a5 5 0 0 1-4.5 4.975V15h3a.5.5 0 0 1 0 1h-7a.5.5 0 0 1 0-1h3v-2.025A5 5 0 0 1 3 8V7a.5.5 0 0 1 .5-.5z'/%3E%3C/svg%3E");
}

/* Page context trail when rendered into the navbar (MainLayout's `page-trail` SectionOutlet).
   Sized down from the in-page <h4> it replaces — 22px would tower over the navbar's own 15px
   controls — and clamped so a long trail (a sala name inside it, say) truncates instead of pushing
   the account controls off the right edge. */
.studiomate-navbar-trail {
    font-size: 1rem;
    line-height: 1.2;
    max-width: 40ch;
}

/* Per-sala colour swatch, shared. Three near-identical copies of this used to live in per-page
   <style> blocks — `.legend-swatch` in Bookings.razor and Calendar.razor, `.sala-color-swatch` in
   Salas.razor — differing only in a pixel of size and a border. A component <style> block is also
   emitted once per component instance, so those were duplicated into the page as well as across it.
   Calendar.razor still has its own copy plus a `.legend-block` sibling; it migrates here when that
   page is themed, which is the point at which it's being rewritten anyway.
   Colours always come from Components/Shared/SalaColorPalette, so a sala reads the same here, on
   the dashboard and on the calendar. */
.sala-swatch {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 2px;
    vertical-align: middle;
    margin-right: 6px;
    border: 1px solid rgba(0, 0, 0, 0.15);
}

/* Calendar legend extras, migrated out of Calendar.razor's own <style> block so the swatch has a
   single definition app-wide (that block also held a third copy of .sala-swatch itself). The
   "Bloqueado" key deliberately mirrors .week-calendar-block's grey fill rather than using a sala
   colour, since a block belongs to no sala. */
.legend-block {
    background: rgba(108, 117, 125, 0.45);
    border: 1px solid rgba(108, 117, 125, 0.7);
}

.legend-icon {
    vertical-align: middle;
    margin-right: 2px;
}

/* Round variant for inline use in a list row (Home dashboard: upcoming bookings, occupancy bars),
   where a square would read as a bullet glyph rather than a colour key. */
.sala-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

/* Unread notification rows (Components/Pages/Notifications.razor).
   The screen previously used Bootstrap's `list-group-item-light` for the tint, but Sneat renders
   that variant transparent, so the row-level cue vanished when the theme landed (the bold title
   and "Nova" badge were never affected). A left accent bar reads at a glance down a list, is the
   idiom Sneat itself uses for highlighted rows, and — unlike a background tint — carries no
   contrast risk for the text sitting on it. Global rather than component-scoped so the same class
   is available if a notification list ever appears elsewhere (e.g. the Home dashboard). */
.notification-unread {
    border-left: 3px solid var(--bs-primary, #696cff);
}

/* Studiomate wordmark on the auth screens (AuthLayout / Login.razor).
   Sneat renders its own brand through `.app-brand-text.demo` in assets/css/demo.css, which is a
   demo-only stylesheet this project deliberately did not vendor — these two rules are the only
   part of it that mattered, restated under our own class name. Global rather than component-
   scoped CSS so any later auth screen (register, password reset) can reuse the same brand block. */
.studiomate-brand-text {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.studiomate-brand-logo svg {
    display: block;
}