.user-consent-overlay { 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: 1000; opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease; } .user-consent-modal.is-open { opacity: 1; visibility: visible; } .user-consent-modal-content { background: linear-gradient(135deg, #f0f4f8, #e0e8f0); border-radius: 12px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); width: 90%; max-width: 600px; max-height: 90vh; overflow-y: auto; padding: 25px; box-sizing: border-box; font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; color: #333; position: relative; transform: translateY(20px); opacity: 0; transition: transform 0.3s ease, opacity 0.3s ease; } .user-consent-modal.is-open .user-consent-modal-content { transform: translateY(0); opacity: 1; } .user-consent-modal h2 { font-size: 1.8em; color: #2c3e50; margin-bottom: 15px; text-align: center; } .user-consent-modal p { font-size: 0.95em; line-height: 1.6; margin-bottom: 20px; color: #555; } .user-consent-modal .cookie-options { margin-top: 20px; border-top: 1px solid #e0e0e0; padding-top: 20px; display: none; } .user-consent-modal .cookie-option { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; padding: 10px 0; border-bottom: 1px solid #eee; } .user-consent-modal .cookie-option:last-child { border-bottom: none; } .user-consent-modal .cookie-option div { flex-grow: 1; } .user-consent-modal .cookie-option h3 { font-size: 1.1em; margin: 0 0 5px 0; color: #34495e; } .user-consent-modal .cookie-option p { font-size: 0.85em; margin: 0; color: #777; } .user-consent-modal .toggle-switch { position: relative; display: inline-block; width: 48px; height: 24px; margin-left: 15px; flex-shrink: 0; } .user-consent-modal .toggle-switch input { opacity: 0; width: 0; height: 0; } .user-consent-modal .slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #ccc; transition: 0.4s; border-radius: 24px; } .user-consent-modal .slider:before { position: absolute; content: ""; height: 18px; width: 18px; left: 3px; bottom: 3px; background-color: white; transition: 0.4s; border-radius: 50%; } .user-consent-modal .toggle-switch input:checked + .slider { background-color: #4CAF50; } .user-consent-modal .toggle-switch input:focus + .slider { box-shadow: 0 0 1px #4CAF50; } .user-consent-modal .toggle-switch input:checked + .slider:before { transform: translateX(24px); } .user-consent-modal .toggle-switch input:disabled + .slider { background-color: #a0a0a0; cursor: not-allowed; } .user-consent-modal .toggle-switch input:disabled + .slider:before { background-color: #f0f0f0; } .user-consent-modal .button-group { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 25px; } .user-consent-modal button { padding: 12px 20px; border: none; border-radius: 8px; cursor: pointer; font-size: 1em; font-weight: 600; transition: background-color 0.3s ease, transform 0.2s ease; flex-grow: 1; max-width: 200px; } .user-consent-modal .btn-accept-all { background-color: #28a745; color: white; } .user-consent-modal .btn-accept-all:hover { background-color: #218838; transform: translateY(-2px); } .user-consent-modal .btn-save-pref { background-color: #007bff; color: white; } .user-consent-modal .btn-save-pref:hover { background-color: #0056b3; transform: translateY(-2px); } .user-consent-modal .btn-manage-pref { background-color: #6c757d; color: white; } .user-consent-modal .btn-manage-pref:hover { background-color: #5a6268; transform: translateY(-2px); } .user-consent-modal .btn-reject-all { background-color: #dc3545; color: white; } .user-consent-modal .btn-reject-all:hover { background-color: #c82333; transform: translateY(-2px); } .user-consent-modal .privacy-link { display: block; text-align: center; margin-top: 20px; font-size: 0.9em; color: #007bff; text-decoration: none; transition: color 0.3s ease; } .user-consent-modal .privacy-link:hover { color: #0056b3; text-decoration: underline; } @media (max-width: 768px) { .user-consent-modal-content { width: 95%; padding: 20px; } .user-consent-modal h2 { font-size: 1.5em; } .user-consent-modal p { font-size: 0.9em; } .user-consent-modal .cookie-option { flex-direction: column; align-items: flex-start; } .user-consent-modal .toggle-switch { margin-left: 0; margin-top: 10px; } .user-consent-modal .button-group button { max-width: none; width: 100%; } } @media (max-width: 480px) { .user-consent-modal-content { padding: 15px; } .user-consent-modal h2 { font-size: 1.3em; } .user-consent-modal p { font-size: 0.85em; } .user-consent-modal .button-group { flex-direction: column; } }