#privacy-consent-popup { position: fixed; bottom: 20px; right: 20px; left: 20px; max-width: 450px; margin: 0 auto; z-index: 9999; background: #fff; border-radius: 12px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15); font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; color: #333; animation: fadeIn 0.5s ease-out; } @keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } } .popup-content { padding: 25px; } .popup-title { font-size: 1.6em; color: #2c3e50; margin-top: 0; margin-bottom: 15px; text-align: center; } .popup-description { font-size: 0.95em; line-height: 1.6; margin-bottom: 20px; color: #555; } .privacy-link { color: #007bff; text-decoration: none; font-weight: 500; } .privacy-link:hover { text-decoration: underline; } .popup-actions { display: flex; gap: 10px; margin-bottom: 15px; flex-wrap: wrap; justify-content: center; } .btn { padding: 10px 20px; border: none; border-radius: 8px; cursor: pointer; font-size: 0.9em; font-weight: 600; transition: background-color 0.3s ease, transform 0.2s ease; flex-grow: 1; text-align: center; } .btn:hover { transform: translateY(-2px); } .primary-btn { background-color: #007bff; color: #fff; } .primary-btn:hover { background-color: #0056b3; } .secondary-btn { background-color: #e0e0e0; color: #333; } .secondary-btn:hover { background-color: #d0d0d0; } .full-width-btn { width: 100%; margin-top: 15px; } .preferences-panel { border-top: 1px solid #eee; padding-top: 20px; margin-top: 20px; } .preference-category { margin-bottom: 18px; padding-bottom: 15px; border-bottom: 1px dashed #f0f0f0; } .preference-category:last-of-type { border-bottom: none; margin-bottom: 0; padding-bottom: 0; } .category-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; } .category-header h3 { font-size: 1.1em; color: #333; margin: 0; } .category-description { font-size: 0.85em; color: #777; line-height: 1.5; padding-left: 5px; } .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; } .slider:before { position: absolute; content: ""; height: 17px; width: 17px; left: 4px; bottom: 4px; background-color: white; transition: 0.4s; } input:checked + .slider { background-color: #007bff; } input:focus + .slider { box-shadow: 0 0 1px #007bff; } input:checked + .slider:before { transform: translateX(20px); } .slider.round { border-radius: 25px; } .slider.round:before { border-radius: 50%; } input:disabled + .slider { opacity: 0.6; cursor: not-allowed; } @media (min-width: 768px) { #privacy-consent-popup { bottom: 30px; right: 30px; left: auto; } } @media (max-width: 480px) { .popup-title { font-size: 1.4em; } .popup-description { font-size: 0.9em; } .btn { padding: 8px 15px; font-size: 0.85em; } .popup-actions { flex-direction: column; } #privacy-consent-popup { bottom: 10px; left: 10px; right: 10px; } }