.cookie-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; } .cookie-overlay.show { opacity: 1; visibility: visible; } .cookie-consent-modal { background: #fff; border-radius: 12px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); width: 90%; max-width: 500px; padding: 25px; box-sizing: border-box; font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; color: #333; transform: translateY(20px); transition: transform 0.3s ease; max-height: 90vh; overflow-y: auto; } .cookie-overlay.show .cookie-consent-modal { transform: translateY(0); } .cookie-consent-modal h2 { font-size: 1.8em; color: #1a1a1a; margin-top: 0; margin-bottom: 15px; text-align: center; } .cookie-consent-modal p { font-size: 1em; line-height: 1.6; margin-bottom: 20px; color: #555; } .cookie-consent-modal .cookie-buttons { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; justify-content: center; } .cookie-consent-modal button { padding: 12px 20px; border: none; border-radius: 8px; cursor: pointer; font-size: 1em; font-weight: 600; transition: background-color 0.2s ease, transform 0.1s ease; flex-grow: 1; min-width: 120px; } .cookie-consent-modal button.accept-all { background-color: #007bff; color: #fff; } .cookie-consent-modal button.accept-all:hover { background-color: #0056b3; transform: translateY(-1px); } .cookie-consent-modal button.reject-all { background-color: #dc3545; color: #fff; } .cookie-consent-modal button.reject-all:hover { background-color: #c82333; transform: translateY(-1px); } .cookie-consent-modal button.settings-btn, .cookie-consent-modal button.save-prefs { background-color: #6c757d; color: #fff; } .cookie-consent-modal button.settings-btn:hover, .cookie-consent-modal button.save-prefs:hover { background-color: #5a6268; transform: translateY(-1px); } .cookie-consent-modal .cookie-settings-panel { display: none; margin-top: 25px; border-top: 1px solid #eee; padding-top: 20px; } .cookie-consent-modal .cookie-settings-panel.show { display: block; } .cookie-settings-panel h3 { font-size: 1.5em; color: #1a1a1a; margin-bottom: 15px; text-align: center; } .cookie-settings-panel p { font-size: 0.9em; line-height: 1.5; margin-bottom: 20px; color: #666; } .cookie-setting-group { margin-bottom: 20px; padding: 15px; background-color: #f9f9f9; border-radius: 8px; } .cookie-setting-group:last-child { margin-bottom: 0; } .cookie-setting-group label { display: flex; align-items: center; justify-content: space-between; font-weight: 600; color: #333; cursor: pointer; margin-bottom: 10px; } .cookie-setting-group label input[type="checkbox"] { margin-right: 10px; transform: scale(1.3); accent-color: #007bff; } .cookie-setting-group .cookie-description { font-size: 0.9em; color: #666; line-height: 1.5; margin-top: 5px; } .cookie-setting-group .cookie-status { font-size: 0.85em; color: #888; background-color: #e9ecef; padding: 3px 8px; border-radius: 5px; margin-left: 10px; } @media (min-width: 600px) { .cookie-consent-modal { padding: 35px; } .cookie-consent-modal h2 { font-size: 2em; } .cookie-consent-modal button { flex-grow: 0; } .cookie-consent-modal .cookie-buttons { justify-content: flex-end; } } @media (max-width: 480px) { .cookie-consent-modal h2 { font-size: 1.6em; } .cookie-consent-modal p { font-size: 0.95em; } .cookie-consent-modal button { font-size: 0.95em; padding: 10px 15px; } .cookie-setting-group label { flex-direction: column; align-items: flex-start; } .cookie-setting-group label span:first-child { margin-bottom: 5px; } .cookie-setting-group .cookie-status { margin-left: 0; margin-top: 5px; } }