.cookie-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', Roboto, 'Helvetica Neue', Arial, sans-serif; color: #333; animation: fadeIn 0.3s ease-out; } .modal-backdrop { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.6); backdrop-filter: blur(4px); } .modal-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; display: flex; flex-direction: column; animation: slideIn 0.4s ease-out; max-height: 90vh; overflow-y: auto; } .modal-title { font-size: 1.8em; color: #2c3e50; margin-bottom: 15px; text-align: center; } .modal-description, .cookie-category p { font-size: 0.95em; line-height: 1.6; margin-bottom: 20px; color: #555; } .modal-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 20px; } .btn { padding: 12px 25px; border: none; border-radius: 8px; cursor: pointer; font-size: 1em; font-weight: 600; transition: background-color 0.2s ease, transform 0.1s ease; } .btn-accept-all { background-color: #4CAF50; color: white; } .btn-accept-all:hover { background-color: #45a049; transform: translateY(-1px); } .btn-reject-all { background-color: #f44336; color: white; } .btn-reject-all:hover { background-color: #da190b; transform: translateY(-1px); } .btn-manage-preferences, .btn-save-preferences, .btn-back-to-consent { background-color: #007bff; color: white; } .btn-manage-preferences:hover, .btn-save-preferences:hover, .btn-back-to-consent:hover { background-color: #0056b3; transform: translateY(-1px); } .privacy-link { text-align: center; margin-top: 15px; font-size: 0.85em; } .privacy-link a { color: #007bff; text-decoration: none; transition: color 0.2s ease; } .privacy-link a:hover { color: #0056b3; text-decoration: underline; } .settings-view { padding-top: 10px; } .cookie-category { margin-bottom: 25px; padding-bottom: 15px; border-bottom: 1px solid #eee; } .cookie-category:last-of-type { border-bottom: none; margin-bottom: 0; } .category-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; } .category-header h3 { font-size: 1.1em; color: #2c3e50; margin: 0; } .switch { position: relative; display: inline-block; width: 45px; height: 25px; } .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: #4CAF50; } input:focus + .slider { box-shadow: 0 0 1px #4CAF50; } 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; } to { opacity: 1; } } @keyframes slideIn { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } } @media (max-width: 768px) { .modal-content { padding: 20px; max-width: 95%; } .modal-title { font-size: 1.5em; } .modal-description, .cookie-category p { font-size: 0.9em; } .btn { width: 100%; padding: 10px 15px; } .modal-actions { flex-direction: column; } } @media (max-width: 480px) { .modal-content { border-radius: 8px; margin: 10px; max-height: 95vh; } .modal-title { font-size: 1.3em; } .cookie-category h3 { font-size: 1em; } .switch { width: 40px; height: 22px; } .slider:before { height: 14px; width: 14px; left: 4px; bottom: 4px; } input:checked + .slider:before { transform: translateX(18px); } }