#cookie-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; animation: fadeIn 0.3s ease-out; } .cookie-modal-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.6); } .cookie-modal-content { background: linear-gradient(135deg, #f0f4f8, #e0e8f0); border-radius: 16px; box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.3) inset; padding: 30px; max-width: 500px; width: 90%; position: relative; z-index: 1001; text-align: center; color: #333; animation: slideIn 0.4s ease-out; } .cookie-modal-title { font-size: 1.8em; color: #2c3e50; margin-bottom: 20px; font-weight: 600; } .cookie-modal-description { font-size: 1em; line-height: 1.6; margin-bottom: 25px; color: #555; } .cookie-modal-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 20px; } .cookie-button { padding: 12px 25px; border: none; border-radius: 8px; cursor: pointer; font-size: 1em; font-weight: 600; transition: all 0.2s ease-in-out; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); } .cookie-button.primary { background-color: #4CAF50; color: white; } .cookie-button.primary:hover { background-color: #45a049; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); transform: translateY(-1px); } .cookie-button.secondary { background-color: #f44336; color: white; } .cookie-button.secondary:hover { background-color: #da190b; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); transform: translateY(-1px); } .cookie-button.tertiary { background-color: #007bff; color: white; } .cookie-button.tertiary:hover { background-color: #0056b3; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); transform: translateY(-1px); } .cookie-modal-policy-link { margin-top: 20px; font-size: 0.9em; } .cookie-modal-policy-link a { color: #007bff; text-decoration: none; transition: color 0.2s ease-in-out; } .cookie-modal-policy-link a:hover { color: #0056b3; text-decoration: underline; } .cookie-settings-view { text-align: left; } .cookie-category { margin-bottom: 20px; padding: 15px; background-color: #ffffff; border-radius: 10px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08); } .cookie-category-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; } .cookie-category-header h3 { font-size: 1.2em; color: #2c3e50; margin: 0; } .cookie-category-description { font-size: 0.9em; color: #666; line-height: 1.5; } .cookie-toggle { position: relative; display: inline-block; width: 45px; height: 25px; } .cookie-toggle input { opacity: 0; width: 0; height: 0; } .cookie-slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #ccc; transition: 0.4s; } .cookie-slider:before { position: absolute; content: ""; height: 17px; width: 17px; left: 4px; bottom: 4px; background-color: white; transition: 0.4s; } input:checked + .cookie-slider { background-color: #4CAF50; } input:focus + .cookie-slider { box-shadow: 0 0 1px #4CAF50; } input:checked + .cookie-slider:before { transform: translateX(20px); } .cookie-slider.round { border-radius: 25px; } .cookie-slider.round:before { border-radius: 50%; } input:disabled + .cookie-slider { background-color: #a0a0a0; cursor: not-allowed; } input:disabled + .cookie-slider:before { background-color: #e0e0e0; } @media (max-width: 768px) { .cookie-modal-content { padding: 20px; max-width: 95%; } .cookie-modal-title { font-size: 1.5em; } .cookie-modal-description { font-size: 0.9em; } .cookie-modal-actions { flex-direction: column; } .cookie-button { width: 100%; padding: 10px 20px; } .cookie-category-header h3 { font-size: 1.1em; } } @media (max-width: 480px) { .cookie-modal-content { border-radius: 10px; padding: 15px; } .cookie-modal-title { font-size: 1.3em; } .cookie-modal-description { font-size: 0.85em; } .cookie-category { padding: 10px; } .cookie-category-header h3 { font-size: 1em; } } @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } } @keyframes slideIn { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
#cookie-consent-modal .cookie-modal-content { box-sizing: border-box; max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); overflow-y: auto; }
