/* Extracted from pages/cookie-policy.php */
:root {
            --primary-color: #1a365d;
            --secondary-color: #2b6cb0;
            --accent-color: #4299e1;
            --success-color: #38a169;
            --warning-color: #d69e2e;
            --danger-color: #e53e3e;
            --text-color: #2d3748;
            --light-bg: #f8f9fa;
            --border-color: #e2e8f0;
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            line-height: 1.7;
            color: var(--text-color);
            background-color: var(--light-bg);
        }
        
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }
        
        /* Header Section */
        .page-header {
            background: linear-gradient(135deg, var(--primary-color), #0f2547);
            color: white;
            padding: 60px 0;
            text-align: center;
            margin-bottom: 40px;
        }
        
        .page-header h1 {
            font-size: 2.8rem;
            margin-bottom: 15px;
            font-weight: 700;
        }
        
        .page-header p {
            font-size: 1.2rem;
            opacity: 0.9;
            max-width: 800px;
            margin: 0 auto;
        }
        
        .cookie-tag {
            background: rgba(255, 255, 255, 0.1);
            padding: 8px 20px;
            border-radius: 20px;
            display: inline-block;
            margin-top: 20px;
            font-size: 0.9rem;
            backdrop-filter: blur(10px);
        }
        
        /* Main Content */
        .cookie-content {
            background: white;
            border-radius: 10px;
            padding: 50px;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
            margin-bottom: 50px;
        }
        
        .cookie-section {
            margin-bottom: 40px;
            padding-bottom: 40px;
            border-bottom: 1px solid var(--border-color);
        }
        
        .cookie-section:last-child {
            border-bottom: none;
            margin-bottom: 0;
            padding-bottom: 0;
        }
        
        .section-title {
            color: var(--primary-color);
            font-size: 1.6rem;
            margin-bottom: 20px;
            padding-bottom: 10px;
            border-bottom: 2px solid var(--secondary-color);
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .section-title i {
            color: var(--secondary-color);
            font-size: 1.3rem;
        }
        
        .section-content p {
            margin-bottom: 15px;
            color: #4a5568;
        }
        
        .section-content ul {
            margin: 15px 0;
            padding-left: 25px;
        }
        
        .section-content li {
            margin-bottom: 10px;
            color: #4a5568;
        }
        
        /* Cookie Definition */
        .definition-box {
            background: linear-gradient(135deg, #f0f9ff, #e6fffa);
            border-left: 4px solid var(--accent-color);
            padding: 25px;
            border-radius: 8px;
            margin: 25px 0;
        }
        
        .definition-box h4 {
            color: var(--accent-color);
            font-size: 1.2rem;
            margin-bottom: 10px;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        /* Cookie Types Grid */
        .cookie-types-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 25px;
            margin: 30px 0;
        }
        
        .type-card {
            background: #f7fafc;
            border-radius: 8px;
            padding: 25px;
            border-top: 3px solid;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }
        
        .type-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
        }
        
        .type-card.essential {
            border-top-color: var(--success-color);
        }
        
        .type-card.functional {
            border-top-color: var(--secondary-color);
        }
        
        .type-card.analytics {
            border-top-color: var(--warning-color);
        }
        
        .type-card.advertising {
            border-top-color: var(--danger-color);
        }
        
        .type-card h3 {
            color: var(--primary-color);
            margin-bottom: 15px;
            font-size: 1.3rem;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .type-icon {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 1.2rem;
        }
        
        .essential .type-icon {
            background: var(--success-color);
        }
        
        .functional .type-icon {
            background: var(--secondary-color);
        }
        
        .analytics .type-icon {
            background: var(--warning-color);
        }
        
        .advertising .type-icon {
            background: var(--danger-color);
        }
        
        /* Cookie Table */
        .cookie-table {
            width: 100%;
            border-collapse: collapse;
            margin: 20px 0;
            font-size: 0.95rem;
        }
        
        .cookie-table th {
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            color: white;
            padding: 15px;
            text-align: left;
            font-weight: 600;
        }
        
        .cookie-table td {
            padding: 15px;
            border-bottom: 1px solid var(--border-color);
            vertical-align: top;
        }
        
        .cookie-table tr:nth-child(even) {
            background-color: #f7fafc;
        }
        
        .cookie-table tr:hover {
            background-color: #edf2f7;
        }
        
        .cookie-name {
            font-weight: 600;
            color: var(--primary-color);
        }
        
        .cookie-purpose {
            font-size: 0.9rem;
            color: #4a5568;
        }
        
        .cookie-duration {
            font-weight: 500;
            color: var(--secondary-color);
        }
        
        /* Browser Instructions */
        .browser-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 20px;
            margin: 30px 0;
        }
        
        .browser-card {
            background: white;
            border: 1px solid var(--border-color);
            border-radius: 8px;
            padding: 20px;
            text-align: center;
            transition: all 0.3s ease;
        }
        
        .browser-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }
        
        .browser-icon {
            font-size: 2rem;
            margin-bottom: 15px;
            color: var(--secondary-color);
        }
        
        .browser-name {
            font-weight: 600;
            color: var(--primary-color);
            margin-bottom: 10px;
        }
        
        /* Consent Management */
        .consent-box {
            background: linear-gradient(135deg, #f0fff4, #c6f6d5);
            border-left: 4px solid var(--success-color);
            padding: 25px;
            border-radius: 8px;
            margin: 25px 0;
        }
        
        .consent-box h4 {
            color: var(--success-color);
            font-size: 1.2rem;
            margin-bottom: 10px;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .warning-box {
            background: linear-gradient(135deg, #fff5f5, #fed7d7);
            border-left: 4px solid var(--danger-color);
            padding: 25px;
            border-radius: 8px;
            margin: 25px 0;
        }
        
        .warning-box h4 {
            color: var(--danger-color);
            font-size: 1.2rem;
            margin-bottom: 10px;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        /* Cookie Control Panel */
        .control-panel {
            background: linear-gradient(135deg, #f7fafc, #edf2f7);
            border: 2px solid var(--border-color);
            border-radius: 10px;
            padding: 30px;
            margin: 30px 0;
        }
        
        .control-panel h3 {
            color: var(--primary-color);
            margin-bottom: 20px;
            text-align: center;
        }
        
        .cookie-toggle {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px 0;
            border-bottom: 1px solid var(--border-color);
        }
        
        .toggle-label {
            display: flex;
            align-items: center;
            gap: 15px;
        }
        
        .toggle-label span {
            font-weight: 600;
            color: var(--primary-color);
        }
        
        .toggle-switch {
            position: relative;
            display: inline-block;
            width: 60px;
            height: 30px;
        }
        
        .toggle-switch input {
            opacity: 0;
            width: 0;
            height: 0;
        }
        
        .slider {
            position: absolute;
            cursor: pointer;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: #ccc;
            transition: .4s;
            border-radius: 34px;
        }
        
        .slider:before {
            position: absolute;
            content: "";
            height: 22px;
            width: 22px;
            left: 4px;
            bottom: 4px;
            background-color: white;
            transition: .4s;
            border-radius: 50%;
        }
        
        input:checked + .slider {
            background-color: var(--success-color);
        }
        
        input:checked + .slider:before {
            transform: translateX(30px);
        }
        
        .cookie-desc {
            font-size: 0.9rem;
            color: #718096;
            margin-top: 5px;
            margin-left: 60px;
        }
        
        /* Contact Section */
        .contact-section {
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            color: white;
            padding: 40px;
            border-radius: 10px;
            text-align: center;
            margin-top: 40px;
        }
        
        .contact-section h3 {
            font-size: 1.8rem;
            margin-bottom: 15px;
            color: white;
        }
        
        .cookie-email {
            display: inline-block;
            background: rgba(255, 255, 255, 0.15);
            padding: 12px 30px;
            border-radius: 30px;
            margin-top: 15px;
            font-weight: 600;
            text-decoration: none;
            color: white;
            transition: all 0.3s;
        }
        
        .cookie-email:hover {
            background: rgba(255, 255, 255, 0.25);
            transform: translateY(-2px);
        }
        
        /* Responsive Design */
        @media (max-width: 768px) {
            .page-header {
                padding: 40px 0;
            }
            
            .page-header h1 {
                font-size: 2rem;
            }
            
            .cookie-content {
                padding: 30px 20px;
            }
            
            .section-title {
                font-size: 1.4rem;
            }
            
            .cookie-types-grid {
                grid-template-columns: 1fr;
            }
            
            .browser-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            
            .control-panel {
                padding: 20px;
            }
            
            .contact-section {
                padding: 30px 20px;
            }
        }
    
        /* Universal public-page compatibility with shared header/nav/footer */
        main, .main-content {
            width: 100%;
            max-width: 100%;
            overflow-x: clip;
        }

        main *, main *::before, main *::after,
        .main-content *, .main-content *::before, .main-content *::after {
            min-width: 0;
        }

        main img, main video, main iframe,
        .main-content img, .main-content video, .main-content iframe {
            max-width: 100%;
            height: auto;
        }

        main table, .main-content table {
            max-width: 100%;
        }

        @media (max-width: 768px) {
            main .container,
            .main-content .container {
                width: 100%;
                max-width: 100%;
                padding-left: 14px;
                padding-right: 14px;
            }

            main [style*="grid-template-columns"],
            .main-content [style*="grid-template-columns"] {
                grid-template-columns: 1fr !important;
            }

            main [style*="display: flex"],
            .main-content [style*="display: flex"] {
                flex-wrap: wrap;
            }

            .page-header,
            .policy-header,
            .terms-header,
            .membership-header {
                padding-left: 18px !important;
                padding-right: 18px !important;
                overflow-wrap: anywhere;
            }
        }
