/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-rp00j30aij],
.components-reconnect-repeated-attempt-visible[b-rp00j30aij],
.components-reconnect-failed-visible[b-rp00j30aij],
.components-pause-visible[b-rp00j30aij],
.components-resume-failed-visible[b-rp00j30aij],
.components-rejoining-animation[b-rp00j30aij] {
    display: none;
}

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


#components-reconnect-modal[b-rp00j30aij] {
    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-rp00j30aij 0.5s both;
    &[open]

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

}

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

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

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

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

    100% {
        opacity: 1;
    }
}

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

    100% {
        opacity: 0;
    }
}

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

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

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

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

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

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

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

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

@keyframes components-rejoining-animation-b-rp00j30aij {
    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/UserMenu.razor.rz.scp.css */
.user-menu[b-y6zgwcavc3] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 8px;
    overflow: hidden;
    flex: 0 0 auto;
}

/* Účet (avatar + jméno/e-mail) je odkaz na /settings; celá šířka, text se ořezává. */
.user-menu[b-y6zgwcavc3]  .user-menu-account {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    padding: 8px;
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: background-color .15s ease;
}

.user-menu[b-y6zgwcavc3]  .user-menu-account:hover {
    background-color: rgba(255, 255, 255, 0.06);
}

.user-menu[b-y6zgwcavc3]  .user-menu-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.user-menu[b-y6zgwcavc3]  .user-menu-name {
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-menu[b-y6zgwcavc3]  .user-menu-email {
    color: #9a9a9a;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
/* /Components/Pages/Marketplace/Components/CargoAllocationEditor.razor.rz.scp.css */
.alloc-cargo-grid[b-5h9iu8v917] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 10px;
}

.alloc-card[b-5h9iu8v917] {
    border: 1px solid #3a3a3a;
    border-radius: 12px;
    padding: 10px 12px;
    background: linear-gradient(155deg, #2a2a2a, #242424);
    cursor: grab;
    transition: transform .12s ease, box-shadow .12s ease, opacity .12s ease;
    user-select: none;
}
.alloc-card:hover[b-5h9iu8v917] { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,0.35); }
.alloc-card:active[b-5h9iu8v917] { cursor: grabbing; }
.alloc-card.is-done[b-5h9iu8v917] { opacity: 0.55; cursor: default; }
.alloc-card.is-done:hover[b-5h9iu8v917] { transform: none; box-shadow: none; }

.alloc-card-head[b-5h9iu8v917] { display: flex; align-items: center; gap: 6px; margin-bottom: 4px; }
.alloc-card-name[b-5h9iu8v917] { font-weight: 600; color: #f0f0f0; flex: 1; line-height: 1.2; }
.alloc-card-meta[b-5h9iu8v917] { font-size: 0.76rem; color: #999; margin-bottom: 8px; min-height: 1em; }

.alloc-targets[b-5h9iu8v917] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 10px;
}

.alloc-target[b-5h9iu8v917] {
    border: 2px dashed #3a3a3a;
    border-radius: 12px;
    padding: 10px;
    min-height: 88px;
    background: #202020;
    transition: background .12s ease, border-style .12s ease;
}
.alloc-target.is-armed[b-5h9iu8v917] { background: #262b2b; border-style: solid; }

.alloc-target-head[b-5h9iu8v917] { display: flex; align-items: center; gap: 6px; font-weight: 700; margin-bottom: 6px; }
.alloc-target-empty[b-5h9iu8v917] { font-size: 0.78rem; color: #666; padding: 10px 0; text-align: center; }

.alloc-line[b-5h9iu8v917] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    background: #2c2c2c;
    border-radius: 8px;
    padding: 1px 2px 1px 10px;
    margin-bottom: 5px;
    color: #e8e8e8;
    font-size: 0.88rem;
}

.alloc-matrix-wrap[b-5h9iu8v917] { overflow-x: auto; }
.alloc-matrix[b-5h9iu8v917] { width: 100%; border-collapse: collapse; }
.alloc-matrix th[b-5h9iu8v917], .alloc-matrix td[b-5h9iu8v917] {
    padding: 5px 8px;
    text-align: center;
    border-bottom: 1px solid #303030;
}
.alloc-matrix th[b-5h9iu8v917] { font-size: 0.8rem; font-weight: 700; color: #cfcfcf; white-space: nowrap; }
.alloc-matrix-name[b-5h9iu8v917] { text-align: left !important; font-weight: 600; color: #eaeaea; white-space: nowrap; }
.alloc-matrix-rem[b-5h9iu8v917] { font-weight: 700; color: #5ba3d9; }

.alloc-stepper[b-5h9iu8v917] { display: inline-flex; align-items: center; gap: 2px; }
.alloc-stepper-val[b-5h9iu8v917] { min-width: 22px; text-align: center; font-weight: 700; color: #666; }
.alloc-stepper-val.has[b-5h9iu8v917] { color: #4ee0c4; }
/* /Components/Pages/Marketplace/Components/ListingStopEditor.razor.rz.scp.css */
.stop-row-inner[b-2lkzx1d022] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.stop-badge[b-2lkzx1d022] {
    flex: 0 0 auto;
    width: 26px;
    height: 26px;
    margin-top: 6px;
    border-radius: 50%;
    background: #333;
    color: #ddd;
    font-size: 0.78rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stop-fields[b-2lkzx1d022] {
    flex: 1;
    display: grid;
    grid-template-columns: minmax(130px, 1.2fr) 175px 160px minmax(120px, 1fr);
    gap: 8px;
}

.stop-actions[b-2lkzx1d022] {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
}

@media (max-width: 760px) {
    .stop-fields[b-2lkzx1d022] { grid-template-columns: 1fr 1fr; }
    .stop-place[b-2lkzx1d022] { grid-column: 1 / -1; }
    .stop-note[b-2lkzx1d022] { grid-column: 1 / -1; }
    .stop-actions[b-2lkzx1d022] { flex-direction: column; }
}
/* /Components/Pages/Onboarding/Onboarding.razor.rz.scp.css */
.ob-section[b-mzfhfs2bhb] {
    background: #202020;
    border: 1px solid #333;
    border-radius: 12px;
    padding: 16px 18px;
}

.ob-head[b-mzfhfs2bhb] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: #ececec;
    margin-bottom: 12px;
}

.ob-muted[b-mzfhfs2bhb] { color: #8f8f8f; font-size: 0.85rem; line-height: 1.4; }

.ob-invite[b-mzfhfs2bhb] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    background: #262626;
    border: 1px solid #383838;
    border-radius: 10px;
    margin-bottom: 8px;
}
.ob-invite:last-child[b-mzfhfs2bhb] { margin-bottom: 0; }
.ob-invite-name[b-mzfhfs2bhb] { font-weight: 600; color: #f0f0f0; }

/* „nebo" oddělovač */
.ob-or[b-mzfhfs2bhb] {
    display: flex;
    align-items: center;
    text-align: center;
    color: #777;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 18px 0;
}
.ob-or[b-mzfhfs2bhb]::before, .ob-or[b-mzfhfs2bhb]::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #383838;
}
.ob-or span[b-mzfhfs2bhb] { padding: 0 14px; }

.ob-ico-row[b-mzfhfs2bhb] {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    flex-wrap: wrap;
}
.ob-ico-row > .mud-input-control[b-mzfhfs2bhb] { flex: 1; min-width: 160px; }

.ob-company[b-mzfhfs2bhb] {
    background: #262626;
    border: 1px solid #383838;
    border-radius: 10px;
    padding: 12px 14px;
}
.ob-company-name[b-mzfhfs2bhb] { font-weight: 700; color: #f2f2f2; font-size: 1.05rem; }

.ob-tiers[b-mzfhfs2bhb] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
    margin-top: 8px;
}
.ob-tier[b-mzfhfs2bhb] {
    border: 2px solid #3a3a3a;
    border-radius: 12px;
    padding: 12px;
    cursor: pointer;
    transition: border-color .12s ease, background .12s ease, transform .12s ease;
    background: #242424;
}
.ob-tier:hover[b-mzfhfs2bhb] { transform: translateY(-2px); border-color: #4a4a4a; }
.ob-tier.selected[b-mzfhfs2bhb] {
    border-color: #21a894;
    background: linear-gradient(155deg, #22322f, #202826);
}
.ob-tier-name[b-mzfhfs2bhb] { font-weight: 700; color: #f0f0f0; }
.ob-tier-price[b-mzfhfs2bhb] { font-size: 1.2rem; font-weight: 700; color: #4ee0c4; margin: 4px 0 6px; }
.ob-tier-per[b-mzfhfs2bhb] { font-size: 0.75rem; color: #8f8f8f; font-weight: 500; margin-left: 2px; }

.ob-solo[b-mzfhfs2bhb] { background: #1d1d1d; border-style: dashed; }

.ob-logout[b-mzfhfs2bhb] { text-align: center; margin-top: 20px; }
.ob-logout-btn[b-mzfhfs2bhb] {
    background: none;
    border: none;
    color: #8f8f8f;
    font-size: 0.85rem;
    cursor: pointer;
    text-decoration: underline;
    padding: 4px;
}
.ob-logout-btn:hover[b-mzfhfs2bhb] { color: #cfcfcf; }
/* /Components/Shared/AuthShell.razor.rz.scp.css */
.auth-root[b-z8n0135du9] {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    background-color: #171717;
    color: #e8e8e8;
}

/* ---------- Hero panel (vlevo) ---------- */
.auth-hero[b-z8n0135du9] {
    flex: 0 0 46%;
    max-width: 560px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    background: linear-gradient(150deg, #0f3b5c 0%, #12707f 52%, #1aa88f 100%);
}

.auth-hero[b-z8n0135du9]::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(closest-side at 78% 18%, rgba(255,255,255,0.14), transparent),
        radial-gradient(closest-side at 12% 88%, rgba(255,255,255,0.10), transparent);
    pointer-events: none;
}

.auth-hero-inner[b-z8n0135du9] {
    position: relative;
    padding: 56px 52px;
    width: 100%;
}

.auth-brand[b-z8n0135du9] {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 40px;
}

.auth-logo[b-z8n0135du9] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 11px;
    background: rgba(255,255,255,0.16);
    color: #fff;
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
}

.auth-brand-name[b-z8n0135du9] {
    color: #fff;
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.auth-illustration[b-z8n0135du9] {
    width: 100%;
    max-width: 340px;
    margin: 8px 0 28px;
}

.auth-illustration svg[b-z8n0135du9] { width: 100%; height: auto; display: block; }

.auth-tagline[b-z8n0135du9] {
    color: #fff;
    font-size: 1.6rem;
    line-height: 1.28;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0 0 28px;
    max-width: 15em;
}

.auth-points[b-z8n0135du9] {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.auth-points li[b-z8n0135du9] {
    position: relative;
    padding-left: 30px;
    color: rgba(255,255,255,0.9);
    font-size: 0.95rem;
    line-height: 1.4;
}

.auth-points li[b-z8n0135du9]::before {
    content: "";
    position: absolute;
    left: 0;
    top: 2px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(255,255,255,0.18);
    box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.55);
}

.auth-points li[b-z8n0135du9]::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 8px;
    width: 6px;
    height: 3px;
    border-left: 1.6px solid #eafff9;
    border-bottom: 1.6px solid #eafff9;
    transform: rotate(-45deg);
}

/* ---------- Formulářová strana (vpravo) ---------- */
.auth-main[b-z8n0135du9] {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
}

.auth-card[b-z8n0135du9] {
    width: 100%;
    max-width: 400px;
}

.auth-card.auth-card-wide[b-z8n0135du9] {
    max-width: 560px;
}

.auth-toggle[b-z8n0135du9] {
    display: flex;
    padding: 4px;
    gap: 4px;
    background: #232323;
    border: 1px solid #333;
    border-radius: 12px;
    margin-bottom: 28px;
}

.auth-tab[b-z8n0135du9] {
    flex: 1;
    text-align: center;
    padding: 9px 12px;
    border-radius: 9px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #a5a5a5;
    text-decoration: none;
    transition: background-color .15s ease, color .15s ease;
}

.auth-tab:hover[b-z8n0135du9] { color: #e0e0e0; }

.auth-tab-active[b-z8n0135du9] {
    background: linear-gradient(135deg, #2f8fd0, #21a894);
    color: #fff;
    box-shadow: 0 2px 10px rgba(33,168,148,0.28);
}

.auth-head[b-z8n0135du9] { margin-bottom: 22px; }

.auth-title[b-z8n0135du9] {
    margin: 0;
    font-size: 1.55rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #f2f2f2;
}

.auth-subtitle[b-z8n0135du9] {
    margin: 6px 0 0;
    font-size: 0.92rem;
    color: #9a9a9a;
}

.auth-switch[b-z8n0135du9] {
    margin-top: 24px;
    text-align: center;
    font-size: 0.9rem;
    color: #9a9a9a;
}

.auth-switch a[b-z8n0135du9] {
    color: #5ba3d9;
    font-weight: 600;
    text-decoration: none;
    margin-left: 4px;
}

.auth-switch a:hover[b-z8n0135du9] { text-decoration: underline; }

/* ---------- Formulářové prvky uvnitř karty (z Login/Register) ---------- */
.auth-card[b-z8n0135du9]  .auth-form-actions { margin-top: 4px; }

.auth-card[b-z8n0135du9]  .mud-button-root {
    padding-top: 11px;
    padding-bottom: 11px;
    border-radius: 10px;
    font-weight: 600;
    text-transform: none;
    font-size: 0.98rem;
}

.auth-card[b-z8n0135du9]  .auth-submit {
    background: linear-gradient(135deg, #2f8fd0, #21a894);
    box-shadow: 0 4px 16px rgba(33,168,148,0.3);
}

.auth-card[b-z8n0135du9]  .auth-remember {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #b8b8b8;
    font-size: 0.875rem;
    user-select: none;
}

.auth-card[b-z8n0135du9]  .auth-remember input { accent-color: #21a894; width: 16px; height: 16px; }

/* Odkazy uvnitř formulářů předaných jako obsah (zapomenuté heslo, zpět na přihlášení). */
.auth-card[b-z8n0135du9]  .auth-link {
    color: #5ba3d9;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.875rem;
}

.auth-card[b-z8n0135du9]  .auth-link:hover { text-decoration: underline; }

.auth-card[b-z8n0135du9]  .auth-switch {
    margin-top: 24px;
    text-align: center;
    font-size: 0.9rem;
    color: #9a9a9a;
}

.auth-card[b-z8n0135du9]  .auth-switch a {
    color: #5ba3d9;
    font-weight: 600;
    text-decoration: none;
}

.auth-card[b-z8n0135du9]  .auth-switch a:hover { text-decoration: underline; }

/*
 * Oprava překrývání při autofillu: prohlížeč předvyplní pole, ale neodešle input/focus
 * událost, takže MudBlazor nepřidá .mud-shrink a plovoucí popisek zůstane přes text.
 * Vynutíme stejné stavy přes :has(input:-webkit-autofill).
 */
.auth-card[b-z8n0135du9]  .mud-input:has(input:-webkit-autofill) ~ label.mud-input-label.mud-input-label-outlined,
.auth-card[b-z8n0135du9]  .mud-input:has(input:autofill) ~ label.mud-input-label.mud-input-label-outlined {
    transform: translate(14px, -6px) scale(0.75);
    max-width: calc((100% - 14px) / .75);
}

.auth-card[b-z8n0135du9]  .mud-input.mud-input-outlined:has(input:-webkit-autofill) > .mud-input-outlined-border legend,
.auth-card[b-z8n0135du9]  .mud-input.mud-input-outlined:has(input:autofill) > .mud-input-outlined-border legend {
    width: auto;
    padding: 0 5px;
}

/* ---------- Responsivní: mobil ---------- */
@media (max-width: 900px) {
    .auth-root[b-z8n0135du9] { flex-direction: column; }

    .auth-hero[b-z8n0135du9] {
        flex: 0 0 auto;
        max-width: none;
        align-items: stretch;
    }

    .auth-hero-inner[b-z8n0135du9] { padding: 26px 24px 30px; }
    .auth-brand[b-z8n0135du9] { margin-bottom: 18px; }
    .auth-illustration[b-z8n0135du9], .auth-points[b-z8n0135du9] { display: none; }

    .auth-tagline[b-z8n0135du9] {
        font-size: 1.15rem;
        margin: 0;
        max-width: none;
    }

    .auth-main[b-z8n0135du9] { padding: 28px 20px 40px; }
    .auth-toggle[b-z8n0135du9] { margin-bottom: 22px; }
}
