/* /Components/Layout/LoginLayout.razor.rz.scp.css */
/* Anonymous shell (login / access-denied): same house-style header, centered body. */

.layout[b-a82tcnqwe9] {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: var(--gray-100);
}

.top-bar[b-a82tcnqwe9] {
    display: flex;
    align-items: center;
    background-color: var(--white);
    border-top: 4px solid var(--shell-topbar-stripe);
    border-bottom: 1px solid var(--minor-gray);
    padding: 0.5rem 1.5rem;
    min-height: 56px;
}

.top-bar-brand[b-a82tcnqwe9] {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.top-bar-logo[b-a82tcnqwe9] {
    height: 28px;
    width: auto;
}

.content--centered[b-a82tcnqwe9] {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* Header matched 1:1 to the Timeblockr admin (next-admin menu-header) so moving between the
   two apps is seamless. Values are copied from next-admin's SCSS: base font 0.8em (=12.8px
   at the 16px root), top-bar text color Tailwind gray-500 (#6b7280), location line 1.5em,
   circular icons via the ported .small-icons (see timeblockr-icons.css), whole-cell hover
   rgb(238,238,238), flat #e8e8e8 dropdown with a 4px light-blue left-border hover, and the
   4px orange top stripe. The top bar and nav are full-width (no max-width). */

/* App shell: header + nav are fixed flex items at the top; only .content-scroll scrolls,
   which keeps the whole app header always visible (sticky) and lets each page's .page-header
   stick to the top of the scroll region without a hard-coded offset. Mirrors next-admin,
   whose content region is likewise its own scroll container. */
.layout[b-zq1ylc5cnv] {
    height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background-color: var(--gray-100);
}

.content-scroll[b-zq1ylc5cnv] {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
}

/* ── Top bar ─────────────────────────────────────────────────────────────── */

.top-bar[b-zq1ylc5cnv] {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    background-color: var(--white);
    border-top: 4px solid rgb(255, 153, 51);
    border-bottom: 1px solid var(--minor-gray);
    font-size: 0.8rem;
    line-height: 1.2;
    color: #6b7280;
}

.top-bar-brand[b-zq1ylc5cnv] {
    display: flex;
    align-items: center;
    text-decoration: none;
    padding: 15px;
}

.top-bar-logo[b-zq1ylc5cnv] {
    height: 30px;
    width: auto;
}

/* The app name next to the logo (FR-016): the visual differentiator from the
   otherwise identical webadmin header. margin-right:auto keeps it hugging the
   brand while the user menu stays right-aligned. */
.top-bar-title[b-zq1ylc5cnv] {
    align-self: center;
    margin: 0 auto 0 0;
    padding-left: 12px;
    border-left: 1px solid var(--minor-gray);
    font-size: 1rem;
    font-weight: 600;
    color: var(--blue-500);
}

.top-bar-menu[b-zq1ylc5cnv] {
    display: flex;
    align-items: stretch;
}

/* webadmin ".top-menu-container": 15px top / 10px sides / 10px bottom, whole-cell hover. */
.top-menu-item[b-zq1ylc5cnv] {
    display: flex;
    align-items: center;
    padding: 15px 10px 10px 10px;
    position: relative;
}

.top-menu-item:hover[b-zq1ylc5cnv] {
    background-color: rgb(238, 238, 238);
}

.top-menu-text[b-zq1ylc5cnv] {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}

/* domain = the small label row (inherits the top-bar gray-500). */
.top-menu-domain[b-zq1ylc5cnv] {
    padding: 0 10px;
}

/* location = the prominent row (webadmin .selected-location-name). */
.top-menu-location[b-zq1ylc5cnv] {
    font-size: 1.5em;
    color: #6c757d;
    height: 20px;
    padding: 0 10px;
}

.top-menu-username[b-zq1ylc5cnv] {
    padding: 0 10px;
}

/* ── Username dropdown ───────────────────────────────────────────────────── */

.top-menu-user[b-zq1ylc5cnv] {
    cursor: pointer;
}

.top-menu-trigger[b-zq1ylc5cnv] {
    display: flex;
    align-items: center;
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    font: inherit;
    color: inherit;
    cursor: pointer;
}

/* webadmin chevron: ".text-base" (1em bold black) + ".top-menu-chevron" (padding-left 10px). */
.top-menu-chevron[b-zq1ylc5cnv] {
    font-size: 1em;
    font-weight: bold;
    color: #000;
    padding-left: 10px;
}

/* webadmin "p-menu": flat gray, square, min-width 17rem, padding 0.7em 0, no shadow. */
.user-menu[b-zq1ylc5cnv] {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 17rem;
    background-color: var(--minor-gray);
    border-radius: 0;
    padding: 0.7em 0;
    box-shadow: none;
    z-index: 1001;
}

/* Static role line (this app's addition), sized to the menu items with a divider. */
.user-menu-role[b-zq1ylc5cnv] {
    display: flex;
    align-items: center;
    min-height: 30px;
    padding: 0 10px 0.4rem 10px;
    margin-bottom: 0.3rem;
    border-bottom: 1px solid var(--border-color-light);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--text-color-medium);
}

/* webadmin ".p-menu-item"/".p-menuitem-text": 14px, rgb(35,35,35), min-height 30px,
   padding 0 10px, 4px light-blue left border on hover (padding compensates so text holds). */
.user-menu-item[b-zq1ylc5cnv] {
    display: flex;
    align-items: center;
    min-height: 30px;
    padding: 0 10px;
    font-size: 14px;
    color: rgb(35, 35, 35);
    text-decoration: none;
    border-left: 4px solid transparent;
}

.user-menu-item:hover[b-zq1ylc5cnv] {
    padding-left: 6px;
    border-left-color: rgb(109, 198, 231);
    background: none;
    color: rgb(35, 35, 35);
}

/* Transparent full-screen catcher: a click anywhere outside the open menu closes it. */
.user-menu-backdrop[b-zq1ylc5cnv] {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: transparent;
}

/* ── Nav + content ───────────────────────────────────────────────────────── */

.main-nav[b-zq1ylc5cnv] {
    background-color: var(--minor-gray);
    border-bottom: 1px solid var(--border-color-light);
}

.content[b-zq1ylc5cnv] {
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
/* Primary nav matched to the Timeblockr admin "first-menu-row" / ".menu-options": full-width
   (no max-width), 12.8px text in rgb(35,35,35), items with margin:0 10px and a 4px bottom
   border that turns gray on hover and light-blue when active. The row's 5px padding plus each
   item's 10px margin puts the first item ~15px from the edge, aligned with the logo. */

.nav-menu[b-gjv1rwmbmn] {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0 5px;
    font-size: 0.8rem;
    line-height: 1.2;
}

[b-gjv1rwmbmn] .nav-link {
    display: inline-flex;
    align-items: center;
    height: 30px;
    line-height: 30px;
    margin: 0 10px;
    color: rgb(35, 35, 35);
    text-decoration: none;
    border-bottom: 4px solid transparent;
}

[b-gjv1rwmbmn] .nav-link:hover {
    border-bottom-color: var(--gray-500);
}

[b-gjv1rwmbmn] .nav-link.active {
    border-bottom-color: var(--shell-nav-active-underline);
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-1meh3druvl],
.components-reconnect-repeated-attempt-visible[b-1meh3druvl],
.components-reconnect-failed-visible[b-1meh3druvl],
.components-pause-visible[b-1meh3druvl],
.components-resume-failed-visible[b-1meh3druvl],
.components-rejoining-animation[b-1meh3druvl] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-1meh3druvl],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-1meh3druvl],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-1meh3druvl],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-1meh3druvl],
#components-reconnect-modal.components-reconnect-retrying[b-1meh3druvl],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-1meh3druvl],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-1meh3druvl],
#components-reconnect-modal.components-reconnect-failed[b-1meh3druvl],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-1meh3druvl] {
    display: block;
}


#components-reconnect-modal[b-1meh3druvl] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-1meh3druvl 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-1meh3druvl 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-1meh3druvl 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-1meh3druvl]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-1meh3druvl 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-1meh3druvl {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-1meh3druvl {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-1meh3druvl {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-1meh3druvl] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-1meh3druvl] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-1meh3druvl] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-1meh3druvl] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-1meh3druvl] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-1meh3druvl] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-1meh3druvl] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-1meh3druvl 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-1meh3druvl] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-1meh3druvl {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/Pages/LoginPage.razor.rz.scp.css */
.login-container[b-fr7xikzaxt] {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.login-card[b-fr7xikzaxt] {
    background: #ffffff;
    border-radius: 12px;
    padding: 2.5rem 2rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
    width: 100%;
    max-width: 420px;
}

.login-title[b-fr7xikzaxt] {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    color: #1e1e2d;
}

.login-subtitle[b-fr7xikzaxt] {
    font-size: 0.9rem;
    margin: 0;
}
