/* Stili specifici di cookie-policy.php.
   Estratto il 2026-08-25 dal blocco inline nella pagina. */

:root {
            --primary: #fcb321;
            --primary-dark: #e5a01e;
            --secondary: #000222;
            --text: #000222;
            --text-light: #64748b;
            --white: #ffffff;
            --gray-50: #f8fafc;
            --gray-100: #f1f5f9;
            --gray-200: #e2e8f0;
            --bg-primary: #ffffff;
            --bg-secondary: #f8fafc;
            --bg-card: #ffffff;
            --border-color: #e2e8f0;
            --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
            --shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
            --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
        }

        * { margin: 0; padding: 0; box-sizing: border-box; }
        html { scroll-behavior: smooth; }

        body {
            font-family: 'Lato', sans-serif;
            color: var(--text);
            line-height: 1.7;
            background: var(--bg-primary);
            transition: background-color 0.3s ease, color 0.3s ease;
        }

        h1, h2, h3, h4, h5, h6 {
            font-family: 'Poppins', sans-serif;
            font-weight: 700;
            line-height: 1.3;
        }

        a { text-decoration: none; color: var(--primary); }
        a:hover { text-decoration: underline; }

        .container { max-width: 900px; margin: 0 auto; padding: 0 24px; }

        /* Header */
        .header {
            background: var(--secondary);
            padding: 20px 0;
            position: sticky;
            top: 0;
            z-index: 100;
        }

        .header .container {
            display: flex;
            align-items: center;
            justify-content: space-between;
            max-width: 1200px;
        }

        .logo img { height: 40px; }

        .header-nav {
            display: flex;
            align-items: center;
            gap: 24px;
        }

        .header-nav a {
            color: var(--white);
            font-family: 'Poppins', sans-serif;
            font-weight: 500;
            font-size: 0.95rem;
            text-decoration: none;
            transition: color 0.3s;
        }

        .header-nav a:hover { color: var(--primary); text-decoration: none; }

        .btn-nav {
            background: var(--primary);
            color: var(--secondary) !important;
            padding: 12px 24px;
            border-radius: 100px;
            font-weight: 600;
        }

        .btn-nav:hover { opacity: 0.9; }

        /* Breadcrumb */
        .breadcrumb {
            padding: 20px 0;
            background: var(--bg-secondary);
            border-bottom: 1px solid var(--border-color);
        }

        .breadcrumb-list {
            list-style: none;
            display: flex;
            gap: 8px;
            font-size: 0.9rem;
        }

        .breadcrumb-list li::after {
            content: '/';
            margin-left: 8px;
            color: var(--text-light);
        }

        .breadcrumb-list li:last-child::after { display: none; }
        .breadcrumb-list a { color: var(--text-light); }
        .breadcrumb-list a:hover { color: var(--primary); }

        /* Page Content */
        .page-header {
            padding: 60px 0 40px;
            text-align: center;
            background: var(--bg-secondary);
        }

        .page-header h1 {
            font-size: 2.5rem;
            margin-bottom: 16px;
            color: var(--text);
        }

        .page-header .last-update {
            color: var(--text-light);
            font-size: 0.95rem;
        }

        .legal-content {
            padding: 60px 0 80px;
        }

        .legal-content h2 {
            font-size: 1.5rem;
            margin: 40px 0 20px;
            padding-bottom: 12px;
            border-bottom: 2px solid var(--primary);
            color: var(--text);
        }

        .legal-content h3 {
            font-size: 1.2rem;
            margin: 30px 0 15px;
            color: var(--text);
        }

        .legal-content p {
            margin-bottom: 16px;
            color: var(--text);
        }

        .legal-content ul, .legal-content ol {
            margin: 16px 0 16px 24px;
        }

        .legal-content li {
            margin-bottom: 8px;
            color: var(--text);
        }

        .legal-content strong { color: var(--text); }

        .info-box {
            background: var(--bg-secondary);
            border-left: 4px solid var(--primary);
            padding: 20px 24px;
            margin: 24px 0;
            border-radius: 0 8px 8px 0;
        }

        .info-box p { margin-bottom: 8px; }
        .info-box p:last-child { margin-bottom: 0; }

        /* Cookie Table */
        .cookie-table {
            width: 100%;
            border-collapse: collapse;
            margin: 24px 0;
            font-size: 0.9rem;
        }

        .cookie-table th,
        .cookie-table td {
            padding: 14px 16px;
            text-align: left;
            border-bottom: 1px solid var(--border-color);
        }

        .cookie-table th {
            background: var(--bg-secondary);
            font-family: 'Poppins', sans-serif;
            font-weight: 600;
            color: var(--text);
        }

        .cookie-table td {
            color: var(--text);
        }

        .cookie-table tr:hover td {
            background: var(--bg-secondary);
        }

        .cookie-type {
            display: inline-block;
            padding: 4px 10px;
            border-radius: 20px;
            font-size: 0.75rem;
            font-weight: 600;
        }

        .cookie-type.necessary { background: #dcfce7; color: #166534; }
        .cookie-type.functional { background: #dbeafe; color: #1e40af; }
        .cookie-type.analytics { background: #fef3c7; color: #92400e; }
        .cookie-type.marketing { background: #fce7f3; color: #9d174d; }

        .btn-manage-cookies {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: var(--primary);
            color: var(--secondary);
            padding: 14px 28px;
            border-radius: 100px;
            font-family: 'Poppins', sans-serif;
            font-weight: 600;
            font-size: 1rem;
            border: none;
            cursor: pointer;
            transition: all 0.3s;
            text-decoration: none;
        }

        .btn-manage-cookies:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(252, 179, 33, 0.4);
            text-decoration: none;
        }

        /* Footer */
        .footer {
            background: var(--secondary);
            color: #fff;
            padding: 40px 0;
        }

        .footer .container { max-width: 1200px; }

        .footer-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 20px;
        }

        .footer-links {
            display: flex;
            gap: 24px;
            flex-wrap: wrap;
        }

        .footer-links a {
            color: #94a3b8;
            font-size: 0.9rem;
        }

        .footer-links a:hover { color: var(--primary); }

        .footer-copy {
            color: #64748b;
            font-size: 0.85rem;
        }

        /* Responsive table */
        @media (max-width: 768px) {
            .header-nav { display: none; }
            .page-header h1 { font-size: 1.8rem; }
            .legal-content h2 { font-size: 1.3rem; }
            .footer-content { flex-direction: column; text-align: center; }

            .cookie-table {
                display: block;
                overflow-x: auto;
            }
        }
