#user-consent-modal { 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; color: #333; } .modal-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.6); backdrop-filter: blur(5px); } .modal-content { position: relative; background-color: rgba(255, 255, 255, 0.95); border-radius: 12px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); max-width: 90%; width: 500px; padding: 25px; box-sizing: border-box; display: flex; flex-direction: column; gap: 20px; animation: fadeIn 0.3s ease-out; } @keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } } h2, h3, h4 { color: #222; margin-top: 0; margin-bottom: 10px; } p { line-height: 1.6; margin-bottom: 15px; } .cookie-banner-panel, .cookie-settings-panel { display: flex; flex-direction: column; gap: 15px; } .banner-actions, .settings-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; } button { padding: 10px 18px; border: none; border-radius: 8px; cursor: pointer; font-size: 1em; font-weight: 600; transition: background-color 0.2s ease, transform 0.1s ease; } .accept-all-btn, .save-settings-btn, .accept-all-settings-btn { background-color: #4CAF50; color: white; } .accept-all-btn:hover, .save-settings-btn:hover, .accept-all-settings-btn:hover { background-color: #45a049; transform: translateY(-1px); } .decline-all-btn { background-color: #f44336; color: white; } .decline-all-btn:hover { background-color: #da190b; transform: translateY(-1px); } .customize-btn, .close-settings-btn { background-color: #007bff; color: white; } .customize-btn:hover, .close-settings-btn:hover { background-color: #0056b3; transform: translateY(-1px); } .settings-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; } .settings-header h3 { margin: 0; } .close-settings-btn { background: none; color: #555; font-size: 1.8em; padding: 0 8px; border-radius: 50%; line-height: 1; height: 36px; width: 36px; display: flex; justify-content: center; align-items: center; transition: background-color 0.2s ease, color 0.2s ease; } .close-settings-btn:hover { background-color: #eee; color: #222; } .cookie-category { background-color: rgba(240, 240, 240, 0.7); border-radius: 8px; padding: 15px; margin-bottom: 10px; } .category-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; } .category-header h4 { margin: 0; font-size: 1.1em; } .status-label { background-color: #e0e0e0; padding: 4px 8px; border-radius: 5px; font-size: 0.85em; font-weight: 500; color: #555; } .toggle-switch { position: relative; display: inline-block; width: 48px; height: 28px; } .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: 0.4s; border-radius: 28px; } .slider:before { position: absolute; content: ""; height: 20px; width: 20px; left: 4px; bottom: 4px; background-color: white; transition: 0.4s; border-radius: 50%; } input:checked + .slider { background-color: #4CAF50; } input:focus + .slider { box-shadow: 0 0 1px #4CAF50; } input:checked + .slider:before { transform: translateX(20px); } @media (max-width: 768px) { .modal-content { width: 95%; padding: 20px; } .banner-actions, .settings-actions { flex-direction: column; align-items: stretch; } button { width: 100%; } } @media (max-width: 480px) { .modal-content { border-radius: 8px; padding: 15px; } h2 { font-size: 1.4em; } h3 { font-size: 1.2em; } p { font-size: 0.9em; } }