.cv-container {
    display: grid;
    grid-template-columns: 300px 1fr;
    min-height: 100vh;
    font-family: "Segoe UI", sans-serif;
    background: #f5f7fa;
}

.sidebar {
    background: #1f2937;
    color: #fff;
    padding: 2rem;
}

.profile {
    text-align: center;
    margin-bottom: 2rem;
}

.avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 3px solid #3b82f6;
}

.role {
    font-size: 0.9rem;
    color: #9ca3af;
}

.sidebar h3 {
    margin-top: 1.5rem;
    font-size: 1rem;
    border-bottom: 1px solid #374151;
    padding-bottom: 0.3rem;
}

.list {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 0;
}

.list li {
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
}

.tags {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.tags li {
    background: #3b82f6;
    padding: 0.3rem 0.6rem;
    border-radius: 999px;
    font-size: 0.75rem;
}

.content {
    padding: 3rem;
    background: #fff;
}

.content h2 {
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.item {
    margin-bottom: 1.5rem;
}

.item h4 {
    margin: 0;
}

.meta {
    font-size: 0.85rem;
    color: #6b7280;
}

@media (max-width: 900px) {
    .cv-container {
        grid-template-columns: 1fr;
    }
}
.section-cv {
    background: #f3f4f6;       /* sfondo chiaro */
    padding: 2rem;              /* padding interno */
    margin-bottom: 2rem;        /* spazio sotto la sezione */
    border-radius: 12px;        /* bordi arrotondati */
    box-shadow: 0 4px 10px rgba(0,0,0,0.05); /* ombra leggera */
}

.section-cv h2 {
    margin: 0 0 0.5rem 0;
    color: #1f2937;
    font-size: 1.5rem;
    font-weight: 600;
}

.section-cv p {
    margin: 0;
    font-size: 1rem;
    color: #4b5563;
    line-height: 1.6;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}
