@import '_content/SO.Blazorful.Bootstrap/SO.Blazorful.Bootstrap.sdxx4q3xnf.bundle.scp.css';

/* /Pages/Portal/Index.razor.rz.scp.css */
/* Scoped to Index.razor (the parent dashboard). The status badges are shared with
   RegistrationDetail.razor and live in wwwroot/app.css. */

.dash-head[b-jjegkr81y0] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.dash-head h1[b-jjegkr81y0] {
    font-size: 1.5rem;
    color: var(--pa-petrol);
    margin: 0;
}

.btn-new[b-jjegkr81y0] {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    padding: .3rem .7rem;
    font-size: .9rem;
    color: var(--pa-petrol);
    background: #fff;
    border: 1px solid var(--pa-petrol);
    border-radius: 6px;
    text-decoration: none;
}

.btn-new:hover[b-jjegkr81y0] {
    background: var(--pa-petrol);
    color: #fff;
}

.btn-new .plus[b-jjegkr81y0] {
    font-size: 1.1em;
    line-height: 1;
}

/* The registration card itself (.reg-list / .reg-card / …) is shared with the back-office overview and
   lives in wwwroot/app.css. Only the dashboard's own spacing stays here — the list follows the heading
   directly, whereas the back-office list follows a filter card that already carries a margin. */
.reg-list[b-jjegkr81y0] {
    margin-top: 1.5rem;
}

.empty[b-jjegkr81y0] {
    color: var(--muted);
    margin: 1.5rem 0;
}
/* /Pages/Portal/PortalLayout.razor.rz.scp.css */
/* Scoped to PortalLayout.razor — the portal shell. Everything else here is Bootstrap: the header is a
   .navbar, so only the page width, the brand rule and the icon-link tuning stay bespoke. */

.portal-shell[b-ysu97a6sop] {
    max-width: 60rem;
    margin: 0 auto;
    padding: 1.5rem 1rem 3rem;
}

/* The green rule under the header is the portal's most recognisable brand element. */
.portal-header[b-ysu97a6sop] {
    padding: 0 0 1rem;
    margin-bottom: 1.5rem;
    border-bottom: 3px solid var(--pa-green);
}

.portal-header .brand-logo[b-ysu97a6sop] {
    height: 2.25rem;
    width: auto;
}

.portal-header .realm[b-ysu97a6sop] {
    font-size: 0.95rem;
}

.portal-header .portal-account-name[b-ysu97a6sop] {
    font-size: 0.9rem;
}

.portal-footer[b-ysu97a6sop] {
    margin-top: 3rem;
    padding-top: 1rem;
    border-top: 1px solid var(--bs-border-color);
    color: var(--bs-secondary-color);
}

/* Collapsed menu: the links stack, so give them a little breathing room and left-align the labels. */
@media (max-width: 575.98px) {
    .portal-header .navbar-collapse[b-ysu97a6sop] {
        padding-top: 0.5rem;
    }

    .portal-header .portal-account-name[b-ysu97a6sop] {
        display: block;
        padding-top: 0.5rem;
    }
}
/* /Pages/Portal/Profile.razor.rz.scp.css */
/* Master data (/portal/profile). Page-specific, so scoped to the component rather than living in the
   Server's app.css — only vocabulary that two components must share belongs there.
   The form controls themselves are Bootstrap (.form-label / .form-control / .input-group). */

/* No width of its own: the page fills the portal shell (.portal-shell caps it at 60rem and centres it),
   like every other portal page. A second, narrower cap here made this one page look misaligned. */

/* A plain bordered block per topic (Adresse, Vertragspartner, Kinder). Deliberately lighter than a
   Bootstrap .card: these stack tightly and carry forms, not summaries. */
.profile-section[b-41f5vnuc4f] {
    border: 1px solid var(--line);
    border-radius: 0.5rem;
    padding: 1rem 1.25rem;
    margin: 1rem 0;
}

.profile-section h2[b-41f5vnuc4f] {
    margin: 0 0 0.75rem;
    font-size: 1.15rem;
    color: var(--pa-petrol);
}

.profile-section h3[b-41f5vnuc4f] {
    margin: 1rem 0 0.5rem;
    font-size: 0.95rem;
}

/* Compact label scale, matching the wizard and the admin forms. */
.profile .form-label[b-41f5vnuc4f] {
    font-size: 0.85rem;
    margin-bottom: 0.2rem;
}

/* One person or child per row: name on the left, its actions on the right. */
.profile-row[b-41f5vnuc4f] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.6rem 0;
    border-top: 1px solid var(--line);
}

.profile-row:first-of-type[b-41f5vnuc4f] {
    border-top: none;
}

.profile-actions[b-41f5vnuc4f] {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
    align-items: center;
}

/* Marks the account holder among the contract partners. */
.tag[b-41f5vnuc4f] {
    display: inline-block;
    margin-left: 0.4rem;
    padding: 0.05rem 0.4rem;
    border-radius: 999px;
    background: var(--pa-tint);
    color: var(--pa-petrol);
    font-size: 0.75rem;
}
/* /Pages/Portal/RegistrationDetail.razor.rz.scp.css */
/* Scoped to RegistrationDetail.razor. The page deliberately shares its whole vocabulary with the
   back-office detail view (`.detail-head`, `.detail-grid`, `.card-accent` cards in a Bootstrap row),
   so almost everything lives in wwwroot/app.css and brand.css rather than here. */

.detail[b-39u62a7v1b] {
    max-width: 100%;
}
/* /Pages/Portal/RegistrationWizard.razor.rz.scp.css */
/* Scoped to RegistrationWizard.razor. Buttons, alerts and badges are Bootstrap (see brand.css);
   what remains of the app-wide vocabulary (.muted) lives in wwwroot/app.css. Neither is repeated here. */

.wizard[b-kq98lir90c] {
    max-width: 100%;
}

.wizard h1[b-kq98lir90c] {
    font-size: 1.5rem;
    color: var(--pa-petrol);
}

.wizard h2[b-kq98lir90c] {
    font-size: 1.2rem;
    margin: 0 0 1rem;
    color: var(--pa-petrol);
}

.wizard h3[b-kq98lir90c] {
    font-size: 1rem;
    margin: 1.25rem 0 .5rem;
}

.wizard-layout[b-kq98lir90c] {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

/* prevent wide content from stretching the grid track */
.wizard-body[b-kq98lir90c] {
    min-width: 0;
}

@media (min-width: 52rem) {
    .wizard-layout[b-kq98lir90c] {
        grid-template-columns: 13rem 1fr;
        align-items: start;
    }

    .wizard-steps[b-kq98lir90c] {
        position: sticky;
        top: 1rem;
    }

    .stepper[b-kq98lir90c] {
        flex-direction: column;
        flex-wrap: nowrap;
        gap: .15rem;
        margin: 0;
    }

    .stepper li[b-kq98lir90c] {
        width: 100%;
    }

    .stepper .step-btn[b-kq98lir90c] {
        width: 100%;
        justify-content: flex-start;
    }
}

.stepper[b-kq98lir90c] {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    list-style: none;
    padding: 0;
    margin: 1rem 0 1.5rem;
}

.stepper li[b-kq98lir90c] {
    display: flex;
    align-items: center;
    gap: .4rem;
    font-size: .85rem;
    color: var(--muted);
}

.stepper li .num[b-kq98lir90c] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    flex: 0 0 auto;
    border-radius: 50%;
    background: var(--line);
    color: #374151;
    font-size: .8rem;
    font-weight: 600;
    transition: background .12s, box-shadow .12s;
}

/* Completed (validator satisfied) → green check, regardless of position. */
.stepper li.done .num[b-kq98lir90c] {
    background: var(--pa-green);
    color: #fff;
}

/* Current step → petrol label + ring on the badge (keeps its own colour: green if also complete). */
.stepper li.active[b-kq98lir90c] {
    color: var(--pa-petrol);
    font-weight: 600;
}

.stepper li.active .num[b-kq98lir90c] {
    box-shadow: 0 0 0 2px var(--pa-petrol);
}

.step-btn[b-kq98lir90c] {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    background: none;
    border: none;
    padding: .2rem .45rem;
    font: inherit;
    color: inherit;
    cursor: pointer;
    border-radius: 999px;
    transition: background .12s, color .12s;
    text-align: left;
}

.step-btn:hover:not(:disabled)[b-kq98lir90c] {
    background: rgba(24, 70, 105, .10);
    color: var(--pa-petrol);
}

.step-btn:disabled[b-kq98lir90c] {
    cursor: default;
}

.wizard-step[b-kq98lir90c] {
    border: 1px solid var(--line);
    border-top: 3px solid var(--pa-green);
    border-radius: 8px;
    padding: 1.25rem;
}

/* Form controls are Bootstrap (.form-label / .form-control / .form-select / .form-check / .input-group);
   only the label type scale is tuned down to match the compact wizard. */
.wizard-step .form-label[b-kq98lir90c] {
    font-size: .9rem;
    margin-bottom: .25rem;
}

/* A sibling entry spans two form rows, so a hairline keeps consecutive entries apart. */
.sibling + .sibling[b-kq98lir90c] {
    border-top: 1px solid var(--line);
    padding-top: .75rem;
}

/* The delete button sits in the field row, so it grows from IconButton's 2rem square to Bootstrap's
   .form-control height (1.5rem line-box + .75rem padding + 2px border). */
.sibling[b-kq98lir90c]  .icon-btn {
    width: calc(1.5rem + .75rem + 2px);
    height: calc(1.5rem + .75rem + 2px);
}

.fee[b-kq98lir90c] {
    font-weight: 600;
    color: var(--pa-petrol);
}

.review dt[b-kq98lir90c] {
    font-weight: 600;
    margin-top: .5rem;
}

.review dd[b-kq98lir90c] {
    margin: 0;
}

.wizard-nav[b-kq98lir90c] {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-top: 1.25rem;
}

.wizard-nav .spacer[b-kq98lir90c] {
    flex: 1;
}

.save-hint[b-kq98lir90c] {
    color: var(--muted);
    font-size: .85rem;
}

/* The validation summary and the resumed-draft note are BsAlerts (Danger / Info with icon). */

.doc-actions[b-kq98lir90c] {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin: 0 0 .75rem;
}
