
        .modal {
            display: none;
            position: fixed;
            z-index: 1000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            backdrop-filter: blur(2px);
        }

        .modal-content {
            background-color: white;
            margin: 2% auto;
            border-radius: 10px;
            width: 90%;
            max-width: 900px;
            max-height: 90vh;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
            position: relative;
            overflow: hidden;
        }

        .modal-header {
            background: #FFA709;
            color: white;
            padding: 20px;
            border-radius: 10px 10px 0 0;
            position: relative;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .modal-header h2 {
            margin: 0;
            font-size: 1.5em;
        }

        .close {
            color: white;
            font-size: 28px;
            font-weight: bold;
            cursor: pointer;
            transition: opacity 0.3s ease;
            background: none;
            border: none;
            padding: 0;
        }

        .close:hover {
            opacity: 0.7;
        }

        .modal-body {
            padding: 30px;
            max-height: calc(90vh - 140px);
            overflow-y: auto;
        }

        .loading {
            text-align: center;
            padding: 40px;
            color: #666;
        }

        .loading::after {
            content: '';
            display: inline-block;
            width: 20px;
            height: 20px;
            border: 3px solid #f3f3f3;
            border-top: 3px solid #FFA709;
            border-radius: 50%;
            animation: spin 1s linear infinite;
            margin-left: 10px;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        /* Scrollbar personalizzata per il modal */
        .modal-body::-webkit-scrollbar {
            width: 8px;
        }

        .modal-body::-webkit-scrollbar-track {
            background: #f1f1f1;
            border-radius: 4px;
        }

        .modal-body::-webkit-scrollbar-thumb {
            background: #FFA709;
            border-radius: 4px;
        }

        .modal-body::-webkit-scrollbar-thumb:hover {
            background: #FFA709;
        }

        /* Animazioni */
        .modal.show {
            display: block;
            animation: fadeIn 0.3s ease;
        }

        .modal.show .modal-content {
            animation: slideIn 0.3s ease;
        }

        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        @keyframes slideIn {
            from { 
                opacity: 0;
                transform: translateY(-50px);
            }
            to { 
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Stili per il contenuto della privacy caricato */
        .privacy-list {
            list-style: none;
            padding: 0;
            counter-reset: privacy-counter;
            margin: 0;
        }

        .privacy-list li {
            counter-increment: privacy-counter;
            margin: 20px 0;
            padding: 15px;
            background: #f9f9f9;
            border-left: 4px solid #FFA709;
            border-radius: 5px;
        }

        .privacy-list li::before {
            content: counter(privacy-counter) ".";
            font-weight: bold;
            color: #FFA709;
            margin-right: 10px;
            font-size: 1.1em;
        }

        .privacy-title {
            font-weight: bold;
            color: #333;
            margin-bottom: 8px;
            display: inline;
        }

        .privacy-content {
            color: #555;
            margin-top: 8px;
        }

        .privacy-content ul {
            margin: 10px 0;
            padding-left: 20px;
        }

        .privacy-content li {
            margin: 5px 0;
            list-style: disc;
            counter-increment: none;
            padding: 0;
            background: none;
            border: none;
        }

        .privacy-content li::before {
            display: none;
        }