.privacy-consent-popup { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.7); display: flex; justify-content: center; align-items: center; z-index: 1001; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; animation: fadeIn 0.3s ease-out; } @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } } .privacy-consent-box { background-color: #ffffff; border-radius: 12px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); max-width: 500px; width: 90%; padding: 30px; position: relative; max-height: 90vh; overflow-y: auto; transform: scale(0.95); animation: popIn 0.3s ease-out forwards; } @keyframes popIn { from { transform: scale(0.95); opacity: 0; } to { transform: scale(1); opacity: 1; } } .privacy-consent-title { color: #2c3e50; font-size: 1.8em; margin-bottom: 15px; text-align: center; } .privacy-consent-description { color: #555; font-size: 1em; line-height: 1.6; margin-bottom: 25px; text-align: center; } .privacy-consent-actions { display: flex; flex-direction: column; gap: 12px; } .privacy-consent-btn { background-color: #4CAF50; color: white; padding: 12px 20px; border: none; border-radius: 8px; cursor: pointer; font-size: 1em; font-weight: 600; transition: background-color 0.2s ease, transform 0.1s ease; width: 100%; box-sizing: border-box; } .privacy-consent-btn:hover { background-color: #45a049; transform: translateY(-1px); } .privacy-consent-btn:active { transform: translateY(0); } .privacy-consent-reject-all { background-color: #f44336; } .privacy-consent-reject-all:hover { background-color: #da190b; } .privacy-consent-customize { background-color: #007bff; } .privacy-consent-customize:hover { background-color: #0056b3; } .privacy-consent-settings { margin-top: 20px; } .privacy-consent-settings .privacy-consent-title { font-size: 1.6em; margin-bottom: 20px; } .privacy-consent-category { background-color: #f9f9f9; border-radius: 8px; padding: 15px; margin-bottom: 15px; border: 1px solid #eee; } .privacy-consent-category-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; } .privacy-consent-category-header h3 { margin: 0; color: #333; font-size: 1.1em; } .privacy-consent-category p { color: #666; font-size: 0.9em; line-height: 1.5; margin-bottom: 10px; } .privacy-consent-always-active { font-size: 0.8em; color: #888; font-style: italic; } .privacy-consent-switch { position: relative; display: inline-block; width: 45px; height: 25px; } .privacy-consent-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: .4s; border-radius: 25px; } .privacy-consent-slider:before { position: absolute; content: ""; height: 17px; width: 17px; left: 4px; bottom: 4px; background-color: white; transition: .4s; border-radius: 50%; } input:checked + .privacy-consent-slider { background-color: #4CAF50; } input:focus + .privacy-consent-slider { box-shadow: 0 0 1px #4CAF50; } input:checked + .privacy-consent-slider:before { transform: translateX(20px); } input:disabled + .privacy-consent-slider { background-color: #a0a0a0; cursor: not-allowed; } input:disabled:checked + .privacy-consent-slider { background-color: #66bb6a; } .privacy-consent-settings-actions { margin-top: 25px; text-align: center; } .privacy-consent-settings-actions .privacy-consent-btn { max-width: 250px; margin: 0 auto; } @media (max-width: 768px) { .privacy-consent-box { padding: 20px; width: 95%; } .privacy-consent-title { font-size: 1.5em; } .privacy-consent-description { font-size: 0.95em; } .privacy-consent-category-header h3 { font-size: 1em; } .privacy-consent-category p { font-size: 0.85em; } } @media (max-width: 480px) { .privacy-consent-box { padding: 15px; } .privacy-consent-title { font-size: 1.3em; } .privacy-consent-description { font-size: 0.9em; } .privacy-consent-actions { flex-direction: column; } .privacy-consent-btn { font-size: 0.9em; padding: 10px 15px; } .privacy-consent-category-header h3 { font-size: 0.95em; } .privacy-consent-category p { font-size: 0.8em; } .privacy-consent-switch { width: 40px; height: 22px; } .privacy-consent-slider:before { height: 14px; width: 14px; left: 4px; bottom: 4px; } input:checked + .privacy-consent-slider:before { transform: translateX(18px); } }