@import '_content/Blazored.Toast/Blazored.Toast.bundle.scp.css';

/* _content/IdentiSync.Web/Components/Layout/AdminLayout.razor.rz.scp.css */
/* Reuse TailAdmin-style Layout for admin area */
.app-wrapper[b-xmtkfhbeq1] {
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.app-sidebar[b-xmtkfhbeq1] {
    width: 250px;
    min-width: 250px;
    background-color: var(--sidebar-bg);
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    z-index: 999;
    overflow: hidden;
}

/* Main Content Area */
.app-main[b-xmtkfhbeq1] {
    flex: 1;
    margin-left: 250px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Page Content */
.app-content[b-xmtkfhbeq1] {
    flex: 1;
    padding: 1.5rem;
    background-color: var(--color-bg-body);
}

/* Error UI */
#blazor-error-ui[b-xmtkfhbeq1] {
    background: #FEF2F2;
    border: 1px solid #FEE2E2;
    color: #991B1B;
    bottom: 0;
    box-shadow: 0 -4px 6px -1px rgba(0, 0, 0, 0.1);
    display: none;
    left: 0;
    padding: 1rem 1.5rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
    border-radius: 0;
}

#blazor-error-ui .dismiss[b-xmtkfhbeq1] {
    cursor: pointer;
    position: absolute;
    right: 1rem;
    top: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

#blazor-error-ui .dismiss:hover[b-xmtkfhbeq1] {
    background-color: #FEE2E2;
}

#blazor-error-ui .reload[b-xmtkfhbeq1] {
    color: var(--color-primary);
    font-weight: 500;
    margin-left: 0.5rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .app-sidebar[b-xmtkfhbeq1] {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }

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

    .app-main[b-xmtkfhbeq1] {
        margin-left: 0;
    }
}

/* _content/IdentiSync.Web/Components/Layout/AdminNavMenu.razor.rz.scp.css */
/* Match primary sidebar styling */
.sidebar-wrapper[b-yskfgvb2k1] {
    display: flex;
    flex-direction: column;
    height: 100%;
    background-color: var(--sidebar-bg);
    overflow: hidden;
}

.sidebar-header[b-yskfgvb2k1] {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--color-border-dark);
}

.sidebar-logo[b-yskfgvb2k1] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: white;
}

.sidebar-logo:hover[b-yskfgvb2k1] {
    color: white;
}

.logo-icon[b-yskfgvb2k1] {
    font-size: 1.5rem;
    color: var(--color-primary);
}

.logo-text[b-yskfgvb2k1] {
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
}

.sidebar-nav[b-yskfgvb2k1] {
    flex: 1;
    overflow-y: auto;
    padding: 0.5rem 0;
}

.nav-group[b-yskfgvb2k1] {
    padding: 0 1rem;
    margin-bottom: 0.5rem;
}

.nav-group-title[b-yskfgvb2k1] {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--sidebar-text-muted);
    padding: 0.6rem 0.75rem 0.35rem;
    margin-top: 0.35rem;
}

[b-yskfgvb2k1] .nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0.75rem;
    margin: 0.125rem 0;
    border-radius: 6px;
    color: var(--sidebar-text);
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    transition: all 0.15s ease;
}

[b-yskfgvb2k1] .nav-link:hover {
    background-color: var(--sidebar-hover);
    color: white;
}

[b-yskfgvb2k1] .nav-link.active {
    background-color: var(--sidebar-active);
    color: white;
}

[b-yskfgvb2k1] .nav-link.active .nav-icon {
    color: var(--color-primary);
}

.nav-icon[b-yskfgvb2k1] {
    width: 22px;
    text-align: center;
    font-size: 1.125rem;
    flex-shrink: 0;
    opacity: 0.7;
    transition: opacity 0.15s ease;
}

[b-yskfgvb2k1] .nav-link:hover .nav-icon,
[b-yskfgvb2k1] .nav-link.active .nav-icon {
    opacity: 1;
}

.sidebar-admin[b-yskfgvb2k1] {
    padding: 0.5rem 1rem;
    border-top: 1px solid var(--color-border-dark);
}

[b-yskfgvb2k1] .admin-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    color: var(--sidebar-text);
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    transition: all 0.15s ease;
}

[b-yskfgvb2k1] .admin-link:hover {
    background-color: var(--sidebar-hover);
    color: white;
}

[b-yskfgvb2k1] .admin-link.active {
    background-color: var(--sidebar-active);
    color: white;
}

.sidebar-footer[b-yskfgvb2k1] {
    padding: 0.75rem 1rem;
    border-top: 1px solid var(--color-border-dark);
}

.user-footer-row[b-yskfgvb2k1] {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.user-profile-link[b-yskfgvb2k1] {
    flex: 1;
    min-width: 0;
    text-align: left;
    background: none;
    border: none;
    padding: 0.5rem 0.75rem;
}

.user-avatar[b-yskfgvb2k1] {
    width: 36px;
    height: 36px;
    background-color: var(--sidebar-active);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.user-avatar i[b-yskfgvb2k1] {
    font-size: 0.9rem;
    color: var(--sidebar-text);
}

.user-name[b-yskfgvb2k1] {
    font-size: 0.875rem;
    font-weight: 500;
    color: white;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-decoration: none;
}

.signout-btn[b-yskfgvb2k1] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 6px;
    color: var(--sidebar-text);
    text-decoration: none;
    opacity: 0.7;
    transition: all 0.15s ease;
    flex-shrink: 0;
}

.signout-btn:hover[b-yskfgvb2k1] {
    background-color: var(--sidebar-hover);
    color: white;
    opacity: 1;
}

/* _content/IdentiSync.Web/Components/Layout/MainLayout.razor.rz.scp.css */
/* TailAdmin-style Layout */
.app-wrapper[b-r7495ki1di] {
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.app-sidebar[b-r7495ki1di] {
    width: 250px;
    min-width: 250px;
    background-color: var(--sidebar-bg);
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    z-index: 999;
    overflow: hidden;
}

/* Main Content Area */
.app-main[b-r7495ki1di] {
    flex: 1;
    margin-left: 250px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header */
.app-header[b-r7495ki1di] {
    background-color: var(--color-bg-card);
    border-bottom: 1px solid var(--color-border);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 99;
    min-height: 72px;
}

.header-left[b-r7495ki1di] {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-right[b-r7495ki1di] {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mobile-menu-btn[b-r7495ki1di] {
    display: none;
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    border-radius: 8px;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--color-text-secondary);
}

.mobile-menu-btn:hover[b-r7495ki1di] {
    background-color: var(--color-bg-body);
}

.mobile-menu-btn svg[b-r7495ki1di] {
    width: 24px;
    height: 24px;
}

.header-link[b-r7495ki1di] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.15s ease;
}

.header-link:hover[b-r7495ki1di] {
    background-color: var(--color-bg-body);
    color: var(--color-text);
}

.header-icon[b-r7495ki1di] {
    width: 20px;
    height: 20px;
}

/* Page Content */
.app-content[b-r7495ki1di] {
    flex: 1;
    padding: 1.5rem;
    background-color: var(--color-bg-body);
}

/* Error UI */
#blazor-error-ui[b-r7495ki1di] {
    background: #FEF2F2;
    border: 1px solid #FEE2E2;
    color: #991B1B;
    bottom: 0;
    box-shadow: 0 -4px 6px -1px rgba(0, 0, 0, 0.1);
    display: none;
    left: 0;
    padding: 1rem 1.5rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
    border-radius: 0;
}

#blazor-error-ui .dismiss[b-r7495ki1di] {
    cursor: pointer;
    position: absolute;
    right: 1rem;
    top: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

#blazor-error-ui .dismiss:hover[b-r7495ki1di] {
    background-color: #FEE2E2;
}

#blazor-error-ui .reload[b-r7495ki1di] {
    color: var(--color-primary);
    font-weight: 500;
    margin-left: 0.5rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .app-sidebar[b-r7495ki1di] {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }

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

    .app-main[b-r7495ki1di] {
        margin-left: 0;
    }

    .mobile-menu-btn[b-r7495ki1di] {
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

@media (min-width: 1025px) {
    .mobile-menu-btn[b-r7495ki1di] {
        display: none;
    }
}
/* _content/IdentiSync.Web/Components/Layout/NavMenu.razor.rz.scp.css */
/* TailAdmin-style Sidebar */
.sidebar-wrapper[b-078rh3ooz5] {
    display: flex;
    flex-direction: column;
    height: 100%;
    background-color: var(--sidebar-bg);
    overflow: hidden;
}

/* Sidebar Header / Logo */
.sidebar-header[b-078rh3ooz5] {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--color-border-dark);
}

.sidebar-logo[b-078rh3ooz5] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: white;
}

.sidebar-logo:hover[b-078rh3ooz5] {
    color: white;
}

.logo-icon[b-078rh3ooz5] {
    font-size: 1.5rem;
    color: var(--color-primary);
}

.logo-text[b-078rh3ooz5] {
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
}

/* Navigation */
.sidebar-nav[b-078rh3ooz5] {
    flex: 1;
    overflow-y: auto;
    padding: 0.5rem 0;
}

.nav-group[b-078rh3ooz5] {
    padding: 0 1rem;
    margin-bottom: 0.5rem;
}

.nav-group-title[b-078rh3ooz5] {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--sidebar-text-muted);
    padding: 0.6rem 0.75rem 0.35rem;
    margin-top: 0.35rem;
}

/* Nav Links */
[b-078rh3ooz5] .nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0.75rem;
    margin: 0.125rem 0;
    border-radius: 6px;
    color: var(--sidebar-text);
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    transition: all 0.15s ease;
}

[b-078rh3ooz5] .nav-link:hover {
    background-color: var(--sidebar-hover);
    color: white;
}

[b-078rh3ooz5] .nav-link.active {
    background-color: var(--sidebar-active);
    color: white;
}

[b-078rh3ooz5] .nav-link.active .nav-icon {
    color: var(--color-primary);
}

.nav-icon[b-078rh3ooz5] {
    width: 22px;
    text-align: center;
    font-size: 1.125rem;
    flex-shrink: 0;
    opacity: 0.7;
    transition: opacity 0.15s ease;
}

[b-078rh3ooz5] .nav-link:hover .nav-icon,
[b-078rh3ooz5] .nav-link.active .nav-icon {
    opacity: 1;
}

/* Admin Panel Link at Bottom */
.sidebar-admin[b-078rh3ooz5] {
    padding: 0.5rem 1rem;
    border-top: 1px solid var(--color-border-dark);
}

[b-078rh3ooz5] .admin-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    color: var(--sidebar-text);
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    transition: all 0.15s ease;
}

[b-078rh3ooz5] .admin-link:hover {
    background-color: var(--sidebar-hover);
    color: white;
}

[b-078rh3ooz5] .admin-link.active {
    background-color: var(--sidebar-active);
    color: white;
}

/* Sidebar Footer / User Section */
.sidebar-footer[b-078rh3ooz5] {
    padding: 0.75rem 1rem;
    border-top: 1px solid var(--color-border-dark);
}

.user-footer-row[b-078rh3ooz5] {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.user-profile-link[b-078rh3ooz5] {
    flex: 1;
    min-width: 0;
    text-align: left;
    background: none;
    border: none;
    padding: 0.5rem 0.75rem;
}

.user-avatar[b-078rh3ooz5] {
    width: 36px;
    height: 36px;
    background-color: var(--sidebar-active);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.user-avatar i[b-078rh3ooz5] {
    font-size: 0.9rem;
    color: var(--sidebar-text);
}

.user-name[b-078rh3ooz5] {
    font-size: 0.875rem;
    font-weight: 500;
    color: white;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-decoration: none;
}

.signout-btn[b-078rh3ooz5] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 6px;
    color: var(--sidebar-text);
    text-decoration: none;
    opacity: 0.7;
    transition: all 0.15s ease;
    flex-shrink: 0;
}

.signout-btn:hover[b-078rh3ooz5] {
    background-color: var(--sidebar-hover);
    color: white;
    opacity: 1;
}

/* Mobile Toggle - Hidden by default */
.navbar-toggler[b-078rh3ooz5] {
    display: none;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .sidebar-wrapper[b-078rh3ooz5] {
        position: fixed;
        left: -280px;
        top: 0;
        width: 280px;
        height: 100vh;
        z-index: 9999;
        transition: left 0.3s ease;
    }

    .sidebar-wrapper.open[b-078rh3ooz5] {
        left: 0;
    }
}
/* _content/IdentiSync.Web/Components/Layout/ToastContainer.razor.rz.scp.css */
.toast-container .toast[b-2yhn7hgnge] {
    min-width: 340px;
    max-width: 420px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    border: none;
    border-radius: 0.5rem;
    overflow: hidden;
}

.toast-container .toast.fade-in[b-2yhn7hgnge] {
    animation: fadeInSlide-b-2yhn7hgnge 0.3s ease-in-out;
}

@keyframes fadeInSlide-b-2yhn7hgnge {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.toast-container .toast-header[b-2yhn7hgnge] {
    border-bottom: none;
    font-size: 0.9rem;
}

.toast-container .toast-body[b-2yhn7hgnge] {
    padding-top: 0.5rem;
    text-align: center;
}

/* Progress bar countdown */
.toast-progress[b-2yhn7hgnge] {
    height: 4px;
    width: 100%;
    background: rgba(0, 0, 0, 0.1);
}

.toast-progress-bar[b-2yhn7hgnge] {
    height: 100%;
    width: 100%;
    animation-name: shrinkProgress-b-2yhn7hgnge;
    animation-timing-function: linear;
    animation-fill-mode: forwards;
    border-radius: 0 0 0.5rem 0;
}

@keyframes shrinkProgress-b-2yhn7hgnge {
    from {
        width: 100%;
    }
    to {
        width: 0%;
    }
}

.toast-progress-bar.progress-success[b-2yhn7hgnge] {
    background: rgba(255, 255, 255, 0.7);
}

.toast-progress-bar.progress-danger[b-2yhn7hgnge] {
    background: rgba(255, 255, 255, 0.7);
}

.toast-progress-bar.progress-warning[b-2yhn7hgnge] {
    background: rgba(0, 0, 0, 0.25);
}

.toast-progress-bar.progress-info[b-2yhn7hgnge] {
    background: rgba(255, 255, 255, 0.7);
}

.toast-progress-bar.progress-secondary[b-2yhn7hgnge] {
    background: rgba(255, 255, 255, 0.7);
}
/* _content/IdentiSync.Web/Components/Pages/PreviewMatrix.razor.rz.scp.css */
.preview-matrix__grid[b-4snwp7nn8s] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.preview-matrix__cell[b-4snwp7nn8s] {
    border: 1px solid var(--color-border-light, #e5e7eb);
    border-radius: 12px;
    padding: 1rem;
    background: #fff;
    display: flex;
    flex-direction: column;
    min-height: 300px;
}

.preview-matrix__cell-header[b-4snwp7nn8s] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.preview-matrix__preview[b-4snwp7nn8s] {
    flex: 1;
    background: #f8fafc;
    border-radius: 10px;
    border: 1px dashed #e2e8f0;
    overflow: hidden;
    margin-bottom: 0.75rem;
}

.preview-matrix__preview iframe[b-4snwp7nn8s] {
    width: 100%;
    min-height: 250px;
    border: none;
    display: block;
}

.preview-matrix__warnings[b-4snwp7nn8s] {
    font-size: 0.85rem;
    color: #6b7280;
}

.preview-matrix__warnings ul[b-4snwp7nn8s] {
    padding-left: 1.1rem;
    margin: 0;
}

.preview-matrix__people-list[b-4snwp7nn8s] {
    max-height: 220px;
    overflow-y: auto;
}
