/* /Components/Layout/AuthLayout.razor.rz.scp.css */
.auth-split[b-d1tdy06fn5] {
    min-height: 100vh;
    display: flex;
}

.auth-left[b-d1tdy06fn5] {
    flex: 1 1 58%;
    display: flex;
    flex-direction: column;
    background: #fff;
    padding: 16px 24px;
}

.auth-logo[b-d1tdy06fn5] {
    align-self: flex-start;
}

.auth-form[b-d1tdy06fn5] {
    flex: 1;
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-bottom: 48px;
}

.auth-form[b-d1tdy06fn5]  h1 {
    text-align: center;
}

.auth-right[b-d1tdy06fn5] {
    position: relative;
    flex: 1 1 42%;
    display: flex;
    align-items: center;
    padding: 48px;
    color: #fff;
    background: linear-gradient(160deg, var(--auth-panel-start) 0%, var(--auth-panel-end) 100%);
}

.auth-topbar[b-d1tdy06fn5] {
    position: absolute;
    top: 16px;
    right: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.auth-lang[b-d1tdy06fn5] {
    width: auto;
}

.auth-panel-title[b-d1tdy06fn5] {
    font-size: 2rem;
    font-weight: 700;
    max-width: 420px;
}

.auth-panel-sub[b-d1tdy06fn5] {
    max-width: 420px;
    opacity: .85;
}

/* The version history page is wide. */
.auth-form:has(.build-history)[b-d1tdy06fn5] {
    max-width: 50vw;
}

@media (max-width: 800px) {
    .auth-right[b-d1tdy06fn5] { display: none; }
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
.app-shell[b-7mcgvwvpuy] {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: #f5f7fa;
}

.app-content[b-7mcgvwvpuy] {
    flex: 1;
    max-width: 1400px;
}

#blazor-error-ui[b-7mcgvwvpuy] {
    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-7mcgvwvpuy] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-s9asvgwnp5],
.components-reconnect-repeated-attempt-visible[b-s9asvgwnp5],
.components-reconnect-failed-visible[b-s9asvgwnp5],
.components-pause-visible[b-s9asvgwnp5],
.components-resume-failed-visible[b-s9asvgwnp5],
.components-rejoining-animation[b-s9asvgwnp5] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-s9asvgwnp5],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-s9asvgwnp5],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-s9asvgwnp5],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-s9asvgwnp5],
#components-reconnect-modal.components-reconnect-retrying[b-s9asvgwnp5],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-s9asvgwnp5],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-s9asvgwnp5],
#components-reconnect-modal.components-reconnect-failed[b-s9asvgwnp5],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-s9asvgwnp5] {
    display: block;
}


#components-reconnect-modal[b-s9asvgwnp5] {
    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-s9asvgwnp5 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-s9asvgwnp5 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-s9asvgwnp5 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-s9asvgwnp5]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-s9asvgwnp5 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-s9asvgwnp5 {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-s9asvgwnp5 {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-s9asvgwnp5 {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-s9asvgwnp5] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-s9asvgwnp5] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-s9asvgwnp5] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-s9asvgwnp5] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-s9asvgwnp5] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-s9asvgwnp5] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-s9asvgwnp5] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-s9asvgwnp5 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-s9asvgwnp5] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-s9asvgwnp5 {
    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/Layout/TopMenu.razor.rz.scp.css */
.topbar[b-dc5x6m7h00] {
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 6px rgba(0,0,0,.12);
}

/* Top row: the clinic's logo and name, and the user. */
.brandbar[b-dc5x6m7h00] {
    /* above the (positioned) menu bar below it, or the user's dropdown opens underneath it */
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 14px;
    background: #fff;
    border-bottom: 1px solid #dde5ea;
    padding: 8px 20px;
}

.brand[b-dc5x6m7h00] {
    color: #0d4f6c;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.brand-name[b-dc5x6m7h00] {
    font-size: 1.3rem;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.clinic-logo[b-dc5x6m7h00] { height: 44px; max-width: 120px; object-fit: contain; background: #fff; border: 1px solid #dde5ea; border-radius: 4px; padding: 2px; }

.user-link[b-dc5x6m7h00] {
    display: flex;
    align-items: center;
    color: #1d2b33;
    cursor: pointer;
    white-space: nowrap;
    padding: 6px 4px;
}

.avatar[b-dc5x6m7h00] {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #e3f0f6;
    color: #0d4f6c;
    font-size: .72rem;
    font-weight: 700;
    margin-right: 8px;
}

/* Bottom row: the menu buttons. */
.menubar[b-dc5x6m7h00] {
    background: #0d4f6c;
    padding: 0 12px;
}

.menu[b-dc5x6m7h00] {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
}

.menu-right[b-dc5x6m7h00] {
    margin-left: auto;
}

.menu > li[b-dc5x6m7h00] {
    position: relative;
    display: flex;
    align-items: stretch;
}

[b-dc5x6m7h00] .menu-link {
    color: #e6f2f7;
    text-decoration: none;
    font-weight: 500;
    min-height: 44px;
    padding: 0 16px;
    display: flex;
    align-items: center;
    cursor: pointer;
    white-space: nowrap;
    border-top: 3px solid transparent;
    border-bottom: 3px solid transparent;
    transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .1s ease;
}

    [b-dc5x6m7h00] .menu-link:hover, .menu-group:not(.menu-mega):focus-within > .menu-link[b-dc5x6m7h00], .menu-mega.menu-open > .menu-link[b-dc5x6m7h00] {
        background: rgba(255,255,255,.1);
        color: #fff;
    }

    [b-dc5x6m7h00] .menu-link.active {
        background: rgba(255,255,255,.08);
        color: #fff;
        border-bottom-color: #f2b544;
    }

    [b-dc5x6m7h00] .menu-link:active {
        transform: scale(.95);
    }

[b-dc5x6m7h00] .menu-icon {
    width: 18px;
    height: 18px;
    flex: none;
    margin-right: 7px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform .2s ease;
}

    [b-dc5x6m7h00] .menu-link:hover .menu-icon {
        transform: translateY(-2px) scale(1.1);
    }

.caret[b-dc5x6m7h00] {
    display: inline-block;
    font-size: .7rem;
    margin-left: 4px;
    opacity: .8;
    transition: transform .2s ease;
}

.menu-group:not(.menu-mega):hover .caret[b-dc5x6m7h00], .menu-group:not(.menu-mega):focus-within .caret[b-dc5x6m7h00], .menu-mega.menu-open .caret[b-dc5x6m7h00] {
    transform: rotate(180deg);
}

/* Dropdowns fade and slide in; visibility (not display) so the transition can run. */
.submenu[b-dc5x6m7h00] {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: #fff;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 10px 24px rgba(0,0,0,.18);
    list-style: none;
    padding: 6px 0;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
}

.submenu-right[b-dc5x6m7h00] {
    left: auto;
    right: 0;
    border-radius: 8px;
}

/* Configurare (menu-mega) opens only on click (App.razor adds menu-open); the other menus open on hover. */
.menu-group:not(.menu-mega):hover > .submenu[b-dc5x6m7h00], .menu-group:not(.menu-mega):focus-within > .submenu[b-dc5x6m7h00], .menu-mega.menu-open > .submenu[b-dc5x6m7h00] {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity .18s ease, transform .18s ease;
}

[b-dc5x6m7h00] .submenu-link {
    display: block;
    padding: 7px 16px;
    color: #1d2b33;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color .15s ease, padding-left .15s ease;
}

    [b-dc5x6m7h00] .submenu-link:hover, [b-dc5x6m7h00] .submenu-link.active {
        background: #e8f3f8;
        color: #0d4f6c;
    }

    [b-dc5x6m7h00] .submenu-link:hover {
        padding-left: 20px;
    }

.as-link[b-dc5x6m7h00] {
    background: none;
    border: 0;
    width: 100%;
    text-align: left;
}

@media (max-width: 720px) {
    .brandbar[b-dc5x6m7h00] {
        padding: 6px 12px;
    }

    .brand-name[b-dc5x6m7h00] {
        font-size: 1.05rem;
    }

    .clinic-logo[b-dc5x6m7h00] {
        height: 32px;
    }

    .menu[b-dc5x6m7h00] {
        width: 100%;
    }

    .menu-right[b-dc5x6m7h00] {
        width: auto;
    }

    .menu-group:not(.menu-mega):not(:hover):not(:focus-within) > .submenu[b-dc5x6m7h00], .menu-mega:not(.menu-open) > .submenu[b-dc5x6m7h00] {
        display: none;
    }

    .submenu[b-dc5x6m7h00] {
        position: static;
        box-shadow: none;
        border-radius: 0;
    }

    .submenu-right[b-dc5x6m7h00] {
        position: absolute;
        box-shadow: 0 10px 24px rgba(0,0,0,.18);
    }
}

@media (prefers-reduced-motion: reduce) {
    .topbar *[b-dc5x6m7h00], [b-dc5x6m7h00] .menu-link, [b-dc5x6m7h00] .menu-icon, [b-dc5x6m7h00] .submenu-link {
        transition: none !important;
        transform: none !important;
    }
}

/* Screens not migrated yet: dimmed and italic, so progress is visible while browsing. */
[b-dc5x6m7h00] .menu-link.todo {
    color: #8db4c5;
    font-style: italic;
}

[b-dc5x6m7h00] .submenu-link.todo {
    color: #8a979f;
    font-style: italic;
}

[b-dc5x6m7h00] .todo-badge {
    font-style: normal;
    font-size: .7rem;
    background: #eef1f3;
    color: #6c7a83;
    border-radius: 8px;
    padding: 1px 6px;
    margin-left: 6px;
}

/* Sub-group heading inside a dropdown (e.g. Configurare / General). */
.submenu-header[b-dc5x6m7h00] {
    padding: .45rem .9rem .15rem;
    font-size: .72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .03em;
    color: #6b7a84;
}
.submenu-header:not(:first-child)[b-dc5x6m7h00] { border-top: 1px solid #e3e8ec; margin-top: .25rem; }

/* Configurare: a panel under the menu bar, one column per group (General, Meniu, Cabinet & Tehnician, ...), each column
   as wide as its texts, 9 characters apart; columns wrap when the screen is narrow. */
.menubar[b-dc5x6m7h00] { position: relative; }
.menu > li.menu-mega[b-dc5x6m7h00] { position: static; }
.submenu-columns[b-dc5x6m7h00] {
    left: 12px;
    width: max-content;
    max-width: calc(100% - 24px);
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 4px 9ch;
    padding: 8px 6px 10px;
    max-height: calc(100vh - 140px);
    overflow-y: auto;
    border-radius: 0 0 8px 8px;
}
/* Dark, so it stands out from the page behind it; the shade of the open Configurare button (the bar with 10% white on it). */
.submenu-columns[b-dc5x6m7h00] { background: #25617b; }
.submenu-col[b-dc5x6m7h00] { list-style: none; margin: 0; padding: 0; }
.submenu-col .submenu-header[b-dc5x6m7h00] { border-top: 0; margin-top: 0; border-bottom: 1px solid rgba(255,255,255,.3); margin-bottom: 2px; color: #d9ebf2; }
.submenu-columns[b-dc5x6m7h00]  .submenu-link { color: #fff; }
.submenu-columns[b-dc5x6m7h00]  .submenu-link:hover, .submenu-columns[b-dc5x6m7h00]  .submenu-link.active { background: rgba(255,255,255,.16); color: #fff; }
.submenu-columns[b-dc5x6m7h00]  .submenu-link.todo { color: #c2dbe6; }
/* In the columns nothing may change size on hover: the padding-left slide animates over 150 ms (the right padding did
   not), so the widest entry's width trembled and moved the columns beside it. Here a hover only colours the entry. */
.submenu-columns[b-dc5x6m7h00]  .submenu-link,
.submenu-columns[b-dc5x6m7h00]  .submenu-link:hover { padding: 7px 16px; transition: background-color .15s ease; }

/* A dropdown closes once an entry is chosen (App.razor adds menu-closed), even while the mouse is still over it. */
.menu-group.menu-closed > .submenu[b-dc5x6m7h00] { opacity: 0; visibility: hidden; transform: translateY(-8px); transition: none; }
