#privacy-modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; z-index: 1000; font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .cookie-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.6); backdrop-filter: blur(5px); } .cookie-content { background-color: #ffffff; border-radius: 12px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25); max-width: 500px; width: 90%; position: relative; z-index: 1001; overflow: hidden; animation: fadeIn 0.3s ease-out; } .cookie-banner-initial, .cookie-settings-panel { padding: 25px; } .cookie-banner-initial h2, .cookie-settings-panel h2 { font-size: 1.6em; color: #333; margin-bottom: 15px; line-height: 1.3; } .cookie-banner-initial p, .cookie-settings-panel p { font-size: 0.95em; color: #555; line-height: 1.6; margin-bottom: 20px; } .cookie-actions, .cookie-settings-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; } .cookie-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.1s ease; flex-grow: 1; min-width: 120px; } .cookie-accept-all { background-color: #4CAF50; color: #fff; } .cookie-accept-all:hover { background-color: #45a049; transform: translateY(-1px); } .cookie-reject-all { background-color: #f44336; color: #fff; } .cookie-reject-all:hover { background-color: #da3d30; transform: translateY(-1px); } .cookie-manage-prefs, .cookie-save-prefs { background-color: #007bff; color: #fff; } .cookie-manage-prefs:hover, .cookie-save-prefs:hover { background-color: #0069d9; transform: translateY(-1px); } .cookie-close-btn { position: absolute; top: 15px; right: 15px; background: none; border: none; font-size: 1.5em; color: #aaa; cursor: pointer; line-height: 1; padding: 5px; transition: color 0.2s ease; } .cookie-close-btn:hover { color: #555; } .cookie-preference-group { margin-bottom: 25px; border-bottom: 1px solid #eee; padding-bottom: 20px; } .cookie-preference-group:last-of-type { border-bottom: none; margin-bottom: 0; padding-bottom: 0; } .cookie-preference-group h3 { font-size: 1.2em; color: #333; margin-bottom: 10px; } .cookie-preference-group p { font-size: 0.85em; color: #666; margin-bottom: 15px; } .cookie-toggle-switch { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 8px 0; } .cookie-toggle-switch .toggle-text-label { font-size: 0.9em; color: #444; flex-grow: 1; margin-right: 10px; } .cookie-toggle-switch input[type="checkbox"] { position: absolute; opacity: 0; width: 0; height: 0; } .cookie-toggle-switch .toggle-switch-handle { position: relative; display: inline-block; width: 48px; height: 28px; background-color: #ccc; border-radius: 14px; cursor: pointer; transition: background-color 0.2s; flex-shrink: 0; } .cookie-toggle-switch .toggle-switch-handle::after { content: ''; position: absolute; width: 20px; height: 20px; border-radius: 50%; background-color: #fff; top: 4px; left: 4px; transition: transform 0.2s; } .cookie-toggle-switch input[type="checkbox"]:checked + .toggle-switch-handle { background-color: #4CAF50; } .cookie-toggle-switch input[type="checkbox"]:checked + .toggle-switch-handle::after { transform: translateX(20px); } .cookie-toggle-switch input[type="checkbox"]:disabled + .toggle-switch-handle { cursor: not-allowed; opacity: 0.7; } .cookie-toggle-switch input[type="checkbox"]:disabled + .toggle-switch-handle::after { background-color: #eee; } @media (max-width: 768px) { .cookie-content { max-width: 95%; margin: 20px; } .cookie-banner-initial h2, .cookie-settings-panel h2 { font-size: 1.4em; } .cookie-banner-initial p, .cookie-settings-panel p { font-size: 0.9em; } .cookie-btn { padding: 10px 15px; font-size: 0.85em; min-width: unset; } .cookie-actions, .cookie-settings-actions { flex-direction: column; } } @media (max-width: 480px) { .cookie-content { border-radius: 8px; } .cookie-banner-initial, .cookie-settings-panel { padding: 20px; } .cookie-banner-initial h2, .cookie-settings-panel h2 { font-size: 1.2em; margin-bottom: 10px; } .cookie-banner-initial p, .cookie-settings-panel p { font-size: 0.8em; margin-bottom: 15px; } .cookie-btn { font-size: 0.8em; padding: 8px 12px; } .cookie-close-btn { font-size: 1.2em; top: 10px; right: 10px; } .cookie-preference-group h3 { font-size: 1.1em; } .cookie-preference-group p { font-size: 0.8em; } } @keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }