.privacy-consent-popup { position: fixed; top: 0; left: 0; width: 100%; height: 100%; display: flex; justify-content: center; align-items: center; z-index: 1000; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; } .privacy-consent-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.6); backdrop-filter: blur(4px); } .privacy-consent-box { background-color: #ffffff; border-radius: 12px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); width: 90%; max-width: 550px; position: relative; z-index: 1001; display: flex; flex-direction: column; overflow: hidden; transform: translateY(0); transition: transform 0.3s ease-out; } .privacy-consent-header { padding: 20px 25px; background-color: #f8f8f8; border-bottom: 1px solid #eee; display: flex; justify-content: space-between; align-items: center; } .privacy-consent-header h3 { margin: 0; color: #333; font-size: 1.3em; } .privacy-consent-close-btn { background: none; border: none; font-size: 1.8em; color: #888; cursor: pointer; line-height: 1; padding: 0 5px; transition: color 0.2s ease; } .privacy-consent-close-btn:hover { color: #333; } .privacy-consent-body { padding: 25px; max-height: 60vh; overflow-y: auto; color: #555; font-size: 0.95em; line-height: 1.6; } .privacy-consent-body p:last-child { margin-bottom: 0; } .privacy-consent-preferences-section { margin-top: 20px; padding-top: 20px; border-top: 1px solid #eee; } .privacy-consent-preference-item { margin-bottom: 20px; } .privacy-consent-preference-item:last-child { margin-bottom: 0; } .privacy-consent-item-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; } .privacy-consent-item-header h4 { margin: 0; color: #333; font-size: 1.1em; } .privacy-consent-switch { position: relative; display: inline-block; width: 48px; height: 28px; } .privacy-consent-switch input { opacity: 0; width: 0; height: 0; } .privacy-consent-slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #ccc; transition: .4s; } .privacy-consent-slider:before { position: absolute; content: ""; height: 20px; width: 20px; left: 4px; bottom: 4px; background-color: white; transition: .4s; } input:checked + .privacy-consent-slider { background-color: #4CAF50; } input:focus + .privacy-consent-slider { box-shadow: 0 0 1px #4CAF50; } input:checked + .privacy-consent-slider:before { transform: translateX(20px); } input:disabled + .privacy-consent-slider { background-color: #a0a0a0; cursor: not-allowed; } input:disabled + .privacy-consent-slider:before { background-color: #e0e0e0; } .privacy-consent-slider.round { border-radius: 28px; } .privacy-consent-slider.round:before { border-radius: 50%; } .privacy-consent-footer { padding: 15px 25px; background-color: #f8f8f8; border-top: 1px solid #eee; display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; } .privacy-consent-btn { padding: 10px 18px; border-radius: 8px; border: none; cursor: pointer; font-size: 0.9em; font-weight: 600; transition: background-color 0.2s ease, color 0.2s ease; } .privacy-consent-accept-btn, .privacy-consent-save-btn { background-color: #007bff; color: #fff; } .privacy-consent-accept-btn:hover, .privacy-consent-save-btn:hover { background-color: #0056b3; } .privacy-consent-reject-btn { background-color: #dc3545; color: #fff; } .privacy-consent-reject-btn:hover { background-color: #c82333; } .privacy-consent-settings-btn { background-color: #6c757d; color: #fff; } .privacy-consent-settings-btn:hover { background-color: #5a6268; } @media (max-width: 768px) { .privacy-consent-box { width: 95%; max-width: none; margin: 20px; } .privacy-consent-header, .privacy-consent-body, .privacy-consent-footer { padding: 15px 20px; } .privacy-consent-header h3 { font-size: 1.2em; } .privacy-consent-close-btn { font-size: 1.5em; } .privacy-consent-body { font-size: 0.9em; } .privacy-consent-footer { flex-direction: column; gap: 8px; } .privacy-consent-btn { width: 100%; text-align: center; padding: 12px 18px; } } @media (max-width: 480px) { .privacy-consent-box { border-radius: 8px; } .privacy-consent-header, .privacy-consent-body, .privacy-consent-footer { padding: 12px 15px; } .privacy-consent-header h3 { font-size: 1.1em; } .privacy-consent-close-btn { font-size: 1.4em; } .privacy-consent-body { font-size: 0.85em; } }