#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; color: #333; overflow-y: auto; } .privacy-consent-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.6); backdrop-filter: blur(5px); } .privacy-consent-content { background-color: #ffffff; border-radius: 12px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25); width: 90%; max-width: 600px; margin: 20px; position: relative; z-index: 1001; display: flex; flex-direction: column; max-height: 90vh; overflow-y: auto; } .privacy-consent-header { padding: 20px 25px; border-bottom: 1px solid #eee; background-color: #f8f8f8; border-top-left-radius: 12px; border-top-right-radius: 12px; } .privacy-consent-header h3 { margin: 0; font-size: 1.5em; color: #222; } .privacy-consent-body { padding: 25px; flex-grow: 1; } .privacy-consent-body p { font-size: 0.95em; line-height: 1.6; margin-bottom: 15px; } .privacy-consent-policy-link { color: #007bff; text-decoration: none; font-size: 0.9em; margin-top: -10px; display: inline-block; margin-bottom: 20px; } .privacy-consent-policy-link:hover { text-decoration: underline; } .privacy-consent-settings-toggle { text-align: right; margin-bottom: 20px; } .privacy-consent-settings-btn { background-color: #e0e0e0; color: #555; border: none; padding: 10px 18px; border-radius: 8px; cursor: pointer; font-size: 0.9em; transition: background-color 0.2s ease, color 0.2s ease; } .privacy-consent-settings-btn:hover { background-color: #d0d0d0; color: #333; } .privacy-consent-categories { margin-top: 15px; border-top: 1px solid #eee; padding-top: 20px; } .privacy-consent-category { margin-bottom: 20px; padding-bottom: 15px; border-bottom: 1px dashed #f0f0f0; } .privacy-consent-category:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; } .privacy-consent-category-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; } .privacy-consent-category-header h4 { margin: 0; font-size: 1.1em; color: #444; } .privacy-consent-status { font-weight: bold; color: #28a745; margin-left: 10px; font-size: 0.85em; } .privacy-consent-switch { position: relative; display: inline-block; width: 48px; height: 26px; } .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; border-radius: 26px; } .privacy-consent-slider:before { position: absolute; content: ""; height: 20px; width: 20px; left: 3px; bottom: 3px; background-color: white; transition: .4s; border-radius: 50%; } input:checked + .privacy-consent-slider { background-color: #007bff; } input:focus + .privacy-consent-slider { box-shadow: 0 0 1px #007bff; } input:checked + .privacy-consent-slider:before { transform: translateX(22px); } input:disabled + .privacy-consent-slider { background-color: #a0a0a0; cursor: not-allowed; } input:disabled + .privacy-consent-slider:before { background-color: #f0f0f0; } .privacy-consent-actions { display: flex; justify-content: flex-end; gap: 10px; padding: 20px 25px; border-top: 1px solid #eee; background-color: #f8f8f8; border-bottom-left-radius: 12px; border-bottom-right-radius: 12px; } .privacy-consent-btn { padding: 12px 22px; border: none; border-radius: 8px; cursor: pointer; font-size: 1em; font-weight: 600; transition: background-color 0.2s ease, color 0.2s ease, transform 0.1s ease; } .privacy-consent-btn:active { transform: translateY(1px); } .privacy-consent-accept-all { background-color: #007bff; color: white; } .privacy-consent-accept-all:hover { background-color: #0056b3; } .privacy-consent-save-settings { background-color: #6c757d; color: white; } .privacy-consent-save-settings:hover { background-color: #5a6268; } .privacy-consent-reject-all { background-color: #dc3545; color: white; } .privacy-consent-reject-all:hover { background-color: #c82333; } @media (max-width: 768px) { .privacy-consent-content { width: 95%; margin: 10px; } .privacy-consent-header h3 { font-size: 1.3em; } .privacy-consent-body p { font-size: 0.9em; } .privacy-consent-actions { flex-direction: column; gap: 8px; } .privacy-consent-btn { width: 100%; padding: 10px 15px; font-size: 0.95em; } .privacy-consent-settings-toggle { text-align: center; } } @media (max-width: 480px) { .privacy-consent-header { padding: 15px 20px; } .privacy-consent-body { padding: 20px; } .privacy-consent-actions { padding: 15px 20px; } .privacy-consent-category-header { flex-direction: column; align-items: flex-start; } .privacy-consent-category-header h4 { margin-bottom: 8px; } .privacy-consent-switch { align-self: flex-end; } }