#cookie-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; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .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 { background: linear-gradient(135deg, #f0f8ff, #e0f2f7); border-radius: 16px; box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25); max-width: 500px; width: 90%; padding: 30px; position: relative; z-index: 10000; color: #333; max-height: 90vh; overflow-y: auto; display: flex; flex-direction: column; } .modal-header h2 { margin-top: 0; margin-bottom: 20px; color: #1a2a6c; font-size: 1.8em; text-align: center; } .modal-body p { font-size: 0.95em; line-height: 1.6; margin-bottom: 25px; color: #555; } .button-group { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 20px; } .button-group button { padding: 12px 25px; border: none; border-radius: 8px; cursor: pointer; font-size: 1em; font-weight: 600; transition: all 0.3s ease; flex-grow: 1; min-width: 150px; } .accept-all-btn { background-color: #4CAF50; color: white; box-shadow: 0 4px 8px rgba(76, 175, 80, 0.3); } .accept-all-btn:hover { background-color: #45a049; transform: translateY(-2px); } .decline-all-btn { background-color: #f44336; color: white; box-shadow: 0 4px 8px rgba(244, 67, 54, 0.3); } .decline-all-btn:hover { background-color: #da190b; transform: translateY(-2px); } .manage-preferences-btn, .save-preferences-btn, .back-to-main-btn { background-color: #2196F3; color: white; box-shadow: 0 4px 8px rgba(33, 150, 243, 0.3); } .manage-preferences-btn:hover, .save-preferences-btn:hover, .back-to-main-btn:hover { background-color: #0b7dda; transform: translateY(-2px); } .modal-body.settings-view h3 { margin-top: 0; margin-bottom: 25px; color: #1a2a6c; font-size: 1.6em; text-align: center; } .cookie-category { margin-bottom: 25px; padding: 15px; background-color: #ffffff; border-radius: 10px; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08); } .cookie-category .category-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; } .cookie-category h4 { margin: 0; color: #1a2a6c; font-size: 1.1em; } .cookie-category p { font-size: 0.85em; color: #666; margin-bottom: 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: #2196F3; } input:focus + .slider { box-shadow: 0 0 1px #2196F3; } input:checked + .slider:before { transform: translateX(20px); } input:disabled + .slider { background-color: #a0a0a0; cursor: not-allowed; } input:disabled + .slider:before { background-color: #e0e0e0; } @media (max-width: 768px) { .modal-content { padding: 20px; border-radius: 12px; max-width: 95%; } .modal-header h2 { font-size: 1.5em; } .modal-body p { font-size: 0.9em; } .button-group button { padding: 10px 20px; font-size: 0.9em; min-width: unset; width: 100%; } .modal-body.settings-view h3 { font-size: 1.4em; } .cookie-category h4 { font-size: 1em; } .cookie-category p { font-size: 0.8em; } } @media (max-width: 480px) { .modal-content { padding: 15px; border-radius: 10px; } .modal-header h2 { font-size: 1.3em; } .modal-body p { font-size: 0.85em; } .button-group { flex-direction: column; gap: 10px; } .button-group button { width: 100%; } .modal-body.settings-view h3 { font-size: 1.2em; } .cookie-category { padding: 10px; } .cookie-category h4 { font-size: 0.95em; } } 