/* /Components/Layout/MainLayout.razor.rz.scp.css */
.application-root[b-5r99x1tm4s] {
    width: 100%;
    min-width: 0;
    min-height: 100dvh;
}

#blazor-error-ui[b-5r99x1tm4s] {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
    z-index: 10000;

    display: none;
    align-items: center;
    gap: 0.75rem;

    max-width: 760px;
    min-height: 52px;
    margin-inline: auto;
    padding: 0.75rem 3.25rem 0.75rem 1rem;

    border: 1px solid #f59e0b;
    border-radius: 12px;
    background: #fffbeb;
    box-shadow:
        0 12px 30px rgba(15, 23, 42, 0.2);

    color: #92400e;
    font-size: 0.9rem;
    font-weight: 600;
}

#blazor-error-ui .reload[b-5r99x1tm4s] {
    flex-shrink: 0;
    color: #92400e;
    font-weight: 800;
}

#blazor-error-ui .dismiss[b-5r99x1tm4s] {
    position: absolute;
    top: 50%;
    right: 0.65rem;

    width: 36px;
    height: 36px;
    padding: 0;

    transform: translateY(-50%);

    border: 0;
    border-radius: 50%;
    background: transparent;

    color: #92400e;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
}

#blazor-error-ui .dismiss:hover[b-5r99x1tm4s] {
    background: rgba(146, 64, 14, 0.1);
}

@media (max-width: 575.98px) {
    #blazor-error-ui[b-5r99x1tm4s] {
        right: 0.5rem;
        bottom:
            max(
                0.5rem,
                env(safe-area-inset-bottom));
        left: 0.5rem;

        align-items: flex-start;
        flex-direction: column;
        gap: 0.3rem;

        padding:
            0.85rem
            3rem
            0.85rem
            0.9rem;

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

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


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

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

}

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

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

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

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

    100% {
        opacity: 1;
    }
}

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

    100% {
        opacity: 0;
    }
}

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

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

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

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

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

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

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

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

@keyframes components-rejoining-animation-b-kxefnjvtb7 {
    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/Dashboard.razor.rz.scp.css */
.scheduler-shell[b-ib88g7u7gw] {
    --sidebar-width: 264px;
    --header-height: 64px;
    --page-background: #f4f7fb;
    --surface: #ffffff;
    --surface-muted: #f8fafc;
    --border: #e2e8f0;
    --text-primary: #0f172a;
    --text-secondary: #64748b;
    --brand: #0369a1;
    --brand-dark: #075985;
    --brand-soft: #e0f2fe;

    display: grid;
    grid-template-columns:
        var(--sidebar-width)
        minmax(0, 1fr);

    width: 100%;
    min-width: 0;
    min-height: 100dvh;

    background: var(--page-background);
    color: var(--text-primary);
}

.scheduler-sidebar[b-ib88g7u7gw] {
    position: sticky;
    top: 0;
    z-index: 1200;

    display: flex;
    flex-direction: column;

    width: var(--sidebar-width);
    height: 100dvh;
    min-height: 100dvh;

    padding: 1.25rem 1rem;

    background:
        linear-gradient(
            180deg,
            #0f172a 0%,
            #172554 100%);

    color: #ffffff;
    overflow-y: auto;
}

.sidebar-brand[b-ib88g7u7gw] {
    display: flex;
    align-items: center;
    gap: 0.8rem;

    min-height: 58px;
    padding: 0.25rem 0.35rem 1.25rem;

    border-bottom:
        1px solid rgba(255, 255, 255, 0.12);
}

.sidebar-icon[b-ib88g7u7gw] {
    display: grid;
    flex: 0 0 44px;
    place-items: center;

    width: 44px;
    height: 44px;

    border-radius: 13px;
    background:
        linear-gradient(
            135deg,
            #38bdf8,
            #0ea5e9);

    box-shadow:
        0 8px 22px rgba(14, 165, 233, 0.28);

    font-size: 1.35rem;
}

.sidebar-brand-copy[b-ib88g7u7gw] {
    min-width: 0;
}

.sidebar-brand h2[b-ib88g7u7gw] {
    margin: 0;

    color: #ffffff;
    font-size: 1.02rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    white-space: nowrap;
}

.sidebar-brand span[b-ib88g7u7gw] {
    display: block;
    margin-top: 0.16rem;

    color: #94a3b8;
    font-size: 0.74rem;
    font-weight: 600;
}

.sidebar-close-button[b-ib88g7u7gw] {
    display: none;
    flex: 0 0 42px;

    width: 42px;
    height: 42px;
    margin-left: auto;
    padding: 0;

    border: 0;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);

    color: #ffffff;
    font-size: 1.55rem;
    line-height: 1;
    cursor: pointer;
}

.sidebar-menu[b-ib88g7u7gw] {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 0.4rem;

    padding-top: 1.25rem;
}

.sidebar-menu-item[b-ib88g7u7gw] {
    display: flex;
    align-items: center;
    gap: 0.75rem;

    width: 100%;
    min-height: 48px;
    padding: 0.7rem 0.8rem;

    border: 0;
    border-radius: 11px;
    background: transparent;

    color: #cbd5e1;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 700;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}

.sidebar-menu-item:hover[b-ib88g7u7gw] {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.sidebar-menu-item.active[b-ib88g7u7gw] {
    background: rgba(56, 189, 248, 0.16);
    color: #ffffff;
    box-shadow:
        inset 3px 0 0 #38bdf8;
}

.sidebar-menu-icon[b-ib88g7u7gw] {
    display: grid;
    flex: 0 0 28px;
    place-items: center;

    width: 28px;
    height: 28px;

    font-size: 1rem;
}

.sidebar-menu-item-disabled[b-ib88g7u7gw] {
    opacity: 0.48;
    cursor: not-allowed;
}

.sidebar-menu-item-disabled:hover[b-ib88g7u7gw] {
    background: transparent;
    color: #cbd5e1;
}

.sidebar-menu-badge[b-ib88g7u7gw] {
    margin-left: auto;
    padding: 0.18rem 0.42rem;

    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);

    color: #cbd5e1;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.sidebar-footer[b-ib88g7u7gw] {
    display: flex;
    align-items: center;
    gap: 0.7rem;

    margin-top: 1.25rem;
    padding: 1rem 0.5rem 0.25rem;

    border-top:
        1px solid rgba(255, 255, 255, 0.12);
}

.sidebar-footer-icon[b-ib88g7u7gw] {
    display: grid;
    flex: 0 0 36px;
    place-items: center;

    width: 36px;
    height: 36px;

    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);

    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 900;
}

.sidebar-footer strong[b-ib88g7u7gw],
.sidebar-footer span[b-ib88g7u7gw] {
    display: block;
}

.sidebar-footer strong[b-ib88g7u7gw] {
    color: #ffffff;
    font-size: 0.78rem;
}

.sidebar-footer span[b-ib88g7u7gw] {
    margin-top: 0.1rem;
    color: #94a3b8;
    font-size: 0.68rem;
}

.scheduler-main[b-ib88g7u7gw] {
    display: flex;
    flex-direction: column;

    width: 100%;
    min-width: 0;
    min-height: 100dvh;

    overflow-x: hidden;
}

.application-header[b-ib88g7u7gw] {
    position: sticky;
    top: 0;
    z-index: 900;

    display: flex;
    align-items: center;
    justify-content: space-between;

    min-height: var(--header-height);
    padding:
        0
        clamp(1rem, 2.5vw, 2rem);

    border-bottom: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);
}

.application-header-left[b-ib88g7u7gw],
.mobile-brand[b-ib88g7u7gw],
.application-header-status[b-ib88g7u7gw] {
    display: flex;
    align-items: center;
}

.application-header-left[b-ib88g7u7gw] {
    gap: 0.75rem;
}

.mobile-menu-button[b-ib88g7u7gw],
.mobile-brand[b-ib88g7u7gw] {
    display: none;
}

.application-header-status[b-ib88g7u7gw] {
    gap: 0.5rem;
    margin-left: auto;

    color: var(--text-secondary);
    font-size: 0.8rem;
    font-weight: 700;
}

.application-status-indicator[b-ib88g7u7gw] {
    width: 8px;
    height: 8px;

    border-radius: 50%;
    background: #22c55e;
    box-shadow:
        0 0 0 4px rgba(34, 197, 94, 0.13);
}

.scheduler-content[b-ib88g7u7gw] {
    width: 100%;
    min-width: 0;
    padding:
        clamp(1rem, 2.5vw, 2rem);
}

.scheduler-header[b-ib88g7u7gw] {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;

    margin-bottom: 1.25rem;
}

.scheduler-title[b-ib88g7u7gw] {
    min-width: 0;
}

.scheduler-eyebrow[b-ib88g7u7gw] {
    display: block;
    margin-bottom: 0.3rem;

    color: var(--brand);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.scheduler-header h1[b-ib88g7u7gw] {
    margin: 0;

    color: var(--text-primary);
    font-size:
        clamp(1.65rem, 3vw, 2.25rem);
    font-weight: 850;
    letter-spacing: -0.035em;
}

.scheduler-header p[b-ib88g7u7gw] {
    max-width: 620px;
    margin: 0.35rem 0 0;

    color: var(--text-secondary);
    font-size: 0.92rem;
}

.scheduler-header-actions[b-ib88g7u7gw] {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.65rem;
}

.btn-scheduler-action[b-ib88g7u7gw] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;

    min-height: 44px;
    padding: 0.68rem 1rem;

    border-radius: 10px;

    font-family: inherit;
    font-size: 0.86rem;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
}

.btn-block-hour[b-ib88g7u7gw] {
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #334155;
}

.btn-block-hour:hover[b-ib88g7u7gw] {
    background: #f8fafc;
}

.btn-new-appointment[b-ib88g7u7gw] {
    border: 1px solid var(--brand);
    background: var(--brand);
    color: #ffffff;
    box-shadow:
        0 7px 18px rgba(3, 105, 161, 0.18);
}

.btn-new-appointment:hover[b-ib88g7u7gw] {
    border-color: var(--brand-dark);
    background: var(--brand-dark);
}

.btn-scheduler-action:disabled[b-ib88g7u7gw] {
    box-shadow: none;
    cursor: not-allowed;
    opacity: 0.52;
}

.mobile-navigation-backdrop[b-ib88g7u7gw] {
    display: none;
}

.calendar-card[b-ib88g7u7gw] {
    min-width: 0;
    overflow: hidden;
}

#calendar[b-ib88g7u7gw] {
    min-width: 0;
}

@media (max-width: 991.98px) {
    .scheduler-shell[b-ib88g7u7gw] {
        display: block;
    }

    .scheduler-sidebar[b-ib88g7u7gw] {
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;

        width: min(84vw, 300px);

        transform: translateX(-105%);
        transition:
            transform 180ms ease-out;

        box-shadow:
            18px 0 42px rgba(15, 23, 42, 0.25);
    }

    .scheduler-sidebar-open[b-ib88g7u7gw] {
        transform: translateX(0);
    }

    .sidebar-close-button[b-ib88g7u7gw] {
        display: grid;
        place-items: center;
    }

    .mobile-navigation-backdrop[b-ib88g7u7gw] {
        position: fixed;
        inset: 0;
        z-index: 1100;

        display: block;

        width: 100%;
        height: 100%;

        padding: 0;
        border: 0;
        background: rgba(15, 23, 42, 0.52);
        backdrop-filter: blur(2px);
        cursor: pointer;
    }

    .mobile-menu-button[b-ib88g7u7gw] {
        display: inline-flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;

        width: 44px;
        height: 44px;
        padding: 0;

        border: 1px solid var(--border);
        border-radius: 10px;
        background: #ffffff;

        cursor: pointer;
    }

    .mobile-menu-button span[b-ib88g7u7gw] {
        width: 19px;
        height: 2px;

        border-radius: 999px;
        background: #334155;
    }

    .mobile-brand[b-ib88g7u7gw] {
        gap: 0.45rem;

        color: var(--text-primary);
        font-size: 0.9rem;
        font-weight: 850;
    }

    .mobile-brand-icon[b-ib88g7u7gw] {
        font-size: 1.12rem;
    }
}

@media (max-width: 767.98px) {
    .application-header[b-ib88g7u7gw] {
        min-height: 60px;
        padding:
            0
            max(
                0.85rem,
                env(safe-area-inset-right))
            0
            max(
                0.85rem,
                env(safe-area-inset-left));
    }

    .application-header-status[b-ib88g7u7gw] {
        font-size: 0.72rem;
    }

    .scheduler-content[b-ib88g7u7gw] {
        padding:
            1rem
            max(
                0.75rem,
                env(safe-area-inset-right))
            max(
                1rem,
                env(safe-area-inset-bottom))
            max(
                0.75rem,
                env(safe-area-inset-left));
    }

    .scheduler-header[b-ib88g7u7gw] {
        align-items: stretch;
        flex-direction: column;
        gap: 1rem;
    }

    .scheduler-header p[b-ib88g7u7gw] {
        font-size: 0.86rem;
    }

    .scheduler-header-actions[b-ib88g7u7gw] {
        display: grid;
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
        width: 100%;
    }

    .btn-scheduler-action[b-ib88g7u7gw] {
        width: 100%;
        min-width: 0;
        padding-inline: 0.65rem;
    }
}

@media (max-width: 479.98px) {
    .application-header-status span:last-child[b-ib88g7u7gw] {
        display: none;
    }

    .scheduler-header-actions[b-ib88g7u7gw] {
        grid-template-columns: 1fr;
    }

    .btn-scheduler-action[b-ib88g7u7gw] {
        min-height: 46px;
    }

    .sidebar-footer[b-ib88g7u7gw] {
        padding-bottom:
            max(
                0.25rem,
                env(safe-area-inset-bottom));
    }
}

@media (prefers-reduced-motion: reduce) {
    .scheduler-sidebar[b-ib88g7u7gw] {
        transition: none;
    }
}
.calendar-toolbar[b-ib88g7u7gw] {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1rem 1.25rem;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #ffffff;
}

.doctor-selector[b-ib88g7u7gw] {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    min-width: 280px;
}

.doctor-selector label[b-ib88g7u7gw] {
    color: #475569;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.doctor-selector select[b-ib88g7u7gw],
.appointment-form-field select[b-ib88g7u7gw],
.appointment-form-field input[b-ib88g7u7gw],
.appointment-form-field textarea[b-ib88g7u7gw] {
    width: 100%;
    min-height: 44px;
    padding: 0.65rem 0.85rem;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    background: #ffffff;
    color: #0f172a;
    font-family: inherit;
    font-size: 0.95rem;
}

.doctor-selector select[b-ib88g7u7gw] {
    padding-right: 2.5rem;
    cursor: pointer;
}

.doctor-selector select:focus[b-ib88g7u7gw],
.appointment-form-field select:focus[b-ib88g7u7gw],
.appointment-form-field input:focus[b-ib88g7u7gw],
.appointment-form-field textarea:focus[b-ib88g7u7gw] {
    border-color: #0284c7;
    outline: 3px solid rgba(2, 132, 199, 0.15);
}

.doctor-selector select:disabled[b-ib88g7u7gw],
.appointment-form-field select:disabled[b-ib88g7u7gw],
.appointment-form-field input:disabled[b-ib88g7u7gw],
.appointment-form-field textarea:disabled[b-ib88g7u7gw] {
    background: #f8fafc;
    color: #64748b;
    cursor: default;
}

.selected-doctor-name[b-ib88g7u7gw],
.calendar-toolbar-message[b-ib88g7u7gw] {
    color: #475569;
    font-size: 0.9rem;
    font-weight: 600;
}

.calendar-toolbar-error[b-ib88g7u7gw],
.calendar-state-error[b-ib88g7u7gw] {
    color: #b91c1c;
}

.calendar-state-message[b-ib88g7u7gw],
.calendar-state-error[b-ib88g7u7gw] {
    padding: 3rem 1rem;
    text-align: center;
}

.appointment-modal-backdrop[b-ib88g7u7gw] {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: rgba(15, 23, 42, 0.58);
}

.appointment-modal[b-ib88g7u7gw] {
    width: min(620px, 100%);
    max-height: calc(100vh - 3rem);
    overflow: auto;
    background: #ffffff;
    border-radius: 18px;
    box-shadow:
        0 24px 60px rgba(15, 23, 42, 0.28);
}

.appointment-form-modal[b-ib88g7u7gw] {
    width: min(760px, 100%);
}

.appointment-modal-header[b-ib88g7u7gw] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.5rem 1.5rem 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.appointment-modal-header h2[b-ib88g7u7gw] {
    margin: 0;
    color: #0f172a;
    font-size: 1.35rem;
}

.appointment-modal-header span[b-ib88g7u7gw] {
    display: block;
    margin-top: 0.25rem;
    color: #64748b;
    font-size: 0.875rem;
}

.appointment-modal-close[b-ib88g7u7gw] {
    width: 2.25rem;
    height: 2.25rem;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #f1f5f9;
    color: #475569;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
}

.appointment-modal-close:hover[b-ib88g7u7gw] {
    background: #e2e8f0;
    color: #0f172a;
}

.appointment-modal-close:disabled[b-ib88g7u7gw] {
    cursor: default;
    opacity: 0.55;
}

.appointment-modal-body[b-ib88g7u7gw] {
    padding: 1.5rem;
}

.appointment-form-grid[b-ib88g7u7gw] {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.appointment-form-field[b-ib88g7u7gw] {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.appointment-form-field label[b-ib88g7u7gw] {
    color: #475569;
    font-size: 0.82rem;
    font-weight: 800;
}

.appointment-form-field textarea[b-ib88g7u7gw] {
    min-height: 100px;
    resize: vertical;
}

.appointment-form-full[b-ib88g7u7gw] {
    grid-column: 1 / -1;
}

.patient-search-row[b-ib88g7u7gw] {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr) auto;
    gap: 0.65rem;
}

.appointment-form-help[b-ib88g7u7gw] {
    color: #64748b;
    font-size: 0.82rem;
}

.appointment-checkbox[b-ib88g7u7gw] {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    width: fit-content;
    cursor: pointer;
}

.appointment-checkbox input[b-ib88g7u7gw] {
    width: 18px;
    min-height: 18px;
    margin: 0;
}

.appointment-form-message[b-ib88g7u7gw] {
    margin-bottom: 1rem;
}

.appointment-form-success[b-ib88g7u7gw] {
    margin-bottom: 1rem;
    padding: 1rem;
    border: 1px solid #bbf7d0;
    border-radius: 10px;
    background: #f0fdf4;
    color: #166534;
    font-weight: 700;
}

.appointment-detail-grid[b-ib88g7u7gw] {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.appointment-detail-field[b-ib88g7u7gw] {
    padding: 0.9rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #f8fafc;
}

.appointment-detail-full[b-ib88g7u7gw] {
    grid-column: 1 / -1;
}

.appointment-detail-label[b-ib88g7u7gw] {
    display: block;
    margin-bottom: 0.35rem;
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.appointment-detail-field strong[b-ib88g7u7gw] {
    color: #0f172a;
    font-size: 1.05rem;
}

.appointment-status[b-ib88g7u7gw] {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
    background: #e0f2fe;
    color: #0369a1;
    font-size: 0.85rem;
    font-weight: 700;
}

.appointment-notes[b-ib88g7u7gw] {
    margin: 0;
    color: #334155;
    white-space: pre-wrap;
}

.appointment-detail-message[b-ib88g7u7gw] {
    padding: 2rem;
    color: #475569;
    text-align: center;
}

.appointment-detail-error[b-ib88g7u7gw] {
    padding: 1rem;
    border: 1px solid #fecaca;
    border-radius: 10px;
    background: #fef2f2;
    color: #b91c1c;
}

.appointment-modal-footer[b-ib88g7u7gw] {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    padding: 1rem 1.5rem 1.5rem;
    border-top: 1px solid #e2e8f0;
}

.appointment-modal-button[b-ib88g7u7gw],
.appointment-primary-button[b-ib88g7u7gw],
.appointment-secondary-button[b-ib88g7u7gw] {
    min-height: 42px;
    padding: 0.65rem 1.15rem;
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
}

.appointment-modal-button[b-ib88g7u7gw],
.appointment-primary-button[b-ib88g7u7gw] {
    border: 0;
    background: #0f172a;
    color: #ffffff;
}

.appointment-modal-button:hover[b-ib88g7u7gw],
.appointment-primary-button:hover[b-ib88g7u7gw] {
    background: #1e293b;
}

.appointment-secondary-button[b-ib88g7u7gw] {
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #334155;
}

.appointment-secondary-button:hover[b-ib88g7u7gw] {
    background: #f8fafc;
}

.appointment-modal-button:disabled[b-ib88g7u7gw],
.appointment-primary-button:disabled[b-ib88g7u7gw],
.appointment-secondary-button:disabled[b-ib88g7u7gw] {
    cursor: default;
    opacity: 0.6;
}

@media (max-width: 720px) {
    .calendar-toolbar[b-ib88g7u7gw] {
        align-items: stretch;
        flex-direction: column;
    }

    .doctor-selector[b-ib88g7u7gw] {
        min-width: 0;
        width: 100%;
    }

    .appointment-form-grid[b-ib88g7u7gw] {
        grid-template-columns: 1fr;
    }

    .appointment-form-full[b-ib88g7u7gw] {
        grid-column: auto;
    }
}

@media (max-width: 640px) {
    .appointment-modal-backdrop[b-ib88g7u7gw] {
        align-items: flex-end;
        padding: 0;
    }

    .appointment-modal[b-ib88g7u7gw] {
        width: 100%;
        max-height: 92vh;
        border-radius: 18px 18px 0 0;
    }

    .appointment-detail-grid[b-ib88g7u7gw] {
        grid-template-columns: 1fr;
    }

    .appointment-detail-full[b-ib88g7u7gw] {
        grid-column: auto;
    }

    .patient-search-row[b-ib88g7u7gw] {
        grid-template-columns: 1fr;
    }

    .appointment-modal-footer[b-ib88g7u7gw] {
        flex-direction: column-reverse;
    }

    .appointment-primary-button[b-ib88g7u7gw],
    .appointment-secondary-button[b-ib88g7u7gw] {
        width: 100%;
    }
}

.calendar-filters[b-ib88g7u7gw] {
    display: flex;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 1rem;
}

@media (max-width: 720px) {
    .calendar-filters[b-ib88g7u7gw] {
        width: 100%;
        align-items: stretch;
        flex-direction: column;
    }
}

.appointment-modal-footer .appointment-primary-button[b-ib88g7u7gw],
.appointment-modal-footer .appointment-secondary-button[b-ib88g7u7gw] {
    min-width: 130px;
}

@media (max-width: 640px) {
    .appointment-modal-footer .appointment-primary-button[b-ib88g7u7gw],
    .appointment-modal-footer .appointment-secondary-button[b-ib88g7u7gw] {
        width: 100%;
    }
}

.appointment-status-pending[b-ib88g7u7gw] {
    background: #e0f2fe;
    color: #0369a1;
}

.appointment-status-confirmed[b-ib88g7u7gw] {
    background: #dcfce7;
    color: #166534;
}

.appointment-status-cancelled[b-ib88g7u7gw] {
    background: #fee2e2;
    color: #b91c1c;
}

.appointment-status-message[b-ib88g7u7gw] {
    margin-bottom: 1rem;
}

.appointment-detail-actions[b-ib88g7u7gw] {
    flex-wrap: wrap;
}

.appointment-status-button[b-ib88g7u7gw] {
    min-height: 42px;
    padding: 0.65rem 1.15rem;
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
}

.appointment-status-button:disabled[b-ib88g7u7gw] {
    cursor: default;
    opacity: 0.6;
}

.appointment-confirm-button[b-ib88g7u7gw],
.appointment-restore-button[b-ib88g7u7gw] {
    border: 1px solid #86efac;
    background: #f0fdf4;
    color: #166534;
}

.appointment-confirm-button:hover[b-ib88g7u7gw],
.appointment-restore-button:hover[b-ib88g7u7gw] {
    background: #dcfce7;
}

.appointment-pending-button[b-ib88g7u7gw] {
    border: 1px solid #7dd3fc;
    background: #f0f9ff;
    color: #0369a1;
}

.appointment-pending-button:hover[b-ib88g7u7gw] {
    background: #e0f2fe;
}

.appointment-cancel-button[b-ib88g7u7gw] {
    border: 1px solid #fca5a5;
    background: #fff1f2;
    color: #b91c1c;
}

.appointment-cancel-button:hover[b-ib88g7u7gw] {
    background: #ffe4e6;
}

@media (max-width: 640px) {
    .appointment-detail-actions
        .appointment-status-button[b-ib88g7u7gw] {
        width: 100%;
    }
}

.sidebar-footer-content[b-ib88g7u7gw] {
    flex: 1;
    min-width: 0;
}

.sidebar-logout-button[b-ib88g7u7gw] {
    width: 100%;
    min-height: 36px;
    margin-top: 0.75rem;
    padding: 0.55rem 0.75rem;

    border:
        1px solid rgba(255, 255, 255, 0.18);
    border-radius: 0.55rem;

    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;

    cursor: pointer;
    font: inherit;
    font-size: 0.72rem;
    font-weight: 800;

    transition:
        background-color 160ms ease,
        border-color 160ms ease,
        transform 160ms ease;
}

.sidebar-logout-button:hover[b-ib88g7u7gw] {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.14);
}

.sidebar-logout-button:active[b-ib88g7u7gw] {
    transform: translateY(1px);
}

.sidebar-logout-button:focus-visible[b-ib88g7u7gw] {
    outline: 3px solid rgba(147, 197, 253, 0.45);
    outline-offset: 2px;
}

.sidebar-product-information[b-ib88g7u7gw] {
    display: grid;
    gap: 0.15rem;

    margin-top: 0.8rem;

    text-align: center;
}

.sidebar-product-information strong[b-ib88g7u7gw],
.sidebar-product-information span[b-ib88g7u7gw] {
    display: block;
}

.sidebar-product-information strong[b-ib88g7u7gw] {
    color: #cbd5e1;
    font-size: 0.64rem;
    font-weight: 700;
}

.sidebar-product-information span[b-ib88g7u7gw] {
    margin-top: 0;

    color: #64748b;
    font-size: 0.6rem;
}

/* Upcoming Appointments V1 */

.btn-upcoming-appointments[b-ib88g7u7gw] {
    background: #eef2ff;
    border-color: #c7d2fe;
    color: #3730a3;
}

    .btn-upcoming-appointments:hover:not(:disabled)[b-ib88g7u7gw] {
        background: #e0e7ff;
    }

.upcoming-appointments-modal[b-ib88g7u7gw] {
    width: min(960px, calc(100vw - 2rem));
    max-width: 960px;
}

.upcoming-appointments-results[b-ib88g7u7gw] {
    margin-top: 1.25rem;
}

.upcoming-appointments-state[b-ib88g7u7gw] {
    padding: 2rem 1rem;
    border: 1px dashed #cbd5e1;
    border-radius: 0.75rem;
    background: #f8fafc;
    color: #475569;
    text-align: center;
}

.upcoming-appointments-summary[b-ib88g7u7gw] {
    margin-bottom: 0.75rem;
    color: #475569;
    font-size: 0.9rem;
    font-weight: 600;
}

.upcoming-appointments-table-wrapper[b-ib88g7u7gw] {
    overflow-x: auto;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
}

.upcoming-appointments-table[b-ib88g7u7gw] {
    width: 100%;
    min-width: 620px;
    border-collapse: collapse;
}

    .upcoming-appointments-table th[b-ib88g7u7gw],
    .upcoming-appointments-table td[b-ib88g7u7gw] {
        padding: 0.9rem 1rem;
        border-bottom: 1px solid #e2e8f0;
        text-align: left;
        vertical-align: middle;
    }

    .upcoming-appointments-table th[b-ib88g7u7gw] {
        background: #f8fafc;
        color: #334155;
        font-size: 0.8rem;
        font-weight: 700;
        letter-spacing: 0.03em;
        text-transform: uppercase;
    }

    .upcoming-appointments-table tbody tr:last-child td[b-ib88g7u7gw] {
        border-bottom: 0;
    }

    .upcoming-appointments-table tbody tr:hover[b-ib88g7u7gw] {
        background: #f8fafc;
    }

.upcoming-status[b-ib88g7u7gw] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 6.5rem;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
}

.upcoming-status-pending[b-ib88g7u7gw] {
    background: #fef3c7;
    color: #92400e;
}

.upcoming-status-confirmed[b-ib88g7u7gw] {
    background: #dcfce7;
    color: #166534;
}

.upcoming-status-cancelled[b-ib88g7u7gw] {
    background: #fee2e2;
    color: #991b1b;
}

.upcoming-status-unknown[b-ib88g7u7gw] {
    background: #e2e8f0;
    color: #475569;
}

@media (max-width: 767.98px) {
    .upcoming-appointments-modal[b-ib88g7u7gw] {
        width: calc(100vw - 1rem);
    }

    .upcoming-appointments-table th[b-ib88g7u7gw],
    .upcoming-appointments-table td[b-ib88g7u7gw] {
        padding: 0.75rem;
    }
}
/* /Components/Pages/Login.razor.rz.scp.css */
.brand-icon[b-9jkf17a2ob] {
    display: flex;
    align-items: center;
    justify-content: center;

    width: auto;
    height: auto;

    margin:
        0
        auto
        1rem;

    padding: 0;

    background: transparent !important;
    background-color: transparent !important;

    border: 0 !important;
    border-radius: 0 !important;

    box-shadow: none !important;

    overflow: visible;
}

.brand-icon img[b-9jkf17a2ob] {
    display: block;

    width: 92px;
    height: auto;

    margin: 0;
    padding: 0;

    background: transparent !important;
    border: 0;
    border-radius: 0;
    box-shadow: none !important;

    object-fit: contain;
}

.login-product-information[b-9jkf17a2ob] {
    display: grid;
    gap: 0.2rem;

    margin-top: 1.25rem;

    text-align: center;
}

.login-product-information strong[b-9jkf17a2ob] {
    color: #64748b;
    font-size: 0.72rem;
    font-weight: 700;
}

.login-product-information span[b-9jkf17a2ob] {
    color: #94a3b8;
    font-size: 0.68rem;
}

@media (max-width: 479.98px) {
    .brand-icon img[b-9jkf17a2ob] {
        width: 80px;
    }
}

.password-input-wrapper[b-9jkf17a2ob] {
    position: relative;
    width: 100%;
}

    .password-input-wrapper .password-input[b-9jkf17a2ob] {
        width: 100%;
        padding-right: 3rem;
    }

.password-visibility-button[b-9jkf17a2ob] {
    position: absolute;
    top: 50%;
    right: 0.75rem;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    padding: 0;
    border: 0;
    border-radius: 0.5rem;
    background: transparent;
    cursor: pointer;
    font-size: 1.05rem;
    line-height: 1;
}

    .password-visibility-button:hover[b-9jkf17a2ob] {
        background: rgba(15, 23, 42, 0.06);
    }

    .password-visibility-button:focus-visible[b-9jkf17a2ob] {
        outline: 2px solid #2563eb;
        outline-offset: 2px;
    }

    .password-visibility-button:disabled[b-9jkf17a2ob] {
        cursor: not-allowed;
        opacity: 0.55;
    }
/* /Components/Pages/PatientClinicalHistory.razor.rz.scp.css */
.clinical-history-page[b-2f9fwxv0kk] {
    min-height: 100%;
    padding: 1.35rem 1.5rem 2rem;
    background:
        radial-gradient(circle at 85% 5%, rgba(37, 99, 235, .055), transparent 28rem),
        linear-gradient(180deg, #f8fbff 0%, #f4f7fb 100%);
}

.clinical-history-container[b-2f9fwxv0kk] {
    width: min(1240px, 100%);
    margin: 0 auto;
}

.clinical-history-back[b-2f9fwxv0kk] {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    min-height: 2.65rem;
    margin: 0 0 .85rem;
    padding: .55rem .95rem;
    border: 1px solid #bfd4ff;
    border-radius: 11px;
    background: #f2f7ff;
    color: #175cd3;
    font: inherit;
    font-size: .86rem;
    font-weight: 750;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(37, 99, 235, .05);
    transition: background-color .15s ease, border-color .15s ease, transform .15s ease;
}

.clinical-history-back:hover[b-2f9fwxv0kk] {
    border-color: #98b9ff;
    background: #eaf2ff;
    transform: translateY(-1px);
}

.clinical-history-back svg[b-2f9fwxv0kk] {
    width: 1.05rem;
    height: 1.05rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.clinical-history-hero[b-2f9fwxv0kk] {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 1.35rem;
    margin-bottom: .85rem;
    border: 1px solid #dfe7f1;
    border-radius: 16px;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 8px 26px rgba(16, 24, 40, .045);
}

.clinical-history-hero-icon[b-2f9fwxv0kk] {
    display: grid;
    place-items: center;
    flex: 0 0 3.25rem;
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 14px;
    background: linear-gradient(145deg, #eef5ff, #e8f0ff);
    color: #2563eb;
}

.clinical-history-hero-icon svg[b-2f9fwxv0kk] {
    width: 1.8rem;
    height: 1.8rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.clinical-history-hero-copy[b-2f9fwxv0kk] {
    min-width: 0;
    flex: 1;
}

.clinical-history-eyebrow[b-2f9fwxv0kk] {
    display: block;
    margin-bottom: .12rem;
    color: #60708a;
    font-size: .69rem;
    font-weight: 850;
    letter-spacing: .11em;
}

.clinical-history-hero h1[b-2f9fwxv0kk] {
    margin: 0;
    color: #101828;
    font-size: clamp(1.55rem, 3vw, 2rem);
    font-weight: 800;
    line-height: 1.1;
}

.clinical-history-patient[b-2f9fwxv0kk] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .45rem;
    margin-top: .42rem;
    color: #667085;
    font-size: .84rem;
}

.clinical-history-patient strong[b-2f9fwxv0kk] {
    color: #344054;
    font-weight: 750;
}

.clinical-history-dot[b-2f9fwxv0kk] {
    width: .25rem;
    height: .25rem;
    border-radius: 50%;
    background: #98a2b3;
}

.clinical-history-status[b-2f9fwxv0kk] {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .48rem .75rem;
    border: 1px solid #d8eee5;
    border-radius: 999px;
    background: #f0fbf6;
    color: #176b4d;
    font-size: .76rem;
    font-weight: 750;
    white-space: nowrap;
}

.clinical-history-status-dot[b-2f9fwxv0kk] {
    width: .48rem;
    height: .48rem;
    border-radius: 50%;
    background: #12b76a;
}

.clinical-history-card[b-2f9fwxv0kk] {
    margin-bottom: .85rem;
    overflow: hidden;
    border: 1px solid #dfe7f1;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 7px 22px rgba(16, 24, 40, .04);
}

.clinical-history-card-header[b-2f9fwxv0kk] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .95rem 1.2rem;
    border-bottom: 1px solid #e9eef5;
}

.clinical-history-section-heading[b-2f9fwxv0kk] {
    display: flex;
    align-items: center;
    gap: .75rem;
}

.clinical-history-section-icon[b-2f9fwxv0kk] {
    display: grid;
    place-items: center;
    flex: 0 0 2.35rem;
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 10px;
    background: #edf4ff;
    color: #2563eb;
}

.clinical-history-section-icon-purple[b-2f9fwxv0kk] {
    background: #f5efff;
    color: #7c3aed;
}

.clinical-history-section-icon svg[b-2f9fwxv0kk] {
    width: 1.25rem;
    height: 1.25rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.clinical-history-card-header h2[b-2f9fwxv0kk] {
    margin: 0;
    color: #172033;
    font-size: 1rem;
    font-weight: 800;
}

.clinical-history-card-header p[b-2f9fwxv0kk] {
    margin: .15rem 0 0;
    color: #667085;
    font-size: .78rem;
}

.clinical-history-legend[b-2f9fwxv0kk] {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .38rem .65rem;
    border-radius: 999px;
    background: #f4f7ff;
    color: #175cd3;
    font-size: .72rem;
    font-weight: 650;
    white-space: nowrap;
}

.clinical-history-info-icon[b-2f9fwxv0kk] {
    display: grid;
    place-items: center;
    width: 1rem;
    height: 1rem;
    border: 1px solid currentColor;
    border-radius: 50%;
    font-size: .65rem;
    font-weight: 900;
}

.clinical-history-conditions[b-2f9fwxv0kk] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 0 1rem .7rem;
}

/*
   Condition() usa RenderFragment.
   ::deep es necesario para que el CSS aislado de Blazor
   estilice el HTML generado por ese fragmento.
*/
.clinical-history-conditions[b-2f9fwxv0kk]  .clinical-history-condition {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 1rem;
    min-height: 2.7rem;
    padding: .48rem .55rem;
    border-bottom: 1px solid #edf1f6;
}

.clinical-history-conditions[b-2f9fwxv0kk]  .clinical-history-condition:nth-child(odd) {
    margin-right: .85rem;
}

.clinical-history-conditions[b-2f9fwxv0kk]  .clinical-history-condition:nth-child(even) {
    margin-left: .85rem;
}

.clinical-history-conditions[b-2f9fwxv0kk]  .clinical-history-condition-name {
    color: #1d2939;
    font-size: .82rem;
    font-weight: 600;
    line-height: 1.25;
}

.clinical-history-conditions[b-2f9fwxv0kk]  .clinical-history-condition-active .clinical-history-condition-name {
    color: #174ea6;
    font-weight: 700;
}

.clinical-history-conditions[b-2f9fwxv0kk]  .clinical-history-choice {
    display: grid;
    grid-template-columns: 1.4rem 2.55rem 1.4rem;
    align-items: center;
    gap: .4rem;
}

.clinical-history-conditions[b-2f9fwxv0kk]  .clinical-history-choice-label {
    color: #98a2b3;
    font-size: .74rem;
    font-weight: 600;
    text-align: center;
    transition: color .15s ease;
}

.clinical-history-conditions[b-2f9fwxv0kk]  .clinical-history-choice-label-active {
    color: #344054;
    font-weight: 750;
}

.clinical-history-conditions[b-2f9fwxv0kk]  .clinical-history-switch {
    position: relative;
    display: block;
    width: 2.55rem;
    height: 1.42rem;
    cursor: pointer;
}

.clinical-history-conditions[b-2f9fwxv0kk]  .clinical-history-switch input {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: 0;
    opacity: 0;
    pointer-events: none;
}

.clinical-history-conditions[b-2f9fwxv0kk]  .clinical-history-switch-track {
    position: absolute;
    inset: 0;
    display: block;
    border-radius: 999px;
    background: #b9c3d2;
    box-shadow: inset 0 0 0 1px rgba(16, 24, 40, .04);
    transition: background-color .18s ease;
}

.clinical-history-conditions[b-2f9fwxv0kk]  .clinical-history-switch-thumb {
    position: absolute;
    top: .18rem;
    left: .18rem;
    width: 1.06rem;
    height: 1.06rem;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 3px rgba(16, 24, 40, .3);
    transition: transform .18s ease;
}

.clinical-history-conditions[b-2f9fwxv0kk]  .clinical-history-switch input:checked + .clinical-history-switch-track {
    background: #2563eb;
}

.clinical-history-conditions[b-2f9fwxv0kk]  .clinical-history-switch input:checked + .clinical-history-switch-track .clinical-history-switch-thumb {
    transform: translateX(1.13rem);
}

.clinical-history-conditions[b-2f9fwxv0kk]  .clinical-history-switch input:focus-visible + .clinical-history-switch-track {
    outline: 3px solid rgba(37, 99, 235, .18);
    outline-offset: 2px;
}

.clinical-history-notes-grid[b-2f9fwxv0kk] {
    display: grid;
    grid-template-columns: 1fr;
    gap: .8rem;
    padding: .85rem 1rem 1rem;
}

.clinical-history-notes-grid-with-allergy[b-2f9fwxv0kk] {
    grid-template-columns: 1fr 1fr;
}

.clinical-history-info-panel[b-2f9fwxv0kk] {
    min-width: 0;
    padding: .9rem;
    border: 1px solid #dbe7f8;
    border-radius: 12px;
    background: #f8fbff;
}

.clinical-history-allergy-panel[b-2f9fwxv0kk] {
    border-color: #f5d8de;
    background: #fff7f8;
}

.clinical-history-observations-panel[b-2f9fwxv0kk] {
    border-color: #dbe7f8;
    background: #f8fbff;
}

.clinical-history-field-heading[b-2f9fwxv0kk] {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: .55rem;
}

.clinical-history-field-heading label[b-2f9fwxv0kk] {
    color: #344054;
    font-size: .8rem;
    font-weight: 750;
}

.clinical-history-mini-icon[b-2f9fwxv0kk] {
    display: grid;
    place-items: center;
    width: 1.55rem;
    height: 1.55rem;
    border-radius: 7px;
    background: #edf4ff;
    color: #2563eb;
    font-size: .8rem;
    font-weight: 900;
}

.clinical-history-mini-icon-allergy[b-2f9fwxv0kk] {
    background: #ffe9ed;
    color: #d92d20;
}

.clinical-history-mini-icon svg[b-2f9fwxv0kk] {
    width: .95rem;
    height: .95rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.clinical-history-required[b-2f9fwxv0kk] {
    color: #d92d20;
}

.clinical-history-info-panel textarea[b-2f9fwxv0kk] {
    display: block;
    width: 100%;
    min-height: 5.4rem;
    padding: .7rem .8rem;
    resize: vertical;
    border: 1px solid #cfd9e7;
    border-radius: 9px;
    outline: none;
    background: rgba(255, 255, 255, .94);
    color: #1d2939;
    font: inherit;
    font-size: .82rem;
    line-height: 1.45;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.clinical-history-info-panel textarea:focus[b-2f9fwxv0kk] {
    border-color: #84adff;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .09);
}

.clinical-history-info-panel textarea.clinical-history-input-invalid[b-2f9fwxv0kk] {
    border-color: #f04438;
    box-shadow: 0 0 0 3px rgba(240, 68, 56, .08);
}

.clinical-history-field-footer[b-2f9fwxv0kk] {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    min-height: 1.1rem;
    margin-top: .35rem;
    color: #667085;
    font-size: .68rem;
}

.clinical-history-validation[b-2f9fwxv0kk] {
    color: #b42318;
    font-weight: 650;
}

.clinical-history-message[b-2f9fwxv0kk] {
    display: flex;
    align-items: center;
    gap: .55rem;
    margin-bottom: .8rem;
    padding: .7rem .9rem;
    border-radius: 10px;
    font-size: .8rem;
    font-weight: 650;
}

.clinical-history-message svg[b-2f9fwxv0kk] {
    width: 1rem;
    height: 1rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.clinical-history-message-success[b-2f9fwxv0kk] {
    border: 1px solid #abefc6;
    background: #ecfdf3;
    color: #067647;
}

.clinical-history-message-error[b-2f9fwxv0kk] {
    border: 1px solid #fecdca;
    background: #fef3f2;
    color: #b42318;
}

.clinical-history-message-symbol[b-2f9fwxv0kk] {
    display: grid;
    place-items: center;
    width: 1.1rem;
    height: 1.1rem;
    border: 1px solid currentColor;
    border-radius: 50%;
    font-size: .68rem;
    font-weight: 900;
}

.clinical-history-actions[b-2f9fwxv0kk] {
    display: flex;
    justify-content: flex-end;
    gap: .65rem;
    padding: .1rem 0 .5rem;
}

.clinical-history-save-button[b-2f9fwxv0kk],
.clinical-history-secondary-button[b-2f9fwxv0kk] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .48rem;
    min-height: 2.65rem;
    padding: .62rem 1rem;
    border-radius: 9px;
    font: inherit;
    font-size: .82rem;
    font-weight: 750;
    cursor: pointer;
    transition: transform .12s ease, box-shadow .12s ease, background-color .12s ease;
}

.clinical-history-save-button[b-2f9fwxv0kk] {
    border: 1px solid #155eef;
    background: linear-gradient(180deg, #2970ff 0%, #155eef 100%);
    color: #fff;
    box-shadow: 0 4px 10px rgba(21, 94, 239, .18);
}

.clinical-history-save-button:hover:not(:disabled)[b-2f9fwxv0kk] {
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(21, 94, 239, .22);
}

.clinical-history-save-button svg[b-2f9fwxv0kk] {
    width: 1rem;
    height: 1rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.clinical-history-secondary-button[b-2f9fwxv0kk] {
    border: 1px solid #cfd8e6;
    background: #fff;
    color: #344054;
}

.clinical-history-secondary-button:hover:not(:disabled)[b-2f9fwxv0kk] {
    background: #f8fafc;
}

.clinical-history-save-button:disabled[b-2f9fwxv0kk],
.clinical-history-secondary-button:disabled[b-2f9fwxv0kk] {
    cursor: not-allowed;
    opacity: .62;
}

.clinical-history-state[b-2f9fwxv0kk] {
    display: grid;
    place-items: center;
    gap: .85rem;
    min-height: 20rem;
    padding: 2rem;
    border: 1px solid #dfe7f1;
    border-radius: 16px;
    background: #fff;
    color: #475467;
    text-align: center;
}

.clinical-history-spinner[b-2f9fwxv0kk],
.clinical-history-button-spinner[b-2f9fwxv0kk] {
    border-radius: 50%;
    border-style: solid;
    animation: clinical-history-spin-b-2f9fwxv0kk .75s linear infinite;
}

.clinical-history-spinner[b-2f9fwxv0kk] {
    width: 2rem;
    height: 2rem;
    border-width: 3px;
    border-color: #dbe5f5;
    border-top-color: #2563eb;
}

.clinical-history-button-spinner[b-2f9fwxv0kk] {
    width: 1rem;
    height: 1rem;
    border-width: 2px;
    border-color: rgba(255, 255, 255, .45);
    border-top-color: #fff;
}

.clinical-history-error-icon[b-2f9fwxv0kk] {
    display: grid;
    place-items: center;
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 50%;
    background: #fef2f2;
    color: #b42318;
    font-weight: 900;
}

@keyframes clinical-history-spin-b-2f9fwxv0kk {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 900px) {
    .clinical-history-conditions[b-2f9fwxv0kk] {
        grid-template-columns: 1fr;
    }

    .clinical-history-conditions[b-2f9fwxv0kk]  .clinical-history-condition:nth-child(odd),
    .clinical-history-conditions[b-2f9fwxv0kk]  .clinical-history-condition:nth-child(even) {
        margin-right: 0;
        margin-left: 0;
    }

    .clinical-history-notes-grid-with-allergy[b-2f9fwxv0kk] {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    .clinical-history-page[b-2f9fwxv0kk] {
        padding: .85rem;
    }

    .clinical-history-back[b-2f9fwxv0kk] {
        min-height: 2.5rem;
        margin-bottom: .7rem;
    }

    .clinical-history-hero[b-2f9fwxv0kk] {
        align-items: flex-start;
        flex-wrap: wrap;
        padding: 1rem;
        border-radius: 14px;
    }

    .clinical-history-hero-icon[b-2f9fwxv0kk] {
        flex-basis: 3rem;
        width: 3rem;
        height: 3rem;
    }

    .clinical-history-hero-copy[b-2f9fwxv0kk] {
        width: calc(100% - 4rem);
    }

    .clinical-history-status[b-2f9fwxv0kk] {
        width: 100%;
        justify-content: center;
    }

    .clinical-history-card[b-2f9fwxv0kk] {
        border-radius: 14px;
    }

    .clinical-history-card-header[b-2f9fwxv0kk] {
        align-items: flex-start;
        flex-direction: column;
        padding: .9rem;
    }

    .clinical-history-conditions[b-2f9fwxv0kk] {
        padding: 0 .7rem .55rem;
    }

    .clinical-history-conditions[b-2f9fwxv0kk]  .clinical-history-condition {
        min-height: 3.05rem;
        padding: .58rem .3rem;
    }

    .clinical-history-notes-grid[b-2f9fwxv0kk] {
        padding: .75rem;
    }

    .clinical-history-actions[b-2f9fwxv0kk] {
        position: sticky;
        bottom: 0;
        z-index: 5;
        display: grid;
        grid-template-columns: 1fr 1fr;
        margin: 0 -.15rem;
        padding: .7rem .15rem .9rem;
        background: linear-gradient(
            to top,
            #f4f7fb 75%,
            rgba(244, 247, 251, 0)
        );
    }

    .clinical-history-save-button[b-2f9fwxv0kk],
    .clinical-history-secondary-button[b-2f9fwxv0kk] {
        width: 100%;
    }
}

@media (max-width: 440px) {
    .clinical-history-patient[b-2f9fwxv0kk] {
        align-items: flex-start;
        flex-direction: column;
        gap: .12rem;
    }

    .clinical-history-patient .clinical-history-dot[b-2f9fwxv0kk] {
        display: none;
    }

    .clinical-history-conditions[b-2f9fwxv0kk]  .clinical-history-condition {
        gap: .5rem;
    }

    .clinical-history-conditions[b-2f9fwxv0kk]  .clinical-history-condition-name {
        font-size: .79rem;
    }

    .clinical-history-conditions[b-2f9fwxv0kk]  .clinical-history-choice {
        grid-template-columns: 1.25rem 2.4rem 1.25rem;
        gap: .25rem;
    }

    .clinical-history-conditions[b-2f9fwxv0kk]  .clinical-history-switch {
        width: 2.4rem;
    }

    .clinical-history-actions[b-2f9fwxv0kk] {
        grid-template-columns: 1fr;
    }
}
/* /Components/Pages/PatientCreate.razor.rz.scp.css */
.patient-create-page[b-029imvoei7] {
    min-height: 100%;
    padding: 1.5rem;
    background: #f4f7fb;
}

.patient-create-shell[b-029imvoei7] {
    width: min(1120px, 100%);
    margin: 0 auto;
}

.patient-create-back[b-029imvoei7] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding: 0.55rem 0.8rem;
    border: 1px solid #cfdae8;
    background: #ffffff;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    border-radius: 9px;
    padding: 0.55rem 0.85rem;
}

.patient-create-back:hover:not(:disabled)[b-029imvoei7] {
    background: #edf8fd;
    border-color: #087fbd;
    color: #087fbd;
}

.patient-create-back:disabled[b-029imvoei7],
.patient-create-cancel:disabled[b-029imvoei7] {
    opacity: 0.55;
    cursor: default;
}

.patient-create-header[b-029imvoei7] {
    margin-bottom: 1rem;
}

.patient-create-eyebrow[b-029imvoei7] {
    display: block;
    margin-bottom: 0.3rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.65;
}

.patient-create-header h1[b-029imvoei7] {
    margin: 0;
    font-size: clamp(1.7rem, 4vw, 2.25rem);
}

.patient-create-header p[b-029imvoei7] {
    max-width: 720px;
    margin: 0.45rem 0 0;
    opacity: 0.72;
}

.patient-create-card[b-029imvoei7] {
    padding: 1.25rem;
    border: 1px solid rgba(128, 128, 128, 0.2);
    border-radius: 1rem;
    background: var(--bs-body-bg, #fff);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.patient-create-cancel[b-029imvoei7],
.patient-create-secondary[b-029imvoei7] {
    margin-top: 0.85rem;
    padding: 0.65rem 1rem;
    border: 1px solid rgba(128, 128, 128, 0.35);
    border-radius: 0.65rem;
    background: transparent;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.patient-create-save-error[b-029imvoei7],
.patient-create-error[b-029imvoei7] {
    margin-bottom: 1rem;
    padding: 0.85rem 1rem;
    border: 1px solid rgba(190, 50, 50, 0.3);
    border-radius: 0.75rem;
    background: rgba(190, 50, 50, 0.08);
}

.patient-create-state[b-029imvoei7] {
    display: flex;
    min-height: 220px;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    flex-direction: column;
    text-align: center;
}

.patient-create-spinner[b-029imvoei7] {
    width: 2rem;
    height: 2rem;
    border: 3px solid rgba(128, 128, 128, 0.25);
    border-top-color: currentColor;
    border-radius: 50%;
    animation: patient-create-spin-b-029imvoei7 0.8s linear infinite;
}

@keyframes patient-create-spin-b-029imvoei7 {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 640px) {
    .patient-create-page[b-029imvoei7] {
        padding: 1rem 0.75rem;
    }

    .patient-create-card[b-029imvoei7] {
        padding: 0.85rem;
        border-radius: 0.85rem;
    }

    .patient-create-header h1[b-029imvoei7] {
        font-size: 1.65rem;
    }
}
/* /Components/Pages/PatientDetail.razor.rz.scp.css */
.patient-detail-page[b-tdvgmeb0nb] {
    min-height: 100dvh;
    padding: clamp(1rem, 3vw, 2.25rem);
    background: #f4f7fb;
    color: #0f172a;
}

.patient-detail-container[b-tdvgmeb0nb] {
    width: min(1180px, 100%);
    margin: 0 auto;
}

.patient-detail-back[b-tdvgmeb0nb] {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 1.25rem;
    padding: 0.6rem 0.85rem;
    border: 1px solid #dbe4ee;
    border-radius: 10px;
    background: #fff;
    color: #334155;
    font: inherit;
    font-size: 0.88rem;
    font-weight: 750;
    cursor: pointer;
    transition: 150ms ease;
}

.patient-detail-back:hover[b-tdvgmeb0nb] {
    border-color: #bae6fd;
    background: #f0f9ff;
    color: #0369a1;
}

.patient-detail-back svg[b-tdvgmeb0nb] {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.patient-profile-header[b-tdvgmeb0nb] {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 1.2rem;
    padding: clamp(1.25rem, 3vw, 1.7rem);
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(15, 23, 42, .05);
}

.patient-profile-avatar[b-tdvgmeb0nb] {
    display: grid;
    flex: 0 0 72px;
    place-items: center;
    width: 72px;
    height: 72px;
    border-radius: 18px;
    background: linear-gradient(135deg, #0369a1, #0ea5e9);
    color: #fff;
    font-size: 1.35rem;
    font-weight: 900;
    box-shadow: 0 10px 24px rgba(3, 105, 161, .2);
}

.patient-profile-title[b-tdvgmeb0nb] {
    min-width: 0;
}

.patient-profile-eyebrow[b-tdvgmeb0nb] {
    display: block;
    margin-bottom: .25rem;
    color: #0284c7;
    font-size: .7rem;
    font-weight: 900;
    letter-spacing: .1em;
}

.patient-profile-title h1[b-tdvgmeb0nb] {
    margin: 0;
    color: #0f172a;
    font-size: clamp(1.55rem, 4vw, 2.15rem);
    font-weight: 850;
    letter-spacing: -.035em;
}

.patient-profile-meta[b-tdvgmeb0nb] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem;
    margin-top: .4rem;
    color: #64748b;
    font-size: .88rem;
    font-weight: 650;
}

.patient-profile-dot[b-tdvgmeb0nb] {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #94a3b8;
}

.patient-detail-grid[b-tdvgmeb0nb] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.15rem;
}

.patient-detail-card[b-tdvgmeb0nb] {
    min-width: 0;
    padding: 1.35rem;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .035);
}

.patient-detail-card-header[b-tdvgmeb0nb] {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: 1.2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #edf2f7;
}

.patient-detail-card-icon[b-tdvgmeb0nb] {
    display: grid;
    flex: 0 0 40px;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 11px;
    background: #e0f2fe;
    color: #0369a1;
}

.patient-detail-card-icon svg[b-tdvgmeb0nb] {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.patient-detail-card h2[b-tdvgmeb0nb] {
    margin: 0;
    color: #0f172a;
    font-size: 1rem;
    font-weight: 850;
}

.patient-detail-card-header p[b-tdvgmeb0nb] {
    margin: .15rem 0 0;
    color: #94a3b8;
    font-size: .76rem;
}

.patient-information-grid[b-tdvgmeb0nb] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 1.25rem;
}



.patient-detail-state[b-tdvgmeb0nb] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .8rem;
    min-height: 320px;
    padding: 2rem;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    background: #fff;
    color: #475569;
    text-align: center;
}

.patient-detail-error-icon[b-tdvgmeb0nb] {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #fee2e2;
    color: #b91c1c;
    font-size: 1.2rem;
    font-weight: 900;
}

.patient-detail-state-button[b-tdvgmeb0nb] {
    min-height: 40px;
    padding: .6rem 1rem;
    border: 0;
    border-radius: 9px;
    background: #0f172a;
    color: #fff;
    font: inherit;
    font-weight: 750;
    cursor: pointer;
}

.patient-detail-spinner[b-tdvgmeb0nb] {
    width: 34px;
    height: 34px;
    border: 3px solid #dbeafe;
    border-top-color: #0284c7;
    border-radius: 50%;
    animation: patient-detail-spin-b-tdvgmeb0nb .7s linear infinite;
}

@keyframes patient-detail-spin-b-tdvgmeb0nb {
    to { transform: rotate(360deg); }
}

@media (max-width: 820px) {
    .patient-detail-grid[b-tdvgmeb0nb] {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .patient-detail-page[b-tdvgmeb0nb] {
        padding: .8rem;
    }

    .patient-profile-header[b-tdvgmeb0nb] {
        align-items: flex-start;
        gap: .85rem;
        padding: 1rem;
    }

    .patient-profile-avatar[b-tdvgmeb0nb] {
        flex-basis: 56px;
        width: 56px;
        height: 56px;
        border-radius: 14px;
        font-size: 1rem;
    }

    .patient-detail-card[b-tdvgmeb0nb] {
        padding: 1rem;
    }

    .patient-information-grid[b-tdvgmeb0nb] {
        grid-template-columns: 1fr;
    }


}
/* Patient commercial visual refinement */

.patient-information-grid[b-tdvgmeb0nb] {
    gap: .8rem;
}

@media (max-width: 560px) {

    .patient-information-grid[b-tdvgmeb0nb] {
        gap: .65rem;
    }

}
/* Patient profile actions */

.patient-profile-actions[b-tdvgmeb0nb] {
    margin-left: auto;
    display: flex;
    align-items: center;
}

.patient-profile-edit-button[b-tdvgmeb0nb] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 40px;
    padding: 0.58rem 0.9rem;
    border: 1px solid #cfe1ef;
    border-radius: 10px;
    background: #f4f9fd;
    color: #087fbd;
    cursor: pointer;
    font: inherit;
    font-size: 0.82rem;
    font-weight: 700;
    transition:
        background-color 0.15s ease,
        border-color 0.15s ease,
        box-shadow 0.15s ease;
}

.patient-profile-edit-button svg[b-tdvgmeb0nb] {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.patient-profile-edit-button:hover[b-tdvgmeb0nb] {
    background: #eaf6fc;
    border-color: #a9d6ec;
    box-shadow: 0 4px 12px rgba(8, 127, 189, 0.1);
}

@media (max-width: 640px) {
    .patient-profile-actions[b-tdvgmeb0nb] {
        width: 100%;
        margin-left: 0;
        padding-left: 0;
    }

    .patient-profile-edit-button[b-tdvgmeb0nb] {
        width: 100%;
    }
}

/* MOBILE COMPACT EDIT BUTTON */

@media (max-width: 640px) {

    .patient-profile-header[b-tdvgmeb0nb] {
        position: relative;
        padding-right: 4.75rem;
    }

    .patient-profile-actions[b-tdvgmeb0nb] {
        position: absolute;
        top: 1.25rem;
        right: 1.25rem;
        width: auto;
        margin: 0;
        padding: 0;
    }

    .patient-profile-edit-button[b-tdvgmeb0nb] {
        width: 44px;
        min-width: 44px;
        height: 44px;
        min-height: 44px;
        padding: 0;
        border-radius: 12px;
        gap: 0;
    }

    .patient-profile-edit-button span[b-tdvgmeb0nb] {
        display: none;
    }

    .patient-profile-edit-button svg[b-tdvgmeb0nb] {
        width: 20px;
        height: 20px;
    }
}
/* /Components/Pages/PatientEdit.razor.rz.scp.css */
.patient-edit-page[b-ds27n191h2] {
    min-height: 100%;
    padding: 1.35rem 1.5rem 2rem;
    background: #f4f7fb;
}

.patient-edit-container[b-ds27n191h2] {
    width: min(1080px, 100%);
    margin: 0 auto;
}

/* Back navigation */

.patient-edit-back[b-ds27n191h2] {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin: 0 0 1rem;
    padding: 0.35rem 0;
    border: 1px solid #cfdae8;
    background: #ffffff;
    color: #1a3559;
    cursor: pointer;
    font: inherit;
    font-size: 0.86rem;
    font-weight: 700;
    border-radius: 9px;
    padding: 0.55rem 0.85rem;
}

.patient-edit-back:hover[b-ds27n191h2] {
    color: #087fbd;
    background: #edf8fd;
    border-color: #087fbd;
}

/* Main heading */

.patient-edit-header[b-ds27n191h2] {
    margin-bottom: 1rem;
    padding: 1.35rem 1.45rem;
    background: #ffffff;
    border: 1px solid #dfe7f1;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(27, 55, 90, 0.055);
}

.patient-edit-eyebrow[b-ds27n191h2] {
    display: block;
    margin-bottom: 0.3rem;
    color: #087fbd;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.patient-edit-header h1[b-ds27n191h2] {
    margin: 0;
    color: #081d3d;
    font-size: clamp(1.65rem, 3vw, 2rem);
    font-weight: 760;
    line-height: 1.15;
}

.patient-edit-header p[b-ds27n191h2] {
    margin: 0.42rem 0 0;
    color: #6f7e92;
    font-size: 0.88rem;
    line-height: 1.45;
}

/* Entry date card */

.patient-edit-entry-card[b-ds27n191h2] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 1rem;
    padding: 1.05rem 1.35rem;
    background: #ffffff;
    border: 1px solid #dfe7f1;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(27, 55, 90, 0.055);
}

.patient-edit-entry-copy[b-ds27n191h2] {
    min-width: 0;
}

.patient-edit-entry-copy label[b-ds27n191h2] {
    display: block;
    margin: 0;
    color: #152f53;
    font-size: 0.84rem;
    font-weight: 750;
}

.patient-edit-entry-copy small[b-ds27n191h2] {
    display: block;
    margin-top: 0.25rem;
    color: #78869a;
    font-size: 0.77rem;
}

.patient-edit-date[b-ds27n191h2] {
    width: 180px;
    min-height: 42px;
    flex: 0 0 180px;
    padding: 0.6rem 0.75rem;
    border: 1px solid #cfdae8;
    border-radius: 9px;
    background: #ffffff;
    color: #172b4d;
    font: inherit;
    font-size: 0.88rem;
}

.patient-edit-date:hover[b-ds27n191h2] {
    border-color: #aebed1;
}

.patient-edit-date:focus[b-ds27n191h2] {
    outline: none;
    border-color: #168dcc;
    box-shadow: 0 0 0 3px rgba(22, 141, 204, 0.11);
}

/* Errors */

.patient-edit-entry-error[b-ds27n191h2],
.patient-edit-save-error[b-ds27n191h2] {
    margin: 0 0 1rem;
    padding: 0.8rem 1rem;
    border: 1px solid #f1caca;
    border-radius: 11px;
    background: #fff5f5;
    color: #a32b2b;
    font-size: 0.85rem;
    font-weight: 650;
}

/* Cancel */

.patient-edit-cancel[b-ds27n191h2] {
    width: 100%;
    min-height: 46px;
    margin-top: 0.75rem;
    padding: 0.72rem 1rem;
    border: 1px solid #168dcc;
    border-radius: 10px;
    background: #ffffff;
    color: #087fbd;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    transition:
        background-color 0.15s ease,
        border-color 0.15s ease;
}

.patient-edit-cancel:hover:not(:disabled)[b-ds27n191h2] {
    background: #edf8fd;
    border-color: #087fbd;
}

.patient-edit-cancel:disabled[b-ds27n191h2],
.patient-edit-date:disabled[b-ds27n191h2] {
    cursor: not-allowed;
    opacity: 0.6;
}

/* Loading / error states */

.patient-edit-state[b-ds27n191h2] {
    min-height: 270px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    padding: 2rem;
    background: #ffffff;
    border: 1px solid #dfe7f1;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(27, 55, 90, 0.055);
    text-align: center;
}

.patient-edit-state h1[b-ds27n191h2] {
    margin: 0;
    color: #0b2142;
}

.patient-edit-state p[b-ds27n191h2] {
    margin: 0;
    color: #6f7e92;
}

.patient-edit-spinner[b-ds27n191h2] {
    width: 36px;
    height: 36px;
    border: 4px solid rgba(8, 127, 189, 0.14);
    border-top-color: #087fbd;
    border-radius: 50%;
    animation: patient-edit-spin-b-ds27n191h2 0.8s linear infinite;
}

.patient-edit-error-icon[b-ds27n191h2] {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #fff0f0;
    color: #aa2929;
    font-weight: 800;
}

.patient-edit-state-button[b-ds27n191h2] {
    padding: 0.7rem 1rem;
    border: 0;
    border-radius: 9px;
    background: #087fbd;
    color: #ffffff;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
}

.required[b-ds27n191h2] {
    color: #d92d20;
}

@keyframes patient-edit-spin-b-ds27n191h2 {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 700px) {
    .patient-edit-page[b-ds27n191h2] {
        padding: 1rem 0.85rem 1.5rem;
    }

    .patient-edit-header[b-ds27n191h2] {
        padding: 1.1rem;
        border-radius: 14px;
    }

    .patient-edit-entry-card[b-ds27n191h2] {
        align-items: stretch;
        flex-direction: column;
        gap: 0.8rem;
        padding: 1rem;
        border-radius: 14px;
    }

    .patient-edit-date[b-ds27n191h2] {
        width: 100%;
        flex-basis: auto;
    }
}
/* /Components/Pages/PatientRegistration.razor.rz.scp.css */
.registration-page[b-pkjryqru40] {
    min-height: 100vh;
    background:
        radial-gradient(circle at 85% 0%, rgba(15, 118, 110, .07), transparent 28%),
        linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    color: #0f172a;
    padding: 30px 20px 42px;
}

.registration-container[b-pkjryqru40] {
    width: min(100%, 980px);
    margin: 0 auto;
}

.registration-header[b-pkjryqru40] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 34px;
}

.registration-brand[b-pkjryqru40] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.registration-logo[b-pkjryqru40] {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .06);
    font-size: 23px;
}

.registration-brand strong[b-pkjryqru40],
.registration-brand span[b-pkjryqru40] {
    display: block;
}

.registration-brand strong[b-pkjryqru40] {
    font-size: 17px;
}

.registration-brand span[b-pkjryqru40] {
    margin-top: 2px;
    color: #64748b;
    font-size: 12px;
}

.language-selector[b-pkjryqru40] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.language-selector label[b-pkjryqru40] {
    color: #64748b;
    font-size: 12px;
    font-weight: 750;
}

.language-selector select[b-pkjryqru40] {
    min-width: 132px;
    height: 40px;
    border: 1px solid #d7e0ea;
    border-radius: 10px;
    background: #ffffff;
    padding: 0 11px;
    color: #0f172a;
    outline: none;
}

.registration-intro[b-pkjryqru40] {
    margin: 0 0 24px;
}

.registration-eyebrow[b-pkjryqru40] {
    display: inline-block;
    margin-bottom: 8px;
    color: #0f766e;
    font-size: 11px;
    font-weight: 850;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.registration-intro h1[b-pkjryqru40],
.registration-state-card h1[b-pkjryqru40] {
    margin: 0;
    color: #0f172a;
    font-size: clamp(30px, 5vw, 42px);
    font-weight: 800;
    letter-spacing: -.04em;
}

.registration-intro p[b-pkjryqru40],
.registration-state-card p[b-pkjryqru40] {
    max-width: 690px;
    margin: 9px 0 0;
    color: #64748b;
    font-size: 15px;
    line-height: 1.6;
}

.registration-state-card[b-pkjryqru40] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, .07);
    text-align: center;
    padding: 64px 28px;
}

.registration-state-card p[b-pkjryqru40] {
    margin-left: auto;
    margin-right: auto;
}

.registration-state-card > span[b-pkjryqru40] {
    display: block;
    color: #64748b;
    margin-top: 12px;
}

.registration-state-icon[b-pkjryqru40] {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: #fff7ed;
    color: #c2410c;
    font-size: 24px;
    font-weight: 900;
}

.registration-spinner[b-pkjryqru40] {
    width: 42px;
    height: 42px;
    margin: 0 auto 20px;
    border: 4px solid #e2e8f0;
    border-top-color: #0f766e;
    border-radius: 50%;
    animation: registration-spin-b-pkjryqru40 .8s linear infinite;
}

.registration-footer[b-pkjryqru40] {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 30px;
    color: #94a3b8;
    font-size: 11px;
    text-align: center;
}

.registration-footer strong[b-pkjryqru40] {
    color: #64748b;
}

.registration-primary-button[b-pkjryqru40] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    margin-top: 24px;
    padding: 0 22px;
    border: 1px solid #0f766e;
    border-radius: 12px;
    background: #0f766e;
    color: #ffffff;
    font: inherit;
    font-size: 14px;
    font-weight: 750;
    line-height: 1.2;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(15, 118, 110, .18);
    transition:
        background-color .18s ease,
        border-color .18s ease,
        box-shadow .18s ease,
        transform .18s ease;
}

.registration-primary-button:hover[b-pkjryqru40] {
    background: #115e59;
    border-color: #115e59;
    box-shadow: 0 10px 24px rgba(15, 118, 110, .24);
    transform: translateY(-1px);
}

.registration-primary-button:active[b-pkjryqru40] {
    transform: translateY(0);
    box-shadow: 0 5px 14px rgba(15, 118, 110, .18);
}

.registration-primary-button:focus-visible[b-pkjryqru40] {
    outline: 3px solid rgba(15, 118, 110, .22);
    outline-offset: 3px;
}

.registration-state-actions[b-pkjryqru40] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.registration-state-actions .registration-primary-button[b-pkjryqru40] {
    margin-top: 0;
}

.registration-secondary-button[b-pkjryqru40] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 22px;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    background: #ffffff;
    color: #334155;
    font: inherit;
    font-size: 14px;
    font-weight: 750;
    line-height: 1.2;
    text-align: center;
    cursor: pointer;
    transition:
        background-color .18s ease,
        border-color .18s ease,
        color .18s ease,
        box-shadow .18s ease,
        transform .18s ease;
}

.registration-secondary-button:hover:not(:disabled)[b-pkjryqru40] {
    background: #f8fafc;
    border-color: #94a3b8;
    color: #0f172a;
    box-shadow: 0 8px 20px rgba(15, 23, 42, .08);
    transform: translateY(-1px);
}

.registration-secondary-button:active:not(:disabled)[b-pkjryqru40] {
    transform: translateY(0);
}

.registration-secondary-button:focus-visible[b-pkjryqru40] {
    outline: 3px solid rgba(15, 118, 110, .18);
    outline-offset: 3px;
}

.registration-primary-button:disabled[b-pkjryqru40],
.registration-secondary-button:disabled[b-pkjryqru40] {
    opacity: .6;
    cursor: not-allowed;
    transform: none;
}

.registration-action-error[b-pkjryqru40] {
    margin: 16px auto 0 !important;
    color: #b91c1c !important;
    font-size: 13px !important;
    font-weight: 650;
}

@keyframes registration-spin-b-pkjryqru40 {
    to { transform: rotate(360deg); }
}

@media (max-width: 700px) {
    .registration-page[b-pkjryqru40] {
        padding: 18px 13px 32px;
    }

    .registration-header[b-pkjryqru40] {
        align-items: flex-start;
        flex-direction: column;
        gap: 17px;
        margin-bottom: 27px;
    }

    .language-selector[b-pkjryqru40] {
        width: 100%;
        justify-content: space-between;
    }

    .language-selector select[b-pkjryqru40] {
        flex: 1;
        max-width: 190px;
        height: 44px;
        font-size: 16px;
    }

    .registration-intro h1[b-pkjryqru40] {
        font-size: 31px;
    }
}
/* /Components/Pages/PatientRegistrationLinks.razor.rz.scp.css */
.registration-page[b-8e67w8dzlx] {
    min-height: 100%;
    padding: 32px;
    background: #f6f8fb;
}

.registration-card[b-8e67w8dzlx] {
    max-width: 920px;
    margin: 0 auto;
    padding: 36px;
    background: white;
    border: 1px solid #e4e8ef;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(20, 35, 60, 0.07);
}

.registration-header[b-8e67w8dzlx] {
    margin-bottom: 32px;
}

.registration-eyebrow[b-8e67w8dzlx] {
    margin-bottom: 8px;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: #65758b;
}

.registration-header h1[b-8e67w8dzlx] {
    margin: 0 0 10px;
    font-size: 2rem;
    font-weight: 750;
    color: #172033;
}

.registration-header p[b-8e67w8dzlx],
.registration-empty p[b-8e67w8dzlx],
.result-description[b-8e67w8dzlx] {
    color: #667085;
    line-height: 1.6;
}

.registration-empty[b-8e67w8dzlx] {
    padding: 44px 24px;
    text-align: center;
    border: 1px dashed #ccd4df;
    border-radius: 16px;
    background: #fbfcfe;
}

.registration-icon[b-8e67w8dzlx] {
    margin-bottom: 14px;
    font-size: 2.2rem;
}

.registration-empty h2[b-8e67w8dzlx],
.registration-result h2[b-8e67w8dzlx] {
    margin: 0 0 8px;
    color: #172033;
}

.primary-action[b-8e67w8dzlx],
.secondary-action[b-8e67w8dzlx],
.text-action[b-8e67w8dzlx] {
    min-height: 44px;
    padding: 10px 18px;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
}

.primary-action[b-8e67w8dzlx] {
    border: 1px solid #2457d6;
    background: #2457d6;
    color: white;
}

.secondary-action[b-8e67w8dzlx] {
    border: 1px solid #cbd3df;
    background: white;
    color: #25324a;
}

.text-action[b-8e67w8dzlx] {
    border: 0;
    background: transparent;
    color: #2457d6;
}

.primary-action:disabled[b-8e67w8dzlx],
.text-action:disabled[b-8e67w8dzlx] {
    opacity: 0.6;
    cursor: default;
}

.registration-result[b-8e67w8dzlx] {
    padding: 28px;
    border: 1px solid #dfe5ed;
    border-radius: 16px;
}

.success-badge[b-8e67w8dzlx] {
    display: inline-block;
    margin-bottom: 16px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #eaf8ef;
    color: #18753c;
    font-size: 0.82rem;
    font-weight: 800;
}

.link-box[b-8e67w8dzlx] {
    margin: 22px 0;
    padding: 15px 16px;
    border: 1px solid #d7deea;
    border-radius: 10px;
    background: #f8fafc;
    overflow-wrap: anywhere;
    color: #24324a;
}

.registration-details[b-8e67w8dzlx] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 24px;
}

.detail-item[b-8e67w8dzlx] {
    padding: 16px;
    border-radius: 12px;
    background: #f7f9fc;
}

.detail-label[b-8e67w8dzlx] {
    display: block;
    margin-bottom: 4px;
    font-size: 0.8rem;
    color: #78869a;
}

.detail-item strong[b-8e67w8dzlx] {
    color: #25324a;
}

.result-actions[b-8e67w8dzlx] {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.registration-message[b-8e67w8dzlx] {
    margin: 18px 0;
    padding: 12px 14px;
    border-radius: 10px;
}

.registration-message-error[b-8e67w8dzlx] {
    background: #fff1f1;
    color: #a32929;
}

.registration-message-success[b-8e67w8dzlx] {
    background: #eaf8ef;
    color: #18753c;
}

@media (max-width: 700px) {
    .registration-page[b-8e67w8dzlx] {
        padding: 16px;
    }

    .registration-card[b-8e67w8dzlx] {
        padding: 22px 18px;
        border-radius: 14px;
    }

    .registration-header h1[b-8e67w8dzlx] {
        font-size: 1.6rem;
    }

    .registration-details[b-8e67w8dzlx] {
        grid-template-columns: 1fr;
    }

    .result-actions[b-8e67w8dzlx] {
        flex-direction: column;
    }

    .result-actions button[b-8e67w8dzlx] {
        width: 100%;
    }
}

.registration-header[b-8e67w8dzlx] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
}

.close-action[b-8e67w8dzlx] {
    min-height: 42px;
    padding: 9px 16px;
    border: 1px solid #cbd3df;
    border-radius: 10px;
    background: white;
    color: #344054;
    font-weight: 700;
    cursor: pointer;
}

.registration-history[b-8e67w8dzlx] {
    margin-top: 32px;
    padding-top: 28px;
    border-top: 1px solid #e4e8ef;
}

.history-header[b-8e67w8dzlx] {
    margin-bottom: 18px;
}

.history-header h2[b-8e67w8dzlx] {
    margin: 0 0 6px;
    color: #172033;
}

.history-header p[b-8e67w8dzlx] {
    margin: 0;
    color: #667085;
}

.history-table-wrapper[b-8e67w8dzlx] {
    overflow-x: auto;
    border: 1px solid #e4e8ef;
    border-radius: 12px;
}

.history-table[b-8e67w8dzlx] {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.history-table th[b-8e67w8dzlx],
.history-table td[b-8e67w8dzlx] {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid #edf0f4;
    white-space: nowrap;
}

.history-table th[b-8e67w8dzlx] {
    background: #f8fafc;
    color: #667085;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.history-table tbody tr:last-child td[b-8e67w8dzlx] {
    border-bottom: 0;
}

.history-empty[b-8e67w8dzlx] {
    padding: 24px;
    border: 1px dashed #ccd4df;
    border-radius: 12px;
    background: #fbfcfe;
    color: #667085;
    text-align: center;
}

.status-badge[b-8e67w8dzlx] {
    display: inline-flex;
    align-items: center;
    padding: 5px 9px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
}

.status-active[b-8e67w8dzlx] {
    background: #eaf8ef;
    color: #18753c;
}

.status-completed[b-8e67w8dzlx] {
    background: #eef4ff;
    color: #2457d6;
}

.status-finalized[b-8e67w8dzlx] {
    background: #f2f4f7;
    color: #475467;
}

.status-expired[b-8e67w8dzlx] {
    background: #fff4e5;
    color: #9a5b13;
}

@media (max-width: 700px) {
    .registration-header[b-8e67w8dzlx] {
        flex-direction: column;
    }

    .close-action[b-8e67w8dzlx] {
        width: 100%;
    }

    .history-table-wrapper[b-8e67w8dzlx] {
        overflow: visible;
        border: 0;
    }

    .history-table[b-8e67w8dzlx],
    .history-table tbody[b-8e67w8dzlx],
    .history-table tr[b-8e67w8dzlx],
    .history-table td[b-8e67w8dzlx] {
        display: block;
        width: 100%;
    }

    .history-table thead[b-8e67w8dzlx] {
        display: none;
    }

    .history-table tr[b-8e67w8dzlx] {
        margin-bottom: 14px;
        padding: 8px 14px;
        border: 1px solid #e4e8ef;
        border-radius: 12px;
        background: white;
    }

    .history-table td[b-8e67w8dzlx] {
        display: flex;
        justify-content: space-between;
        gap: 18px;
        padding: 10px 0;
        white-space: normal;
    }

    .history-table td[b-8e67w8dzlx]::before {
        content: attr(data-label);
        color: #667085;
        font-weight: 700;
    }
}

.history-pagination[b-8e67w8dzlx] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 16px;
    color: #667085;
    font-size: 0.9rem;
}

.history-page-size[b-8e67w8dzlx],
.history-page-actions[b-8e67w8dzlx] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.history-page-size select[b-8e67w8dzlx] {
    min-height: 36px;
    padding: 5px 10px;
    border: 1px solid #d0d5dd;
    border-radius: 8px;
    background: white;
    color: #344054;
}

.history-page-actions button[b-8e67w8dzlx] {
    min-height: 36px;
    padding: 6px 12px;
    border: 1px solid #d0d5dd;
    border-radius: 8px;
    background: white;
    color: #344054;
    font-weight: 700;
    cursor: pointer;
}

.history-page-actions button:disabled[b-8e67w8dzlx] {
    opacity: 0.45;
    cursor: default;
}

@media (max-width: 700px) {
    .history-pagination[b-8e67w8dzlx] {
        flex-direction: column;
        align-items: stretch;
    }

    .history-page-size[b-8e67w8dzlx],
    .history-page-actions[b-8e67w8dzlx] {
        justify-content: center;
        flex-wrap: wrap;
    }

    .history-page-info[b-8e67w8dzlx] {
        text-align: center;
    }
}

.registration-qr[b-8e67w8dzlx] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin: 20px 0;
    padding: 20px;
    border: 1px solid #e4e8ef;
    border-radius: 14px;
    background: #f8fafc;
}

.qr-text[b-8e67w8dzlx] {
    flex: 1;
}

.qr-text h3[b-8e67w8dzlx] {
    margin: 0 0 6px;
    color: #172033;
    font-size: 1.05rem;
}

.qr-text p[b-8e67w8dzlx] {
    margin: 0;
    color: #667085;
    line-height: 1.5;
}

.qr-image-frame[b-8e67w8dzlx] {
    flex: 0 0 auto;
    padding: 10px;
    background: white;
    border: 1px solid #e4e8ef;
    border-radius: 12px;
    line-height: 0;
}

.qr-image-frame img[b-8e67w8dzlx] {
    display: block;
    width: 180px;
    height: 180px;
    max-width: 100%;
}

@media (max-width: 700px) {
    .registration-qr[b-8e67w8dzlx] {
        flex-direction: column;
        text-align: center;
    }

    .qr-image-frame img[b-8e67w8dzlx] {
        width: 200px;
        height: 200px;
    }
}
/* /Components/Pages/Patients.razor.rz.scp.css */
.scheduler-shell[b-auhu7gsf61] {
    --sidebar-width: 264px;
    --header-height: 64px;
    --page-background: #f4f7fb;
    --surface: #ffffff;
    --surface-muted: #f8fafc;
    --border: #e2e8f0;
    --text-primary: #0f172a;
    --text-secondary: #64748b;
    --brand: #0369a1;
    --brand-dark: #075985;
    --brand-soft: #e0f2fe;

    display: grid;
    grid-template-columns:
        var(--sidebar-width)
        minmax(0, 1fr);

    width: 100%;
    min-width: 0;
    min-height: 100dvh;

    background: var(--page-background);
    color: var(--text-primary);
}

.scheduler-sidebar[b-auhu7gsf61] {
    position: sticky;
    top: 0;
    z-index: 1200;

    display: flex;
    flex-direction: column;

    width: var(--sidebar-width);
    height: 100dvh;
    min-height: 100dvh;

    padding: 1.25rem 1rem;

    background:
        linear-gradient(
            180deg,
            #0f172a 0%,
            #172554 100%);

    color: #ffffff;
    overflow-y: auto;
}

.sidebar-brand[b-auhu7gsf61] {
    display: flex;
    align-items: center;
    gap: 0.8rem;

    min-height: 58px;
    padding: 0.25rem 0.35rem 1.25rem;

    border-bottom:
        1px solid rgba(255, 255, 255, 0.12);
}

.sidebar-icon[b-auhu7gsf61] {
    display: grid;
    flex: 0 0 44px;
    place-items: center;

    width: 44px;
    height: 44px;

    border-radius: 13px;
    background:
        linear-gradient(
            135deg,
            #38bdf8,
            #0ea5e9);

    box-shadow:
        0 8px 22px rgba(14, 165, 233, 0.28);

    font-size: 1.35rem;
}

.sidebar-brand-copy[b-auhu7gsf61] {
    min-width: 0;
}

.sidebar-brand h2[b-auhu7gsf61] {
    margin: 0;

    color: #ffffff;
    font-size: 1.02rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    white-space: nowrap;
}

.sidebar-brand span[b-auhu7gsf61] {
    display: block;
    margin-top: 0.16rem;

    color: #94a3b8;
    font-size: 0.74rem;
    font-weight: 600;
}

.sidebar-close-button[b-auhu7gsf61] {
    display: none;
    flex: 0 0 42px;

    width: 42px;
    height: 42px;
    margin-left: auto;
    padding: 0;

    border: 0;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);

    color: #ffffff;
    font-size: 1.55rem;
    line-height: 1;
    cursor: pointer;
}

.sidebar-menu[b-auhu7gsf61] {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 0.4rem;

    padding-top: 1.25rem;
}

.sidebar-menu-item[b-auhu7gsf61] {
    display: flex;
    align-items: center;
    gap: 0.75rem;

    width: 100%;
    min-height: 48px;
    padding: 0.7rem 0.8rem;

    border: 0;
    border-radius: 11px;
    background: transparent;

    color: #cbd5e1;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 700;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}

.sidebar-menu-item:hover[b-auhu7gsf61] {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.sidebar-menu-item.active[b-auhu7gsf61] {
    background: rgba(56, 189, 248, 0.16);
    color: #ffffff;
    box-shadow:
        inset 3px 0 0 #38bdf8;
}

.sidebar-menu-icon[b-auhu7gsf61] {
    display: grid;
    flex: 0 0 28px;
    place-items: center;

    width: 28px;
    height: 28px;

    font-size: 1rem;
}

.sidebar-menu-item-disabled[b-auhu7gsf61] {
    opacity: 0.48;
    cursor: not-allowed;
}

.sidebar-menu-item-disabled:hover[b-auhu7gsf61] {
    background: transparent;
    color: #cbd5e1;
}

.sidebar-menu-badge[b-auhu7gsf61] {
    margin-left: auto;
    padding: 0.18rem 0.42rem;

    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);

    color: #cbd5e1;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.sidebar-footer[b-auhu7gsf61] {
    display: flex;
    align-items: center;
    gap: 0.7rem;

    margin-top: 1.25rem;
    padding: 1rem 0.5rem 0.25rem;

    border-top:
        1px solid rgba(255, 255, 255, 0.12);
}

.sidebar-footer-icon[b-auhu7gsf61] {
    display: grid;
    flex: 0 0 36px;
    place-items: center;

    width: 36px;
    height: 36px;

    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);

    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 900;
}

.sidebar-footer strong[b-auhu7gsf61],
.sidebar-footer span[b-auhu7gsf61] {
    display: block;
}

.sidebar-footer strong[b-auhu7gsf61] {
    color: #ffffff;
    font-size: 0.78rem;
}

.sidebar-footer span[b-auhu7gsf61] {
    margin-top: 0.1rem;
    color: #94a3b8;
    font-size: 0.68rem;
}

.scheduler-main[b-auhu7gsf61] {
    display: flex;
    flex-direction: column;

    width: 100%;
    min-width: 0;
    min-height: 100dvh;

    overflow-x: hidden;
}

.application-header[b-auhu7gsf61] {
    position: sticky;
    top: 0;
    z-index: 900;

    display: flex;
    align-items: center;
    justify-content: space-between;

    min-height: var(--header-height);
    padding:
        0
        clamp(1rem, 2.5vw, 2rem);

    border-bottom: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);
}

.application-header-left[b-auhu7gsf61],
.mobile-brand[b-auhu7gsf61],
.application-header-status[b-auhu7gsf61] {
    display: flex;
    align-items: center;
}

.application-header-left[b-auhu7gsf61] {
    gap: 0.75rem;
}

.mobile-menu-button[b-auhu7gsf61],
.mobile-brand[b-auhu7gsf61] {
    display: none;
}

.application-header-status[b-auhu7gsf61] {
    gap: 0.5rem;
    margin-left: auto;

    color: var(--text-secondary);
    font-size: 0.8rem;
    font-weight: 700;
}

.application-status-indicator[b-auhu7gsf61] {
    width: 8px;
    height: 8px;

    border-radius: 50%;
    background: #22c55e;
    box-shadow:
        0 0 0 4px rgba(34, 197, 94, 0.13);
}

.scheduler-content[b-auhu7gsf61] {
    width: 100%;
    min-width: 0;
    padding:
        clamp(1rem, 2.5vw, 2rem);
}

.scheduler-header[b-auhu7gsf61] {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;

    margin-bottom: 1.25rem;
}

.scheduler-title[b-auhu7gsf61] {
    min-width: 0;
}

.scheduler-eyebrow[b-auhu7gsf61] {
    display: block;
    margin-bottom: 0.3rem;

    color: var(--brand);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.scheduler-header h1[b-auhu7gsf61] {
    margin: 0;

    color: var(--text-primary);
    font-size:
        clamp(1.65rem, 3vw, 2.25rem);
    font-weight: 850;
    letter-spacing: -0.035em;
}

.scheduler-header p[b-auhu7gsf61] {
    max-width: 620px;
    margin: 0.35rem 0 0;

    color: var(--text-secondary);
    font-size: 0.92rem;
}

.scheduler-header-actions[b-auhu7gsf61] {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.65rem;
}

.btn-scheduler-action[b-auhu7gsf61] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;

    min-height: 44px;
    padding: 0.68rem 1rem;

    border-radius: 10px;

    font-family: inherit;
    font-size: 0.86rem;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
}

.btn-block-hour[b-auhu7gsf61] {
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #334155;
}

.btn-block-hour:hover[b-auhu7gsf61] {
    background: #f8fafc;
}

.btn-new-appointment[b-auhu7gsf61] {
    border: 1px solid var(--brand);
    background: var(--brand);
    color: #ffffff;
    box-shadow:
        0 7px 18px rgba(3, 105, 161, 0.18);
}

.btn-new-appointment:hover[b-auhu7gsf61] {
    border-color: var(--brand-dark);
    background: var(--brand-dark);
}

.btn-scheduler-action:disabled[b-auhu7gsf61] {
    box-shadow: none;
    cursor: not-allowed;
    opacity: 0.52;
}

.mobile-navigation-backdrop[b-auhu7gsf61] {
    display: none;
}

.calendar-card[b-auhu7gsf61] {
    min-width: 0;
    overflow: hidden;
}

#calendar[b-auhu7gsf61] {
    min-width: 0;
}

@media (max-width: 991.98px) {
    .scheduler-shell[b-auhu7gsf61] {
        display: block;
    }

    .scheduler-sidebar[b-auhu7gsf61] {
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;

        width: min(84vw, 300px);

        transform: translateX(-105%);
        transition:
            transform 180ms ease-out;

        box-shadow:
            18px 0 42px rgba(15, 23, 42, 0.25);
    }

    .scheduler-sidebar-open[b-auhu7gsf61] {
        transform: translateX(0);
    }

    .sidebar-close-button[b-auhu7gsf61] {
        display: grid;
        place-items: center;
    }

    .mobile-navigation-backdrop[b-auhu7gsf61] {
        position: fixed;
        inset: 0;
        z-index: 1100;

        display: block;

        width: 100%;
        height: 100%;

        padding: 0;
        border: 0;
        background: rgba(15, 23, 42, 0.52);
        backdrop-filter: blur(2px);
        cursor: pointer;
    }

    .mobile-menu-button[b-auhu7gsf61] {
        display: inline-flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;

        width: 44px;
        height: 44px;
        padding: 0;

        border: 1px solid var(--border);
        border-radius: 10px;
        background: #ffffff;

        cursor: pointer;
    }

    .mobile-menu-button span[b-auhu7gsf61] {
        width: 19px;
        height: 2px;

        border-radius: 999px;
        background: #334155;
    }

    .mobile-brand[b-auhu7gsf61] {
        gap: 0.45rem;

        color: var(--text-primary);
        font-size: 0.9rem;
        font-weight: 850;
    }

    .mobile-brand-icon[b-auhu7gsf61] {
        font-size: 1.12rem;
    }
}

@media (max-width: 767.98px) {
    .application-header[b-auhu7gsf61] {
        min-height: 60px;
        padding:
            0
            max(
                0.85rem,
                env(safe-area-inset-right))
            0
            max(
                0.85rem,
                env(safe-area-inset-left));
    }

    .application-header-status[b-auhu7gsf61] {
        font-size: 0.72rem;
    }

    .scheduler-content[b-auhu7gsf61] {
        padding:
            1rem
            max(
                0.75rem,
                env(safe-area-inset-right))
            max(
                1rem,
                env(safe-area-inset-bottom))
            max(
                0.75rem,
                env(safe-area-inset-left));
    }

    .scheduler-header[b-auhu7gsf61] {
        align-items: stretch;
        flex-direction: column;
        gap: 1rem;
    }

    .scheduler-header p[b-auhu7gsf61] {
        font-size: 0.86rem;
    }

    .scheduler-header-actions[b-auhu7gsf61] {
        display: grid;
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
        width: 100%;
    }

    .btn-scheduler-action[b-auhu7gsf61] {
        width: 100%;
        min-width: 0;
        padding-inline: 0.65rem;
    }
}

@media (max-width: 479.98px) {
    .application-header-status span:last-child[b-auhu7gsf61] {
        display: none;
    }

    .scheduler-header-actions[b-auhu7gsf61] {
        grid-template-columns: 1fr;
    }

    .btn-scheduler-action[b-auhu7gsf61] {
        min-height: 46px;
    }

    .sidebar-footer[b-auhu7gsf61] {
        padding-bottom:
            max(
                0.25rem,
                env(safe-area-inset-bottom));
    }
}

@media (prefers-reduced-motion: reduce) {
    .scheduler-sidebar[b-auhu7gsf61] {
        transition: none;
    }
}
.calendar-toolbar[b-auhu7gsf61] {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1rem 1.25rem;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #ffffff;
}

.doctor-selector[b-auhu7gsf61] {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    min-width: 280px;
}

.doctor-selector label[b-auhu7gsf61] {
    color: #475569;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.doctor-selector select[b-auhu7gsf61],
.appointment-form-field select[b-auhu7gsf61],
.appointment-form-field input[b-auhu7gsf61],
.appointment-form-field textarea[b-auhu7gsf61] {
    width: 100%;
    min-height: 44px;
    padding: 0.65rem 0.85rem;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    background: #ffffff;
    color: #0f172a;
    font-family: inherit;
    font-size: 0.95rem;
}

.doctor-selector select[b-auhu7gsf61] {
    padding-right: 2.5rem;
    cursor: pointer;
}

.doctor-selector select:focus[b-auhu7gsf61],
.appointment-form-field select:focus[b-auhu7gsf61],
.appointment-form-field input:focus[b-auhu7gsf61],
.appointment-form-field textarea:focus[b-auhu7gsf61] {
    border-color: #0284c7;
    outline: 3px solid rgba(2, 132, 199, 0.15);
}

.doctor-selector select:disabled[b-auhu7gsf61],
.appointment-form-field select:disabled[b-auhu7gsf61],
.appointment-form-field input:disabled[b-auhu7gsf61],
.appointment-form-field textarea:disabled[b-auhu7gsf61] {
    background: #f8fafc;
    color: #64748b;
    cursor: default;
}

.selected-doctor-name[b-auhu7gsf61],
.calendar-toolbar-message[b-auhu7gsf61] {
    color: #475569;
    font-size: 0.9rem;
    font-weight: 600;
}

.calendar-toolbar-error[b-auhu7gsf61],
.calendar-state-error[b-auhu7gsf61] {
    color: #b91c1c;
}

.calendar-state-message[b-auhu7gsf61],
.calendar-state-error[b-auhu7gsf61] {
    padding: 3rem 1rem;
    text-align: center;
}

.appointment-modal-backdrop[b-auhu7gsf61] {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: rgba(15, 23, 42, 0.58);
}

.appointment-modal[b-auhu7gsf61] {
    width: min(620px, 100%);
    max-height: calc(100vh - 3rem);
    overflow: auto;
    background: #ffffff;
    border-radius: 18px;
    box-shadow:
        0 24px 60px rgba(15, 23, 42, 0.28);
}

.appointment-form-modal[b-auhu7gsf61] {
    width: min(760px, 100%);
}

.appointment-modal-header[b-auhu7gsf61] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.5rem 1.5rem 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.appointment-modal-header h2[b-auhu7gsf61] {
    margin: 0;
    color: #0f172a;
    font-size: 1.35rem;
}

.appointment-modal-header span[b-auhu7gsf61] {
    display: block;
    margin-top: 0.25rem;
    color: #64748b;
    font-size: 0.875rem;
}

.appointment-modal-close[b-auhu7gsf61] {
    width: 2.25rem;
    height: 2.25rem;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #f1f5f9;
    color: #475569;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
}

.appointment-modal-close:hover[b-auhu7gsf61] {
    background: #e2e8f0;
    color: #0f172a;
}

.appointment-modal-close:disabled[b-auhu7gsf61] {
    cursor: default;
    opacity: 0.55;
}

.appointment-modal-body[b-auhu7gsf61] {
    padding: 1.5rem;
}

.appointment-form-grid[b-auhu7gsf61] {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.appointment-form-field[b-auhu7gsf61] {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.appointment-form-field label[b-auhu7gsf61] {
    color: #475569;
    font-size: 0.82rem;
    font-weight: 800;
}

.appointment-form-field textarea[b-auhu7gsf61] {
    min-height: 100px;
    resize: vertical;
}

.appointment-form-full[b-auhu7gsf61] {
    grid-column: 1 / -1;
}

.patient-search-row[b-auhu7gsf61] {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr) auto;
    gap: 0.65rem;
}

.appointment-form-help[b-auhu7gsf61] {
    color: #64748b;
    font-size: 0.82rem;
}

.appointment-checkbox[b-auhu7gsf61] {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    width: fit-content;
    cursor: pointer;
}

.appointment-checkbox input[b-auhu7gsf61] {
    width: 18px;
    min-height: 18px;
    margin: 0;
}

.appointment-form-message[b-auhu7gsf61] {
    margin-bottom: 1rem;
}

.appointment-form-success[b-auhu7gsf61] {
    margin-bottom: 1rem;
    padding: 1rem;
    border: 1px solid #bbf7d0;
    border-radius: 10px;
    background: #f0fdf4;
    color: #166534;
    font-weight: 700;
}

.appointment-detail-grid[b-auhu7gsf61] {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.appointment-detail-field[b-auhu7gsf61] {
    padding: 0.9rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #f8fafc;
}

.appointment-detail-full[b-auhu7gsf61] {
    grid-column: 1 / -1;
}

.appointment-detail-label[b-auhu7gsf61] {
    display: block;
    margin-bottom: 0.35rem;
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.appointment-detail-field strong[b-auhu7gsf61] {
    color: #0f172a;
    font-size: 1.05rem;
}

.appointment-status[b-auhu7gsf61] {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
    background: #e0f2fe;
    color: #0369a1;
    font-size: 0.85rem;
    font-weight: 700;
}

.appointment-notes[b-auhu7gsf61] {
    margin: 0;
    color: #334155;
    white-space: pre-wrap;
}

.appointment-detail-message[b-auhu7gsf61] {
    padding: 2rem;
    color: #475569;
    text-align: center;
}

.appointment-detail-error[b-auhu7gsf61] {
    padding: 1rem;
    border: 1px solid #fecaca;
    border-radius: 10px;
    background: #fef2f2;
    color: #b91c1c;
}

.appointment-modal-footer[b-auhu7gsf61] {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    padding: 1rem 1.5rem 1.5rem;
    border-top: 1px solid #e2e8f0;
}

.appointment-modal-button[b-auhu7gsf61],
.appointment-primary-button[b-auhu7gsf61],
.appointment-secondary-button[b-auhu7gsf61] {
    min-height: 42px;
    padding: 0.65rem 1.15rem;
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
}

.appointment-modal-button[b-auhu7gsf61],
.appointment-primary-button[b-auhu7gsf61] {
    border: 0;
    background: #0f172a;
    color: #ffffff;
}

.appointment-modal-button:hover[b-auhu7gsf61],
.appointment-primary-button:hover[b-auhu7gsf61] {
    background: #1e293b;
}

.appointment-secondary-button[b-auhu7gsf61] {
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #334155;
}

.appointment-secondary-button:hover[b-auhu7gsf61] {
    background: #f8fafc;
}

.appointment-modal-button:disabled[b-auhu7gsf61],
.appointment-primary-button:disabled[b-auhu7gsf61],
.appointment-secondary-button:disabled[b-auhu7gsf61] {
    cursor: default;
    opacity: 0.6;
}

@media (max-width: 720px) {
    .calendar-toolbar[b-auhu7gsf61] {
        align-items: stretch;
        flex-direction: column;
    }

    .doctor-selector[b-auhu7gsf61] {
        min-width: 0;
        width: 100%;
    }

    .appointment-form-grid[b-auhu7gsf61] {
        grid-template-columns: 1fr;
    }

    .appointment-form-full[b-auhu7gsf61] {
        grid-column: auto;
    }
}

@media (max-width: 640px) {
    .appointment-modal-backdrop[b-auhu7gsf61] {
        align-items: flex-end;
        padding: 0;
    }

    .appointment-modal[b-auhu7gsf61] {
        width: 100%;
        max-height: 92vh;
        border-radius: 18px 18px 0 0;
    }

    .appointment-detail-grid[b-auhu7gsf61] {
        grid-template-columns: 1fr;
    }

    .appointment-detail-full[b-auhu7gsf61] {
        grid-column: auto;
    }

    .patient-search-row[b-auhu7gsf61] {
        grid-template-columns: 1fr;
    }

    .appointment-modal-footer[b-auhu7gsf61] {
        flex-direction: column-reverse;
    }

    .appointment-primary-button[b-auhu7gsf61],
    .appointment-secondary-button[b-auhu7gsf61] {
        width: 100%;
    }
}

.calendar-filters[b-auhu7gsf61] {
    display: flex;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 1rem;
}

@media (max-width: 720px) {
    .calendar-filters[b-auhu7gsf61] {
        width: 100%;
        align-items: stretch;
        flex-direction: column;
    }
}

.appointment-modal-footer .appointment-primary-button[b-auhu7gsf61],
.appointment-modal-footer .appointment-secondary-button[b-auhu7gsf61] {
    min-width: 130px;
}

@media (max-width: 640px) {
    .appointment-modal-footer .appointment-primary-button[b-auhu7gsf61],
    .appointment-modal-footer .appointment-secondary-button[b-auhu7gsf61] {
        width: 100%;
    }
}

.appointment-status-pending[b-auhu7gsf61] {
    background: #e0f2fe;
    color: #0369a1;
}

.appointment-status-confirmed[b-auhu7gsf61] {
    background: #dcfce7;
    color: #166534;
}

.appointment-status-cancelled[b-auhu7gsf61] {
    background: #fee2e2;
    color: #b91c1c;
}

.appointment-status-message[b-auhu7gsf61] {
    margin-bottom: 1rem;
}

.appointment-detail-actions[b-auhu7gsf61] {
    flex-wrap: wrap;
}

.appointment-status-button[b-auhu7gsf61] {
    min-height: 42px;
    padding: 0.65rem 1.15rem;
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
}

.appointment-status-button:disabled[b-auhu7gsf61] {
    cursor: default;
    opacity: 0.6;
}

.appointment-confirm-button[b-auhu7gsf61],
.appointment-restore-button[b-auhu7gsf61] {
    border: 1px solid #86efac;
    background: #f0fdf4;
    color: #166534;
}

.appointment-confirm-button:hover[b-auhu7gsf61],
.appointment-restore-button:hover[b-auhu7gsf61] {
    background: #dcfce7;
}

.appointment-pending-button[b-auhu7gsf61] {
    border: 1px solid #7dd3fc;
    background: #f0f9ff;
    color: #0369a1;
}

.appointment-pending-button:hover[b-auhu7gsf61] {
    background: #e0f2fe;
}

.appointment-cancel-button[b-auhu7gsf61] {
    border: 1px solid #fca5a5;
    background: #fff1f2;
    color: #b91c1c;
}

.appointment-cancel-button:hover[b-auhu7gsf61] {
    background: #ffe4e6;
}

@media (max-width: 640px) {
    .appointment-detail-actions
        .appointment-status-button[b-auhu7gsf61] {
        width: 100%;
    }
}

.sidebar-footer-content[b-auhu7gsf61] {
    flex: 1;
    min-width: 0;
}

.sidebar-logout-button[b-auhu7gsf61] {
    width: 100%;
    min-height: 36px;
    margin-top: 0.75rem;
    padding: 0.55rem 0.75rem;

    border:
        1px solid rgba(255, 255, 255, 0.18);
    border-radius: 0.55rem;

    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;

    cursor: pointer;
    font: inherit;
    font-size: 0.72rem;
    font-weight: 800;

    transition:
        background-color 160ms ease,
        border-color 160ms ease,
        transform 160ms ease;
}

.sidebar-logout-button:hover[b-auhu7gsf61] {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.14);
}

.sidebar-logout-button:active[b-auhu7gsf61] {
    transform: translateY(1px);
}

.sidebar-logout-button:focus-visible[b-auhu7gsf61] {
    outline: 3px solid rgba(147, 197, 253, 0.45);
    outline-offset: 2px;
}

.sidebar-product-information[b-auhu7gsf61] {
    display: grid;
    gap: 0.15rem;

    margin-top: 0.8rem;

    text-align: center;
}

.sidebar-product-information strong[b-auhu7gsf61],
.sidebar-product-information span[b-auhu7gsf61] {
    display: block;
}

.sidebar-product-information strong[b-auhu7gsf61] {
    color: #cbd5e1;
    font-size: 0.64rem;
    font-weight: 700;
}

.sidebar-product-information span[b-auhu7gsf61] {
    margin-top: 0;

    color: #64748b;
    font-size: 0.6rem;
}

/* Upcoming Appointments V1 */

.btn-upcoming-appointments[b-auhu7gsf61] {
    background: #eef2ff;
    border-color: #c7d2fe;
    color: #3730a3;
}

    .btn-upcoming-appointments:hover:not(:disabled)[b-auhu7gsf61] {
        background: #e0e7ff;
    }

.upcoming-appointments-modal[b-auhu7gsf61] {
    width: min(960px, calc(100vw - 2rem));
    max-width: 960px;
}

.upcoming-appointments-results[b-auhu7gsf61] {
    margin-top: 1.25rem;
}

.upcoming-appointments-state[b-auhu7gsf61] {
    padding: 2rem 1rem;
    border: 1px dashed #cbd5e1;
    border-radius: 0.75rem;
    background: #f8fafc;
    color: #475569;
    text-align: center;
}

.upcoming-appointments-summary[b-auhu7gsf61] {
    margin-bottom: 0.75rem;
    color: #475569;
    font-size: 0.9rem;
    font-weight: 600;
}

.upcoming-appointments-table-wrapper[b-auhu7gsf61] {
    overflow-x: auto;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
}

.upcoming-appointments-table[b-auhu7gsf61] {
    width: 100%;
    min-width: 620px;
    border-collapse: collapse;
}

    .upcoming-appointments-table th[b-auhu7gsf61],
    .upcoming-appointments-table td[b-auhu7gsf61] {
        padding: 0.9rem 1rem;
        border-bottom: 1px solid #e2e8f0;
        text-align: left;
        vertical-align: middle;
    }

    .upcoming-appointments-table th[b-auhu7gsf61] {
        background: #f8fafc;
        color: #334155;
        font-size: 0.8rem;
        font-weight: 700;
        letter-spacing: 0.03em;
        text-transform: uppercase;
    }

    .upcoming-appointments-table tbody tr:last-child td[b-auhu7gsf61] {
        border-bottom: 0;
    }

    .upcoming-appointments-table tbody tr:hover[b-auhu7gsf61] {
        background: #f8fafc;
    }

.upcoming-status[b-auhu7gsf61] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 6.5rem;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
}

.upcoming-status-pending[b-auhu7gsf61] {
    background: #fef3c7;
    color: #92400e;
}

.upcoming-status-confirmed[b-auhu7gsf61] {
    background: #dcfce7;
    color: #166534;
}

.upcoming-status-cancelled[b-auhu7gsf61] {
    background: #fee2e2;
    color: #991b1b;
}

.upcoming-status-unknown[b-auhu7gsf61] {
    background: #e2e8f0;
    color: #475569;
}

@media (max-width: 767.98px) {
    .upcoming-appointments-modal[b-auhu7gsf61] {
        width: calc(100vw - 1rem);
    }

    .upcoming-appointments-table th[b-auhu7gsf61],
    .upcoming-appointments-table td[b-auhu7gsf61] {
        padding: 0.75rem;
    }
}
/* ============================================================
   Patients module
   ============================================================ */

.patients-content[b-auhu7gsf61] {
    padding: 32px;
    min-width: 0;
}

.patients-header[b-auhu7gsf61] {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
}

.patients-eyebrow[b-auhu7gsf61] {
    display: block;
    margin-bottom: 6px;
    color: #6366f1;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.patients-header h1[b-auhu7gsf61] {
    margin: 0 0 6px;
    color: #101828;
    font-size: 2rem;
    line-height: 1.15;
}

.patients-header p[b-auhu7gsf61] {
    margin: 0;
    color: #667085;
}

.patients-count-card[b-auhu7gsf61] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border: 1px solid #e4e7ec;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(16, 24, 40, .04);
}

.patients-count-card span[b-auhu7gsf61] {
    color: #667085;
    font-size: .85rem;
}

.patients-count-card strong[b-auhu7gsf61] {
    color: #3448c5;
    font-size: 1.35rem;
}

.patients-panel[b-auhu7gsf61] {
    overflow: hidden;
    border: 1px solid #e4e7ec;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 4px 18px rgba(16, 24, 40, .05);
}

.patients-toolbar[b-auhu7gsf61] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 20px;
    border-bottom: 1px solid #eaecf0;
}

.patients-search[b-auhu7gsf61] {
    display: flex;
    align-items: center;
    width: min(650px, 100%);
    border: 1px solid #d0d5dd;
    border-radius: 10px;
    background: #ffffff;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.patients-search:focus-within[b-auhu7gsf61] {
    border-color: #6675df;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, .10);
}

.patients-search-icon[b-auhu7gsf61] {
    padding-left: 14px;
    color: #98a2b3;
    font-size: 1.25rem;
}

.patients-search input[b-auhu7gsf61] {
    flex: 1;
    min-width: 0;
    padding: 11px 12px;
    border: 0;
    outline: 0;
    background: transparent;
    font: inherit;
    color: #101828;
}

.patients-search-button[b-auhu7gsf61] {
    align-self: stretch;
    padding: 0 20px;
    border: 0;
    border-left: 1px solid #e4e7ec;
    border-radius: 0 9px 9px 0;
    background: #3448c5;
    color: #ffffff;
    font-weight: 700;
    cursor: pointer;
}

.patients-search-button:hover:not(:disabled)[b-auhu7gsf61] {
    background: #293cae;
}

.patients-search-button:disabled[b-auhu7gsf61] {
    opacity: .6;
    cursor: default;
}

.patients-page-size[b-auhu7gsf61] {
    display: flex;
    align-items: center;
    gap: 9px;
    white-space: nowrap;
}

.patients-page-size label[b-auhu7gsf61] {
    color: #667085;
    font-size: .85rem;
    font-weight: 600;
}

.patients-page-size select[b-auhu7gsf61] {
    padding: 9px 30px 9px 10px;
    border: 1px solid #d0d5dd;
    border-radius: 8px;
    background: #ffffff;
    color: #344054;
    font: inherit;
}

.patients-table-wrapper[b-auhu7gsf61] {
    width: 100%;
    overflow-x: auto;
}

.patients-table[b-auhu7gsf61] {
    width: 100%;
    border-collapse: collapse;
}

.patients-table th[b-auhu7gsf61] {
    padding: 12px 18px;
    border-bottom: 1px solid #e4e7ec;
    background: #f9fafb;
    color: #667085;
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .04em;
    text-align: left;
    text-transform: uppercase;
}

.patients-table td[b-auhu7gsf61] {
    padding: 15px 18px;
    border-bottom: 1px solid #f0f1f3;
    color: #475467;
    vertical-align: middle;
}

.patients-table tbody tr[b-auhu7gsf61] {
    transition: background .15s ease;
}

.patients-table tbody tr:hover[b-auhu7gsf61] {
    background: #f8f9ff;
}

.patients-table tbody tr:last-child td[b-auhu7gsf61] {
    border-bottom: 0;
}

.patient-name-cell[b-auhu7gsf61] {
    display: flex;
    align-items: center;
    gap: 11px;
}

.patient-name-cell strong[b-auhu7gsf61] {
    color: #101828;
    font-weight: 700;
}

.patient-avatar[b-auhu7gsf61] {
    display: inline-flex;
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #eef0ff;
    color: #3448c5;
    font-size: .78rem;
    font-weight: 800;
}

.patients-pagination[b-auhu7gsf61] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 16px 20px;
    border-top: 1px solid #eaecf0;
    background: #ffffff;
}

.patients-pagination-summary[b-auhu7gsf61] {
    color: #667085;
    font-size: .85rem;
}

.patients-pagination-controls[b-auhu7gsf61] {
    display: flex;
    align-items: center;
    gap: 5px;
}

.pagination-page[b-auhu7gsf61],
.pagination-arrow[b-auhu7gsf61] {
    display: inline-flex;
    min-width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: 8px;
    background: transparent;
    color: #475467;
    font-weight: 700;
    cursor: pointer;
}

.pagination-page:hover:not(:disabled)[b-auhu7gsf61],
.pagination-arrow:hover:not(:disabled)[b-auhu7gsf61] {
    border-color: #e4e7ec;
    background: #f9fafb;
}

.pagination-page.active[b-auhu7gsf61] {
    border-color: #d9ddff;
    background: #eef0ff;
    color: #3448c5;
}

.pagination-page:disabled[b-auhu7gsf61],
.pagination-arrow:disabled[b-auhu7gsf61] {
    opacity: .4;
    cursor: default;
}

.patients-message[b-auhu7gsf61],
.patients-empty[b-auhu7gsf61] {
    padding: 48px 24px;
    color: #667085;
    text-align: center;
}

.patients-message-error[b-auhu7gsf61] {
    color: #b42318;
    background: #fef3f2;
}

.patients-empty[b-auhu7gsf61] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.patients-empty-icon[b-auhu7gsf61] {
    display: flex;
    width: 54px;
    height: 54px;
    align-items: center;
    justify-content: center;
    margin-bottom: 6px;
    border-radius: 50%;
    background: #f2f4f7;
    font-size: 1.5rem;
}

.patients-empty strong[b-auhu7gsf61] {
    color: #344054;
}

@media (max-width: 800px) {
    .patients-content[b-auhu7gsf61] {
        padding: 20px 16px;
    }

    .patients-header[b-auhu7gsf61] {
        align-items: stretch;
        flex-direction: column;
    }

    .patients-count-card[b-auhu7gsf61] {
        align-self: flex-start;
    }

    .patients-toolbar[b-auhu7gsf61] {
        align-items: stretch;
        flex-direction: column;
    }

    .patients-search[b-auhu7gsf61] {
        width: 100%;
    }

    .patients-page-size[b-auhu7gsf61] {
        justify-content: space-between;
    }

    .patients-pagination[b-auhu7gsf61] {
        align-items: stretch;
        flex-direction: column;
    }

    .patients-pagination-controls[b-auhu7gsf61] {
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .patients-table thead[b-auhu7gsf61] {
        display: none;
    }

    .patients-table[b-auhu7gsf61],
    .patients-table tbody[b-auhu7gsf61],
    .patients-table tr[b-auhu7gsf61],
    .patients-table td[b-auhu7gsf61] {
        display: block;
        width: 100%;
    }

    .patients-table tr[b-auhu7gsf61] {
        padding: 12px 16px;
        border-bottom: 1px solid #eaecf0;
    }

    .patients-table td[b-auhu7gsf61] {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 20px;
        padding: 8px 0;
        border: 0;
        text-align: right;
    }

    .patients-table td[b-auhu7gsf61]::before {
        content: attr(data-label);
        color: #667085;
        font-size: .76rem;
        font-weight: 800;
        text-align: left;
        text-transform: uppercase;
    }

    .patient-name-cell[b-auhu7gsf61] {
        justify-content: flex-end;
    }

    .patients-search[b-auhu7gsf61] {
        align-items: stretch;
        flex-wrap: wrap;
    }

    .patients-search-icon[b-auhu7gsf61] {
        align-self: center;
    }

    .patients-search-button[b-auhu7gsf61] {
        width: 100%;
        padding: 11px;
        border-top: 1px solid #e4e7ec;
        border-left: 0;
        border-radius: 0 0 9px 9px;
    }
}


.patients-header-actions[b-auhu7gsf61] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.patient-create-link[b-auhu7gsf61],
.patient-registration-link[b-auhu7gsf61] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 10px 16px;
    border-radius: 10px;
    background: #2457d6;
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.patient-create-link[b-auhu7gsf61] {
    background: #0f766e;
}

.patient-create-link:hover[b-auhu7gsf61] {
    background: #115e59;
    filter: none;
}

.patient-create-link:hover[b-auhu7gsf61],
.patient-registration-link:hover[b-auhu7gsf61] {
    color: #ffffff;
    text-decoration: none;
    filter: brightness(0.96);
}

@media (max-width: 700px) {
    .patients-header-actions[b-auhu7gsf61] {
        width: 100%;
        align-items: stretch;
        flex-direction: column;
    }

    .patient-create-link[b-auhu7gsf61],
    .patient-registration-link[b-auhu7gsf61] {
        width: 100%;
    }
}
/* Patient commercial visual refinement */

.patients-actions-header[b-auhu7gsf61],
.patients-actions-cell[b-auhu7gsf61] {
    width: 92px;
    text-align: center !important;
}

.patient-row-action[b-auhu7gsf61] {
    display: inline-flex;
    width: 38px;
    height: 38px;
    padding: 0;
    align-items: center;
    justify-content: center;
    border: 1px solid #dbe4ee;
    border-radius: 10px;
    background: #ffffff;
    color: #0369a1;
    cursor: pointer;
    line-height: 1;
    transition:
        background 150ms ease,
        border-color 150ms ease,
        color 150ms ease,
        box-shadow 150ms ease,
        transform 150ms ease;
}

.patient-row-action:hover[b-auhu7gsf61] {
    border-color: #7dd3fc;
    background: #f0f9ff;
    color: #0284c7;
    box-shadow: 0 5px 14px rgba(2, 132, 199, .12);
    transform: translateY(-1px);
}

.patient-row-action:focus-visible[b-auhu7gsf61] {
    outline: 3px solid rgba(14, 165, 233, .2);
    outline-offset: 2px;
}

.patient-row-action svg[b-auhu7gsf61] {
    display: block;
    width: 19px;
    height: 19px;
    overflow: visible;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.patient-row-action svg path[b-auhu7gsf61],
.patient-row-action svg circle[b-auhu7gsf61] {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

@media (max-width: 600px) {

    .patients-table-wrapper[b-auhu7gsf61] {
        overflow: visible;
        background: transparent;
    }

    .patients-table[b-auhu7gsf61] {
        border-collapse: separate;
        border-spacing: 0 12px;
    }

    .patients-table tbody[b-auhu7gsf61] {
        display: block;
    }

    .patients-table tbody tr[b-auhu7gsf61] {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
        margin: 0 0 12px;
        padding: 0;
        overflow: hidden;
        border: 1px solid #e4e7ec;
        border-radius: 14px;
        background: #ffffff;
        box-shadow: 0 4px 14px rgba(15, 23, 42, .045);
    }

    .patients-table tbody tr:hover[b-auhu7gsf61] {
        background: #ffffff;
    }

    .patients-table tbody td[b-auhu7gsf61] {
        display: block;
        width: auto;
        min-width: 0;
        padding: 10px 14px;
        border: 0;
        text-align: left;
    }

    .patients-table tbody td[b-auhu7gsf61]::before {
        display: block;
        margin-bottom: 4px;
        color: #98a2b3;
        font-size: .64rem;
        font-weight: 800;
        line-height: 1.2;
        letter-spacing: .055em;
        text-align: left;
        text-transform: uppercase;
    }

    .patients-table tbody td:first-child[b-auhu7gsf61] {
        grid-column: 1 / -1;
        padding: 14px;
        border-bottom: 1px solid #f0f2f5;
        background: #fafcff;
    }

    .patients-table tbody td:first-child[b-auhu7gsf61]::before {
        display: none;
    }

    .patient-name-cell[b-auhu7gsf61] {
        justify-content: flex-start;
        gap: 10px;
    }

    .patient-name-cell strong[b-auhu7gsf61] {
        display: block;
        overflow: hidden;
        color: #101828;
        font-size: .9rem;
        font-weight: 800;
        line-height: 1.3;
        text-align: left;
        text-overflow: ellipsis;
    }

    .patient-avatar[b-auhu7gsf61] {
        width: 38px;
        height: 38px;
        flex: 0 0 38px;
        background: #eef4ff;
        color: #3448c5;
    }

    .patients-table tbody td:not(:first-child)[b-auhu7gsf61] {
        color: #344054;
        font-size: .82rem;
        font-weight: 650;
        overflow-wrap: anywhere;
    }

    .patients-actions-cell[b-auhu7gsf61] {
        grid-column: 1 / -1;
        display: flex !important;
        width: auto;
        padding: 10px 14px 13px !important;
        align-items: center;
        justify-content: space-between;
        border-top: 1px solid #f0f2f5 !important;
        background: #fcfcfd;
        text-align: left !important;
    }

    .patients-actions-cell[b-auhu7gsf61]::before {
        display: block !important;
        margin: 0 !important;
    }

    .patient-row-action[b-auhu7gsf61] {
        width: 40px;
        height: 40px;
        border-color: #d0d5dd;
        background: #ffffff;
    }

    .patient-row-action svg[b-auhu7gsf61] {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 390px) {

    .patients-table tbody tr[b-auhu7gsf61] {
        grid-template-columns: 1fr;
    }

    .patients-table tbody td:first-child[b-auhu7gsf61],
    .patients-actions-cell[b-auhu7gsf61] {
        grid-column: 1;
    }
}

/* Patients mobile compact columns */
@media (max-width: 600px) {
    .patients-table tbody td.patients-mobile-optional[b-auhu7gsf61] {
        display: none;
    }
}
/* /Components/Pages/PlatformClinicUsers.razor.rz.scp.css */
.platform-users-page[b-665klytx2m] {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.platform-users-header[b-665klytx2m] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.5rem;
}

.platform-users-header h1[b-665klytx2m] {
    margin: 0.25rem 0;
    font-size: 2rem;
}

.platform-users-header p[b-665klytx2m] {
    margin: 0;
    color: #64748b;
}

.platform-users-kicker[b-665klytx2m] {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #2563eb;
}

.platform-users-primary-button[b-665klytx2m] {
    border: 0;
    border-radius: 0.75rem;
    padding: 0.75rem 1.15rem;
    background: #2563eb;
    color: white;
    font-weight: 700;
    cursor: pointer;
}

.platform-users-primary-button:disabled[b-665klytx2m] {
    opacity: 0.55;
    cursor: not-allowed;
}

.platform-users-toolbar[b-665klytx2m] {
    display: grid;
    grid-template-columns: minmax(240px, 1fr) minmax(260px, 1fr) auto;
    align-items: end;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    background: white;
}

.platform-users-field[b-665klytx2m] {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.platform-users-field label[b-665klytx2m] {
    font-size: 0.85rem;
    font-weight: 700;
    color: #334155;
}

.platform-users-select[b-665klytx2m],
.platform-users-search[b-665klytx2m] {
    width: 100%;
    min-height: 42px;
    padding: 0.65rem 0.75rem;
    border: 1px solid #cbd5e1;
    border-radius: 0.65rem;
    background: white;
}

.platform-users-count[b-665klytx2m] {
    padding-bottom: 0.65rem;
    color: #64748b;
    white-space: nowrap;
}

.platform-users-alert[b-665klytx2m] {
    padding: 0.85rem 1rem;
    border-radius: 0.75rem;
    font-weight: 600;
}

.platform-users-alert-error[b-665klytx2m] {
    border: 1px solid #fecaca;
    background: #fef2f2;
    color: #991b1b;
}

.platform-users-alert-success[b-665klytx2m] {
    border: 1px solid #bbf7d0;
    background: #f0fdf4;
    color: #166534;
}

.platform-users-table-container[b-665klytx2m] {
    overflow-x: auto;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    background: white;
}

.platform-users-table[b-665klytx2m] {
    width: 100%;
    min-width: 1100px;
    border-collapse: collapse;
}

.platform-users-table th[b-665klytx2m],
.platform-users-table td[b-665klytx2m] {
    padding: 0.9rem 1rem;
    border-bottom: 1px solid #e2e8f0;
    text-align: left;
    vertical-align: middle;
}

.platform-users-table th[b-665klytx2m] {
    background: #f8fafc;
    color: #475569;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.platform-users-table tbody tr:last-child td[b-665klytx2m] {
    border-bottom: 0;
}

.platform-users-role[b-665klytx2m],
.platform-users-badge[b-665klytx2m] {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.3rem 0.6rem;
    font-size: 0.75rem;
    font-weight: 700;
}

.platform-users-role[b-665klytx2m] {
    background: #eff6ff;
    color: #1d4ed8;
}

.platform-users-badge-active[b-665klytx2m],
.platform-users-badge-clear[b-665klytx2m] {
    background: #dcfce7;
    color: #166534;
}

.platform-users-badge-inactive[b-665klytx2m] {
    background: #f1f5f9;
    color: #475569;
}

.platform-users-badge-blocked[b-665klytx2m] {
    background: #fee2e2;
    color: #991b1b;
}

.platform-users-contact[b-665klytx2m] {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.platform-users-contact small[b-665klytx2m] {
    color: #64748b;
}

.platform-users-actions[b-665klytx2m] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.platform-users-action-button[b-665klytx2m] {
    border: 1px solid #cbd5e1;
    border-radius: 0.55rem;
    padding: 0.4rem 0.65rem;
    background: white;
    color: #334155;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
}

.platform-users-action-button:hover[b-665klytx2m] {
    background: #f8fafc;
}

.platform-users-action-danger[b-665klytx2m] {
    border-color: #fecaca;
    color: #b91c1c;
}

.platform-users-action-button:disabled[b-665klytx2m] {
    opacity: 0.5;
    cursor: not-allowed;
}

.platform-users-empty[b-665klytx2m],
.platform-users-loading[b-665klytx2m] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    padding: 3rem 1.5rem;
    border: 1px dashed #cbd5e1;
    border-radius: 1rem;
    color: #64748b;
    text-align: center;
}

.platform-users-empty strong[b-665klytx2m] {
    color: #334155;
}

@media (max-width: 900px) {
    .platform-users-header[b-665klytx2m] {
        flex-direction: column;
    }

    .platform-users-primary-button[b-665klytx2m] {
        width: 100%;
    }

    .platform-users-toolbar[b-665klytx2m] {
        grid-template-columns: 1fr;
    }

    .platform-users-count[b-665klytx2m] {
        padding-bottom: 0;
    }
}

.platform-users-modal-backdrop[b-665klytx2m] {
    position: fixed;
    inset: 0;
    z-index: 1100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: rgba(15, 23, 42, 0.58);
}

.platform-users-modal[b-665klytx2m] {
    width: min(760px, 100%);
    max-height: 92vh;
    overflow-y: auto;
    border-radius: 1rem;
    background: white;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.3);
}

.platform-users-password-modal[b-665klytx2m] {
    width: min(520px, 100%);
}

.platform-users-modal-header[b-665klytx2m] {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.platform-users-modal-header h2[b-665klytx2m] {
    margin: 0.25rem 0;
}

.platform-users-modal-header p[b-665klytx2m] {
    margin: 0;
    color: #64748b;
}

.platform-users-modal-close[b-665klytx2m] {
    width: 2.25rem;
    height: 2.25rem;
    border: 0;
    border-radius: 999px;
    background: #f1f5f9;
    color: #334155;
    font-size: 1.4rem;
    cursor: pointer;
}

.platform-users-modal-body[b-665klytx2m] {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding: 1.5rem;
}

.platform-users-form-grid[b-665klytx2m] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.platform-users-form-full[b-665klytx2m] {
    grid-column: 1 / -1;
}

.platform-users-help[b-665klytx2m] {
    color: #64748b;
}

.platform-users-permissions[b-665klytx2m] {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    padding: 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
}

.platform-users-permissions legend[b-665klytx2m] {
    padding: 0 0.4rem;
    color: #334155;
    font-weight: 700;
}

.platform-users-permissions label[b-665klytx2m] {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    color: #334155;
}

.platform-users-modal-footer[b-665klytx2m] {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    padding: 1.25rem 1.5rem;
    border-top: 1px solid #e2e8f0;
}

.platform-users-secondary-button[b-665klytx2m] {
    border: 1px solid #cbd5e1;
    border-radius: 0.75rem;
    padding: 0.75rem 1.15rem;
    background: white;
    color: #334155;
    font-weight: 700;
    cursor: pointer;
}

@media (max-width: 640px) {
    .platform-users-modal-backdrop[b-665klytx2m] {
        align-items: flex-end;
        padding: 0;
    }

    .platform-users-modal[b-665klytx2m] {
        max-height: 94vh;
        border-radius: 1rem 1rem 0 0;
    }

    .platform-users-form-grid[b-665klytx2m] {
        grid-template-columns: 1fr;
    }

    .platform-users-form-full[b-665klytx2m] {
        grid-column: auto;
    }

    .platform-users-modal-footer[b-665klytx2m] {
        flex-direction: column-reverse;
    }

    .platform-users-modal-footer button[b-665klytx2m] {
        width: 100%;
    }
}

.platform-users-field-error[b-665klytx2m] {
    color: #b91c1c;
    font-size: 0.8rem;
    font-weight: 600;
}
/* /Components/Pages/Settings.razor.rz.scp.css */
.settings-shell[b-zd66opdgux] {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);

    min-height: 100vh;

    background: #f4f7fb;
    color: #0f172a;
}

.settings-sidebar[b-zd66opdgux] {
    display: flex;
    flex-direction: column;

    min-height: 100vh;
    padding: 1.25rem;

    background:
        linear-gradient(
            180deg,
            #0f2744 0%,
            #102d4f 55%,
            #0b213b 100%
        );

    color: #ffffff;
}

.settings-brand[b-zd66opdgux] {
    display: flex;
    align-items: center;
    gap: 0.75rem;

    padding: 0.4rem 0.4rem 1.4rem;
}

.settings-brand-icon[b-zd66opdgux] {
    display: grid;
    place-items: center;

    width: 44px;
    height: 44px;

    border-radius: 13px;
    background: rgba(56, 189, 248, 0.16);

    font-size: 1.35rem;
}

.settings-brand h2[b-zd66opdgux] {
    margin: 0;

    font-size: 1rem;
    font-weight: 750;
}

.settings-brand span[b-zd66opdgux] {
    color: #94a3b8;
    font-size: 0.74rem;
}

.settings-navigation[b-zd66opdgux] {
    display: grid;
    gap: 0.4rem;
}

.settings-navigation-item[b-zd66opdgux] {
    display: flex;
    align-items: center;
    gap: 0.8rem;

    min-height: 48px;
    padding: 0.7rem 0.85rem;

    border-radius: 11px;

    color: #cbd5e1;
    font-weight: 650;
    text-decoration: none;

    transition:
        background 160ms ease,
        color 160ms ease;
}

.settings-navigation-item:hover[b-zd66opdgux] {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.settings-navigation-item.active[b-zd66opdgux] {
    background: rgba(56, 189, 248, 0.16);
    color: #ffffff;

    box-shadow:
        inset 3px 0 0 #38bdf8;
}

.settings-sidebar-footer[b-zd66opdgux] {
    display: flex;
    align-items: center;
    gap: 0.75rem;

    margin-top: auto;
    padding: 1rem 0.35rem 0;

    border-top: 1px solid rgba(148, 163, 184, 0.18);
}

.settings-user-avatar[b-zd66opdgux] {
    display: grid;
    place-items: center;
    flex: 0 0 42px;

    width: 42px;
    height: 42px;

    border-radius: 50%;
    background: #0284c7;

    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 800;
}

.settings-user-information[b-zd66opdgux] {
    display: grid;
    min-width: 0;
}

.settings-user-information strong[b-zd66opdgux],
.settings-user-information span[b-zd66opdgux] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.settings-user-information strong[b-zd66opdgux] {
    font-size: 0.8rem;
}

.settings-user-information span[b-zd66opdgux] {
    color: #94a3b8;
    font-size: 0.7rem;
}

.settings-main[b-zd66opdgux] {
    min-width: 0;
    padding: 2rem;
}

.settings-header[b-zd66opdgux] {
    max-width: 1120px;
    margin: 0 auto 1.5rem;
}

.settings-back-link[b-zd66opdgux] {
    display: inline-block;

    margin-bottom: 0.75rem;

    color: #0284c7;
    font-size: 0.84rem;
    font-weight: 700;
    text-decoration: none;
}

.settings-header h1[b-zd66opdgux] {
    margin: 0;

    font-size: clamp(1.7rem, 3vw, 2.2rem);
    font-weight: 800;
}

.settings-header p[b-zd66opdgux] {
    margin: 0.4rem 0 0;

    color: #64748b;
}

.settings-loading[b-zd66opdgux] {
    max-width: 1120px;
    margin: 0 auto;
    padding: 2rem;

    border: 1px solid #e2e8f0;
    border-radius: 16px;
    background: #ffffff;

    color: #64748b;
    text-align: center;
}

.settings-grid[b-zd66opdgux] {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 1.25rem;

    max-width: 1120px;
    margin: 0 auto;
}

.settings-card[b-zd66opdgux] {
    display: flex;
    gap: 1rem;

    min-width: 0;
    padding: 1.35rem;

    border: 1px solid #e2e8f0;
    border-radius: 18px;
    background: #ffffff;

    box-shadow:
        0 10px 28px rgba(15, 23, 42, 0.05);
}

.settings-card-icon[b-zd66opdgux] {
    display: grid;
    place-items: center;
    flex: 0 0 48px;

    width: 48px;
    height: 48px;

    border-radius: 14px;
    background: #eff6ff;

    font-size: 1.35rem;
}

.settings-card-content[b-zd66opdgux] {
    flex: 1;
    min-width: 0;
}

.settings-card-heading[b-zd66opdgux] {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.settings-card-heading h2[b-zd66opdgux] {
    margin: 0;

    font-size: 1.05rem;
    font-weight: 780;
}

.settings-card-heading p[b-zd66opdgux] {
    margin: 0.35rem 0 0;

    color: #64748b;
    font-size: 0.84rem;
    line-height: 1.5;
}

.settings-status-badge[b-zd66opdgux] {
    align-self: flex-start;

    padding: 0.22rem 0.48rem;

    border-radius: 999px;
    background: #f1f5f9;

    color: #64748b;
    font-size: 0.66rem;
    font-weight: 750;
    text-transform: uppercase;
}

.settings-current-value[b-zd66opdgux] {
    display: flex;
    justify-content: space-between;
    gap: 1rem;

    margin: 1.2rem 0;
    padding: 0.8rem 0;

    border-top: 1px solid #eef2f7;
    border-bottom: 1px solid #eef2f7;

    font-size: 0.84rem;
}

.settings-current-value span[b-zd66opdgux] {
    color: #64748b;
}

.settings-primary-button[b-zd66opdgux],
.settings-secondary-button[b-zd66opdgux] {
    min-height: 42px;
    padding: 0.65rem 1rem;

    border-radius: 10px;

    font-weight: 700;
}

.settings-primary-button[b-zd66opdgux] {
    border: 0;
    background: #0284c7;
    color: #ffffff;
}

.settings-secondary-button[b-zd66opdgux] {
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #0f172a;
}

.settings-primary-button:disabled[b-zd66opdgux],
.settings-secondary-button:disabled[b-zd66opdgux] {
    opacity: 0.55;
    cursor: not-allowed;
}

.settings-about-card[b-zd66opdgux] {
    grid-column: 1 / -1;
}

.settings-about-list[b-zd66opdgux] {
    display: grid;
    gap: 0.75rem;

    margin: 1.15rem 0 0;
}

.settings-about-list div[b-zd66opdgux] {
    display: flex;
    justify-content: space-between;
    gap: 1rem;

    padding-bottom: 0.7rem;

    border-bottom: 1px solid #eef2f7;
}

.settings-about-list dt[b-zd66opdgux] {
    color: #64748b;
    font-weight: 500;
}

.settings-about-list dd[b-zd66opdgux] {
    margin: 0;
    font-weight: 700;
}

@media (max-width: 899.98px) {
    .settings-shell[b-zd66opdgux] {
        grid-template-columns: 1fr;
    }

    .settings-sidebar[b-zd66opdgux] {
        min-height: auto;
        padding: 0.85rem 1rem;
    }

    .settings-brand[b-zd66opdgux] {
        padding-bottom: 0.8rem;
    }

    .settings-navigation[b-zd66opdgux] {
        display: flex;
        gap: 0.5rem;
    }

    .settings-navigation-item[b-zd66opdgux] {
        flex: 1;
        justify-content: center;
    }

    .settings-sidebar-footer[b-zd66opdgux] {
        display: none;
    }

    .settings-main[b-zd66opdgux] {
        padding: 1.25rem 1rem 2rem;
    }
}

@media (max-width: 699.98px) {
    .settings-grid[b-zd66opdgux] {
        grid-template-columns: 1fr;
    }

    .settings-about-card[b-zd66opdgux] {
        grid-column: auto;
    }

    .settings-card[b-zd66opdgux] {
        padding: 1rem;
    }
}

@media (max-width: 479.98px) {
    .settings-brand[b-zd66opdgux] {
        display: none;
    }

    .settings-sidebar[b-zd66opdgux] {
        padding: 0.65rem;
    }

    .settings-navigation-item[b-zd66opdgux] {
        min-height: 42px;
        padding: 0.55rem;
        font-size: 0.8rem;
    }

    .settings-main[b-zd66opdgux] {
        padding-top: 1rem;
    }

    .settings-card[b-zd66opdgux] {
        align-items: flex-start;
    }

    .settings-card-icon[b-zd66opdgux] {
        flex-basis: 42px;

        width: 42px;
        height: 42px;
    }
}

.settings-field-label[b-zd66opdgux] {
    display: block;

    margin-bottom: 0.4rem;

    color: #475569;
    font-size: 0.78rem;
    font-weight: 700;
}

.settings-language-select[b-zd66opdgux] {
    width: 100%;
    min-height: 44px;

    margin-bottom: 1rem;
    padding: 0.65rem 0.75rem;

    border: 1px solid #cbd5e1;
    border-radius: 10px;
    background: #ffffff;

    color: #0f172a;
    font: inherit;
}

.settings-language-select:focus[b-zd66opdgux] {
    border-color: #0284c7;
    outline: 3px solid rgba(2, 132, 199, 0.14);
}

.settings-language-select:disabled[b-zd66opdgux] {
    background: #f8fafc;
    cursor: not-allowed;
}

.settings-success-message[b-zd66opdgux] {
    margin-bottom: 1rem;
    padding: 0.7rem 0.8rem;

    border: 1px solid #bbf7d0;
    border-radius: 10px;
    background: #f0fdf4;

    color: #166534;
    font-size: 0.8rem;
    font-weight: 650;
}

/* Change Password V1 */

.settings-password-form[b-zd66opdgux] {
    display: grid;
    gap: 0.7rem;

    margin-top: 1.15rem;
}

.settings-password-field[b-zd66opdgux] {
    position: relative;
}

.settings-password-field input[b-zd66opdgux] {
    width: 100%;
    min-height: 44px;

    padding: 0.65rem 3rem 0.65rem 0.75rem;

    border: 1px solid #cbd5e1;
    border-radius: 10px;
    background: #ffffff;

    color: #0f172a;
    font: inherit;
}

.settings-password-field input:focus[b-zd66opdgux] {
    border-color: #0284c7;
    outline: 3px solid rgba(2, 132, 199, 0.14);
}

.settings-password-field input:disabled[b-zd66opdgux] {
    background: #f8fafc;
    cursor: not-allowed;
}

.settings-password-toggle[b-zd66opdgux] {
    position: absolute;
    top: 50%;
    right: 0.45rem;

    display: grid;
    place-items: center;

    width: 36px;
    height: 36px;

    transform: translateY(-50%);

    border: 0;
    border-radius: 8px;
    background: transparent;

    cursor: pointer;
    font-size: 1rem;
}

.settings-password-toggle:hover:not(:disabled)[b-zd66opdgux] {
    background: #f1f5f9;
}

.settings-password-toggle:disabled[b-zd66opdgux] {
    cursor: not-allowed;
    opacity: 0.55;
}

.settings-password-help[b-zd66opdgux] {
    margin-bottom: 0.35rem;

    color: #64748b;
    font-size: 0.76rem;
    line-height: 1.45;
}

.settings-error-message[b-zd66opdgux] {
    margin-top: 1rem;
    padding: 0.7rem 0.8rem;

    border: 1px solid #fecaca;
    border-radius: 10px;
    background: #fef2f2;

    color: #991b1b;
    font-size: 0.8rem;
    font-weight: 650;
}

.settings-password-form .settings-primary-button[b-zd66opdgux] {
    margin-top: 0.35rem;
}
/* /Components/Patients/PatientDetailField.razor.rz.scp.css */
.patient-detail-field[b-xf3k8ml6a4] {
    min-width: 0;
    padding: .78rem .9rem;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #f8fafc;
    transition:
        border-color 150ms ease,
        background 150ms ease,
        box-shadow 150ms ease;
}

.patient-information-full[b-xf3k8ml6a4] {
    grid-column: 1 / -1;
}

.patient-detail-field:hover[b-xf3k8ml6a4] {
    border-color: #cbdbe9;
    background: #ffffff;
    box-shadow: 0 3px 10px rgba(15, 23, 42, .04);
}

.patient-detail-field-label[b-xf3k8ml6a4] {
    display: block;
    margin-bottom: .35rem;
    color: #64748b;
    font-size: .7rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: .035em;
    text-transform: uppercase;
}

.patient-detail-field-value[b-xf3k8ml6a4] {
    display: block;
    min-height: 1.25em;
    overflow-wrap: anywhere;
    color: #172033;
    font-size: .94rem;
    font-weight: 750;
    line-height: 1.4;
}

@media (max-width: 560px) {
    .patient-detail-field[b-xf3k8ml6a4] {
        padding: .75rem .82rem;
    }
}
/* /Components/Patients/PatientGeneralForm.razor.rz.scp.css */
.patient-general-form[b-6o4p3ome1p] {
    display: grid;
    gap: 22px;
}

.form-section[b-6o4p3ome1p] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 26px;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.055);
}

.form-section-heading[b-6o4p3ome1p] {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 20px;
    margin-bottom: 22px;
    border-bottom: 1px solid #eef2f7;
}

.section-icon[b-6o4p3ome1p] {
    display: grid;
    place-items: center;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border-radius: 13px;
    background: #ecfdf5;
    color: #0f766e;
    font-size: 19px;
    font-weight: 800;
}

.form-section-heading h2[b-6o4p3ome1p] {
    margin: 0;
    color: #0f172a;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.015em;
}

.form-section-heading p[b-6o4p3ome1p] {
    margin: 4px 0 0;
    color: #64748b;
    font-size: 13px;
}

.form-grid[b-6o4p3ome1p] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 19px 20px;
}

.form-field[b-6o4p3ome1p] {
    min-width: 0;
}

.form-field-wide[b-6o4p3ome1p] {
    grid-column: 1 / -1;
}

.form-field label[b-6o4p3ome1p] {
    display: block;
    margin-bottom: 7px;
    color: #334155;
    font-size: 13px;
    font-weight: 750;
}

.form-field input[b-6o4p3ome1p],
.form-field select[b-6o4p3ome1p] {
    width: 100%;
    height: 46px;
    border: 1px solid #d7e0ea;
    border-radius: 11px;
    background: #ffffff;
    color: #0f172a;
    padding: 0 13px;
    font-size: 14px;
    outline: none;
    transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}

.form-field input:hover[b-6o4p3ome1p],
.form-field select:hover[b-6o4p3ome1p] {
    border-color: #b8c5d3;
}

.form-field input:focus[b-6o4p3ome1p],
.form-field select:focus[b-6o4p3ome1p] {
    border-color: #0f766e;
    box-shadow: 0 0 0 3px rgba(15, 118, 110, .11);
}
.form-field input.field-invalid[b-6o4p3ome1p],
.form-field select.field-invalid[b-6o4p3ome1p] {
    border-color: #dc2626;
    background: #fff7f7;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, .08);
}

.form-field input.field-invalid:hover[b-6o4p3ome1p],
.form-field select.field-invalid:hover[b-6o4p3ome1p] {
    border-color: #b91c1c;
}

.form-field input.field-invalid:focus[b-6o4p3ome1p],
.form-field select.field-invalid:focus[b-6o4p3ome1p] {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, .14);
}

.form-field small[b-6o4p3ome1p] {
    display: block;
    margin-top: 6px;
    color: #64748b;
    font-size: 11px;
    line-height: 1.45;
}

.required[b-6o4p3ome1p] {
    color: #dc2626;
}

.calculated-field[b-6o4p3ome1p] {
    display: flex;
    align-items: center;
    gap: 9px;
    height: 46px;
    border: 1px solid #e2e8f0;
    border-radius: 11px;
    background: #f8fafc;
    padding: 0 13px;
    color: #334155;
}

.calculated-icon[b-6o4p3ome1p] {
    color: #0f766e;
}

.form-validation-summary[b-6o4p3ome1p] {
    display: flex;
    flex-direction: column;
    gap: 3px;
    border: 1px solid #fed7aa;
    border-radius: 14px;
    background: #fff7ed;
    padding: 15px 17px;
    color: #9a3412;
}

.form-validation-summary strong[b-6o4p3ome1p] {
    font-size: 13px;
}

.form-validation-summary span[b-6o4p3ome1p] {
    font-size: 12px;
}

.form-actions[b-6o4p3ome1p] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 4px 2px 10px;
}

.required-note[b-6o4p3ome1p] {
    color: #64748b;
    font-size: 12px;
}

.registration-submit-button[b-6o4p3ome1p] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-width: 190px;
    height: 48px;
    border: 0;
    border-radius: 12px;
    background: #0f766e;
    color: #ffffff;
    padding: 0 20px;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(15, 118, 110, .2);
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.registration-submit-button:hover[b-6o4p3ome1p] {
    background: #0d6b64;
    transform: translateY(-1px);
    box-shadow: 0 13px 28px rgba(15, 118, 110, .24);
}

@media (max-width: 700px) {
    .form-section[b-6o4p3ome1p] {
        padding: 19px 16px;
        border-radius: 17px;
    }

    .form-section-heading[b-6o4p3ome1p] {
        align-items: flex-start;
        margin-bottom: 19px;
    }

    .form-grid[b-6o4p3ome1p] {
        grid-template-columns: 1fr;
        gap: 17px;
    }

    .form-field-wide[b-6o4p3ome1p] {
        grid-column: auto;
    }

    .form-field input[b-6o4p3ome1p],
    .form-field select[b-6o4p3ome1p] {
        height: 48px;
        font-size: 16px;
    }

    .form-actions[b-6o4p3ome1p] {
        align-items: stretch;
        flex-direction: column;
    }

    .registration-submit-button[b-6o4p3ome1p] {
        width: 100%;
        height: 52px;
    }
}
/* =========================================================
   PATIENT EDIT VISUAL MODE - 2D-2
   Applied only when PatientGeneralForm uses EditMode.
   ========================================================= */

.patient-general-form-edit[b-6o4p3ome1p] {
    gap: 1rem;
}

/* Cards */

.patient-general-form-edit .form-section[b-6o4p3ome1p] {
    margin: 0;
    padding: 1.35rem 1.4rem 1.45rem;
    background: #ffffff;
    border: 1px solid #dfe7f1;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(27, 55, 90, 0.055);
}

/* Section headings */

.patient-general-form-edit .form-section-heading[b-6o4p3ome1p] {
    gap: 0.85rem;
    margin-bottom: 1.2rem;
    padding-bottom: 0.95rem;
    border-bottom: 1px solid #e7edf4;
}

.patient-general-form-edit .section-icon[b-6o4p3ome1p] {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    display: grid;
    place-items: center;
    background: #e5f4fc;
    border: 1px solid #d4edf9;
    border-radius: 11px;
    color: #087fbd;
    font-size: 1.05rem;
}

.patient-general-form-edit .form-section-heading h2[b-6o4p3ome1p] {
    margin: 0;
    color: #0b2142;
    font-size: 1.05rem;
    font-weight: 750;
}

.patient-general-form-edit .form-section-heading p[b-6o4p3ome1p] {
    margin: 0.22rem 0 0;
    color: #728197;
    font-size: 0.84rem;
    line-height: 1.4;
}

/* Grid */

.patient-general-form-edit .form-grid[b-6o4p3ome1p] {
    column-gap: 1.15rem;
    row-gap: 1rem;
}

/* Labels */

.patient-general-form-edit .form-field label[b-6o4p3ome1p] {
    margin-bottom: 0.38rem;
    color: #1a3559;
    font-size: 0.82rem;
    font-weight: 700;
}

/* Inputs */

.patient-general-form-edit .form-field input[b-6o4p3ome1p],
.patient-general-form-edit .form-field select[b-6o4p3ome1p] {
    min-height: 42px;
    padding: 0.62rem 0.78rem;
    background: #ffffff;
    border: 1px solid #cfdae8;
    border-radius: 9px;
    color: #172b4d;
    font-size: 0.9rem;
    box-shadow: none;
    transition:
        border-color 0.15s ease,
        box-shadow 0.15s ease,
        background-color 0.15s ease;
}

.patient-general-form-edit .form-field input:hover[b-6o4p3ome1p],
.patient-general-form-edit .form-field select:hover[b-6o4p3ome1p] {
    border-color: #aebed1;
}

.patient-general-form-edit .form-field input:focus[b-6o4p3ome1p],
.patient-general-form-edit .form-field select:focus[b-6o4p3ome1p] {
    outline: none;
    background: #ffffff;
    border-color: #168dcc;
    box-shadow: 0 0 0 3px rgba(22, 141, 204, 0.11);
}

.patient-general-form-edit .form-field input:disabled[b-6o4p3ome1p],
.patient-general-form-edit .form-field select:disabled[b-6o4p3ome1p] {
    background: #f4f7fa;
    color: #8995a6;
}

/* Help text */

.patient-general-form-edit .form-field small[b-6o4p3ome1p] {
    margin-top: 0.35rem;
    color: #7b8798;
    font-size: 0.75rem;
}

/* Calculated age */

.patient-general-form-edit .calculated-field[b-6o4p3ome1p] {
    min-height: 42px;
    padding: 0.62rem 0.78rem;
    background: #f2f7fb;
    border: 1px solid #dbe5ef;
    border-radius: 9px;
    color: #233d60;
}

/* Validation */

.patient-general-form-edit .form-validation-summary[b-6o4p3ome1p] {
    border-radius: 12px;
}

/* Bottom actions */

.patient-general-form-edit .form-actions[b-6o4p3ome1p] {
    margin-top: 0.15rem;
    padding: 1rem 1.2rem;
    background: #ffffff;
    border: 1px solid #dfe7f1;
    border-radius: 14px;
    box-shadow: 0 7px 20px rgba(27, 55, 90, 0.045);
}

.patient-general-form-edit .required-note[b-6o4p3ome1p] {
    color: #738197;
    font-size: 0.8rem;
}

.patient-general-form-edit .registration-submit-button[b-6o4p3ome1p] {
    min-height: 46px;
    padding: 0.72rem 1.25rem;
    border: 0;
    border-radius: 10px;
    background: #0b8dcd;
    color: #ffffff;
    font-weight: 700;
    box-shadow: 0 6px 15px rgba(11, 141, 205, 0.18);
}

.patient-general-form-edit .registration-submit-button:hover[b-6o4p3ome1p] {
    background: #087fbd;
    box-shadow: 0 8px 18px rgba(11, 141, 205, 0.23);
}

/* Mobile */

@media (max-width: 700px) {
    .patient-general-form-edit .form-section[b-6o4p3ome1p] {
        padding: 1.05rem;
        border-radius: 14px;
    }

    .patient-general-form-edit .form-section-heading[b-6o4p3ome1p] {
        align-items: flex-start;
    }

    .patient-general-form-edit .section-icon[b-6o4p3ome1p] {
        width: 36px;
        height: 36px;
        flex-basis: 36px;
    }

    .patient-general-form-edit .form-actions[b-6o4p3ome1p] {
        padding: 1rem;
    }

    .patient-general-form-edit .registration-submit-button[b-6o4p3ome1p] {
        width: 100%;
    }
}

/* Preserve invalid-field highlighting in internal Edit/Create mode */
.patient-general-form-edit .form-field input.field-invalid[b-6o4p3ome1p],
.patient-general-form-edit .form-field select.field-invalid[b-6o4p3ome1p] {
    border-color: #dc2626;
    background: #fff7f7;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, .08);
}

.patient-general-form-edit .form-field input.field-invalid:hover[b-6o4p3ome1p],
.patient-general-form-edit .form-field select.field-invalid:hover[b-6o4p3ome1p] {
    border-color: #b91c1c;
    background: #fff7f7;
}

.patient-general-form-edit .form-field input.field-invalid:focus[b-6o4p3ome1p],
.patient-general-form-edit .form-field select.field-invalid:focus[b-6o4p3ome1p] {
    border-color: #dc2626;
    background: #fff7f7;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, .14);
}
/* /Components/Shared/ConfirmationDialog.razor.rz.scp.css */
.confirmation-backdrop[b-pz0p1ehmpo] {
    position: fixed;
    inset: 0;
    background: rgba(15,23,42,.55);

    display:flex;
    justify-content:center;
    align-items:center;

    z-index:9999;
}

.confirmation-dialog[b-pz0p1ehmpo]{

    width:min(460px,92vw);

    background:white;

    border-radius:18px;

    overflow:hidden;

    box-shadow:
        0 24px 60px rgba(15,23,42,.30);

    animation:
        confirmationAppear-b-pz0p1ehmpo .18s ease-out;
}

@keyframes confirmationAppear-b-pz0p1ehmpo{

    from{

        opacity:0;

        transform:
            translateY(10px)
            scale(.97);

    }

    to{

        opacity:1;

        transform:
            translateY(0)
            scale(1);

    }

}

.confirmation-header[b-pz0p1ehmpo]{

    display:flex;

    justify-content:space-between;

    align-items:flex-start;

    padding:24px 24px 10px;
}

.confirmation-header h2[b-pz0p1ehmpo]{

    margin:0;

    font-size:1.25rem;

    font-weight:700;
}

.confirmation-header span[b-pz0p1ehmpo]{

    display:block;

    margin-top:8px;

    color:#64748b;

    line-height:1.5;
}

.confirmation-close[b-pz0p1ehmpo]{

    border:none;

    background:none;

    cursor:pointer;

    font-size:1.4rem;
}

.confirmation-footer[b-pz0p1ehmpo]{

    display:flex;

    justify-content:flex-end;

    gap:12px;

    padding:20px 24px 24px;
}

.confirmation-secondary[b-pz0p1ehmpo]{

    padding:.70rem 1.2rem;

    border-radius:10px;

    border:1px solid #cbd5e1;

    background:white;

    cursor:pointer;
}

.confirmation-primary[b-pz0p1ehmpo]{

    padding:.70rem 1.2rem;

    border:none;

    border-radius:10px;

    background:#2563eb;

    color:white;

    cursor:pointer;
}

.confirmation-danger[b-pz0p1ehmpo]{

    padding:.70rem 1.2rem;

    border:none;

    border-radius:10px;

    background:#dc2626;

    color:white;

    cursor:pointer;
}
/* /Components/Shared/DialogHost.razor.rz.scp.css */
.dialog-host-backdrop[b-2uxgmom8qg] {
    position: fixed;
    inset: 0;
    z-index: 20000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(15, 23, 42, 0.58);
    backdrop-filter: blur(3px);
    animation: dialog-host-backdrop-appear-b-2uxgmom8qg 160ms ease-out;
}

.dialog-host-window[b-2uxgmom8qg] {
    width: min(460px, 100%);
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 20px;
    box-shadow:
        0 28px 70px rgba(15, 23, 42, 0.30),
        0 8px 24px rgba(15, 23, 42, 0.16);
    animation: dialog-host-window-appear-b-2uxgmom8qg 180ms ease-out;
}

.dialog-host-header[b-2uxgmom8qg] {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.5rem 1.5rem 1.25rem;
}

.dialog-host-icon[b-2uxgmom8qg] {
    display: inline-flex;
    width: 2.75rem;
    height: 2.75rem;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.25rem;
    font-weight: 800;
}

.dialog-host-icon-primary[b-2uxgmom8qg] {
    color: #1d4ed8;
    background: #dbeafe;
}

.dialog-host-icon-danger[b-2uxgmom8qg] {
    color: #b91c1c;
    background: #fee2e2;
}

.dialog-host-heading[b-2uxgmom8qg] {
    min-width: 0;
}

.dialog-host-heading h2[b-2uxgmom8qg] {
    margin: 0;
    color: #0f172a;
    font-size: 1.25rem;
    font-weight: 750;
    line-height: 1.3;
}

.dialog-host-heading p[b-2uxgmom8qg] {
    margin: 0.55rem 0 0;
    color: #64748b;
    font-size: 0.96rem;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.dialog-host-close[b-2uxgmom8qg] {
    display: inline-flex;
    width: 2rem;
    height: 2rem;
    align-items: center;
    justify-content: center;
    margin: -0.3rem -0.35rem 0 0;
    padding: 0;
    color: #64748b;
    background: transparent;
    border: 0;
    border-radius: 0.5rem;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    transition:
        color 140ms ease,
        background-color 140ms ease;
}

.dialog-host-close:hover[b-2uxgmom8qg] {
    color: #0f172a;
    background: #f1f5f9;
}

.dialog-host-footer[b-2uxgmom8qg] {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    padding: 1rem 1.5rem 1.5rem;
}

.dialog-host-secondary[b-2uxgmom8qg],
.dialog-host-primary[b-2uxgmom8qg] {
    min-height: 2.75rem;
    padding: 0.68rem 1.2rem;
    border-radius: 0.75rem;
    font-size: 0.94rem;
    font-weight: 700;
    cursor: pointer;
    transition:
        transform 120ms ease,
        box-shadow 120ms ease,
        background-color 120ms ease;
}

.dialog-host-secondary[b-2uxgmom8qg] {
    color: #334155;
    background: #ffffff;
    border: 1px solid #cbd5e1;
}

.dialog-host-secondary:hover[b-2uxgmom8qg] {
    background: #f8fafc;
}

.dialog-host-primary[b-2uxgmom8qg] {
    color: #ffffff;
    background: #2563eb;
    border: 1px solid #2563eb;
    box-shadow: 0 6px 14px rgba(37, 99, 235, 0.22);
}

.dialog-host-primary:hover[b-2uxgmom8qg] {
    background: #1d4ed8;
    border-color: #1d4ed8;
}

.dialog-host-danger[b-2uxgmom8qg] {
    background: #dc2626;
    border-color: #dc2626;
    box-shadow: 0 6px 14px rgba(220, 38, 38, 0.22);
}

.dialog-host-danger:hover[b-2uxgmom8qg] {
    background: #b91c1c;
    border-color: #b91c1c;
}

.dialog-host-secondary:active[b-2uxgmom8qg],
.dialog-host-primary:active[b-2uxgmom8qg] {
    transform: translateY(1px);
}

.dialog-host-secondary:focus-visible[b-2uxgmom8qg],
.dialog-host-primary:focus-visible[b-2uxgmom8qg],
.dialog-host-close:focus-visible[b-2uxgmom8qg] {
    outline: 3px solid rgba(59, 130, 246, 0.32);
    outline-offset: 2px;
}

@keyframes dialog-host-backdrop-appear-b-2uxgmom8qg {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes dialog-host-window-appear-b-2uxgmom8qg {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 575.98px) {
    .dialog-host-backdrop[b-2uxgmom8qg] {
        align-items: flex-end;
        padding: 0.75rem;
    }

    .dialog-host-window[b-2uxgmom8qg] {
        border-radius: 18px;
    }

    .dialog-host-header[b-2uxgmom8qg] {
        grid-template-columns: auto minmax(0, 1fr);
        padding: 1.25rem 1.15rem 1rem;
    }

    .dialog-host-close[b-2uxgmom8qg] {
        position: absolute;
        top: 0.9rem;
        right: 0.9rem;
    }

    .dialog-host-heading[b-2uxgmom8qg] {
        padding-right: 1.5rem;
    }

    .dialog-host-footer[b-2uxgmom8qg] {
        display: grid;
        grid-template-columns: 1fr 1fr;
        padding: 0.9rem 1.15rem 1.15rem;
    }

    .dialog-host-secondary[b-2uxgmom8qg],
    .dialog-host-primary[b-2uxgmom8qg] {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .dialog-host-backdrop[b-2uxgmom8qg],
    .dialog-host-window[b-2uxgmom8qg] {
        animation: none;
    }
}
