.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; } .privacy-consent-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.6); } .privacy-consent-box { background-color: #fff; border-radius: 12px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); width: 90%; max-width: 500px; padding: 25px; position: relative; z-index: 1001; max-height: 90vh; overflow-y: auto; } .privacy-consent-box h2 { font-size: 1.8em; margin-top: 0; margin-bottom: 15px; color: #2c3e50; text-align: center; } .privacy-consent-box p { font-size: 0.95em; line-height: 1.6; margin-bottom: 20px; text-align: center; } .privacy-consent-link { color: #007bff; text-decoration: none; font-weight: 500; } .privacy-consent-link:hover { text-decoration: underline; } .privacy-consent-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 20px; } .privacy-consent-btn { padding: 12px 25px; border: none; border-radius: 8px; cursor: pointer; font-size: 1em; font-weight: 600; transition: background-color 0.3s ease, color 0.3s ease; } .privacy-consent-accept-all { background-color: #28a745; color: #fff; } .privacy-consent-accept-all:hover { background-color: #218838; } .privacy-consent-manage-btn, .privacy-consent-save-btn, .privacy-consent-back-btn { background-color: #007bff; color: #fff; } .privacy-consent-manage-btn:hover, .privacy-consent-save-btn:hover, .privacy-consent-back-btn:hover { background-color: #0056b3; } .privacy-consent-settings-view h2 { font-size: 1.6em; margin-bottom: 20px; text-align: left; } .privacy-consent-category { margin-bottom: 20px; padding-bottom: 15px; border-bottom: 1px solid #eee; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; } .privacy-consent-category:last-child { border-bottom: none; } .privacy-consent-category h3 { font-size: 1.2em; margin: 0; color: #34495e; flex-basis: 100%; } .privacy-consent-category p { font-size: 0.85em; color: #555; margin: 5px 0 10px 0; text-align: left; flex-basis: 100%; } .privacy-consent-switch { position: relative; display: inline-block; width: 50px; height: 28px; flex-shrink: 0; } .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: 28px; } .privacy-consent-slider:before { position: absolute; content: ""; height: 20px; width: 20px; left: 4px; bottom: 4px; background-color: white; transition: .4s; border-radius: 50%; } input:checked + .privacy-consent-slider { background-color: #28a745; } input:focus + .privacy-consent-slider { box-shadow: 0 0 1px #28a745; } 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: #e0e0e0; } @media (min-width: 768px) { .privacy-consent-box { padding: 35px; } .privacy-consent-box h2 { font-size: 2em; } .privacy-consent-box p { font-size: 1em; } .privacy-consent-actions { flex-wrap: nowrap; } .privacy-consent-btn { padding: 12px 30px; } .privacy-consent-category h3 { flex-basis: auto; } .privacy-consent-category p { flex-basis: calc(100% - 70px); } } @media (max-width: 480px) { .privacy-consent-box { width: 95%; margin: 10px; padding: 20px; } .privacy-consent-box h2 { font-size: 1.5em; } .privacy-consent-box p { font-size: 0.9em; } .privacy-consent-actions { flex-direction: column; } .privacy-consent-btn { width: 100%; } .privacy-consent-category { flex-direction: column; align-items: flex-start; } .privacy-consent-category p { margin-bottom: 10px; } }