.cookie-consent-modal { display: none; position: fixed; bottom: 20px; right: 20px; width: calc(100% - 40px); max-width: 400px; background-color: #ffffff; border-radius: 12px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); z-index: 9999; overflow: hidden; font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; color: #333; transition: transform 0.3s ease-out, opacity 0.3s ease-out; transform: translateY(20px); opacity: 0; } .cookie-consent-modal.show { transform: translateY(0); opacity: 1; display: flex; flex-direction: column; } .cookie-main-panel, .cookie-settings-panel { padding: 25px; display: flex; flex-direction: column; gap: 15px; } .cookie-main-panel h3, .cookie-settings-panel h3 { margin: 0 0 10px 0; font-size: 1.4em; color: #2c3e50; } .cookie-main-panel p { margin: 0; font-size: 0.95em; line-height: 1.5; color: #555; } .cookie-buttons, .settings-footer { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 15px; } .cookie-buttons button, .settings-footer button, .settings-header button { 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-buttons button:hover, .settings-footer button:hover, .settings-header button:hover { transform: translateY(-1px); } .cookie-buttons .accept-all-btn, .settings-footer .save-preferences-btn { background-color: #4CAF50; color: #ffffff; } .cookie-buttons .accept-all-btn:hover, .settings-footer .save-preferences-btn:hover { background-color: #45a049; } .cookie-buttons .reject-all-btn { background-color: #f44336; color: #ffffff; } .cookie-buttons .reject-all-btn:hover { background-color: #da190b; } .cookie-buttons .manage-btn { background-color: #e0e0e0; color: #333; } .cookie-buttons .manage-btn:hover { background-color: #d5d5d5; } .cookie-settings-panel { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: #ffffff; transform: translateX(100%); transition: transform 0.3s ease-out; box-sizing: border-box; display: none; } .cookie-settings-panel.active { transform: translateX(0); display: flex; } .settings-header { display: flex; align-items: center; gap: 10px; margin-bottom: 15px; } .settings-header .back-btn { background: none; color: #2196F3; font-size: 1.1em; padding: 5px 10px; min-width: unset; flex-grow: 0; } .settings-header .back-btn:hover { text-decoration: underline; } .settings-header h3 { flex-grow: 1; margin: 0; } .settings-content { display: flex; flex-direction: column; gap: 20px; max-height: 300px; overflow-y: auto; padding-right: 5px; } .cookie-category { background-color: #f9f9f9; border-radius: 8px; padding: 15px; border: 1px solid #eee; } .cookie-category .category-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; } .cookie-category .category-header label { display: flex; align-items: center; font-weight: 600; cursor: pointer; font-size: 1em; color: #333; } .cookie-category .category-header input[type="checkbox"] { margin-right: 10px; -webkit-appearance: none; -moz-appearance: none; appearance: none; width: 20px; height: 20px; border: 2px solid #ccc; border-radius: 4px; outline: none; cursor: pointer; transition: background-color 0.2s, border-color 0.2s; } .cookie-category .category-header input[type="checkbox"]:checked { background-color: #4CAF50; border-color: #4CAF50; } .cookie-category .category-header input[type="checkbox"]:checked::before { content: '\2713'; display: block; color: #fff; font-size: 14px; text-align: center; line-height: 18px; } .cookie-category .category-description { font-size: 0.85em; color: #666; line-height: 1.4; } .cookie-category .category-header input[type="checkbox"]:disabled { opacity: 0.7; cursor: not-allowed; } @media (max-width: 768px) { .cookie-consent-modal { bottom: 0; left: 0; right: 0; width: 100%; max-width: none; border-radius: 12px 12px 0 0; } .cookie-buttons button, .settings-footer button { flex-basis: calc(50% - 5px); min-width: unset; } .cookie-buttons .accept-all-btn, .cookie-buttons .reject-all-btn { flex-basis: 100%; } } @media (max-width: 480px) { .cookie-buttons button, .settings-footer button { flex-basis: 100%; } } 