/* Avada compatibility styles */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=Montserrat:wght@400;500;600&family=Open+Sans:wght@400;600&display=swap');

body {
    font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
    background-color: #ffffff;
    color: #222;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, serif;
}

.sidebar {
    width: 240px;
    background: #4caf50;
    min-height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    padding-top: 20px;
}
.content-wrapper {
    margin-left: 240px;
    padding-top: 20px;
}
.sidebar .nav-link {
    color: #e8f5e9;
}
.sidebar .nav-link.active {
    color: #ffffff;
    font-weight: 600;
}

.popup-indicatore {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
}
.popup-indicatore-contenuto {
    background: #ffffff;
    padding: 20px;
    border-radius: 8px;
    max-width: 90%;
    max-height: 80%;
    overflow: auto;
}

.btn-primary,
.btn-secondary {
    background-color: #4caf50;
    border-color: #4caf50;
}
.btn-primary:hover,
.btn-secondary:hover {
    background-color: #43a047;
    border-color: #43a047;
}

.card {
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.form-card {
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.mb-3 {
    margin-bottom: 1.5rem !important;
}

section {
    margin-bottom: 2rem;
}
p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .sidebar {
        width: 100%;
        position: relative;
        min-height: auto;
    }
    .content-wrapper {
        margin-left: 0;
    }
}
