:root { --primary-color: #6a5acd; --text-color: #333; --bg-color: #f9f9f9; --border-color: #eee; --shadow-color: rgba(0, 0, 0, 0.1); } #privacy-consent-popup { display: none; 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; font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; } .privacy-consent-box { background-color: var(--bg-color); border-radius: 12px; box-shadow: 0 10px 30px var(--shadow-color); max-width: 500px; width: 90%; margin: 20px; overflow: hidden; position: relative; z-index: 10001; display: flex; flex-direction: column; } .privacy-consent-header { padding: 20px 25px; background-color: var(--primary-color); color: white; border-bottom: 1px solid rgba(255, 255, 255, 0.2); border-top-left-radius: 12px; border-top-right-radius: 12px; } .privacy-consent-header h3 { margin: 0; font-size: 1.5em; font-weight: 600; } .privacy-consent-body { padding: 25px; color: var(--text-color); flex-grow: 1; overflow-y: auto; max-height: 60vh; } .privacy-consent-description { margin-bottom: 20px; line-height: 1.6; font-size: 0.95em; } .privacy-consent-settings h4 { margin-top: 0; margin-bottom: 15px; font-size: 1.2em; color: var(--primary-color); } .privacy-consent-category { background-color: #fff; border: 1px solid var(--border-color); border-radius: 8px; padding: 15px; margin-bottom: 15px; transition: all 0.2s ease-in-out; } .privacy-consent-category:hover { box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); } .category-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; font-weight: 600; font-size: 1em; } .category-description { font-size: 0.85em; color: #666; line-height: 1.5; } .toggle-switch { position: relative; display: inline-block; width: 40px; height: 24px; } .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: .4s; } .slider:before { position: absolute; content: ""; height: 16px; width: 16px; left: 4px; bottom: 4px; background-color: white; transition: .4s; } input:checked + .slider { background-color: var(--primary-color); } input:focus + .slider { box-shadow: 0 0 1px var(--primary-color); } input:checked + .slider:before { transform: translateX(16px); } .slider.round { border-radius: 24px; } .slider.round:before { border-radius: 50%; } input:disabled + .slider { opacity: 0.6; cursor: not-allowed; } .privacy-consent-actions { display: flex; justify-content: flex-end; gap: 10px; padding: 20px 25px; border-top: 1px solid var(--border-color); background-color: #fff; border-bottom-left-radius: 12px; border-bottom-right-radius: 12px; } .privacy-consent-actions button { padding: 10px 20px; border: none; border-radius: 8px; cursor: pointer; font-size: 0.9em; font-weight: 600; transition: background-color 0.2s ease, transform 0.1s ease; } .privacy-consent-actions button:active { transform: scale(0.98); } .btn-accept, .btn-save { background-color: var(--primary-color); color: white; } .btn-accept:hover, .btn-save:hover { background-color: #5a4ac0; } .btn-decline { background-color: #e0e0e0; color: var(--text-color); } .btn-decline:hover { background-color: #d0d0d0; } .btn-manage { background-color: transparent; color: var(--primary-color); border: 1px solid var(--primary-color); } .btn-manage:hover { background-color: rgba(106, 90, 205, 0.08); } @media (max-width: 768px) { .privacy-consent-box { max-width: 95%; margin: 10px; } .privacy-consent-header h3 { font-size: 1.3em; } .privacy-consent-body { padding: 20px; } .privacy-consent-actions { flex-direction: column; padding: 15px 20px; } .privacy-consent-actions button { width: 100%; margin-bottom: 8px; } .privacy-consent-actions button:last-child { margin-bottom: 0; } } @media (max-width: 480px) { .privacy-consent-header h3 { font-size: 1.2em; } .privacy-consent-body { padding: 15px; } .privacy-consent-description, .category-description { font-size: 0.9em; } .privacy-consent-actions button { font-size: 0.85em; padding: 12px 15px; } }