/* /Components/Layout/Client/NavMenu.razor.rz.scp.css */
.app-header[b-vc9z988mmc] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    padding-top: var(--safe-area-top);
    background-color: var(--color-surface);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-inline: 1rem;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.header-left[b-vc9z988mmc] {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    min-width: 0;
}

.app-title[b-vc9z988mmc] {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-text);
    text-decoration: none;
    flex-shrink: 0;
}

.app-title:hover[b-vc9z988mmc] {
    color: var(--color-accent);
}

/* Desktop navigation - inside header */
.desktop-nav[b-vc9z988mmc] {
    display: none;
}

.header-right[b-vc9z988mmc] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
}

.user-info[b-vc9z988mmc] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
}

.user-details[b-vc9z988mmc] {
    display: none;
    flex-direction: column;
    align-items: flex-end;
    min-width: 0;
    gap: 0.1rem;
}

.user-name[b-vc9z988mmc] {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 150px;
}

.user-email[b-vc9z988mmc] {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 150px;
}

.user-tags[b-vc9z988mmc] {
    display: none; /* Hidden by default */
    flex-wrap: wrap;
    gap: 0.25rem;
    align-items: center;
    flex-shrink: 0;
}

.user-provider[b-vc9z988mmc] {
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--color-text);
    background-color: var(--color-primary);
    padding: 0.15rem 0.4rem;
    border-radius: 1rem;
    text-transform: capitalize;
    white-space: nowrap;
}

.user-role[b-vc9z988mmc] {
    font-size: 0.65rem;
    font-weight: 600;
    color: #1a1a1a;
    background-color: #f5c518;
    padding: 0.1rem 0.35rem;
    border-radius: 0.75rem;
    white-space: nowrap;
}

.menu-toggle[b-vc9z988mmc] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background: transparent;
    border: none;
    cursor: pointer;
    border-radius: 0.5rem;
    transition: background-color 0.2s;
    flex-shrink: 0;
}

.menu-toggle:hover[b-vc9z988mmc] {
    background-color: rgba(255, 255, 255, 0.1);
}

.menu-icon[b-vc9z988mmc] {
    display: block;
    width: 1.5rem;
    height: 2px;
    background-color: var(--color-text);
    position: relative;
}

.menu-icon[b-vc9z988mmc]::before,
.menu-icon[b-vc9z988mmc]::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--color-text);
}

.menu-icon[b-vc9z988mmc]::before {
    top: -6px;
}

.menu-icon[b-vc9z988mmc]::after {
    top: 6px;
}

/* Mobile navigation - dropdown menu */
.mobile-nav[b-vc9z988mmc] {
    position: fixed;
    top: calc(var(--header-height) + var(--safe-area-top));
    left: 0;
    right: 0;
    background-color: var(--color-surface);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.5rem;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
    z-index: 99;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.mobile-nav.open[b-vc9z988mmc] {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.app-nav[b-vc9z988mmc]  .nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    color: var(--color-text-muted);
    text-decoration: none;
    border-radius: 0.5rem;
    transition: background-color 0.2s, color 0.2s;
    font-size: 1rem;
}

.app-nav[b-vc9z988mmc]  .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--color-text);
}

.app-nav[b-vc9z988mmc]  .nav-link.active {
    background-color: var(--color-primary);
    color: var(--color-text);
}

.nav-icon[b-vc9z988mmc] {
    display: inline-block;
    width: 1.25rem;
    height: 1.25rem;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

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

.dashboard-icon[b-vc9z988mmc] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23eaeaea' viewBox='0 0 16 16'%3E%3Cpath d='M0 1.5A1.5 1.5 0 0 1 1.5 0h2A1.5 1.5 0 0 1 5 1.5v2A1.5 1.5 0 0 1 3.5 5h-2A1.5 1.5 0 0 1 0 3.5v-2zM0 8a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V8zm1 3v2a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-2H1zm14-1V8a1 1 0 0 0-1-1H2a1 1 0 0 0-1 1v2h14zM2 8.5a.5.5 0 0 1 .5-.5h9a.5.5 0 0 1 0 1h-9a.5.5 0 0 1-.5-.5zm0 4a.5.5 0 0 1 .5-.5h6a.5.5 0 0 1 0 1h-6a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.admin-icon[b-vc9z988mmc] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23eaeaea' viewBox='0 0 16 16'%3E%3Cpath d='M11 5a3 3 0 1 1-6 0 3 3 0 0 1 6 0ZM8 7a2 2 0 1 0 0-4 2 2 0 0 0 0 4Zm.256 7a4.474 4.474 0 0 1-.229-1.004H3c.001-.246.154-.986.832-1.664C4.484 10.68 5.711 10 8 10c.26 0 .507.009.74.025.226-.341.496-.65.804-.918C9.077 9.038 8.564 9 8 9c-5 0-6 3-6 4s1 1 1 1h5.256Zm3.63-4.54c.18-.613 1.048-.613 1.229 0l.043.148a.64.64 0 0 0 .921.382l.136-.074c.561-.306 1.175.308.87.869l-.075.136a.64.64 0 0 0 .382.92l.149.045c.612.18.612 1.048 0 1.229l-.15.043a.64.64 0 0 0-.38.921l.074.136c.305.561-.309 1.175-.87.87l-.136-.075a.64.64 0 0 0-.92.382l-.045.149c-.18.612-1.048.612-1.229 0l-.043-.15a.64.64 0 0 0-.921-.38l-.136.074c-.561.305-1.175-.309-.87-.87l.075-.136a.64.64 0 0 0-.382-.92l-.148-.045c-.613-.18-.613-1.048 0-1.229l.148-.043a.64.64 0 0 0 .382-.921l-.074-.136c-.306-.561.308-1.175.869-.87l.136.075a.64.64 0 0 0 .92-.382l.045-.148ZM14 12.5a1.5 1.5 0 1 0-3 0 1.5 1.5 0 0 0 3 0Z'/%3E%3C/svg%3E");
}

.logout-icon[b-vc9z988mmc] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23eaeaea' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M10 12.5a.5.5 0 0 1-.5.5h-8a.5.5 0 0 1-.5-.5v-9a.5.5 0 0 1 .5-.5h8a.5.5 0 0 1 .5.5v2a.5.5 0 0 0 1 0v-2A1.5 1.5 0 0 0 9.5 2h-8A1.5 1.5 0 0 0 0 3.5v9A1.5 1.5 0 0 0 1.5 14h8a1.5 1.5 0 0 0 1.5-1.5v-2a.5.5 0 0 0-1 0v2z'/%3E%3Cpath fill-rule='evenodd' d='M15.854 8.354a.5.5 0 0 0 0-.708l-3-3a.5.5 0 0 0-.708.708L14.293 7.5H5.5a.5.5 0 0 0 0 1h8.793l-2.147 2.146a.5.5 0 0 0 .708.708l3-3z'/%3E%3C/svg%3E");
}

.install-icon[b-vc9z988mmc] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23eaeaea' viewBox='0 0 16 16'%3E%3Cpath d='M.5 9.9a.5.5 0 0 1 .5.5v2.5a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-2.5a.5.5 0 0 1 1 0v2.5a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2v-2.5a.5.5 0 0 1 .5-.5z'/%3E%3Cpath d='M7.646 11.854a.5.5 0 0 0 .708 0l3-3a.5.5 0 0 0-.708-.708L8.5 10.293V1.5a.5.5 0 0 0-1 0v8.793L5.354 8.146a.5.5 0 1 0-.708.708l3 3z'/%3E%3C/svg%3E");
}

.logout-link[b-vc9z988mmc] {
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: inherit;
    width: 100%;
    text-align: left;
}

.logout-link:hover[b-vc9z988mmc] {
    color: #ff6b6b;
}

.install-link[b-vc9z988mmc] {
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: inherit;
    width: 100%;
    text-align: left;
}

.install-link:hover[b-vc9z988mmc] {
    color: #4ade80;
}

/* Desktop styles */
@media (min-width: 768px) {
    .menu-toggle[b-vc9z988mmc] {
        display: none;
    }

    .mobile-nav[b-vc9z988mmc] {
        display: none;
    }

    .desktop-nav[b-vc9z988mmc] {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 0.25rem;
    }

    .desktop-nav[b-vc9z988mmc]  .nav-link {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
    }

    .user-details[b-vc9z988mmc] {
        display: flex;
    }

    .user-name[b-vc9z988mmc] {
        max-width: 200px;
    }
}

/* Ultrawide screens - show provider and role tags */
@media (min-width: 1400px) {
    .user-tags[b-vc9z988mmc] {
        display: flex;
    }
}

/* Small mobile - hide user details */
@media (max-width: 480px) {
    .user-details[b-vc9z988mmc] {
        display: none;
    }
}

/* Version display */
.app-version[b-vc9z988mmc] {
    font-size: 0.7rem;
    color: var(--color-text-muted);
    padding: 0.25rem 0.5rem;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 0.25rem;
    white-space: nowrap;
    margin-left: auto;
    user-select: none;
}

.app-version.desktop-only[b-vc9z988mmc] {
    display: none;
}

.mobile-version[b-vc9z988mmc] {
    padding: 1rem;
    text-align: center;
    border-top: 1px solid var(--color-border);
    margin-top: auto;
    font-size: 0.75rem;
    color: var(--color-text-muted);
    user-select: none;
}

/* Mostra versione desktop solo se viewport >= 920px */
@media (min-width: 920px) {
    .app-version.desktop-only[b-vc9z988mmc] {
        display: block;
    }
}

/* Nascondi versione mobile in desktop */
@media (min-width: 768px) {
    .mobile-version[b-vc9z988mmc] {
        display: none;
    }
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
:root[b-jmpz0dgzw4] {
    --color-bg: #1a1a2e;
    --color-surface: #16213e;
    --color-primary: #0f3460;
    --color-accent: #e94560;
    --color-text: #eaeaea;
    --color-text-muted: #a0a0a0;
    --header-height: 3.5rem;
    --safe-area-top: env(safe-area-inset-top, 0px);
    --safe-area-bottom: env(safe-area-inset-bottom, 0px);
}

.page[b-jmpz0dgzw4] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-jmpz0dgzw4] {
    flex: 1;
}

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

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

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

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

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

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

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

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

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

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

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

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

.app-container[b-jmpz0dgzw4] {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100dvh;
    background-color: var(--color-bg);
    color: var(--color-text);
}

.main-content[b-jmpz0dgzw4] {
    flex: 1;
    padding: 1rem;
    padding-top: calc(var(--header-height) + var(--safe-area-top) + 1rem);
    padding-bottom: calc(var(--safe-area-bottom) + 1rem);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .main-content[b-jmpz0dgzw4] {
        max-width: 720px;
        margin: 0 auto;
        padding: 2rem;
        padding-top: calc(var(--header-height) + 2rem);
    }
}

@media (min-width: 1024px) {
    .main-content[b-jmpz0dgzw4] {
        max-width: 960px;
    }
}

#blazor-error-ui[b-jmpz0dgzw4] {
    color-scheme: light only;
    background: #ffdddd;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    padding-bottom: calc(0.7rem + var(--safe-area-bottom));
    position: fixed;
    width: 100%;
    z-index: 1000;
    color: #900;
}

#blazor-error-ui .dismiss[b-jmpz0dgzw4] {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

#blazor-error-ui .reload[b-jmpz0dgzw4] {
    color: #900;
}
/* /Components/Pages/AccessDenied.razor.rz.scp.css */
.access-denied-container[b-ddak1ff5xr] {
    min-height: calc(100vh - var(--header-height) - var(--safe-area-top));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}

.loading[b-ddak1ff5xr] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--color-text-muted);
}

.loading-spinner[b-ddak1ff5xr] {
    width: 1.5rem;
    height: 1.5rem;
    border: 2px solid var(--color-surface);
    border-top-color: var(--color-primary);
    border-radius: 50%;
    animation: spin-b-ddak1ff5xr 1s linear infinite;
}

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

.denied-content[b-ddak1ff5xr],
.not-authenticated[b-ddak1ff5xr],
.has-access[b-ddak1ff5xr] {
    text-align: center;
    max-width: 500px;
}

.denied-icon[b-ddak1ff5xr] {
    width: 5rem;
    height: 5rem;
    margin: 0 auto 1.5rem;
    color: var(--color-accent);
    background: rgba(232, 72, 95, 0.15);
    border-radius: 50%;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.denied-icon svg[b-ddak1ff5xr] {
    width: 100%;
    height: 100%;
}

h1[b-ddak1ff5xr] {
    font-size: 1.75rem;
    color: var(--color-text);
    margin: 0 0 1rem 0;
}

.denied-message[b-ddak1ff5xr] {
    color: var(--color-text-muted);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.account-info[b-ddak1ff5xr] {
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.account-label[b-ddak1ff5xr] {
    display: block;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 0.75rem;
}

.account-id[b-ddak1ff5xr] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.account-id code[b-ddak1ff5xr] {
    font-size: 1.1rem;
    color: var(--color-accent);
    background-color: var(--color-background);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-family: 'Consolas', 'Monaco', monospace;
    word-break: break-all;
}

.btn-copy[b-ddak1ff5xr] {
    background: none;
    border: 1px solid var(--color-border);
    border-radius: 0.5rem;
    padding: 0.5rem;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-copy:hover[b-ddak1ff5xr] {
    background-color: var(--color-surface);
    color: var(--color-text);
}

.copy-icon[b-ddak1ff5xr] {
    width: 1.25rem;
    height: 1.25rem;
}

.hint[b-ddak1ff5xr] {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 2rem;
}

.actions[b-ddak1ff5xr] {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.btn-action[b-ddak1ff5xr] {
    display: inline-block;
    background-color: var(--color-primary);
    color: var(--color-text);
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 500;
    transition: filter 0.2s;
}

.btn-action:hover[b-ddak1ff5xr] {
    filter: brightness(1.1);
}

.btn-logout[b-ddak1ff5xr] {
    background-color: transparent;
    border: 1px solid var(--color-border);
    color: var(--color-text);
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.2s;
}

.btn-logout:hover[b-ddak1ff5xr] {
    background-color: var(--color-surface);
}
/* /Components/Pages/AdminRoles.razor.rz.scp.css */
.admin-container[b-l0vlflh193] {
    max-width: 900px;
    margin: 0 auto;
    padding: 1rem;
}

.admin-header[b-l0vlflh193] {
    margin-bottom: 1.5rem;
}

.admin-header h1[b-l0vlflh193] {
    font-size: 1.5rem;
    color: var(--color-text);
    margin: 0 0 0.5rem 0;
}

.admin-description[b-l0vlflh193] {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin: 0;
}

.access-denied[b-l0vlflh193] {
    text-align: center;
    padding: 3rem 1rem;
}

.access-denied h2[b-l0vlflh193] {
    color: var(--color-text);
    margin: 0 0 1rem 0;
}

.access-denied p[b-l0vlflh193] {
    color: var(--color-text-muted);
    margin: 0 0 1.5rem 0;
}

.btn-back[b-l0vlflh193] {
    display: inline-block;
    background-color: var(--color-primary);
    color: var(--color-text);
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 500;
}

.btn-back:hover[b-l0vlflh193] {
    filter: brightness(1.1);
}

.loading[b-l0vlflh193] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 2rem;
    color: var(--color-text-muted);
}

.loading-spinner[b-l0vlflh193] {
    width: 1.5rem;
    height: 1.5rem;
    border: 2px solid var(--color-surface);
    border-top-color: var(--color-primary);
    border-radius: 50%;
    animation: spin-b-l0vlflh193 1s linear infinite;
}

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

.error-message[b-l0vlflh193] {
    background-color: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.3);
    border-radius: 0.5rem;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.error-message button[b-l0vlflh193] {
    background-color: var(--color-primary);
    color: var(--color-text);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    cursor: pointer;
}

.search-box[b-l0vlflh193] {
    margin-bottom: 1rem;
}

.search-box input[b-l0vlflh193] {
    width: 100%;
    padding: 0.75rem 1rem;
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 0.5rem;
    color: var(--color-text);
    font-size: 0.9rem;
}

.search-box input:focus[b-l0vlflh193] {
    outline: none;
    border-color: var(--color-primary);
}

.users-list[b-l0vlflh193] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.empty-state[b-l0vlflh193] {
    text-align: center;
    padding: 2rem;
    color: var(--color-text-muted);
}

.user-card[b-l0vlflh193] {
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 0.5rem;
    padding: 1rem;
    transition: border-color 0.2s;
}

.user-card:hover[b-l0vlflh193] {
    border-color: var(--color-primary);
}

.user-card.selected[b-l0vlflh193] {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 1px var(--color-accent);
}

.user-info[b-l0vlflh193] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    cursor: pointer;
    margin-bottom: 0.75rem;
}

.user-main[b-l0vlflh193] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.user-name[b-l0vlflh193] {
    font-weight: 500;
    color: var(--color-text);
}

.user-email[b-l0vlflh193] {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.user-meta[b-l0vlflh193] {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
}

.user-provider[b-l0vlflh193] {
    font-size: 0.7rem;
    font-weight: 500;
    background-color: var(--color-primary);
    color: var(--color-text);
    padding: 0.15rem 0.4rem;
    border-radius: 1rem;
}

.user-logins[b-l0vlflh193] {
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

.user-roles[b-l0vlflh193] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.no-roles[b-l0vlflh193] {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    font-style: italic;
}

.role-tag[b-l0vlflh193] {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #1a1a1a;
    background-color: #f5c518;
    padding: 0.2rem 0.5rem;
    border-radius: 1rem;
}

.remove-role[b-l0vlflh193] {
    background: none;
    border: none;
    color: #1a1a1a;
    cursor: pointer;
    padding: 0;
    margin-left: 0.25rem;
    line-height: 1;
    opacity: 0.7;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1rem;
    height: 1rem;
}

.remove-role:hover[b-l0vlflh193] {
    opacity: 1;
}

.remove-role .icon-small[b-l0vlflh193] {
    width: 0.75rem;
    height: 0.75rem;
}

.add-role-section[b-l0vlflh193] {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--color-border);
}

.add-role-section select[b-l0vlflh193] {
    flex: 1;
    padding: 0.5rem;
    background-color: white;
    border: 1px solid var(--color-border);
    border-radius: 0.25rem;
    color: #1a1a1a;
    font-size: 0.9rem;
}

.add-role-section select option[b-l0vlflh193] {
    background-color: white;
    color: #1a1a1a;
}

.btn-add-role[b-l0vlflh193] {
    background-color: var(--color-primary);
    color: var(--color-text);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    cursor: pointer;
    font-size: 0.9rem;
    white-space: nowrap;
}

.btn-add-role:disabled[b-l0vlflh193] {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-add-role:not(:disabled):hover[b-l0vlflh193] {
    background-color: var(--color-primary-hover, var(--color-primary));
    filter: brightness(1.1);
}

.roles-legend[b-l0vlflh193] {
    margin-top: 2rem;
    padding: 1rem;
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 0.5rem;
}

.roles-legend h3[b-l0vlflh193] {
    font-size: 1rem;
    color: var(--color-text);
    margin: 0 0 1rem 0;
}

.roles-list[b-l0vlflh193] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.role-info[b-l0vlflh193] {
    display: grid;
    grid-template-columns: auto 1fr 2fr;
    gap: 1rem;
    align-items: center;
    font-size: 0.85rem;
}

.role-name[b-l0vlflh193] {
    font-family: monospace;
    background-color: var(--color-background);
    padding: 0.2rem 0.5rem;
    border-radius: 0.25rem;
    color: var(--color-accent);
}

.role-display[b-l0vlflh193] {
    font-weight: 500;
    color: var(--color-text);
}

.role-description[b-l0vlflh193] {
    color: var(--color-text-muted);
}

.status-message[b-l0vlflh193] {
    position: fixed;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-size: 0.9rem;
    z-index: 1000;
    animation: slideUp-b-l0vlflh193 0.3s ease;
}

.status-message.success[b-l0vlflh193] {
    background-color: rgba(40, 167, 69, 0.9);
    color: white;
}

.status-message.error[b-l0vlflh193] {
    background-color: rgba(220, 53, 69, 0.9);
    color: white;
}

@keyframes slideUp-b-l0vlflh193 {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(1rem);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

@media (max-width: 600px) {
    .user-info[b-l0vlflh193] {
        flex-direction: column;
        gap: 0.5rem;
    }

    .user-meta[b-l0vlflh193] {
        flex-direction: row;
        align-items: center;
    }

    .role-info[b-l0vlflh193] {
        grid-template-columns: 1fr;
        gap: 0.25rem;
    }

    .add-role-section[b-l0vlflh193] {
        flex-direction: column;
    }
}

.danger-zone[b-l0vlflh193] {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(220, 53, 69, 0.3);
}

.btn-delete-user[b-l0vlflh193] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    background-color: transparent;
    color: #dc3545;
    border: 1px solid #dc3545;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background-color 0.2s, color 0.2s;
}

.btn-delete-user:hover[b-l0vlflh193] {
    background-color: #dc3545;
    color: white;
}

.btn-delete-user .icon[b-l0vlflh193] {
    width: 1rem;
    height: 1rem;
}

/* Modal Styles */
.modal-overlay[b-l0vlflh193] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    z-index: 1000;
    animation: fadeIn-b-l0vlflh193 0.2s ease-out;
}

@keyframes fadeIn-b-l0vlflh193 {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content[b-l0vlflh193] {
    background-color: var(--color-surface);
    border-radius: 1rem;
    padding: 2rem;
    max-width: 500px;
    width: 100%;
    animation: slideUp-b-l0vlflh193 0.2s ease-out;
}

@keyframes slideUp-b-l0vlflh193 {
    from { 
        opacity: 0;
        transform: translateY(20px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header[b-l0vlflh193] {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.modal-icon[b-l0vlflh193] {
    width: 3rem;
    height: 3rem;
    stroke: #dc3545;
    flex-shrink: 0;
}

.modal-header h2[b-l0vlflh193] {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-text);
    margin: 0;
}

.modal-message[b-l0vlflh193] {
    font-size: 0.95rem;
    color: var(--color-text);
    line-height: 1.6;
    margin: 0 0 2rem;
}

.modal-message strong[b-l0vlflh193] {
    color: var(--color-accent);
}

.warning-text[b-l0vlflh193] {
    color: #ffc107;
    font-weight: 500;
}

.danger-text[b-l0vlflh193] {
    color: #dc3545;
}

.modal-actions[b-l0vlflh193] {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-cancel-modal[b-l0vlflh193] {
    flex: 1;
    background-color: var(--color-bg);
    color: var(--color-text);
    border: 2px solid var(--color-primary);
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background-color 0.2s;
}

.btn-cancel-modal:hover:not(:disabled)[b-l0vlflh193] {
    background-color: var(--color-primary);
}

.btn-cancel-modal:disabled[b-l0vlflh193] {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-confirm-delete[b-l0vlflh193] {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background-color: #dc3545;
    color: white;
    border: none;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background-color 0.2s;
}

.btn-confirm-delete:hover:not(:disabled)[b-l0vlflh193] {
    background-color: #c82333;
}

.btn-confirm-delete:disabled[b-l0vlflh193] {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-spinner[b-l0vlflh193] {
    width: 1rem;
    height: 1rem;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin-b-l0vlflh193 1s linear infinite;
}

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