/* /Shared/MainLayout.razor.rz.scp.css */
.page[b-s6i7eub01e] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-s6i7eub01e] {
    flex: 1;
}

.sidebar[b-s6i7eub01e] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-s6i7eub01e] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-s6i7eub01e]  a, .top-row .btn-link[b-s6i7eub01e] {
        white-space: nowrap;
        margin-left: 1.5rem;
    }

    .top-row a:first-child[b-s6i7eub01e] {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row:not(.auth)[b-s6i7eub01e] {
        display: none;
    }

    .top-row.auth[b-s6i7eub01e] {
        justify-content: space-between;
    }

    .top-row a[b-s6i7eub01e], .top-row .btn-link[b-s6i7eub01e] {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-s6i7eub01e] {
        flex-direction: row;
    }

    .sidebar[b-s6i7eub01e] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-s6i7eub01e] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row[b-s6i7eub01e], article[b-s6i7eub01e] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
/* /Shared/SelectionScreen.razor.rz.scp.css */
.selection-wrapper[b-ecuncwew8z] {
    min-height: 100vh;
    background-color: #f0f4f5;
    font-family: 'Poppins', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

/* ── Page header ── */

.page-header[b-ecuncwew8z] {
    background: #ffffff;
    border-bottom: 4px solid #005eb8;
}

.page-header-inner[b-ecuncwew8z] {
    max-width: 640px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.page-title[b-ecuncwew8z] {
    font-size: 1.5rem;
    font-weight: 700;
    color: #003087;
    line-height: 1.2;
}

.page-nhs-logo[b-ecuncwew8z] {
    height: 36px;
    width: auto;
    flex-shrink: 0;
}

/* ── Body ── */

.selection-body[b-ecuncwew8z] {
    flex: 1;
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
    padding: 1.25rem 1.5rem 3rem;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* ── Theme section ── */

.theme-section[b-ecuncwew8z] {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.theme-header[b-ecuncwew8z] {
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
}

.theme-logo-left[b-ecuncwew8z] {
    height: 36px;
    width: auto;
}

.theme-logo-right[b-ecuncwew8z] {
    height: 28px;
    width: auto;
}

/* ── Location list ── */

.location-list[b-ecuncwew8z] {
    display: flex;
    flex-direction: column;
    list-style: none;
    margin: 0;
    padding: 0.625rem 0.875rem 0.875rem;
    gap: 0.5rem;
}

.location-item[b-ecuncwew8z] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background-color: #f5f7f8;
    border: 1.5px solid #c5cdd1;
    border-radius: 4px;
    padding: 0.875rem 1rem;
    cursor: pointer;
    text-align: left;
    transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
    gap: 0.75rem;
    box-sizing: border-box;
}

.location-item:hover[b-ecuncwew8z] {
    background-color: #e8edee;
    border-color: #9aa5ab;
    transform: translateX(3px);
}

.location-item:active[b-ecuncwew8z] {
    transform: translateX(1px);
}

.location-item:focus-visible[b-ecuncwew8z] {
    outline: 3px solid var(--accent);
    outline-offset: 2px;
}

.location-name[b-ecuncwew8z] {
    font-size: 0.9375rem;
    font-weight: 500;
    color: #212b32;
    flex: 1;
    line-height: 1.4;
}

.location-arrow[b-ecuncwew8z] {
    width: 1.125rem;
    height: 1.125rem;
    color: var(--accent-arrow);
    flex-shrink: 0;
    transition: transform 0.15s ease;
}

.location-item:hover .location-arrow[b-ecuncwew8z] {
    transform: translateX(3px);
}

/* ── States ── */

.loading-state[b-ecuncwew8z] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 3rem 0;
    color: #425563;
    font-size: 0.9375rem;
}

.spinner[b-ecuncwew8z] {
    width: 2rem;
    height: 2rem;
    border: 2.5px solid #d8e0e3;
    border-top-color: #425563;
    border-radius: 50%;
    animation: spin-b-ecuncwew8z 0.7s linear infinite;
}

@keyframes spin-b-ecuncwew8z {
    to { transform: rotate(360deg); }
}

.no-sites[b-ecuncwew8z] {
    text-align: center;
    color: #425563;
    font-size: 0.9375rem;
    padding: 3rem 0;
}
