#privacy-consent-popup { position: fixed; top: 0; left: 0; width: 100%; height: 100%; display: flex; justify-content: center; align-items: center; z-index: 9999; font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease; } #privacy-consent-popup.show { opacity: 1; visibility: visible; } .privacy-consent-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.6); } .privacy-consent-content { background: linear-gradient(135deg, #f0f4f8, #e0e8f0); border-radius: 12px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); padding: 30px; max-width: 500px; width: 90%; position: relative; z-index: 10000; color: #333; text-align: center; animation: fadeInScale 0.4s ease-out forwards; } @keyframes fadeInScale { from { transform: scale(0.9); opacity: 0; } to { transform: scale(1); opacity: 1; } } .privacy-consent-title { font-size: 1.8em; color: #2c3e50; margin-bottom: 15px; font-weight: 600; } .privacy-consent-description { font-size: 1em; line-height: 1.6; margin-bottom: 25px; color: #555; } .privacy-consent-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 20px; } .privacy-consent-button { background-color: #4a90e2; color: white; border: none; padding: 12px 25px; border-radius: 8px; cursor: pointer; font-size: 1em; font-weight: 500; transition: background-color 0.3s ease, transform 0.2s ease; flex-grow: 1; max-width: 180px; } .privacy-consent-button:hover { background-color: #357bd8; transform: translateY(-2px); } .privacy-consent-button.privacy-consent-reject-all { background-color: #e74c3c; } .privacy-consent-button.privacy-consent-reject-all:hover { background-color: #c0392b; } .privacy-consent-button.privacy-consent-manage { background-color: #6c7a89; } .privacy-consent-button.privacy-consent-manage:hover { background-color: #566473; } .privacy-consent-policy-link { color: #4a90e2; text-decoration: none; font-size: 0.9em; display: block; margin-top: 15px; transition: color 0.3s ease; } .privacy-consent-policy-link:hover { color: #357bd8; text-decoration: underline; } .privacy-consent-settings { text-align: left; } .privacy-consent-settings-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; border-bottom: 1px solid #e0e8f0; padding-bottom: 15px; } .privacy-consent-settings-header h3 { margin: 0; font-size: 1.5em; color: #2c3e50; } .privacy-consent-close-settings { background: none; border: none; font-size: 1em; color: #6c7a89; cursor: pointer; padding: 5px 10px; border-radius: 5px; transition: background-color 0.3s ease, color 0.3s ease; } .privacy-consent-close-settings:hover { background-color: #e0e8f0; color: #333; } .privacy-consent-category { margin-bottom: 20px; padding-bottom: 15px; border-bottom: 1px dashed #e0e8f0; } .privacy-consent-category:last-of-type { border-bottom: none; margin-bottom: 25px; padding-bottom: 0; } .privacy-consent-category-header { display: flex; align-items: center; margin-bottom: 10px; } .privacy-consent-category-header h4 { margin: 0 0 0 10px; font-size: 1.1em; color: #2c3e50; font-weight: 500; } .privacy-consent-category p { font-size: 0.9em; line-height: 1.5; color: #666; margin-left: 50px; } .privacy-consent-toggle-switch { position: relative; display: inline-block; width: 40px; height: 24px; } .privacy-consent-toggle-switch input { opacity: 0; width: 0; height: 0; } .privacy-consent-slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #ccc; transition: 0.4s; border-radius: 24px; } .privacy-consent-slider:before { position: absolute; content: ""; height: 16px; width: 16px; left: 4px; bottom: 4px; background-color: white; transition: 0.4s; border-radius: 50%; } input:checked + .privacy-consent-slider { background-color: #4a90e2; } input:focus + .privacy-consent-slider { box-shadow: 0 0 1px #4a90e2; } input:checked + .privacy-consent-slider:before { transform: translateX(16px); } input:disabled + .privacy-consent-slider { background-color: #aeb6bf; cursor: not-allowed; } input:disabled + .privacy-consent-slider:before { background-color: #f1f1f1; } @media (max-width: 768px) { .privacy-consent-content { padding: 20px; max-width: 95%; } .privacy-consent-title { font-size: 1.5em; } .privacy-consent-description { font-size: 0.95em; } .privacy-consent-button { padding: 10px 20px; font-size: 0.95em; max-width: none; flex-basis: 100%; } .privacy-consent-actions { flex-direction: column; } .privacy-consent-settings-header h3 { font-size: 1.3em; } .privacy-consent-category p { margin-left: 0; } .privacy-consent-category-header { flex-wrap: wrap; } .privacy-consent-category-header h4 { flex-basis: calc(100% - 50px); margin-left: 10px; } } @media (max-width: 480px) { .privacy-consent-content { padding: 15px; } .privacy-consent-title { font-size: 1.3em; } .privacy-consent-description { font-size: 0.9em; } .privacy-consent-button { font-size: 0.9em; padding: 10px 15px; } }