.privacy-modal-backdrop { 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: 9999; opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease; } .privacy-modal-backdrop.is-visible { opacity: 1; visibility: visible; } .privacy-modal-content { background-color: #fff; border-radius: 12px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); width: 90%; max-width: 600px; padding: 30px; box-sizing: border-box; font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; color: #333; position: relative; transform: translateY(20px); transition: transform 0.3s ease; } .privacy-modal-backdrop.is-visible .privacy-modal-content { transform: translateY(0); } .privacy-modal-main p { margin-bottom: 25px; line-height: 1.6; font-size: 15px; } .privacy-modal-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; } .privacy-modal-btn { padding: 12px 20px; border: none; border-radius: 8px; cursor: pointer; font-size: 14px; font-weight: 600; transition: background-color 0.2s ease, color 0.2s ease; } .privacy-modal-accept-all { background-color: #4CAF50; color: #fff; } .privacy-modal-accept-all:hover { background-color: #45a049; } .privacy-modal-reject-all { background-color: #f44336; color: #fff; } .privacy-modal-reject-all:hover { background-color: #e53935; } .privacy-modal-manage-btn { background-color: #e0e0e0; color: #555; } .privacy-modal-manage-btn:hover { background-color: #d5d5d5; } .privacy-modal-settings h3 { margin-top: 0; margin-bottom: 20px; color: #222; font-size: 22px; } .privacy-modal-settings-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; padding-bottom: 15px; border-bottom: 1px solid #eee; } .privacy-modal-close-btn { background: none; border: none; font-size: 16px; color: #777; cursor: pointer; padding: 5px 10px; border-radius: 5px; transition: background-color 0.2s ease; } .privacy-modal-close-btn:hover { background-color: #f0f0f0; } .privacy-modal-setting-item { display: flex; flex-wrap: wrap; align-items: center; margin-bottom: 20px; padding: 15px; background-color: #f9f9f9; border-radius: 8px; border: 1px solid #eee; } .privacy-modal-setting-item h4 { margin: 0 0 5px 15px; flex-basis: calc(100% - 70px); font-size: 16px; color: #333; } .privacy-modal-setting-item p { font-size: 13px; color: #666; margin: 0; padding-left: 70px; flex-basis: 100%; line-height: 1.5; } .privacy-modal-toggle { position: relative; display: inline-block; width: 50px; height: 28px; margin-right: 15px; flex-shrink: 0; } .privacy-modal-toggle input { opacity: 0; width: 0; height: 0; } .privacy-modal-slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #ccc; transition: .4s; border-radius: 28px; } .privacy-modal-slider:before { position: absolute; content: ""; height: 20px; width: 20px; left: 4px; bottom: 4px; background-color: white; transition: .4s; border-radius: 50%; } input:checked + .privacy-modal-slider { background-color: #2196F3; } input:focus + .privacy-modal-slider { box-shadow: 0 0 1px #2196F3; } input:checked + .privacy-modal-slider:before { transform: translateX(22px); } input:disabled + .privacy-modal-slider { background-color: #a0a0a0; cursor: not-allowed; } input:disabled + .privacy-modal-slider:before { background-color: #f0f0f0; } .privacy-modal-settings-footer { margin-top: 25px; text-align: right; } .privacy-modal-save-preferences { background-color: #007bff; color: #fff; } .privacy-modal-save-preferences:hover { background-color: #0056b3; } @media (max-width: 768px) { .privacy-modal-content { width: 95%; padding: 20px; } .privacy-modal-actions { flex-direction: column; align-items: stretch; } .privacy-modal-btn { width: 100%; text-align: center; } .privacy-modal-setting-item { flex-direction: column; align-items: flex-start; } .privacy-modal-setting-item h4 { margin: 10px 0 5px 0; padding-left: 0; flex-basis: auto; } .privacy-modal-setting-item p { padding-left: 0; margin-top: 5px; } .privacy-modal-toggle { margin-right: 0; } }