/* /Components/Common/ValidationPanel.razor.rz.scp.css */
/* ValidationPanel — themed surface that drops into any save dialog.
   All color tokens route through --theme-* so the panel reads correctly
   on light, dark, and custom-branded tenants. No hardcoded hex. */

.validation-panel[b-r7chgy5dbd] {
    margin: 0.75rem 0 0;
    padding: 0.6rem 0.75rem;
    border-radius: var(--theme-radius, 0.25rem);
    border: 1px solid transparent;
    font-size: 0.875rem;
    line-height: 1.35;
}

.validation-panel-valid[b-r7chgy5dbd] {
    background-color: var(--theme-success-muted);
    border-color: var(--theme-success);
    color: var(--theme-success);
}

.validation-panel-warning[b-r7chgy5dbd] {
    background-color: var(--theme-warning-muted);
    border-color: var(--theme-warning);
    color: var(--theme-warning);
}

.validation-panel-error[b-r7chgy5dbd] {
    background-color: var(--theme-danger-muted);
    border-color: var(--theme-danger);
    color: var(--theme-danger);
}

.validation-panel-pending[b-r7chgy5dbd] {
    background-color: var(--theme-background-hover);
    border-color: var(--theme-border);
    color: var(--theme-text-muted);
}

.validation-panel-summary[b-r7chgy5dbd] {
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.15rem;
}

/* Icon gets the tiniest bit of size to read cleanly in the summary row. */
.validation-panel-summary > i[b-r7chgy5dbd] {
    font-size: 1rem;
}

.validation-issue-list[b-r7chgy5dbd] {
    list-style: none;
    padding-left: 0;
    margin: 0.55rem 0 0 0;
}

.validation-issue[b-r7chgy5dbd] {
    padding: 0.45rem 0;
    border-top: 1px solid var(--theme-border);
}

.validation-issue:first-child[b-r7chgy5dbd] {
    border-top: 0;
    padding-top: 0.3rem;
}

.validation-issue-header[b-r7chgy5dbd] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.2rem;
}

.validation-issue-path[b-r7chgy5dbd] {
    font-size: 0.78rem;
    background: var(--theme-background-hover);
    color: var(--theme-text);
    padding: 0.1rem 0.4rem;
    border-radius: 0.25rem;
    font-family: var(--theme-font-mono, 'Consolas', 'Courier New', monospace);
}

.validation-issue-sev[b-r7chgy5dbd] {
    text-transform: uppercase;
    font-size: 0.65rem;
    letter-spacing: 0.08em;
    opacity: 0.7;
    font-weight: 600;
}

.validation-issue-message[b-r7chgy5dbd] {
    font-size: 0.85rem;
    line-height: 1.4;
    color: var(--theme-text);
}

/* Apply button — tight sizing, clearer affordance. */
.validation-issue .btn[b-r7chgy5dbd] {
    font-size: 0.78rem;
    padding: 0.15rem 0.55rem;
    border-radius: var(--theme-radius-button, 0.2rem);
}
/* /Layout/MainLayout.razor.rz.scp.css */
/* Styles moved to wwwroot/css/pages.css */
/* /Layout/TopNav.razor.rz.scp.css */
/* Nav styles are in wwwroot/css/nav.css (global) because Blazor CSS
   isolation cannot reach NavLink-rendered <a> elements. */
/* /Pages/Diagram/EntityDiagram.razor.rz.scp.css */
/* Styles moved to wwwroot/css/pages.css */
/* /Pages/Home.razor.rz.scp.css */
/* Styles moved to wwwroot/css/pages.css */
