@import '_content/Microsoft.FluentUI.AspNetCore.Components/Microsoft.FluentUI.AspNetCore.Components.lcdo7z9xd2.bundle.scp.css';

/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-0e0b0rvlib] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-0e0b0rvlib] {
    flex: 1;
}

.sidebar[b-0e0b0rvlib] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-0e0b0rvlib] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-0e0b0rvlib]  a, .top-row[b-0e0b0rvlib]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-0e0b0rvlib]  a:hover, .top-row[b-0e0b0rvlib]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-0e0b0rvlib]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-0e0b0rvlib] {
        justify-content: space-between;
    }

    .top-row[b-0e0b0rvlib]  a, .top-row[b-0e0b0rvlib]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-0e0b0rvlib] {
        flex-direction: row;
    }

    .sidebar[b-0e0b0rvlib] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-0e0b0rvlib] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-0e0b0rvlib]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-0e0b0rvlib], article[b-0e0b0rvlib] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

/* Dark theme overrides */
:root[b-0e0b0rvlib] {
    --bg: #0b1220;
    --panel: #0f1724;
    --text: #e6eef8;
    --muted: #9aa5b1;
    --accent: #5b86ff;
}

.page[b-0e0b0rvlib] {
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
}

/* No-sidebar layout specifics */
.no-sidebar-layout .app-header[b-0e0b0rvlib] {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem 0.5rem;
}

.no-sidebar-layout .app-logo[b-0e0b0rvlib] {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.6);
}

.content-container[b-0e0b0rvlib] {
    max-width: 760px; /* suitable for 9" tablet */
    margin: 0 auto;
    padding: 1.5rem;
}

h3[b-0e0b0rvlib], .worker-info[b-0e0b0rvlib] {
    text-align: center;
}

.button-row[b-0e0b0rvlib] {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1rem;
}

.btn-primary.btn-xl[b-0e0b0rvlib] {
    padding: 1rem 1.5rem;
    font-size: 1.25rem;
}

.btn-repeat[b-0e0b0rvlib] {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.btn-logout[b-0e0b0rvlib] {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.08);
    color: var(--text);
}

.modal-content[b-0e0b0rvlib] {
    background: var(--panel);
    color: var(--text);
}

input.form-control[b-0e0b0rvlib] {
    background: transparent;
    color: var(--text);
    border: 1px solid #26323c;
}

.alert-info[b-0e0b0rvlib] {
    background: #071022;
    color: var(--muted);
    border: 1px solid #1b2b34;
}

/* Make blazor error UI subtle and dark */
#blazor-error-ui[b-0e0b0rvlib] {
    color: var(--text);
    background: rgba(15, 23, 36, 0.95);
    bottom: 0;
    box-shadow: 0 -1px 6px rgba(0, 0, 0, 0.6);
    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-0e0b0rvlib] {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-0dytiel7rh] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: white;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(255, 255, 255, 0.1);
}

.navbar-toggler:checked[b-0dytiel7rh] {
    background-color: rgba(255, 255, 255, 0.5);
}

.top-row[b-0dytiel7rh] {
    min-height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-0dytiel7rh] {
    font-size: 1.1rem;
}

.bi[b-0dytiel7rh] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-0dytiel7rh] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-0dytiel7rh] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-0dytiel7rh] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.nav-item[b-0dytiel7rh] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-0dytiel7rh] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-0dytiel7rh] {
        padding-bottom: 1rem;
    }

    .nav-item[b-0dytiel7rh]  .nav-link {
        color: #d7d7d7;
        background: none;
        border: none;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
        width: 100%;
    }

.nav-item[b-0dytiel7rh]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-0dytiel7rh]  .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.nav-scrollable[b-0dytiel7rh] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-0dytiel7rh] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-0dytiel7rh] {
        display: none;
    }

    .nav-scrollable[b-0dytiel7rh] {
        /* Never collapse the sidebar for wide screens */
        display: block;

        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Components/Layout/NoSidebarLayout.razor.rz.scp.css */
:global(html, body)[b-leqqin724k] {
    margin: 0;
    background-color: #f5f5f5;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.page[b-leqqin724k] {
    min-height: 100vh;
    background: #f5f5f5;
}

.content-container[b-leqqin724k] {
    max-width: 760px;
    margin: 0 auto;
    padding: 1.5rem 1rem;
}
.no-sidebar-layout .app-logo[b-leqqin724k] {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.6);
    margin-left: 1rem;
}

/* Titles provided by pages (position them next to logo) */
.page-title[b-leqqin724k],
.page-subtitle[b-leqqin724k] {
    position: absolute;
    left: 100px; /* place to the right of the logo */
    top: 18px;
    margin: 0;
    color: var(--text);
    text-align: left;
}

.page-subtitle[b-leqqin724k] {
    top: 38px;
    font-size: 0.95rem;
    color: #d1d5d9;
}

/* Ensure titles are visible above other content */
.page-title[b-leqqin724k], .page-subtitle[b-leqqin724k] {
    z-index: 10;
}

.content-container[b-leqqin724k] {
    max-width: 760px;
    margin: 0 auto;
    padding: 1.5rem;
}

/* Make sure the h3 inside page does not take normal flow space */
.content-container .page-title[b-leqqin724k],
.content-container .page-subtitle[b-leqqin724k] {
    display: block;
    height: 0;
    overflow: visible;
}
/* /Components/Pages/Registrace.razor.rz.scp.css */
/* ── Top bar: logo vlevo, jazyky vpravo ─────────────────────────────────── */
.reg-topbar[b-3ae7hzvhei] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* ── Language bar ─────────────────────────────────────────────────────────── */
.lang-bar[b-3ae7hzvhei] {
    display: flex;
    gap: 0.25rem;
    flex-wrap: wrap;
}

    .lang-bar .fi[b-3ae7hzvhei] {
        vertical-align: middle;
        font-size: 1.1em;
        line-height: 1;
    }

.reg-logo[b-3ae7hzvhei] {
    height: 60pt;
    width: auto;
    object-fit: contain;
}

.reg-title[b-3ae7hzvhei] {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0 0 1.25rem 0;
}

/* ── Cards ────────────────────────────────────────────────────────────────── */
.reg-card[b-3ae7hzvhei] {
    margin-bottom: 1.25rem !important;
    padding: 1.25rem 1.5rem !important;
    overflow: visible !important;
    position: relative;
}

.insurance-card[b-3ae7hzvhei] {
    overflow: visible !important;
    position: relative;
    z-index: 2000;
}

.section-title[b-3ae7hzvhei] {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 1rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #1a3a6b;
    color: #1a3a6b;
}

/* ── Grid layout ──────────────────────────────────────────────────────────── */
.reg-grid[b-3ae7hzvhei] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 0.75rem 1rem;
    overflow: visible;
    position: relative;
}

.reg-field[b-3ae7hzvhei] {
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: visible;
}

.reg-field-small[b-3ae7hzvhei] {
    max-width: 160px;
}

.reg-field-wide[b-3ae7hzvhei] {
    grid-column: 1 / -1;
}

    /* běžné fluent-select */
    .reg-field fluent-select[b-3ae7hzvhei],
    .reg-field-wide fluent-select[b-3ae7hzvhei] {
        width: 100%;
        display: block;
    }

/* pojišťovna musí být nad ostatními prvky */
.insurance-card .reg-grid[b-3ae7hzvhei] {
    overflow: visible !important;
    position: relative;
    z-index: 2001;
}

.insurance-card .reg-field[b-3ae7hzvhei] {
    overflow: visible !important;
    position: relative;
}

    .insurance-card .reg-field.reg-field-wide[b-3ae7hzvhei] {
        z-index: 2100;
    }

        .insurance-card .reg-field.reg-field-wide fluent-select[b-3ae7hzvhei] {
            position: relative;
            z-index: 2101;
        }

/* ── Labels & date inputs ─────────────────────────────────────────────────── */
.fluent-label[b-3ae7hzvhei] {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--neutral-foreground-rest);
    margin-bottom: 4px;
    display: block;
}

.reg-date[b-3ae7hzvhei] {
    height: 32px;
    border: 1px solid var(--neutral-stroke-input-rest, #ccc);
    border-radius: 4px;
    padding: 0 8px;
    font-size: 0.9rem;
    background: var(--fill-color, #fff);
    color: var(--neutral-foreground-rest);
    width: 100%;
    box-sizing: border-box;
}

    .reg-date:focus[b-3ae7hzvhei] {
        outline: 2px solid #1a3a6b;
        outline-offset: 1px;
    }

/* ── File upload ──────────────────────────────────────────────────────────── */
.reg-upload[b-3ae7hzvhei] {
    margin-top: 0.75rem;
}

.reg-file-input[b-3ae7hzvhei] {
    display: block;
    margin-top: 4px;
    font-size: 0.85rem;
    width: 100%;
}

/* ── Checkbox row ─────────────────────────────────────────────────────────── */
.reg-checkbox-row[b-3ae7hzvhei] {
    margin-bottom: 0.75rem;
    --accent-fill-rest: #1a3a6b;
    --accent-fill-hover: #254f96;
    --accent-fill-active: #0f2548;
    --accent-fill-focus: #1a3a6b;
}

/* ── Submit button ────────────────────────────────────────────────────────── */
.reg-submit-btn[b-3ae7hzvhei] {
    display: block;
    width: 100%;
    height: 48px;
    font-size: 1rem;
    margin-bottom: 2rem;
}

/* ── Country code hint ────────────────────────────────────────────────────── */
.country-hint[b-3ae7hzvhei] {
    display: block;
    font-size: 0.78rem;
    font-weight: 500;
    color: #1a3a6b;
    margin-top: 3px;
    min-height: 1em;
}

/* ── Invalid country code ─────────────────────────────────────────────────── */
.reg-code-invalid[b-3ae7hzvhei] {
    --neutral-stroke-input-rest: #d13438;
    --neutral-stroke-input-hover: #d13438;
    --neutral-stroke-input-active: #d13438;
    --neutral-stroke-input-focus-within: #d13438;
}

    .reg-code-invalid fluent-text-field[b-3ae7hzvhei] {
        box-shadow: 0 0 0 1.5px #d13438;
        border-radius: 4px;
    }

/* ── Validation errors ────────────────────────────────────────────────────── */
.reg-errors[b-3ae7hzvhei] {
    margin: 0;
    padding-left: 1.2rem;
}

/* ── Success ──────────────────────────────────────────────────────────────── */
.reg-success[b-3ae7hzvhei] {
    text-align: center;
    padding: 3rem 1rem;
}

.reg-success-icon[b-3ae7hzvhei] {
    font-size: 4rem;
    color: #28a745;
    margin-bottom: 1rem;
}

.reg-success p[b-3ae7hzvhei] {
    font-size: 1.3rem;
    font-weight: 500;
}

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 560px) {
    .reg-grid[b-3ae7hzvhei] {
        grid-template-columns: 1fr;
    }

    .reg-field-small[b-3ae7hzvhei] {
        max-width: 100%;
    }

    .reg-topbar[b-3ae7hzvhei] {
        flex-direction: column;
        align-items: flex-start;
    }
}
