#user-consent-modal, #user-consent-settings { position: fixed; bottom: 20px; right: 20px; left: 20px; max-width: 400px; margin: 0 auto; background-color: #ffffff; border-radius: 12px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15); padding: 25px; z-index: 1000; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; color: #333; animation: fadeIn 0.3s ease-out; display: none; } #user-consent-settings { top: 50%; left: 50%; transform: translate(-50%, -50%); max-width: 550px; bottom: auto; right: auto; } @keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } } @media (min-width: 768px) { #user-consent-modal { left: auto; width: 380px; } } @media (min-width: 1024px) { #user-consent-modal { right: 30px; bottom: 30px; width: 420px; } #user-consent-settings { max-width: 600px; } } .user-consent-btn { background-color: #007bff; color: #fff; border: none; padding: 10px 18px; border-radius: 8px; cursor: pointer; font-size: 15px; transition: background-color 0.2s ease, transform 0.1s ease; margin-top: 10px; } .user-consent-btn:hover { background-color: #0056b3; transform: translateY(-1px); } .user-consent-decline { background-color: #6c757d; } .user-consent-decline:hover { background-color: #5a6268; } .user-consent-settings-btn, .user-consent-close-settings { background-color: #f0f0f0; color: #333; border: 1px solid #ccc; } .user-consent-settings-btn:hover, .user-consent-close-settings:hover { background-color: #e0e0e0; color: #000; } .user-consent-toggle { position: relative; display: inline-block; width: 48px; height: 28px; margin-right: 15px; } .user-consent-toggle 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: .4s; border-radius: 28px; } .user-consent-slider:before { position: absolute; content: ""; height: 20px; width: 20px; left: 4px; bottom: 4px; background-color: white; transition: .4s; border-radius: 50%; } input:checked + .user-consent-slider { background-color: #007bff; } input:focus + .user-consent-slider { box-shadow: 0 0 1px #007bff; } input:checked + .user-consent-slider:before { transform: translateX(20px); } input:disabled + .user-consent-slider { background-color: #e0e0e0; cursor: not-allowed; } input:disabled + .user-consent-slider:before { background-color: #bbb; } .user-consent-category { display: flex; align-items: flex-start; margin-bottom: 20px; padding-bottom: 15px; border-bottom: 1px solid #eee; } .user-consent-category:last-of-type { border-bottom: none; margin-bottom: 0; padding-bottom: 0; } .user-consent-category-info h4 { margin-top: 0; margin-bottom: 5px; font-size: 16px; color: #222; } .user-consent-category-info p { font-size: 13px; line-height: 1.5; color: #666; } .user-consent-actions, .user-consent-settings-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; margin-top: 20px; } .user-consent-settings-actions { justify-content: flex-end; } .user-consent-message, .user-consent-settings-description { font-size: 15px; line-height: 1.6; margin-bottom: 20px; } .user-consent-settings-title { font-size: 22px; color: #222; margin-top: 0; margin-bottom: 15px; text-align: center; }