.user-consent-modal { position: fixed; bottom: 20px; right: 20px; width: 350px; max-width: 90%; background: linear-gradient(135deg, #f0f4f8, #e0e8f0); border-radius: 12px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15); font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; color: #333; z-index: 1000; transition: all 0.3s ease-in-out; transform: translateY(0); opacity: 1; } .user-consent-modal.hidden { transform: translateY(100%); opacity: 0; } .modal-content { padding: 25px; } .user-consent-modal h3 { margin-top: 0; color: #2c3e50; font-size: 1.4em; margin-bottom: 15px; } .user-consent-modal p { font-size: 0.95em; line-height: 1.6; margin-bottom: 15px; color: #555; } .button-group { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; } .user-consent-modal button { flex: 1; min-width: 120px; padding: 12px 18px; border: none; border-radius: 8px; cursor: pointer; font-size: 0.9em; font-weight: 600; transition: background-color 0.2s ease, transform 0.1s ease; } .user-consent-modal button:active { transform: translateY(1px); } .accept-all-btn { background-color: #4CAF50; color: white; } .accept-all-btn:hover { background-color: #45a049; } .reject-all-btn { background-color: #f44336; color: white; } .reject-all-btn:hover { background-color: #da190b; } .customize-btn, .save-preferences-btn { background-color: #007bff; color: white; } .customize-btn:hover, .save-preferences-btn:hover { background-color: #0056b3; } .privacy-link { font-size: 0.85em; text-align: center; margin-top: 20px; color: #777; } .privacy-link a { color: #007bff; text-decoration: none; font-weight: 500; } .privacy-link a:hover { text-decoration: underline; } .settings-view { margin-top: 15px; } .cookie-category { background-color: #ffffff; border: 1px solid #e0e0e0; border-radius: 8px; padding: 15px; margin-bottom: 15px; } .cookie-category h4 { margin: 0 0 8px 0; color: #34495e; font-size: 1.1em; display: inline-block; vertical-align: middle; margin-left: 10px; } .cookie-category p { font-size: 0.85em; color: #666; margin-bottom: 0; } .category-header { display: flex; align-items: center; margin-bottom: 10px; } .toggle-switch { position: relative; display: inline-block; width: 40px; height: 24px; vertical-align: middle; } .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; } .slider:before { position: absolute; content: ""; height: 16px; width: 16px; left: 4px; bottom: 4px; background-color: white; transition: .4s; } input:checked + .slider { background-color: #4CAF50; } input:focus + .slider { box-shadow: 0 0 1px #4CAF50; } input:checked + .slider:before { transform: translateX(16px); } .slider.round { border-radius: 24px; } .slider.round:before { border-radius: 50%; } input:disabled + .slider { background-color: #a0a0a0; cursor: not-allowed; } input:disabled + .slider:before { background-color: #e0e0e0; } @media (max-width: 768px) { .user-consent-modal { width: 95%; left: 50%; transform: translateX(-50%); bottom: 15px; right: auto; } .modal-content { padding: 20px; } .user-consent-modal h3 { font-size: 1.3em; } .user-consent-modal p { font-size: 0.9em; } .button-group { flex-direction: column; } .user-consent-modal button { width: 100%; min-width: unset; } } @media (max-width: 480px) { .user-consent-modal { bottom: 10px; } .modal-content { padding: 15px; } .user-consent-modal h3 { font-size: 1.2em; } .user-consent-modal p { font-size: 0.85em; } }