/* Reset essenziale e tipografia globale dell'area applicativa */

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    color: #1a2740;
    background: #f4f6fa;
}

* {
    box-sizing: border-box;
}

a {
    color: #0a2d5c;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Manrope', 'Inter', system-ui, sans-serif;
    color: #0a2d5c;
    margin: 0 0 0.5em 0;
}

button {
    font-family: inherit;
}

/* Validation messages Blazor */
.validation-message {
    color: #c92e2e;
    font-size: 13px;
    display: block;
    margin-top: 4px;
}

/* Pagina errore globale */
.error-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: linear-gradient(135deg, #f4f6fa 0%, #e6ecf5 100%);
}

.error-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(10, 45, 92, 0.08);
    padding: 48px 40px;
    text-align: center;
    max-width: 520px;
    width: 100%;
}

.error-icon {
    font-size: 56px;
    color: #d97706;
    margin-bottom: 16px;
}

.error-card h1 {
    font-size: 24px;
    margin-bottom: 12px;
}

.error-request {
    background: #f4f6fa;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    margin: 16px 0;
}

.error-request code {
    color: #0a2d5c;
}

.error-actions {
    margin-top: 24px;
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.error-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.error-btn-primary {
    background: #0a2d5c;
    color: #fff;
}

.error-btn-primary:hover {
    background: #093370;
    color: #fff;
    text-decoration: none;
}

.error-btn-secondary {
    background: #f4f6fa;
    color: #0a2d5c;
    border: 1px solid #dbe4f0;
}

.error-btn-secondary:hover {
    background: #e6ecf5;
    text-decoration: none;
}
