.privacy-consent-popup-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.6); display: flex; justify-content: center; align-items: center; z-index: 10000; opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease; } .privacy-consent-popup-overlay.active { opacity: 1; visibility: visible; } .privacy-consent-popup-content { background: #ffffff; border-radius: 12px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); width: 90%; max-width: 500px; max-height: 90vh; overflow-y: auto; padding: 25px; position: relative; transform: translateY(20px); transition: transform 0.3s ease; } .privacy-consent-popup-overlay.active .privacy-consent-popup-content { transform: translateY(0); } .privacy-consent-popup-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; border-bottom: 1px solid #eee; padding-bottom: 15px; } .privacy-consent-popup-header h2 { font-size: 1.6rem; color: #333; margin: 0; } .privacy-consent-popup-close { background: none; border: none; font-size: 1.8rem; color: #999; cursor: pointer; line-height: 1; padding: 0; } .privacy-consent-popup-body p { font-size: 1rem; line-height: 1.6; color: #555; margin-bottom: 20px; } .privacy-consent-popup-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; justify-content: flex-end; } .privacy-consent-popup-actions button { padding: 12px 20px; border-radius: 8px; font-size: 1rem; cursor: pointer; transition: background-color 0.2s ease, color 0.2s ease; flex-grow: 1; min-width: 120px; } .privacy-consent-popup-actions .accept-all-btn { background-color: #4CAF50; color: #fff; border: 1px solid #4CAF50; } .privacy-consent-popup-actions .accept-all-btn:hover { background-color: #45a049; } .privacy-consent-popup-actions .reject-all-btn { background-color: #f44336; color: #fff; border: 1px solid #f44336; } .privacy-consent-popup-actions .reject-all-btn:hover { background-color: #da190b; } .privacy-consent-popup-actions .settings-btn { background-color: #e0e0e0; color: #333; border: 1px solid #e0e0e0; } .privacy-consent-popup-actions .settings-btn:hover { background-color: #d5d5d5; } .privacy-consent-popup-settings { display: none; margin-top: 20px; padding-top: 20px; border-top: 1px solid #eee; } .privacy-consent-popup-settings.active { display: block; } .privacy-consent-popup-settings h3 { font-size: 1.4rem; color: #333; margin-bottom: 15px; } .privacy-consent-popup-category { margin-bottom: 15px; padding: 15px; background-color: #f9f9f9; border-radius: 8px; } .privacy-consent-popup-category-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; cursor: pointer; } .privacy-consent-popup-category-header h4 { font-size: 1.1rem; color: #333; margin: 0; } .privacy-consent-popup-category-header .toggle-arrow { font-size: 1.2rem; color: #777; transition: transform 0.2s ease; } .privacy-consent-popup-category-header.expanded .toggle-arrow { transform: rotate(90deg); } .privacy-consent-popup-category-description { font-size: 0.9rem; color: #666; line-height: 1.5; margin-top: 10px; display: none; } .privacy-consent-popup-category-description.active { display: block; } .privacy-consent-popup-category-toggle { display: flex; align-items: center; gap: 10px; } .privacy-consent-popup-category-toggle input[type="checkbox"] { position: relative; width: 40px; height: 22px; -webkit-appearance: none; -moz-appearance: none; appearance: none; background: #ccc; outline: none; border-radius: 11px; cursor: pointer; transition: background-color 0.2s; } .privacy-consent-popup-category-toggle input[type="checkbox"]:checked { background: #4CAF50; } .privacy-consent-popup-category-toggle input[type="checkbox"]::before { content: ''; position: absolute; width: 18px; height: 18px; border-radius: 50%; background: #fff; top: 2px; left: 2px; transition: left 0.2s; } .privacy-consent-popup-category-toggle input[type="checkbox"]:checked::before { left: 20px; } .privacy-consent-popup-category-toggle input[type="checkbox"]:disabled { cursor: not-allowed; opacity: 0.7; } .privacy-consent-popup-category-toggle input[type="checkbox"]:disabled::before { background: #eee; } @media (max-width: 768px) { .privacy-consent-popup-content { width: 95%; padding: 20px; } .privacy-consent-popup-header h2 { font-size: 1.4rem; } .privacy-consent-popup-actions button { flex-basis: 100%; min-width: unset; } } @media (max-width: 480px) { .privacy-consent-popup-content { border-radius: 0; max-width: 100%; height: 100%; margin: 0; padding: 15px; } .privacy-consent-popup-header h2 { font-size: 1.2rem; } .privacy-consent-popup-body p { font-size: 0.9rem; } .privacy-consent-popup-settings h3 { font-size: 1.2rem; } .privacy-consent-popup-category-header h4 { font-size: 1rem; } .privacy-consent-popup-category-description { font-size: 0.85rem; } }