html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}




/* Sfondo generale */
body {
    background-color: #f8f9fa !important; 
}

/* Contenitori principali del contenuto */
.main-content,
.app-content,
.container-fluid,
.page-wrapper,
.content-wrapper,
.main-wrapper {
    background-color: #f3f4f6 !important;
}

.app-header,
.main-header,
.navbar,
header {
    background-color: #ffffff !important;
}

/* Mantieni le card bianche per il contrasto */
.card,
.custom-card {
    background-color: #ffffff !important;
}


/*        IMPOSTAZIONI      INIZIO      */


.custom-card {
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.main-card-item {
    transition: all 0.15s ease;
}

    .main-card-item:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

.btn-wave {
    position: relative;
    overflow: hidden;
}

    .btn-wave:before {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.5);
        transition: width 0.6s, height 0.6s;
        transform: translate(-50%, -50%);
        z-index: 0;
    }

    .btn-wave:active:before {
        width: 300px;
        height: 300px;
    }

.avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.avatar-rounded {
    border-radius: 50%;
}

.avatar-md {
    width: 2.5rem;
    height: 2.5rem;
}

.bg-primary-transparent {
    background-color: rgba(13, 110, 253, 0.1);
    color: #0d6efd;
}

.bg-success-transparent {
    background-color: rgba(25, 135, 84, 0.1);
    color: #198754;
}

.bg-warning-transparent {
    background-color: rgba(255, 193, 7, 0.1);
    color: #ffc107;
}

.bg-danger-transparent {
    background-color: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

.bg-info-transparent {
    background-color: rgba(13, 202, 240, 0.1);
    color: #0dcaf0;
}

.bg-secondary-transparent {
    background-color: rgba(108, 117, 125, 0.1);
    color: #6c757d;
}

.text-default {
    color: #6c757d;
}

.page-header-breadcrumb {
    margin-bottom: 1.5rem;
}

.breadcrumb-input {
    min-width: 200px;
}

.btn-primary-light {
    background-color: rgba(13, 110, 253, 0.1);
    border-color: rgba(13, 110, 253, 0.2);
    color: #0d6efd;
}

    .btn-primary-light:hover {
        background-color: rgba(13, 110, 253, 0.2);
        border-color: rgba(13, 110, 253, 0.3);
        color: #0d6efd;
    }

.btn-secondary-light {
    background-color: rgba(108, 117, 125, 0.1);
    border-color: rgba(108, 117, 125, 0.2);
    color: #6c757d;
}

    .btn-secondary-light:hover {
        background-color: rgba(108, 117, 125, 0.2);
        border-color: rgba(108, 117, 125, 0.3);
        color: #6c757d;
    }

.lh-1 {
    line-height: 1;
}

.fw-semibold {
    font-weight: 600;
}

.badge.bg-success-transparent {
    background-color: rgba(25, 135, 84, 0.1) !important;
    color: #198754;
}

.badge.bg-warning-transparent {
    background-color: rgba(255, 193, 7, 0.1) !important;
    color: #ffc107;
}

.badge.bg-danger-transparent {
    background-color: rgba(220, 53, 69, 0.1) !important;
    color: #dc3545;
}

.modal-content {
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.19), 0 6px 10px rgba(0, 0, 0, 0.23);
}

.btn-list {
    display: flex;
    gap: 0.25rem;
}

.table th {
    border-top: none;
    font-weight: 600;
    background-color: #f8f9fa;
}

.nav-pills .nav-link {
    border-radius: 0.375rem;
    color: #6c757d;
}

    .nav-pills .nav-link.active {
        background-color: #0d6efd;
        color: white;
    }

.settings-section {
    border-left: 3px solid #e5e7eb;
    padding-left: 1rem;
}

    .settings-section.active {
        border-left-color: #0d6efd;
    }

.form-switch .form-check-input {
    width: 2rem;
    height: 1rem;
}

.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.status-online {
    background-color: #198754;
}

.status-offline {
    background-color: #6c757d;
}

.status-warning {
    background-color: #ffc107;
}

.client-selector {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
}

/*        IMPOSTAZIONI      FINE      */

.custom-card {
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.main-card-item {
    transition: all 0.15s ease;
}

    .main-card-item:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

.btn-wave {
    position: relative;
    overflow: hidden;
}

    .btn-wave:before {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.5);
        transition: width 0.6s, height 0.6s;
        transform: translate(-50%, -50%);
        z-index: 0;
    }

    .btn-wave:active:before {
        width: 300px;
        height: 300px;
    }

.avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.avatar-rounded {
    border-radius: 50%;
}

.avatar-md {
    width: 2.5rem;
    height: 2.5rem;
}

.avatar-lg {
    width: 3.5rem;
    height: 3.5rem;
}

.bg-primary-transparent {
    background-color: rgba(13, 110, 253, 0.1);
    color: #0d6efd;
}

.bg-success-transparent {
    background-color: rgba(25, 135, 84, 0.1);
    color: #198754;
}

.bg-warning-transparent {
    background-color: rgba(255, 193, 7, 0.1);
    color: #ffc107;
}

.bg-danger-transparent {
    background-color: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

.bg-info-transparent {
    background-color: rgba(13, 202, 240, 0.1);
    color: #0dcaf0;
}

.bg-secondary-transparent {
    background-color: rgba(108, 117, 125, 0.1);
    color: #6c757d;
}

.text-default {
    color: #6c757d;
}

.page-header-breadcrumb {
    margin-bottom: 1.5rem;
}

.breadcrumb-input {
    min-width: 200px;
}

.btn-primary-light {
    background-color: rgba(13, 110, 253, 0.1);
    border-color: rgba(13, 110, 253, 0.2);
    color: #0d6efd;
}

    .btn-primary-light:hover {
        background-color: rgba(13, 110, 253, 0.2);
        border-color: rgba(13, 110, 253, 0.3);
        color: #0d6efd;
    }

.btn-secondary-light {
    background-color: rgba(108, 117, 125, 0.1);
    border-color: rgba(108, 117, 125, 0.2);
    color: #6c757d;
}

    .btn-secondary-light:hover {
        background-color: rgba(108, 117, 125, 0.2);
        border-color: rgba(108, 117, 125, 0.3);
        color: #6c757d;
    }

.lh-1 {
    line-height: 1;
}

.fw-semibold {
    font-weight: 600;
}

.badge.bg-success-transparent {
    background-color: rgba(25, 135, 84, 0.1) !important;
    color: #198754;
}

.badge.bg-primary-transparent {
    background-color: rgba(13, 110, 253, 0.1) !important;
    color: #0d6efd;
}

.badge.bg-warning-transparent {
    background-color: rgba(255, 193, 7, 0.1) !important;
    color: #ffc107;
}

.badge.bg-danger-transparent {
    background-color: rgba(220, 53, 69, 0.1) !important;
    color: #dc3545;
}

.modal-content {
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.19), 0 6px 10px rgba(0, 0, 0, 0.23);
}

.btn-list {
    display: flex;
    gap: 0.25rem;
}

.table th {
    border-top: none;
    font-weight: 600;
    background-color: #f8f9fa;
}

#scope1-overview-chart,
#monthly-trend-chart,
#category-comparison-chart,
#emissions-breakdown-chart {
    height: 300px;
}

.progress-xs {
    height: 0.5rem;
}

.category-item {
    transition: all 0.2s ease;
    cursor: pointer;
}

    .category-item:hover {
        background-color: #f8f9fa;
        border-radius: 0.375rem;
    }




/*REPORT SALVATI INIZIO
*/


.custom-card {
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.main-card-item {
    transition: all 0.15s ease;
}

    .main-card-item:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

.btn-wave {
    position: relative;
    overflow: hidden;
}

    .btn-wave:before {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.5);
        transition: width 0.6s, height 0.6s;
        transform: translate(-50%, -50%);
        z-index: 0;
    }

    .btn-wave:active:before {
        width: 300px;
        height: 300px;
    }

.avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.avatar-rounded {
    border-radius: 50%;
}

.avatar-md {
    width: 2.5rem;
    height: 2.5rem;
}

.avatar-sm {
    width: 1.8rem;
    height: 1.8rem;
}

.bg-primary-transparent {
    background-color: rgba(13, 110, 253, 0.1);
    color: #0d6efd;
}

.bg-success-transparent {
    background-color: rgba(25, 135, 84, 0.1);
    color: #198754;
}

.bg-warning-transparent {
    background-color: rgba(255, 193, 7, 0.1);
    color: #ffc107;
}

.bg-danger-transparent {
    background-color: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

.bg-info-transparent {
    background-color: rgba(13, 202, 240, 0.1);
    color: #0dcaf0;
}

.bg-secondary-transparent {
    background-color: rgba(108, 117, 125, 0.1);
    color: #6c757d;
}

.text-default {
    color: #6c757d;
}

.page-header-breadcrumb {
    margin-bottom: 1.5rem;
}

.breadcrumb-input {
    min-width: 200px;
}

.btn-primary-light {
    background-color: rgba(13, 110, 253, 0.1);
    border-color: rgba(13, 110, 253, 0.2);
    color: #0d6efd;
}

    .btn-primary-light:hover {
        background-color: rgba(13, 110, 253, 0.2);
        border-color: rgba(13, 110, 253, 0.3);
        color: #0d6efd;
    }

.btn-secondary-light {
    background-color: rgba(108, 117, 125, 0.1);
    border-color: rgba(108, 117, 125, 0.2);
    color: #6c757d;
}

    .btn-secondary-light:hover {
        background-color: rgba(108, 117, 125, 0.2);
        border-color: rgba(108, 117, 125, 0.3);
        color: #6c757d;
    }

.btn-success-light {
    background-color: rgba(25, 135, 84, 0.1);
    border-color: rgba(25, 135, 84, 0.2);
    color: #198754;
}

    .btn-success-light:hover {
        background-color: rgba(25, 135, 84, 0.2);
        border-color: rgba(25, 135, 84, 0.3);
        color: #198754;
    }

.btn-warning-light {
    background-color: rgba(255, 193, 7, 0.1);
    border-color: rgba(255, 193, 7, 0.2);
    color: #ffc107;
}

    .btn-warning-light:hover {
        background-color: rgba(255, 193, 7, 0.2);
        border-color: rgba(255, 193, 7, 0.3);
        color: #ffc107;
    }

.btn-danger-light {
    background-color: rgba(220, 53, 69, 0.1);
    border-color: rgba(220, 53, 69, 0.2);
    color: #dc3545;
}

    .btn-danger-light:hover {
        background-color: rgba(220, 53, 69, 0.2);
        border-color: rgba(220, 53, 69, 0.3);
        color: #dc3545;
    }

.lh-1 {
    line-height: 1;
}

.fw-semibold {
    font-weight: 600;
}

.badge.bg-success-transparent {
    background-color: rgba(25, 135, 84, 0.1) !important;
    color: #198754;
}

.badge.bg-primary-transparent {
    background-color: rgba(13, 110, 253, 0.1) !important;
    color: #0d6efd;
}

.badge.bg-warning-transparent {
    background-color: rgba(255, 193, 7, 0.1) !important;
    color: #ffc107;
}

.badge.bg-danger-transparent {
    background-color: rgba(220, 53, 69, 0.1) !important;
    color: #dc3545;
}

.badge.bg-info-transparent {
    background-color: rgba(13, 202, 240, 0.1) !important;
    color: #0dcaf0;
}

.badge.bg-secondary-transparent {
    background-color: rgba(108, 117, 125, 0.1) !important;
    color: #6c757d;
}

.modal-content {
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.19), 0 6px 10px rgba(0, 0, 0, 0.23);
}

.btn-list {
    display: flex;
    gap: 0.25rem;
}

.table th {
    border-top: none;
    font-weight: 600;
    background-color: #f8f9fa;
}

.report-card {
    transition: all 0.2s ease;
    cursor: pointer;
}

    .report-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

.file-size {
    font-size: 0.75rem;
    color: #6c757d;
}

.report-preview {
    width: 60px;
    height: 80px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #dee2e6;
}

.filter-sidebar {
    background-color: #f8f9fa;
    border-radius: 0.5rem;
    padding: 1rem;
}

.quick-action-btn {
    transition: all 0.2s ease;
}

    .quick-action-btn:hover {
        transform: scale(1.05);
    }

.report-stats-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
}

.report-stats-card-2 {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    border: none;
}

.report-stats-card-3 {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
    border: none;
}

.report-stats-card-4 {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    color: white;
    border: none;
}

.dropdown-toggle-split {
    padding-left: 0.375rem;
    padding-right: 0.375rem;
}

.shared-indicator {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 12px;
    height: 12px;
    background-color: #198754;
    border-radius: 50%;
    border: 2px solid white;
}

.view-mode-toggle {
    background-color: #f8f9fa;
    border-radius: 0.5rem;
    padding: 0.25rem;
}

    .view-mode-toggle .btn {
        border: none;
        background: transparent;
        color: #6c757d;
        padding: 0.375rem 0.75rem;
    }

        .view-mode-toggle .btn.active {
            background-color: white;
            color: #0d6efd;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
        }



/*      FAQ INIZIO
*/

.custom-card {
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.main-card-item {
    transition: all 0.15s ease;
}

    .main-card-item:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

.btn-wave {
    position: relative;
    overflow: hidden;
}

    .btn-wave:before {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.5);
        transition: width 0.6s, height 0.6s;
        transform: translate(-50%, -50%);
        z-index: 0;
    }

    .btn-wave:active:before {
        width: 300px;
        height: 300px;
    }

.avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.avatar-rounded {
    border-radius: 50%;
}

.avatar-md {
    width: 2.5rem;
    height: 2.5rem;
}

.bg-primary-transparent {
    background-color: rgba(13, 110, 253, 0.1);
    color: #0d6efd;
}

.bg-success-transparent {
    background-color: rgba(25, 135, 84, 0.1);
    color: #198754;
}

.bg-warning-transparent {
    background-color: rgba(255, 193, 7, 0.1);
    color: #ffc107;
}

.bg-danger-transparent {
    background-color: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

.bg-info-transparent {
    background-color: rgba(13, 202, 240, 0.1);
    color: #0dcaf0;
}

.bg-secondary-transparent {
    background-color: rgba(108, 117, 125, 0.1);
    color: #6c757d;
}

.text-default {
    color: #6c757d;
}

.page-header-breadcrumb {
    margin-bottom: 1.5rem;
}

.breadcrumb-input {
    min-width: 200px;
}

.btn-primary-light {
    background-color: rgba(13, 110, 253, 0.1);
    border-color: rgba(13, 110, 253, 0.2);
    color: #0d6efd;
}

    .btn-primary-light:hover {
        background-color: rgba(13, 110, 253, 0.2);
        border-color: rgba(13, 110, 253, 0.3);
        color: #0d6efd;
    }

.btn-secondary-light {
    background-color: rgba(108, 117, 125, 0.1);
    border-color: rgba(108, 117, 125, 0.2);
    color: #6c757d;
}

    .btn-secondary-light:hover {
        background-color: rgba(108, 117, 125, 0.2);
        border-color: rgba(108, 117, 125, 0.3);
        color: #6c757d;
    }

.btn-success-light {
    background-color: rgba(25, 135, 84, 0.1);
    border-color: rgba(25, 135, 84, 0.2);
    color: #198754;
}

    .btn-success-light:hover {
        background-color: rgba(25, 135, 84, 0.2);
        border-color: rgba(25, 135, 84, 0.3);
        color: #198754;
    }

.lh-1 {
    line-height: 1;
}

.fw-semibold {
    font-weight: 600;
}

.badge.bg-success-transparent {
    background-color: rgba(25, 135, 84, 0.1) !important;
    color: #198754;
}

.badge.bg-primary-transparent {
    background-color: rgba(13, 110, 253, 0.1) !important;
    color: #0d6efd;
}

.badge.bg-warning-transparent {
    background-color: rgba(255, 193, 7, 0.1) !important;
    color: #ffc107;
}

.badge.bg-danger-transparent {
    background-color: rgba(220, 53, 69, 0.1) !important;
    color: #dc3545;
}

.badge.bg-info-transparent {
    background-color: rgba(13, 202, 240, 0.1) !important;
    color: #0dcaf0;
}

.search-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 1rem;
    padding: 3rem 2rem;
    margin-bottom: 2rem;
}

.faq-category {
    border-left: 4px solid #0d6efd;
    padding-left: 1rem;
    margin-bottom: 2rem;
}

.faq-item {
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    transition: all 0.2s ease;
}

    .faq-item:hover {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

.faq-question {
    padding: 1rem 1.5rem;
    cursor: pointer;
    border-bottom: 1px solid #f8f9fa;
    transition: all 0.2s ease;
}

    .faq-question:hover {
        background-color: #f8f9fa;
    }

    .faq-question.active {
        background-color: #f8f9fa;
        border-bottom-color: #e5e7eb;
    }

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    display: none;
    border-top: 1px solid #f1f3f4;
    background-color: #fafbfc;
}

    .faq-answer.show {
        display: block;
        animation: fadeIn 0.3s ease;
    }


{
    opacity: 0;
    transform: translateY(-10px);
}

to {
    opacity: 1;
    transform: translateY(0);
}

}

.category-filter {
    background-color: #f8f9fa;
    border-radius: 0.5rem;
    padding: 1rem;
}

    .category-filter .nav-link {
        color: #6c757d;
        border-radius: 0.375rem;
        margin-bottom: 0.25rem;
        padding: 0.5rem 1rem;
        transition: all 0.2s ease;
    }

        .category-filter .nav-link:hover {
            background-color: #e9ecef;
            color: #495057;
        }

        .category-filter .nav-link.active {
            background-color: #0d6efd;
            color: white;
        }

.faq-stats {
    font-size: 0.75rem;
    color: #6c757d;
}

.rating-stars {
    color: #ffc107;
}

.quick-actions {
    position: sticky;
    top: 2rem;
}

.contact-card {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    color: white;
    border: none;
}

.popular-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    font-size: 0.65rem;
}

.search-results-count {
    font-size: 0.875rem;
    color: #6c757d;
    margin-bottom: 1rem;
}

/*FAQ FINE*/
.custom-card {
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.main-card-item {
    transition: all 0.15s ease;
}

    .main-card-item:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

.btn-wave {
    position: relative;
    overflow: hidden;
}

    .btn-wave:before {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.5);
        transition: width 0.6s, height 0.6s;
        transform: translate(-50%, -50%);
        z-index: 0;
    }

    .btn-wave:active:before {
        width: 300px;
        height: 300px;
    }

.avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.avatar-rounded {
    border-radius: 50%;
}

.avatar-md {
    width: 2.5rem;
    height: 2.5rem;
}

.bg-primary-transparent {
    background-color: rgba(13, 110, 253, 0.1);
    color: #0d6efd;
}

.bg-success-transparent {
    background-color: rgba(25, 135, 84, 0.1);
    color: #198754;
}

.bg-warning-transparent {
    background-color: rgba(255, 193, 7, 0.1);
    color: #ffc107;
}

.bg-danger-transparent {
    background-color: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

.bg-info-transparent {
    background-color: rgba(13, 202, 240, 0.1);
    color: #0dcaf0;
}

.bg-secondary-transparent {
    background-color: rgba(108, 117, 125, 0.1);
    color: #6c757d;
}

.text-default {
    color: #6c757d;
}

.page-header-breadcrumb {
    margin-bottom: 1.5rem;
}

.breadcrumb-input {
    min-width: 200px;
}

.btn-primary-light {
    background-color: rgba(13, 110, 253, 0.1);
    border-color: rgba(13, 110, 253, 0.2);
    color: #0d6efd;
}

    .btn-primary-light:hover {
        background-color: rgba(13, 110, 253, 0.2);
        border-color: rgba(13, 110, 253, 0.3);
        color: #0d6efd;
    }

.btn-secondary-light {
    background-color: rgba(108, 117, 125, 0.1);
    border-color: rgba(108, 117, 125, 0.2);
    color: #6c757d;
}

    .btn-secondary-light:hover {
        background-color: rgba(108, 117, 125, 0.2);
        border-color: rgba(108, 117, 125, 0.3);
        color: #6c757d;
    }

.btn-success-light {
    background-color: rgba(25, 135, 84, 0.1);
    border-color: rgba(25, 135, 84, 0.2);
    color: #198754;
}

    .btn-success-light:hover {
        background-color: rgba(25, 135, 84, 0.2);
        border-color: rgba(25, 135, 84, 0.3);
        color: #198754;
    }

.lh-1 {
    line-height: 1;
}

.fw-semibold {
    font-weight: 600;
}

.badge.bg-success-transparent {
    background-color: rgba(25, 135, 84, 0.1) !important;
    color: #198754;
}

.badge.bg-primary-transparent {
    background-color: rgba(13, 110, 253, 0.1) !important;
    color: #0d6efd;
}

.badge.bg-warning-transparent {
    background-color: rgba(255, 193, 7, 0.1) !important;
    color: #ffc107;
}

.badge.bg-danger-transparent {
    background-color: rgba(220, 53, 69, 0.1) !important;
    color: #dc3545;
}

.badge.bg-info-transparent {
    background-color: rgba(13, 202, 240, 0.1) !important;
    color: #0dcaf0;
}

.search-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 1rem;
    padding: 3rem 2rem;
    margin-bottom: 2rem;
}

.faq-category {
    border-left: 4px solid #0d6efd;
    padding-left: 1rem;
    margin-bottom: 2rem;
}

.faq-item {
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    transition: all 0.2s ease;
}

    .faq-item:hover {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

.faq-question {
    padding: 1rem 1.5rem;
    cursor: pointer;
    border-bottom: 1px solid #f8f9fa;
    transition: all 0.2s ease;
}

    .faq-question:hover {
        background-color: #f8f9fa;
    }

    .faq-question.active {
        background-color: #f8f9fa;
        border-bottom-color: #e5e7eb;
    }

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    display: none;
    border-top: 1px solid #f1f3f4;
    background-color: #fafbfc;
}

    .faq-answer.show {
        display: block;
        animation: fadeIn 0.3s ease;
    }


{
    opacity: 0;
    transform: translateY(-10px);
}

to {
    opacity: 1;
    transform: translateY(0);
}

}

.category-filter {
    background-color: #f8f9fa;
    border-radius: 0.5rem;
    padding: 1rem;
}

    .category-filter .nav-link {
        color: #6c757d;
        border-radius: 0.375rem;
        margin-bottom: 0.25rem;
        padding: 0.5rem 1rem;
        transition: all 0.2s ease;
    }

        .category-filter .nav-link:hover {
            background-color: #e9ecef;
            color: #495057;
        }

        .category-filter .nav-link.active {
            background-color: #0d6efd;
            color: white;
        }

.faq-stats {
    font-size: 0.75rem;
    color: #6c757d;
}

.rating-stars {
    color: #ffc107;
}

.quick-actions {
    position: sticky;
    top: 2rem;
}

.contact-card {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    color: white;
    border: none;
}

.popular-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    font-size: 0.65rem;
}

.search-results-count {
    font-size: 0.875rem;
    color: #6c757d;
    margin-bottom: 1rem;
}


/*DOCUMENTAZIONE
*/

.custom-card {
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.main-card-item {
    transition: all 0.15s ease;
}

    .main-card-item:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

.btn-wave {
    position: relative;
    overflow: hidden;
}

    .btn-wave:before {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.5);
        transition: width 0.6s, height 0.6s;
        transform: translate(-50%, -50%);
        z-index: 0;
    }

    .btn-wave:active:before {
        width: 300px;
        height: 300px;
    }

.avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.avatar-rounded {
    border-radius: 50%;
}

.avatar-md {
    width: 2.5rem;
    height: 2.5rem;
}

.avatar-lg {
    width: 3.5rem;
    height: 3.5rem;
}

.bg-primary-transparent {
    background-color: rgba(13, 110, 253, 0.1);
    color: #0d6efd;
}

.bg-success-transparent {
    background-color: rgba(25, 135, 84, 0.1);
    color: #198754;
}

.bg-warning-transparent {
    background-color: rgba(255, 193, 7, 0.1);
    color: #ffc107;
}

.bg-danger-transparent {
    background-color: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

.bg-info-transparent {
    background-color: rgba(13, 202, 240, 0.1);
    color: #0dcaf0;
}

.bg-secondary-transparent {
    background-color: rgba(108, 117, 125, 0.1);
    color: #6c757d;
}

.text-default {
    color: #6c757d;
}

.page-header-breadcrumb {
    margin-bottom: 1.5rem;
}

.breadcrumb-input {
    min-width: 200px;
}

.btn-primary-light {
    background-color: rgba(13, 110, 253, 0.1);
    border-color: rgba(13, 110, 253, 0.2);
    color: #0d6efd;
}

    .btn-primary-light:hover {
        background-color: rgba(13, 110, 253, 0.2);
        border-color: rgba(13, 110, 253, 0.3);
        color: #0d6efd;
    }

.btn-secondary-light {
    background-color: rgba(108, 117, 125, 0.1);
    border-color: rgba(108, 117, 125, 0.2);
    color: #6c757d;
}

    .btn-secondary-light:hover {
        background-color: rgba(108, 117, 125, 0.2);
        border-color: rgba(108, 117, 125, 0.3);
        color: #6c757d;
    }

.btn-success-light {
    background-color: rgba(25, 135, 84, 0.1);
    border-color: rgba(25, 135, 84, 0.2);
    color: #198754;
}

    .btn-success-light:hover {
        background-color: rgba(25, 135, 84, 0.2);
        border-color: rgba(25, 135, 84, 0.3);
        color: #198754;
    }

.lh-1 {
    line-height: 1;
}

.fw-semibold {
    font-weight: 600;
}

.badge.bg-success-transparent {
    background-color: rgba(25, 135, 84, 0.1) !important;
    color: #198754;
}

.badge.bg-primary-transparent {
    background-color: rgba(13, 110, 253, 0.1) !important;
    color: #0d6efd;
}

.badge.bg-warning-transparent {
    background-color: rgba(255, 193, 7, 0.1) !important;
    color: #ffc107;
}

.badge.bg-danger-transparent {
    background-color: rgba(220, 53, 69, 0.1) !important;
    color: #dc3545;
}

.badge.bg-info-transparent {
    background-color: rgba(13, 202, 240, 0.1) !important;
    color: #0dcaf0;
}

.btn-list {
    display: flex;
    gap: 0.25rem;
}

.doc-card {
    transition: all 0.2s ease;
    cursor: pointer;
}

    .doc-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

.search-box {
    background-color: #f8f9fa;
    border-radius: 0.5rem;
    padding: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

.category-header {
    border-left: 4px solid #0d6efd;
    padding-left: 1rem;
    margin-bottom: 1.5rem;
}

.file-icon {
    width: 48px;
    height: 48px;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.download-counter {
    font-size: 0.75rem;
    color: #6c757d;
}

.quick-link {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    text-decoration: none;
}

    .quick-link:hover {
        color: white;
        transform: translateY(-2px);
    }

.faq-item {
    border-left: 3px solid transparent;
    padding-left: 1rem;
    margin-bottom: 1rem;
    transition: all 0.2s ease;
}

    .faq-item:hover {
        border-left-color: #0d6efd;
        background-color: #f8f9fa;
        border-radius: 0.375rem;
    }

.version-badge {
    font-size: 0.65rem;
    padding: 0.25rem 0.5rem;
}

.nav-pills .nav-link {
    border-radius: 0.375rem;
    color: #6c757d;
    margin-right: 0.5rem;
}

    .nav-pills .nav-link.active {
        background-color: #0d6efd;
        color: white;
    }


    /*INDEX*/

.custom-card {
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.main-card-item {
    transition: all 0.15s ease;
}

    .main-card-item:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

.btn-wave {
    position: relative;
    overflow: hidden;
}

    .btn-wave:before {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.5);
        transition: width 0.6s, height 0.6s;
        transform: translate(-50%, -50%);
        z-index: 0;
    }

    .btn-wave:active:before {
        width: 300px;
        height: 300px;
    }

.avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.avatar-rounded {
    border-radius: 50%;
}

.avatar-md {
    width: 2.5rem;
    height: 2.5rem;
}

.avatar-lg {
    width: 3.5rem;
    height: 3.5rem;
}

.avatar-xl {
    width: 4.5rem;
    height: 4.5rem;
}

.bg-primary-transparent {
    background-color: rgba(13, 110, 253, 0.1);
    color: #0d6efd;
}

.bg-success-transparent {
    background-color: rgba(25, 135, 84, 0.1);
    color: #198754;
}

.bg-warning-transparent {
    background-color: rgba(255, 193, 7, 0.1);
    color: #ffc107;
}

.bg-danger-transparent {
    background-color: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

.bg-info-transparent {
    background-color: rgba(13, 202, 240, 0.1);
    color: #0dcaf0;
}

.bg-secondary-transparent {
    background-color: rgba(108, 117, 125, 0.1);
    color: #6c757d;
}

.lh-1 {
    line-height: 1;
}

.fw-semibold {
    font-weight: 600;
}

.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 1rem;
    padding: 3rem 2rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

    .hero-section::before {
        content: '';
        position: absolute;
        top: -50%;
        right: -10%;
        width: 300px;
        height: 300px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 50%;
        opacity: 0.7;
    }

    .hero-section::after {
        content: '';
        position: absolute;
        bottom: -20%;
        left: -5%;
        width: 200px;
        height: 200px;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 50%;
        opacity: 0.8;
    }

.hero-content {
    position: relative;
    z-index: 2;
}

.scope-card {
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    height: 100%;
}

    .scope-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
        border-color: rgba(13, 110, 253, 0.2);
    }

.scope-1-card {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: white;
    border: none;
}

.scope-2-card {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
    border: none;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    height: 100%;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 2px dashed #dee2e6;
}

    .feature-card:hover {
        border-color: #0d6efd;
        background-color: rgba(13, 110, 253, 0.05);
        transform: translateY(-2px);
    }

.info-section {
    background: #f8f9fa;
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin: 1rem 0;
}

.protocol-badge {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    border: none;
}

.methodology-item {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 0.5rem;
    transition: all 0.2s ease;
}

    .methodology-item:hover {
        background: rgba(13, 110, 253, 0.05);
        border-color: #0d6efd;
    }

.welcome-stats {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    padding: 1rem;
    text-align: center;
}

.quick-start-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 0.5rem;
    padding: 2rem;
    border: 1px solid #dee2e6;
}

.step-card {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    padding: 1.5rem;
    text-align: center;
    height: 100%;
    position: relative;
    transition: all 0.2s ease;
}

    .step-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #0d6efd;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.875rem;
}

.footer-section {
    background: #343a40;
    color: white;
    border-radius: 0.5rem;
    padding: 2rem;
    margin-top: 3rem;
}

.system-info {
    font-size: 0.875rem;
    color: #6c757d;
    text-align: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 0.5rem;
    margin-top: 2rem;
}

/*VEICOLI CoNSEGNE*/

.custom-card {
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.main-card-item {
    transition: all 0.15s ease;
}

    .main-card-item:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

.btn-wave {
    position: relative;
    overflow: hidden;
}

    .btn-wave:before {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.5);
        transition: width 0.6s, height 0.6s;
        transform: translate(-50%, -50%);
        z-index: 0;
    }

    .btn-wave:active:before {
        width: 300px;
        height: 300px;
    }

.avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.avatar-rounded {
    border-radius: 50%;
}

.avatar-md {
    width: 2.5rem;
    height: 2.5rem;
}

.avatar-lg {
    width: 3.5rem;
    height: 3.5rem;
}

.bg-primary-transparent {
    background-color: rgba(13, 110, 253, 0.1);
    color: #0d6efd;
}

.bg-success-transparent {
    background-color: rgba(25, 135, 84, 0.1);
    color: #198754;
}

.bg-warning-transparent {
    background-color: rgba(255, 193, 7, 0.1);
    color: #ffc107;
}

.bg-danger-transparent {
    background-color: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

.bg-info-transparent {
    background-color: rgba(13, 202, 240, 0.1);
    color: #0dcaf0;
}

.bg-secondary-transparent {
    background-color: rgba(108, 117, 125, 0.1);
    color: #6c757d;
}

.text-default {
    color: #6c757d;
}

.page-header-breadcrumb {
    margin-bottom: 1.5rem;
}

.breadcrumb-input {
    min-width: 120px;
}

.btn-primary-light {
    background-color: rgba(13, 110, 253, 0.1);
    border-color: rgba(13, 110, 253, 0.2);
    color: #0d6efd;
}

    .btn-primary-light:hover {
        background-color: rgba(13, 110, 253, 0.2);
        border-color: rgba(13, 110, 253, 0.3);
        color: #0d6efd;
    }

.btn-secondary-light {
    background-color: rgba(108, 117, 125, 0.1);
    border-color: rgba(108, 117, 125, 0.2);
    color: #6c757d;
}

    .btn-secondary-light:hover {
        background-color: rgba(108, 117, 125, 0.2);
        border-color: rgba(108, 117, 125, 0.3);
        color: #6c757d;
    }

.btn-success-light {
    background-color: rgba(25, 135, 84, 0.1);
    border-color: rgba(25, 135, 84, 0.2);
    color: #198754;
}

    .btn-success-light:hover {
        background-color: rgba(25, 135, 84, 0.2);
        border-color: rgba(25, 135, 84, 0.3);
        color: #198754;
    }

.btn-danger-light {
    background-color: rgba(220, 53, 69, 0.1);
    border-color: rgba(220, 53, 69, 0.2);
    color: #dc3545;
}

    .btn-danger-light:hover {
        background-color: rgba(220, 53, 69, 0.2);
        border-color: rgba(220, 53, 69, 0.3);
        color: #dc3545;
    }

.lh-1 {
    line-height: 1;
}

.fw-semibold {
    font-weight: 600;
}

.badge.bg-success-transparent {
    background-color: rgba(25, 135, 84, 0.1) !important;
    color: #198754;
}

.badge.bg-primary-transparent {
    background-color: rgba(13, 110, 253, 0.1) !important;
    color: #0d6efd;
}

.badge.bg-warning-transparent {
    background-color: rgba(255, 193, 7, 0.1) !important;
    color: #ffc107;
}

.badge.bg-danger-transparent {
    background-color: rgba(220, 53, 69, 0.1) !important;
    color: #dc3545;
}

.badge.bg-info-transparent {
    background-color: rgba(13, 202, 240, 0.1) !important;
    color: #0dcaf0;
}

.badge.bg-secondary-transparent {
    background-color: rgba(108, 117, 125, 0.1) !important;
    color: #6c757d;
}

.btn-list {
    display: flex;
    gap: 0.25rem;
}

.table th {
    border-top: none;
    font-weight: 600;
    background-color: #f8f9fa;
}

.vehicle-card {
    cursor: pointer;
    transition: all 0.2s ease;
    border-left: 4px solid transparent;
}

    .vehicle-card:hover {
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        border-left-color: #0d6efd;
    }

.fuel-type-badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
}

.emission-level-low {
    color: #198754;
    background-color: rgba(25, 135, 84, 0.1);
}

.emission-level-medium {
    color: #ffc107;
    background-color: rgba(255, 193, 7, 0.1);
}

.emission-level-high {
    color: #dc3545;
    background-color: rgba(220, 53, 69, 0.1);
}

.vehicle-preview {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    padding: 1rem;
    margin-top: 1rem;
    display: none;
}

    .vehicle-preview.show {
        display: block;
    }

.calculation-preview {
    background: #e3f2fd;
    border: 1px solid #90caf9;
    border-radius: 0.5rem;
    padding: 0.75rem;
    margin-top: 0.5rem;
    font-family: monospace;
    font-size: 0.875rem;
}

.efficiency-bar {
    height: 20px;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    background: #f8f9fa;
}

.efficient-portion {
    background: linear-gradient(90deg, #43e97b 0%, #38f9d7 100%);
}

.moderate-portion {
    background: linear-gradient(90deg, #ffc107 0%, #ffb347 100%);
}

.inefficient-portion {
    background: linear-gradient(90deg, #ff6b6b 0%, #ee5a24 100%);
}

.svg-white {
    color: white;
}

/* Fix per evidenziare quando un campo è abilitato */
.form-select:not([disabled]) {
    background-color: white;
    border-color: #ced4da;
}

.form-select[disabled] {
    background-color: #e9ecef;
    border-color: #ced4da;
    opacity: 0.6;
}