#user-consent-modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; display: flex; justify-content: center; align-items: center; z-index: 9999; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; animation: fadeIn 0.3s ease-out; } .user-consent-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.6); } .user-consent-box { background: linear-gradient(135deg, #ffffff, #f0f2f5); border-radius: 16px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); padding: 30px; max-width: 500px; width: 90%; position: relative; z-index: 10000; text-align: center; transform: translateY(0); transition: transform 0.3s ease-out; box-sizing: border-box; } .cookie-title { color: #2c3e50; margin-top: 0; margin-bottom: 15px; font-size: 1.8em; font-weight: 700; } .cookie-description { color: #34495e; line-height: 1.6; margin-bottom: 25px; font-size: 1em; } .cookie-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 20px; margin-bottom: 20px; } .cookie-button { background-color: #3498db; color: #ffffff; border: none; border-radius: 8px; padding: 12px 25px; font-size: 1em; cursor: pointer; transition: background-color 0.3s ease, transform 0.2s ease; flex-grow: 1; max-width: 180px; } .cookie-button:hover { background-color: #2980b9; transform: translateY(-2px); } .cookie-button.decline-all-btn { background-color: #e74c3c; } .cookie-button.decline-all-btn:hover { background-color: #c0392b; } .cookie-button.settings-btn, .cookie-button.back-to-banner-btn { background-color: #7f8c8d; } .cookie-button.settings-btn:hover, .cookie-button.back-to-banner-btn:hover { background-color: #5d6d7e; } .cookie-policy-link { color: #3498db; text-decoration: none; font-size: 0.9em; margin-top: 15px; display: inline-block; transition: color 0.3s ease; } .cookie-policy-link:hover { color: #2980b9; text-decoration: underline; } .cookie-category { background-color: #ecf0f1; border-radius: 10px; padding: 15px 20px; margin-bottom: 15px; text-align: left; } .cookie-category:last-of-type { margin-bottom: 25px; } .category-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; } .category-header h4 { margin: 0; color: #2c3e50; font-size: 1.1em; font-weight: 600; } .category-description { color: #555; font-size: 0.85em; line-height: 1.5; } .toggle-switch { position: relative; display: inline-block; width: 45px; height: 25px; } .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: 25px; } .slider:before { position: absolute; content: ""; height: 17px; width: 17px; left: 4px; bottom: 4px; background-color: white; transition: 0.4s; border-radius: 50%; } input:checked + .slider { background-color: #2ecc71; } input:focus + .slider { box-shadow: 0 0 1px #2ecc71; } input:checked + .slider:before { transform: translateX(20px); } input:disabled + .slider { background-color: #a0a0a0; cursor: not-allowed; } input:disabled + .slider:before { background-color: #e0e0e0; } @keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } } @keyframes fadeOut { from { opacity: 1; transform: translateY(0); } to { opacity: 0; transform: translateY(20px); } } @media (max-width: 600px) { .user-consent-box { padding: 20px; margin: 15px; } .cookie-title { font-size: 1.5em; } .cookie-description { font-size: 0.9em; } .cookie-actions { flex-direction: column; gap: 10px; } .cookie-button { max-width: 100%; padding: 10px 15px; font-size: 0.95em; } .cookie-category { padding: 12px 15px; } .category-header h4 { font-size: 1em; } .category-description { font-size: 0.8em; } } @media (min-width: 601px) and (max-width: 900px) { .user-consent-box { max-width: 600px; } .cookie-button { max-width: 200px; } }