.privacy-modal { display: none; position: fixed; bottom: 20px; left: 20px; right: 20px; max-width: 450px; margin: 0 auto; background: linear-gradient(135deg, #f0f4f8, #e0e8f0); border-radius: 16px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15), 0 4px 12px rgba(0, 0, 0, 0.08); font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; color: #333; z-index: 1000; overflow: hidden; transform: translateY(20px); opacity: 0; transition: opacity 0.3s ease-out, transform 0.3s ease-out; } .privacy-modal.show { opacity: 1; transform: translateY(0); } .privacy-modal-banner, .privacy-modal-settings { padding: 25px; } .privacy-modal-banner h3, .privacy-modal-settings h3 { margin-top: 0; margin-bottom: 15px; font-size: 1.5em; color: #2c3e50; font-weight: 600; } .privacy-modal-banner p, .privacy-modal-settings p { font-size: 0.95em; line-height: 1.6; margin-bottom: 20px; color: #555; } .privacy-modal-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; } .privacy-modal-actions button { flex: 1; padding: 12px 18px; border: none; border-radius: 8px; font-size: 0.9em; cursor: pointer; transition: background-color 0.2s ease, transform 0.1s ease; font-weight: 500; white-space: nowrap; } .privacy-modal-actions button:hover { transform: translateY(-1px); } .privacy-modal-actions .btn-accept { background-color: #4CAF50; color: white; } .privacy-modal-actions .btn-accept:hover { background-color: #45a049; } .privacy-modal-actions .btn-decline { background-color: #f44336; color: white; } .privacy-modal-actions .btn-decline:hover { background-color: #da190b; } .privacy-modal-actions .btn-settings, .privacy-modal-actions .btn-back { background-color: #007bff; color: white; } .privacy-modal-actions .btn-settings:hover, .privacy-modal-actions .btn-back:hover { background-color: #0056b3; } .privacy-modal-actions .btn-save { background-color: #673AB7; color: white; width: 100%; } .privacy-modal-actions .btn-save:hover { background-color: #5e35b1; } .privacy-modal-settings { display: none; padding-top: 15px; } .cookie-preference { margin-bottom: 20px; padding: 15px; background-color: #ffffff; border-radius: 10px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); } .cookie-preference:last-child { margin-bottom: 0; } .cookie-preference h4 { margin-top: 0; margin-bottom: 10px; font-size: 1.1em; color: #333; display: flex; align-items: center; justify-content: space-between; } .cookie-preference h4 label { cursor: pointer; flex-grow: 1; } .cookie-preference .toggle-switch { position: relative; display: inline-block; width: 40px; height: 24px; margin-left: 10px; } .toggle-switch input { opacity: 0; width: 0; height: 0; } .toggle-switch .slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #ccc; transition: .4s; border-radius: 34px; } .toggle-switch .slider:before { position: absolute; content: ""; height: 16px; width: 16px; left: 4px; bottom: 4px; background-color: white; transition: .4s; border-radius: 50%; } .toggle-switch input:checked + .slider { background-color: #4CAF50; } .toggle-switch input:focus + .slider { box-shadow: 0 0 1px #4CAF50; } .toggle-switch input:checked + .slider:before { transform: translateX(16px); } .cookie-preference p { font-size: 0.85em; color: #666; margin-top: 5px; } .cookie-preference.disabled .toggle-switch input { cursor: not-allowed; } .cookie-preference.disabled .toggle-switch .slider { background-color: #e0e0e0; cursor: not-allowed; } .cookie-preference.disabled .toggle-switch input:checked + .slider { background-color: #a5d6a7; } .cookie-preference.disabled .toggle-switch .slider:before { background-color: #f0f0f0; } @media (max-width: 768px) { .privacy-modal { bottom: 15px; left: 15px; right: 15px; max-width: calc(100% - 30px); } .privacy-modal-banner, .privacy-modal-settings { padding: 20px; } .privacy-modal-banner h3, .privacy-modal-settings h3 { font-size: 1.3em; } .privacy-modal-banner p, .privacy-modal-settings p { font-size: 0.9em; } .privacy-modal-actions button { padding: 10px 15px; font-size: 0.85em; } .privacy-modal-actions { flex-direction: column; } .cookie-preference h4 { font-size: 1em; } .cookie-preference p { font-size: 0.8em; } } @media (max-width: 480px) { .privacy-modal { bottom: 10px; left: 10px; right: 10px; max-width: calc(100% - 20px); } .privacy-modal-banner, .privacy-modal-settings { padding: 15px; } .privacy-modal-banner h3, .privacy-modal-settings h3 { font-size: 1.2em; } .privacy-modal-banner p, .privacy-modal-settings p { font-size: 0.85em; } .privacy-modal-actions button { padding: 8px 12px; font-size: 0.8em; } .cookie-preference h4 { font-size: 0.95em; } .cookie-preference p { font-size: 0.75em; } }