/* /Components/Navigation/NavigationDrawer.razor.rz.scp.css */
/* NavigationDrawer scoped styles */
.brand-row[b-qp6n6xxm2p] {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 48px;
    padding: 0 14px;
    border-bottom: 1px solid var(--app-lines);
}

.brand-avatar[b-qp6n6xxm2p] {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    width: 30px;
    height: 30px;
    flex-shrink: 0;
}

.brand-title[b-qp6n6xxm2p] {
    font-weight: 700;
    font-size: 0.8rem;
    line-height: 1.2;
    font-family: 'Plus Jakarta Sans', sans-serif;
    display: block;
}

.brand-subtitle[b-qp6n6xxm2p] {
    font-size: 0.6rem;
    color: var(--app-text-secondary);
}

.brand-search-wrap[b-qp6n6xxm2p] {
    padding: 8px 14px;
}

.nav-divider[b-qp6n6xxm2p] {
    border-bottom: 1px solid var(--app-lines);
    margin: 0 14px 4px;
}

/* Sidebar footer (rendered via FooterContent RenderFragment) */
.sidebar-footer[b-qp6n6xxm2p] {
    margin-top: auto;
    padding: 4px 8px 8px;
    border-top: 1px solid var(--app-lines);
}

.sidebar-footer--collapsed[b-qp6n6xxm2p] {
    margin-top: auto;
    padding: 4px 0 8px;
    border-top: 1px solid var(--app-lines);
    display: flex;
    justify-content: center;
}

.sidebar-footer-link[b-qp6n6xxm2p] {
    font-size: 0.78rem;
    min-height: 30px;
}

/* Nav group divider */
.nav-group-divider[b-qp6n6xxm2p] {
    margin: 8px 0;
    border-top: 1px solid var(--app-lines);
}
/* /Components/Shared/MainLayout.razor.rz.scp.css */
/* === Loading Screen === */
.loading-overlay[b-p3hkzibdqd] {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    background: var(--app-background);
}

.loading-spinner[b-p3hkzibdqd] {
    animation: spin 1s linear infinite;
    width: 48px;
    height: 48px;
    border: 3px solid var(--app-primary);
    border-top: 3px solid transparent;
    border-radius: 50%;
}

/* === Top Bar === */
.topbar-brand-icon[b-p3hkzibdqd] {
    color: var(--app-primary);
}

.topbar-brand-title[b-p3hkzibdqd] {
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--app-text-secondary);
}

.topbar-help-link[b-p3hkzibdqd] {
    color: var(--app-primary);
    text-decoration: none;
}

.topbar-spacer[b-p3hkzibdqd] {
    flex: 1;
}

/* === User Menu === */
.user-avatar[b-p3hkzibdqd] {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    font-weight: 600;
    font-size: 0.75rem;
}

.user-name[b-p3hkzibdqd] {
    font-weight: 600;
    font-size: 0.8rem;
    line-height: 1.2;
}

.user-roles[b-p3hkzibdqd] {
    font-size: 0.7rem;
    color: var(--app-text-secondary);
    line-height: 1;
}

.user-dropdown-header[b-p3hkzibdqd] {
    padding: 10px 14px;
    border-bottom: 1px solid var(--app-lines);
}

.user-dropdown-email-label[b-p3hkzibdqd] {
    font-size: 0.7rem;
    color: var(--app-text-secondary);
}

.user-dropdown-email[b-p3hkzibdqd] {
    font-weight: 600;
    font-size: 0.8rem;
}

.user-dropdown-logout[b-p3hkzibdqd] {
    color: var(--app-error);
}

/* === Language Switcher === */
.lang-trigger[b-p3hkzibdqd] {
    width: auto;
    padding: 0 8px;
    gap: 4px;
}

.lang-trigger-icon[b-p3hkzibdqd] {
    font-size: 1.1rem;
}

.lang-trigger-code[b-p3hkzibdqd] {
    font-size: 0.7rem;
    font-weight: 600;
    opacity: 0.8;
}

.lang-header-icon[b-p3hkzibdqd] {
    font-size: 1rem;
}

/* === Top Nav === */
.top-nav-chevron[b-p3hkzibdqd] {
    font-size: 1rem;
}

.expand-icon[b-p3hkzibdqd] {
    font-size: 1.1rem;
    color: var(--app-text-secondary);
}
/* /Pages/Content/Components/OperationBanners.razor.rz.scp.css */
/* === Operation Progress Banners === */
.ops-banner[b-6tpxw8jyzw] {
    border: 1px solid var(--app-lines);
    border-radius: 8px;
    margin-bottom: 12px;
    overflow: hidden;
    background: var(--app-surface);
}

.ops-banner--upload[b-6tpxw8jyzw] {
    border-left: 3px solid var(--app-primary);
}

.ops-banner--delete[b-6tpxw8jyzw] {
    border-left: 3px solid var(--app-error);
}

.ops-banner__main[b-6tpxw8jyzw] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    gap: 12px;
}

.ops-banner__info[b-6tpxw8jyzw] {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
}

.ops-banner__icon[b-6tpxw8jyzw] {
    font-size: 22px;
    flex-shrink: 0;
}

.ops-banner--upload .ops-banner__icon[b-6tpxw8jyzw] {
    color: var(--app-primary);
}

.ops-banner--delete .ops-banner__icon[b-6tpxw8jyzw] {
    color: var(--app-error);
}

.ops-banner__text[b-6tpxw8jyzw] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.ops-banner__title[b-6tpxw8jyzw] {
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ops-banner__stats[b-6tpxw8jyzw] {
    font-size: 0.75rem;
    color: var(--app-text-secondary);
}

.ops-banner__controls[b-6tpxw8jyzw] {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

.ops-banner__btn[b-6tpxw8jyzw] {
    background: none;
    border: 1px solid var(--app-lines);
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: var(--app-text-secondary);
    transition: background 0.15s, color 0.15s;
}

.ops-banner__btn:hover[b-6tpxw8jyzw] {
    background: var(--app-hover);
}

.ops-banner__btn--success[b-6tpxw8jyzw] {
    color: var(--app-success);
    border-color: var(--app-success);
}

.ops-banner__btn--warning[b-6tpxw8jyzw] {
    color: var(--app-warning);
    border-color: var(--app-warning);
}

.ops-banner__btn--error[b-6tpxw8jyzw] {
    color: var(--app-error);
    border-color: var(--app-error);
}

.ops-banner__btn .material-symbols-rounded[b-6tpxw8jyzw] {
    font-size: 20px;
}

.ops-banner__progress[b-6tpxw8jyzw] {
    height: 4px;
    background: var(--app-lines);
}

.ops-banner__progress-fill[b-6tpxw8jyzw] {
    height: 100%;
    transition: width 0.3s;
    border-radius: 0 0 2px 0;
}

.ops-banner__progress-fill--upload[b-6tpxw8jyzw] {
    background: var(--app-primary);
}

.ops-banner__progress-fill--delete[b-6tpxw8jyzw] {
    background: var(--app-error);
}

/* Mobile: operation banners */
@media (max-width: 768px) {
    .ops-banner__main[b-6tpxw8jyzw] {
        padding: 8px 12px;
        gap: 8px;
    }

    .ops-banner__title[b-6tpxw8jyzw] {
        font-size: 0.8rem;
    }

    .ops-banner__btn[b-6tpxw8jyzw] {
        width: 44px;
        height: 44px;
    }
}
/* /Pages/Content/FileManager.razor.rz.scp.css */
/* === Upload/Delete Queue === */
.queue-card[b-x128uw2hgb] {
    margin-bottom: 12px;
}

.queue-card--upload[b-x128uw2hgb] {
    border: 1px solid var(--app-primary);
}

.queue-card--delete[b-x128uw2hgb] {
    border: 1px solid var(--app-error);
}

.queue-header[b-x128uw2hgb] {
    padding: 8px 16px;
}

.queue-header-content[b-x128uw2hgb] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.queue-header-icon[b-x128uw2hgb] {
    font-size: 18px;
}

.queue-title[b-x128uw2hgb] {
    margin: 0;
    font-size: 0.85rem;
}

.queue-close-btn[b-x128uw2hgb] {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--app-text-secondary);
    display: flex;
}

.queue-body[b-x128uw2hgb] {
    padding: 8px 16px;
    max-height: 200px;
    overflow-y: auto;
}

.queue-item[b-x128uw2hgb] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 0;
    border-bottom: 1px solid var(--app-lines);
}

.queue-item-icon[b-x128uw2hgb] {
    font-size: 16px;
}

.queue-item-name[b-x128uw2hgb] {
    flex: 1;
    font-size: 0.8rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.queue-item-size[b-x128uw2hgb] {
    font-size: 0.7rem;
    color: var(--app-text-secondary);
}

.queue-progress-bar[b-x128uw2hgb] {
    width: 60px;
    height: 4px;
    background: var(--app-lines);
    border-radius: 2px;
    overflow: hidden;
}

.queue-progress-fill[b-x128uw2hgb] {
    height: 100%;
    background: var(--app-primary);
    transition: width 0.3s;
}

.queue-item-error[b-x128uw2hgb] {
    font-size: 0.7rem;
    color: var(--app-error);
}

/* === Banners === */
.banner[b-x128uw2hgb] {
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-radius: 8px;
}

.banner--success[b-x128uw2hgb] {
    background: color-mix(in srgb, var(--app-success) 10%, var(--app-surface));
    border: 1px solid var(--app-success);
}

.banner--error[b-x128uw2hgb] {
    background: color-mix(in srgb, var(--app-error) 10%, var(--app-surface));
    border: 1px solid var(--app-error);
}

.banner-icon[b-x128uw2hgb] {
    font-size: 20px;
}

.banner-text[b-x128uw2hgb] {
    flex: 1;
    font-size: 0.85rem;
}

.banner-details-btn[b-x128uw2hgb] {
    background: none;
    border-radius: 4px;
    cursor: pointer;
    padding: 4px 10px;
    font-size: 0.75rem;
}

.banner-close-btn[b-x128uw2hgb] {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
}

/* === Bulk Action Bar === */
.bulk-bar[b-x128uw2hgb] {
    background: var(--app-surface);
    border: 1px solid var(--app-primary);
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.bulk-bar-label[b-x128uw2hgb] {
    font-weight: 600;
    font-size: 0.85rem;
}

.bulk-bar-actions[b-x128uw2hgb] {
    margin-left: auto;
    display: flex;
    gap: 8px;
    align-items: center;
}

/* === Filter Bar === */
.filter-count[b-x128uw2hgb] {
    font-size: 0.8rem;
    color: var(--app-text-secondary);
}

.view-toggle-btn[b-x128uw2hgb] {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    color: var(--app-primary);
}

.sort-direction-btn[b-x128uw2hgb] {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
}

/* === File Cards === */
.file-card-toolbar[b-x128uw2hgb] {
    display: flex;
    align-items: center;
    padding: 4px 8px;
    background: var(--app-hover);
    border-bottom: 1px solid var(--app-lines);
}

.file-card-toolbar-actions[b-x128uw2hgb] {
    margin-left: auto;
    display: flex;
    gap: 2px;
}

.file-card-action-btn[b-x128uw2hgb] {
    background: none;
    border: none;
    cursor: pointer;
    padding: 2px;
    display: flex;
}

.file-card-preview[b-x128uw2hgb] {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--app-hover);
    cursor: pointer;
}

.file-card-preview img[b-x128uw2hgb] {
    max-width: 100%;
    max-height: 100px;
    object-fit: cover;
}

.file-card-placeholder[b-x128uw2hgb] {
    font-size: 2.5rem;
    opacity: 0.3;
}

.file-card-info[b-x128uw2hgb] {
    padding: 8px 10px;
    flex: 1;
}

.file-card-name[b-x128uw2hgb] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.8rem;
    font-weight: 600;
}

.file-card-meta[b-x128uw2hgb] {
    display: flex;
    justify-content: space-between;
    margin-top: 4px;
}

.file-card-meta-text[b-x128uw2hgb] {
    font-size: 0.65rem;
    color: var(--app-text-secondary);
}

/* === Card Grid === */
.file-grid[b-x128uw2hgb] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
}

.file-grid-skeleton[b-x128uw2hgb] {
    height: 180px;
    background: var(--app-hover);
    border-radius: 8px;
    animation: pulse 1.5s infinite;
}

/* === Pagination === */
.grid-pagination[b-x128uw2hgb] {
    display: flex;
    justify-content: center;
    margin-top: 24px;
}

.grid-pagination-inner[b-x128uw2hgb] {
    display: flex;
    gap: 4px;
}

/* === Drop Zone === */
.drop-overlay[b-x128uw2hgb] {
    position: absolute;
    inset: 0;
    background: rgba(var(--app-primary-rgb, 0, 120, 212), 0.1);
    border: 2px dashed var(--app-primary);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
    pointer-events: none;
}

.drop-overlay-icon[b-x128uw2hgb] {
    font-size: 4rem;
    color: var(--app-primary);
}

.drop-overlay-text[b-x128uw2hgb] {
    color: var(--app-primary);
    margin-top: 16px;
}

/* === Grid Table Actions === */
.grid-file-name[b-x128uw2hgb] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.grid-file-thumb[b-x128uw2hgb] {
    width: 32px;
    height: 32px;
    border-radius: 4px;
    overflow: hidden;
    background: var(--app-hover);
    flex-shrink: 0;
}

.grid-file-thumb img[b-x128uw2hgb] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.grid-actions[b-x128uw2hgb] {
    display: flex;
    gap: 4px;
    justify-content: center;
    align-items: center;
}

.grid-action-btn[b-x128uw2hgb] {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    display: flex;
}

/* === Summary Dialog === */
.summary-section[b-x128uw2hgb] {
    margin-bottom: 16px;
}

.summary-heading[b-x128uw2hgb] {
    margin: 0 0 8px;
    font-size: 0.85rem;
}

.summary-list[b-x128uw2hgb] {
    max-height: 200px;
    overflow-y: auto;
    border-radius: 4px;
}

.summary-item[b-x128uw2hgb] {
    padding: 6px 12px;
    border-bottom: 1px solid var(--app-lines);
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.summary-item-icon[b-x128uw2hgb] {
    font-size: 16px;
}

.summary-item-name[b-x128uw2hgb] {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.summary-item-detail[b-x128uw2hgb] {
    font-size: 0.7rem;
}
/* /Pages/Dashboard.razor.rz.scp.css */
/* === Stat Grid === */
.stat-icon-circle[b-8xi24nyrwm] {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* === Skeleton Loading === */
.skeleton-title[b-8xi24nyrwm] {
    width: 60%;
    height: 14px;
    background: var(--app-skeleton);
    border-radius: 4px;
    margin-bottom: 12px;
}

.skeleton-value[b-8xi24nyrwm] {
    width: 40%;
    height: 36px;
    background: var(--app-skeleton);
    border-radius: 4px;
}

/* === Stat Cards === */
.stat-label[b-8xi24nyrwm] {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.7rem;
}

.stat-value[b-8xi24nyrwm] {
    font-weight: 800;
    margin-top: 4px;
}

.stat-subtext[b-8xi24nyrwm] {
    font-size: 0.75rem;
}

/* === Health Checks === */
.health-item[b-8xi24nyrwm] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.health-duration[b-8xi24nyrwm] {
    font-size: 0.8rem;
}

.signalr-section[b-8xi24nyrwm] {
    border-top: 1px solid var(--app-lines);
    margin-top: 10px;
    padding-top: 10px;
}

.signalr-details[b-8xi24nyrwm] {
    display: flex;
    gap: 16px;
    font-size: 0.75rem;
    color: var(--app-text-secondary);
    padding-left: 26px;
}

/* === Security Grid === */
.security-grid[b-8xi24nyrwm] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.security-stat[b-8xi24nyrwm] {
    text-align: center;
    padding: 8px;
    border-radius: 8px;
}

.security-stat-value[b-8xi24nyrwm] {
    font-size: 1.5rem;
    font-weight: 800;
}

.security-stat-label[b-8xi24nyrwm] {
    font-size: 0.7rem;
    text-transform: uppercase;
}

/* === Notification Items === */
.notification-item[b-8xi24nyrwm] {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
    padding: 6px;
    border-radius: 6px;
}

.notification-title[b-8xi24nyrwm] {
    font-size: 0.85rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.notification-time[b-8xi24nyrwm] {
    font-size: 0.7rem;
}

/* === Email Stats === */
.email-stats-grid[b-8xi24nyrwm] {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
    margin-bottom: 12px;
}

.email-stat[b-8xi24nyrwm] {
    text-align: center;
}

.email-stat-value[b-8xi24nyrwm] {
    font-size: 1.2rem;
    font-weight: 700;
}

.email-stat-label[b-8xi24nyrwm] {
    font-size: 0.7rem;
}

.progress-bar-track[b-8xi24nyrwm] {
    height: 8px;
    background: var(--app-skeleton);
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar-fill[b-8xi24nyrwm] {
    height: 100%;
    border-radius: 4px;
    transition: width 0.5s;
}

.rate-row[b-8xi24nyrwm] {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4px;
}

.rate-label[b-8xi24nyrwm] {
    font-size: 0.75rem;
}

.rate-value[b-8xi24nyrwm] {
    font-size: 0.8rem;
    font-weight: 600;
}

/* === Alerts === */
.alert-item[b-8xi24nyrwm] {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
    padding: 6px;
    border-radius: 6px;
}

.alert-name[b-8xi24nyrwm] {
    font-size: 0.85rem;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.alert-detail[b-8xi24nyrwm] {
    font-size: 0.7rem;
}

/* === Roles & Permissions === */
.role-tag[b-8xi24nyrwm] {
    background: var(--app-primary);
    color: #fff;
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 0.8rem;
}

.permission-tag[b-8xi24nyrwm] {
    border: 1px solid var(--app-lines);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    color: var(--app-text-secondary);
}

.permissions-scroll[b-8xi24nyrwm] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    max-height: 120px;
    overflow-y: auto;
}

/* === Unread Badge === */
.unread-badge[b-8xi24nyrwm] {
    background: var(--app-error);
    color: #fff;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    margin-left: 6px;
}

/* === Row Spacing === */
.dashboard-row[b-8xi24nyrwm] {
    margin-top: 16px;
}

/* === Centered Loading === */
.centered-loading[b-8xi24nyrwm] {
    text-align: center;
    padding: 20px;
}

/* === Empty State Icons === */
.empty-icon[b-8xi24nyrwm] {
    font-size: 32px;
    opacity: 0.4;
}

.empty-text[b-8xi24nyrwm] {
    margin-top: 8px;
    font-size: 0.85rem;
}
/* /Pages/Logs/Index.razor.rz.scp.css */
/* === Stat Cards === */
.logs-stat-card[b-jxtqirav7v] {
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: 0;
}

.logs-stat-row[b-jxtqirav7v] {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logs-stat-label[b-jxtqirav7v] {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.7rem;
}

.logs-stat-value[b-jxtqirav7v] {
    font-weight: 800;
    margin-top: 4px;
    margin-bottom: 0;
}

.logs-stat-unit[b-jxtqirav7v] {
    font-size: 0.6em;
    font-weight: 500;
    opacity: 0.7;
    margin-left: 4px;
}

.logs-stat-icon-circle[b-jxtqirav7v] {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logs-stat-icon[b-jxtqirav7v] {
    font-size: 24px;
}
/* /Pages/Users/Create.razor.rz.scp.css */
/* Users/Create - CSS isolation file */

.loading-container[b-9pwseuq44h] {
    padding: 60px 20px;
    text-align: center;
}

.create-container[b-9pwseuq44h] {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.create-top-row[b-9pwseuq44h] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    align-items: start;
}

/* Section Card */
[b-9pwseuq44h] .section-card {
    background: var(--app-surface);
    border: 1px solid var(--app-lines);
    border-radius: 12px;
    overflow: hidden;
}

[b-9pwseuq44h] .section-card__header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--app-lines);
}

[b-9pwseuq44h] .section-icon {
    font-size: 1.3rem;
    color: var(--app-primary);
    background: var(--app-primary-light);
    padding: 8px;
    border-radius: 10px;
    line-height: 1;
    flex-shrink: 0;
    margin-top: 2px;
}

[b-9pwseuq44h] .section-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0;
    color: var(--app-text-primary);
}

[b-9pwseuq44h] .section-desc {
    font-size: 0.75rem;
    color: var(--app-text-secondary);
    margin: 3px 0 0 0;
    font-weight: 400;
}

[b-9pwseuq44h] .section-card__body {
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* Form Fields */
[b-9pwseuq44h] .field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

[b-9pwseuq44h] .field.full {
    grid-column: 1 / -1;
}

[b-9pwseuq44h] .field label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--app-text-primary);
    display: block;
}

[b-9pwseuq44h] .required {
    color: var(--app-error);
    font-weight: 700;
}

[b-9pwseuq44h] .error-msg {
    font-size: 0.7rem;
    color: var(--app-error);
    font-weight: 500;
}

[b-9pwseuq44h] .hint {
    font-size: 0.7rem;
    color: var(--app-text-secondary);
    margin-top: 2px;
}

/* Field Row (2-column) */
[b-9pwseuq44h] .field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

[b-9pwseuq44h] .password-row {
    display: flex;
    gap: 8px;
    align-items: stretch;
}

[b-9pwseuq44h] .password-row .e-textbox {
    flex: 1;
}

[b-9pwseuq44h] .btn-set-password {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 14px;
    border: 1px solid var(--app-primary);
    background: var(--app-primary);
    color: white;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.15s ease;
}

[b-9pwseuq44h] .btn-set-password:hover:not(:disabled) {
    background: var(--app-primary-dark, #1565c0);
}

[b-9pwseuq44h] .btn-set-password:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

[b-9pwseuq44h] .btn-set-password .material-symbols-rounded {
    font-size: 1rem;
}

[b-9pwseuq44h] .success-msg {
    font-size: 0.7rem;
    color: var(--app-success, #2e7d32);
    font-weight: 500;
}

/* Avatar Section */
[b-9pwseuq44h] .avatar-section {
    display: flex;
    align-items: flex-end;
    gap: 12px;
}

[b-9pwseuq44h] .avatar-box {
    flex-shrink: 0;
}

[b-9pwseuq44h] .avatar-preview,
[b-9pwseuq44h] .avatar-empty {
    width: 100px;
    height: 100px;
    border-radius: 10px;
    border: 1px solid var(--app-lines);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--app-primary-light);
    position: relative;
    overflow: hidden;
}

[b-9pwseuq44h] .avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

[b-9pwseuq44h] .avatar-empty .material-symbols-rounded {
    font-size: 2.8rem;
    color: var(--app-primary);
    opacity: 0.5;
}

[b-9pwseuq44h] .avatar-remove {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(0,0,0,0.6);
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease;
}

[b-9pwseuq44h] .avatar-remove:hover {
    background: rgba(0,0,0,0.8);
}

[b-9pwseuq44h] .avatar-remove .material-symbols-rounded {
    font-size: 1.1rem;
}

[b-9pwseuq44h] .avatar-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

[b-9pwseuq44h] .btn-icon {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border: 1px solid var(--app-lines);
    background: var(--app-surface);
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--app-text-primary);
    cursor: pointer;
    transition: all 0.15s ease;
}

[b-9pwseuq44h] .btn-icon:hover {
    border-color: var(--app-primary);
    background: var(--app-primary-hover);
}

[b-9pwseuq44h] .btn-icon .material-symbols-rounded {
    font-size: 1rem;
}

/* Roles List */
[b-9pwseuq44h] .roles-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 10px;
}

[b-9pwseuq44h] .role-checkbox {
    padding: 10px 12px;
    border: 1px solid var(--app-lines);
    border-radius: 6px;
    transition: all 0.15s ease;
    cursor: pointer;
}

[b-9pwseuq44h] .role-checkbox:hover {
    border-color: var(--app-primary);
    background: var(--app-primary-hover);
}

[b-9pwseuq44h] .role-checkbox--checked {
    border-color: var(--app-primary);
    background: var(--app-primary-light);
}

/* Action Footer */
.action-footer[b-9pwseuq44h] {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 16px 0;
    border-top: 1px solid var(--app-lines);
    margin-top: 8px;
}

.btn-cancel[b-9pwseuq44h] {
    min-width: 100px;
}

.btn-primary[b-9pwseuq44h] {
    min-width: 140px;
}

/* Modal */
[b-9pwseuq44h] .modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 16px;
}

[b-9pwseuq44h] .modal-panel {
    background: var(--app-surface);
    border-radius: 12px;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

[b-9pwseuq44h] .modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid var(--app-lines);
    flex-shrink: 0;
}

[b-9pwseuq44h] .modal-header h5 {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--app-text-primary);
}

[b-9pwseuq44h] .btn-close {
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 0;
    color: var(--app-text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.15s ease;
}

[b-9pwseuq44h] .btn-close:hover {
    color: var(--app-text-primary);
}

[b-9pwseuq44h] .modal-content {
    padding: 16px 20px;
    flex: 1;
    overflow-y: auto;
}

[b-9pwseuq44h] .image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 12px;
}

[b-9pwseuq44h] .image-item {
    position: relative;
    aspect-ratio: 1;
    border: 2px solid var(--app-lines);
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.15s ease;
}

[b-9pwseuq44h] .image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

[b-9pwseuq44h] .image-item:hover {
    border-color: var(--app-primary);
}

[b-9pwseuq44h] .image-item--active {
    border-color: var(--app-primary);
    box-shadow: 0 0 0 3px var(--app-primary-light);
}

[b-9pwseuq44h] .image-item__badge {
    position: absolute;
    top: 4px;
    right: 4px;
    background: var(--app-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

/* States */
[b-9pwseuq44h] .loading-state {
    padding: 32px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 150px;
}

.empty-state[b-9pwseuq44h] {
    padding: 40px 20px;
    text-align: center;
    color: var(--app-text-secondary);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.empty-state .material-symbols-rounded[b-9pwseuq44h] {
    font-size: 2.8rem;
    opacity: 0.4;
}

.empty-state p[b-9pwseuq44h] {
    margin: 0;
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 768px) {
    .create-top-row[b-9pwseuq44h] {
        grid-template-columns: 1fr;
    }

    [b-9pwseuq44h] .section-card__header {
        padding: 12px 16px;
    }

    [b-9pwseuq44h] .section-card__body {
        padding: 12px 16px;
        gap: 12px;
    }

    [b-9pwseuq44h] .field-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    [b-9pwseuq44h] .avatar-section {
        flex-direction: column;
        align-items: stretch;
    }

    [b-9pwseuq44h] .avatar-box {
        align-self: flex-start;
    }

    [b-9pwseuq44h] .avatar-actions {
        flex-direction: row;
    }

    [b-9pwseuq44h] .roles-list {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }

    .action-footer[b-9pwseuq44h] {
        flex-direction: column-reverse;
        gap: 10px;
    }

    .btn-cancel[b-9pwseuq44h],
    .btn-primary[b-9pwseuq44h] {
        width: 100%;
    }

    [b-9pwseuq44h] .modal-backdrop {
        padding: 12px;
    }

    [b-9pwseuq44h] .image-gallery {
        grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
    }
}

@media (max-width: 480px) {
    [b-9pwseuq44h] .section-icon {
        font-size: 1.1rem;
        padding: 6px;
    }

    [b-9pwseuq44h] .section-title {
        font-size: 0.85rem;
    }

    [b-9pwseuq44h] .section-desc {
        font-size: 0.7rem;
    }

    [b-9pwseuq44h] .roles-list {
        grid-template-columns: 1fr;
    }

    [b-9pwseuq44h] .btn-icon {
        width: 100%;
        justify-content: center;
    }
}
