/* Stili specifici di AI Act Compliance (sopra il tema admin) */
.navbar-brand.brand-logo img { max-width: 200px; height: 36px; }
.navbar-brand.brand-logo-mini img { width: 36px; height: 36px; object-fit: cover; object-position: left; }

.risk-badge { display: inline-block; padding: .3em .7em; border-radius: 999px; font-size: .8rem; font-weight: 600; white-space: nowrap; }
.risk-prohibited { background: #212529; color: #fff; }
.risk-high { background: #dc3545; color: #fff; }
.risk-limited { background: #ffc107; color: #212529; }
.risk-minimal { background: #28a745; color: #fff; }
.risk-none { background: #6c757d; color: #fff; }

.severity-critical { background: #212529; color: #fff; }
.severity-high { background: #dc3545; color: #fff; }
.severity-medium { background: #fd7e14; color: #fff; }
.severity-low { background: #ffc107; color: #212529; }
.severity-info { background: #17a2b8; color: #fff; }

.stat-card .stat-value { font-size: 2rem; font-weight: 700; line-height: 1; }
.stat-card .stat-label { color: #6c757d; font-size: .85rem; text-transform: uppercase; letter-spacing: .04em; }

.form-section { border-top: 1px solid #e9ecef; padding-top: 1rem; margin-top: 1.5rem; }
.form-section h5 { font-weight: 600; margin-bottom: .25rem; }
.form-section .form-check { margin-bottom: .6rem; }
.form-check label { font-weight: 400; }

.report-section { margin-bottom: 2rem; }
.report-section h4 { border-bottom: 2px solid #1f3b73; padding-bottom: .3rem; margin-bottom: 1rem; color: #1f3b73; }
.report-text { white-space: pre-line; line-height: 1.6; }
.obligation { border-left: 4px solid #dee2e6; padding: .5rem .9rem; margin-bottom: .75rem; background: #fafbfc; }
.obligation .obligation-title { font-weight: 600; }
.obligation .obligation-article { color: #6c757d; font-size: .85rem; }

.auth .brand-logo img { max-width: 240px; }
.auth-form-light { border-radius: 10px; }

table.table td, table.table th { vertical-align: middle; }
.text-prewrap { white-space: pre-wrap; }
