.privacy-consent-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.6); z-index: 9999; } #privacy-consent-modal { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; position: fixed; bottom: 20px; right: 20px; width: calc(100% - 40px); max-width: 450px; background: #ffffff; border-radius: 12px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); z-index: 10000; color: #333; animation: fadeIn 0.3s ease-out; display: flex; flex-direction: column; } @keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } } .privacy-consent-box { padding: 25px; display: flex; flex-direction: column; width: 100%; box-sizing: border-box; } .privacy-consent-main-content h2 { font-size: 1.5em; margin-top: 0; margin-bottom: 15px; color: #1a1a1a; } .privacy-consent-main-content p { font-size: 0.95em; line-height: 1.5; margin-bottom: 20px; color: #555; } .privacy-consent-actions { display: flex; flex-wrap: wrap; gap: 10px; } .privacy-consent-btn { padding: 12px 20px; border: none; border-radius: 8px; cursor: pointer; font-size: 0.9em; font-weight: 600; transition: background-color 0.2s ease, transform 0.2s ease; flex-grow: 1; text-align: center; } .privacy-consent-btn-primary { background-color: #007bff; color: #ffffff; } .privacy-consent-btn-primary:hover { background-color: #0056b3; transform: translateY(-2px); } .privacy-consent-btn-secondary { background-color: #e0e0e0; color: #333; } .privacy-consent-btn-secondary:hover { background-color: #c0c0c0; transform: translateY(-2px); } .privacy-consent-btn:not(.privacy-consent-btn-primary):not(.privacy-consent-btn-secondary) { background-color: #f0f0f0; color: #333; } .privacy-consent-btn:not(.privacy-consent-btn-primary):not(.privacy-consent-btn-secondary):hover { background-color: #d0d0d0; transform: translateY(-2px); } .privacy-consent-settings { margin-top: 20px; } .privacy-consent-settings h3 { font-size: 1.3em; margin-top: 0; margin-bottom: 20px; color: #1a1a1a; border-bottom: 1px solid #eee; padding-bottom: 10px; } .privacy-consent-setting-item { margin-bottom: 20px; padding-bottom: 15px; border-bottom: 1px solid #f5f5f5; } .privacy-consent-setting-item:last-of-type { border-bottom: none; margin-bottom: 0; padding-bottom: 0; } .privacy-consent-setting-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; } .privacy-consent-setting-header h4 { font-size: 1.1em; margin: 0; color: #333; } .privacy-consent-setting-item p { font-size: 0.85em; color: #666; line-height: 1.4; margin-top: 5px; } .privacy-consent-status { font-size: 0.8em; font-weight: 600; color: #888; } .privacy-consent-switch { position: relative; display: inline-block; width: 45px; height: 25px; } .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: 0.4s; } .privacy-consent-slider:before { position: absolute; content: ""; height: 19px; width: 19px; left: 3px; bottom: 3px; background-color: white; transition: 0.4s; } 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(20px); } .privacy-consent-slider.round { border-radius: 25px; } .privacy-consent-slider.round:before { border-radius: 50%; } .privacy-consent-settings-actions { margin-top: 25px; text-align: right; } .privacy-consent-settings-actions .privacy-consent-btn { width: auto; flex-grow: 0; } @media (max-width: 768px) { #privacy-consent-modal { bottom: 10px; right: 10px; left: 10px; max-width: none; width: calc(100% - 20px); } .privacy-consent-actions { flex-direction: column; } .privacy-consent-btn { width: 100%; } } @media (max-width: 480px) { #privacy-consent-modal { bottom: 0; left: 0; right: 0; border-radius: 12px 12px 0 0; } .privacy-consent-box { padding: 20px; } .privacy-consent-main-content h2 { font-size: 1.3em; } .privacy-consent-main-content p { font-size: 0.9em; } .privacy-consent-btn { padding: 10px 15px; font-size: 0.85em; } }