#user-consent-modal { 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; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .user-consent-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(5px); } .user-consent-content { background: linear-gradient(135deg, #f0f4f8, #e0e8f0); border-radius: 16px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(255, 255, 255, 0.3) inset; padding: 30px; max-width: 90%; width: 500px; position: relative; z-index: 1001; color: #333; animation: fadeInScale 0.3s ease-out forwards; } @keyframes fadeInScale { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: scale(1); } } .consent-title { font-size: 1.8em; color: #2c3e50; margin-bottom: 15px; text-align: center; } .consent-description, .settings-description, .category-description { font-size: 0.95em; line-height: 1.6; color: #555; margin-bottom: 20px; } .privacy-link { color: #007bff; text-decoration: none; font-weight: 500; } .privacy-link:hover { text-decoration: underline; } .consent-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; } .consent-button { padding: 12px 20px; border: none; border-radius: 8px; cursor: pointer; font-size: 1em; font-weight: 600; transition: all 0.2s ease; min-width: 120px; } .consent-button.accept-all { background: linear-gradient(45deg, #28a745, #218838); color: white; box-shadow: 0 4px 10px rgba(40, 167, 69, 0.3); } .consent-button.accept-all:hover { background: linear-gradient(45deg, #218838, #1e7e34); box-shadow: 0 6px 15px rgba(40, 167, 69, 0.4); } .consent-button.decline { background: linear-gradient(45deg, #dc3545, #c82333); color: white; box-shadow: 0 4px 10px rgba(220, 53, 69, 0.3); } .consent-button.decline:hover { background: linear-gradient(45deg, #c82333, #bd2130); box-shadow: 0 6px 15px rgba(220, 53, 69, 0.4); } .consent-button.manage-settings, .consent-button.save-preferences, .consent-button.back-to-main { background: linear-gradient(45deg, #007bff, #0056b3); color: white; box-shadow: 0 4px 10px rgba(0, 123, 255, 0.3); } .consent-button.manage-settings:hover, .consent-button.save-preferences:hover, .consent-button.back-to-main:hover { background: linear-gradient(45deg, #0056b3, #004085); box-shadow: 0 6px 15px rgba(0, 123, 255, 0.4); } .consent-settings-panel { display: none; } .settings-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; border-bottom: 1px solid #ddd; padding-bottom: 10px; } .settings-title { font-size: 1.5em; color: #2c3e50; margin: 0; } .settings-close-btn { background: none; border: none; font-size: 1.2em; cursor: pointer; color: #777; transition: color 0.2s ease; padding: 5px 10px; border-radius: 5px; } .settings-close-btn:hover { color: #333; background-color: #f0f0f0; } .cookie-categories { margin-bottom: 20px; } .cookie-category { background-color: #ffffff; border: 1px solid #e0e8f0; border-radius: 10px; padding: 15px; margin-bottom: 15px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); } .category-header { display: flex; align-items: center; margin-bottom: 10px; } .category-name { font-weight: 600; color: #2c3e50; margin-left: 10px; } .toggle-switch { position: relative; display: inline-block; width: 40px; height: 24px; } .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: .4s; border-radius: 24px; } .slider:before { position: absolute; content: ""; height: 16px; width: 16px; left: 4px; bottom: 4px; background-color: white; transition: .4s; border-radius: 50%; } input:checked + .slider { background-color: #28a745; } input:focus + .slider { box-shadow: 0 0 1px #28a745; } input:checked + .slider:before { transform: translateX(16px); } input:disabled + .slider { background-color: #a0a0a0; cursor: not-allowed; } input:disabled + .slider:before { background-color: #e0e0e0; } .settings-footer { display: flex; justify-content: flex-end; gap: 10px; margin-top: 20px; border-top: 1px solid #ddd; padding-top: 15px; } @media (max-width: 768px) { .user-consent-content { width: 95%; padding: 20px; } .consent-title { font-size: 1.5em; } .consent-description, .settings-description, .category-description { font-size: 0.9em; } .consent-actions, .settings-footer { flex-direction: column; align-items: stretch; } .consent-button { min-width: unset; width: 100%; } .settings-title { font-size: 1.3em; } } @media (max-width: 480px) { .user-consent-content { border-radius: 10px; padding: 15px; } .consent-title { font-size: 1.3em; } .settings-title { font-size: 1.2em; } }