.user-consent-modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.6); z-index: 1000; display: flex; justify-content: center; align-items: center; opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease; } .user-consent-modal.show { opacity: 1; visibility: visible; } .user-consent-modal-content { background-color: #ffffff; border-radius: 12px; max-width: 500px; width: 90%; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15); padding: 25px; position: relative; transform: translateY(20px); transition: transform 0.3s ease; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; color: #333; } .user-consent-modal.show .user-consent-modal-content { transform: translateY(0); } .user-consent-modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; } .user-consent-modal-header h2 { font-size: 24px; color: #2c3e50; margin: 0; } .user-consent-modal-body p { font-size: 15px; line-height: 1.6; margin-bottom: 25px; } .user-consent-modal-buttons { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; } .user-consent-modal-buttons button, .user-consent-modal-settings-footer button { padding: 12px 20px; border-radius: 8px; border: none; font-size: 15px; cursor: pointer; transition: background-color 0.2s ease, transform 0.1s ease; font-weight: 600; } .user-consent-modal-buttons button.accept-all { background-color: #4CAF50; color: white; } .user-consent-modal-buttons button.accept-all:hover { background-color: #45a049; transform: translateY(-1px); } .user-consent-modal-buttons button.reject-all { background-color: #f44336; color: white; } .user-consent-modal-buttons button.reject-all:hover { background-color: #da190b; transform: translateY(-1px); } .user-consent-modal-buttons button.settings-btn { background-color: #e0e0e0; color: #333; } .user-consent-modal-buttons button.settings-btn:hover { background-color: #d5d5d5; transform: translateY(-1px); } .user-consent-modal-settings { display: none; } .user-consent-modal-settings-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; } .user-consent-modal-settings-header h2 { font-size: 22px; color: #2c3e50; margin: 0; } .user-consent-modal-settings-header .back-btn { background: none; border: none; color: #666; font-size: 14px; cursor: pointer; padding: 5px 10px; border-radius: 5px; transition: background-color 0.2s ease; } .user-consent-modal-settings-header .back-btn:hover { background-color: #f0f0f0; } .cookie-category { display: flex; justify-content: space-between; align-items: center; padding: 15px 0; border-bottom: 1px solid #eee; } .cookie-category:last-of-type { border-bottom: none; } .cookie-category-info h3 { font-size: 18px; margin: 0 0 5px 0; color: #333; } .cookie-category-info p { font-size: 13px; color: #666; margin: 0; line-height: 1.4; } .toggle-switch { position: relative; display: inline-block; width: 48px; height: 28px; } .toggle-switch input { opacity: 0; width: 0; height: 0; } .slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #ccc; transition: 0.4s; border-radius: 28px; } .slider:before { position: absolute; content: ''; height: 20px; width: 20px; left: 4px; bottom: 4px; background-color: white; transition: 0.4s; border-radius: 50%; } input:checked + .slider { background-color: #4CAF50; } input:focus + .slider { box-shadow: 0 0 1px #4CAF50; } input:checked + .slider:before { transform: translateX(20px); } input:disabled + .slider { opacity: 0.6; cursor: not-allowed; } .user-consent-modal-settings-footer { margin-top: 25px; display: flex; justify-content: flex-end; } .user-consent-modal-settings-footer button { background-color: #2196F3; color: white; } .user-consent-modal-settings-footer button:hover { background-color: #0b7dda; transform: translateY(-1px); } @media (max-width: 550px) { .user-consent-modal-content { padding: 20px; } .user-consent-modal-header h2 { font-size: 20px; } .user-consent-modal-body p { font-size: 14px; } .user-consent-modal-buttons { flex-direction: column; } .user-consent-modal-buttons button { width: 100%; } .cookie-category { flex-direction: column; align-items: flex-start; gap: 10px; } .cookie-category-info { width: 100%; } .cookie-category-info h3 { font-size: 16px; } .cookie-category-info p { font-size: 12px; } .toggle-switch { align-self: flex-end; } .user-consent-modal-settings-footer { justify-content: center; } .user-consent-modal-settings-footer button { width: 100%; } }