#user-consent { position: fixed; top: 0; left: 0; width: 100%; height: 100%; display: flex; justify-content: center; align-items: center; z-index: 1000; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; } .user-consent-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.6); backdrop-filter: blur(4px); } .user-consent-content { background: #ffffff; 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: 1001; color: #333; animation: fadeInScale 0.3s ease-out; max-height: 90vh; overflow-y: auto; } @keyframes fadeInScale { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: scale(1); } } .user-consent-content h3 { font-size: 1.8em; color: #2c3e50; margin-top: 0; margin-bottom: 15px; text-align: center; } .user-consent-content h4 { font-size: 1.2em; color: #34495e; margin-top: 20px; margin-bottom: 10px; } .user-consent-content p { font-size: 1em; line-height: 1.6; margin-bottom: 20px; } .user-consent-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 25px; justify-content: center; } .user-consent-actions button { padding: 12px 20px; border: none; border-radius: 8px; cursor: pointer; font-size: 1em; font-weight: 600; transition: background-color 0.2s ease, transform 0.2s ease; flex-grow: 1; min-width: 120px; } .user-consent-accept-all { background-color: #4CAF50; color: white; } .user-consent-accept-all:hover { background-color: #45a049; transform: translateY(-2px); } .user-consent-reject-all { background-color: #f44336; color: white; } .user-consent-reject-all:hover { background-color: #da190b; transform: translateY(-2px); } .user-consent-customize, .user-consent-back { background-color: #e0e0e0; color: #333; } .user-consent-customize:hover, .user-consent-back:hover { background-color: #d0d0d0; transform: translateY(-2px); } .user-consent-save-prefs { background-color: #2196F3; color: white; } .user-consent-save-prefs:hover { background-color: #0b7dda; transform: translateY(-2px); } .user-consent-category { margin-bottom: 20px; padding: 15px; background-color: #f9f9f9; border-radius: 8px; border: 1px solid #eee; } .user-consent-category p { font-size: 0.9em; color: #555; margin-bottom: 10px; } .user-consent-switch { position: relative; display: inline-block; width: 48px; height: 28px; margin-top: 5px; } .user-consent-switch input { opacity: 0; width: 0; height: 0; } .user-consent-slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #ccc; transition: 0.4s; border-radius: 28px; } .user-consent-slider:before { position: absolute; content: ""; height: 20px; width: 20px; left: 4px; bottom: 4px; background-color: white; transition: 0.4s; border-radius: 50%; } input:checked + .user-consent-slider { background-color: #2196F3; } input:focus + .user-consent-slider { box-shadow: 0 0 1px #2196F3; } input:checked + .user-consent-slider:before { transform: translateX(20px); } input:disabled + .user-consent-slider { background-color: #a0a0a0; cursor: not-allowed; } input:disabled + .user-consent-slider:before { background-color: #e0e0e0; } @media (max-width: 768px) { .user-consent-content { padding: 20px; max-width: 95%; } .user-consent-content h3 { font-size: 1.5em; } .user-consent-content p { font-size: 0.95em; } .user-consent-actions button { width: 100%; flex-grow: unset; } } @media (max-width: 480px) { .user-consent-content { padding: 15px; } .user-consent-content h3 { font-size: 1.3em; } .user-consent-content p { font-size: 0.9em; } .user-consent-actions button { padding: 10px 15px; font-size: 0.9em; } }