#privacy-consent-popup { position: fixed; bottom: 0; left: 0; width: 100%; height: 100%; display: flex; align-items: flex-end; justify-content: center; z-index: 9999; pointer-events: none; opacity: 0; transition: opacity 0.3s ease-in-out; } #privacy-consent-popup.active { opacity: 1; pointer-events: auto; } .cookie-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.6); display: none; } .cookie-box-wrapper { background: linear-gradient(135deg, #f0f4f8, #e6e9ee); border-radius: 12px 12px 0 0; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2); width: 100%; max-width: 900px; margin: 0 auto; padding: 20px; box-sizing: border-box; transform: translateY(100%); transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94); position: relative; z-index: 10000; } #privacy-consent-popup.active .cookie-box-wrapper { transform: translateY(0); } .cookie-banner-content { text-align: center; color: #333; } .cookie-banner-content h3 { font-size: 1.2em; margin-bottom: 15px; color: #2c3e50; } .cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; } .cookie-btn { background-color: #4a90e2; color: white; border: none; padding: 12px 25px; border-radius: 8px; cursor: pointer; font-size: 0.95em; font-weight: 600; transition: background-color 0.3s ease, transform 0.2s ease; flex-grow: 1; max-width: 180px; } .cookie-btn:hover { background-color: #357ABD; transform: translateY(-2px); } .cookie-btn.reject-all { background-color: #d9534f; } .cookie-btn.reject-all:hover { background-color: #c9302c; } .cookie-btn.settings-btn { background-color: #6c757d; } .cookie-btn.settings-btn:hover { background-color: #5a6268; } .cookie-settings-panel { text-align: left; color: #333; max-height: 70vh; overflow-y: auto; padding-right: 10px; } .cookie-settings-panel h3 { font-size: 1.5em; margin-bottom: 20px; color: #2c3e50; text-align: center; } .cookie-preference-group { background-color: #ffffff; border-radius: 10px; padding: 15px 20px; margin-bottom: 15px; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08); } .cookie-preference-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; } .cookie-preference-header h4 { margin: 0; font-size: 1.1em; color: #34495e; } .cookie-preference-group p { font-size: 0.9em; line-height: 1.5; color: #555; } .cookie-toggle { position: relative; display: inline-block; width: 45px; height: 25px; } .cookie-toggle 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: 18px; width: 18px; left: 4px; bottom: 3.5px; background-color: white; transition: 0.4s; } input:checked + .slider { background-color: #4a90e2; } input:focus + .slider { box-shadow: 0 0 1px #4a90e2; } input:checked + .slider:before { transform: translateX(20px); } .slider.round { border-radius: 25px; } .slider.round:before { border-radius: 50%; } .cookie-toggle-status { font-size: 0.85em; color: #777; font-weight: 500; } .cookie-settings-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 20px; } .cookie-settings-actions .cookie-btn { flex-grow: 0; max-width: 180px; } .cookie-settings-actions .back-btn { background-color: #6c757d; } .cookie-settings-actions .back-btn:hover { background-color: #5a6268; } .cookie-settings-actions .save-preferences { background-color: #28a745; } .cookie-settings-actions .save-preferences:hover { background-color: #218838; } @media (min-width: 768px) { .cookie-box-wrapper { border-radius: 12px; margin-bottom: 20px; } #privacy-consent-popup { align-items: center; } .cookie-banner-content h3 { font-size: 1.35em; } .cookie-btn { padding: 14px 30px; font-size: 1em; } .cookie-actions { flex-wrap: nowrap; gap: 15px; } .cookie-settings-panel { max-height: 80vh; padding-right: 15px; } } @media (max-width: 767px) { .cookie-box-wrapper { border-radius: 12px 12px 0 0; padding: 15px; } .cookie-banner-content h3 { font-size: 1.1em; } .cookie-btn { padding: 10px 15px; font-size: 0.85em; max-width: none; } .cookie-actions { flex-direction: column; } .cookie-settings-panel h3 { font-size: 1.3em; } .cookie-preference-group { padding: 12px 15px; } .cookie-preference-header h4 { font-size: 1em; } .cookie-preference-group p { font-size: 0.85em; } .cookie-settings-actions { flex-direction: column-reverse; } .cookie-settings-actions .cookie-btn { max-width: none; } }