/* Styles de la bannière cookies */ #cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; background: rgba(255, 255, 255, 0.98); box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2); padding: 25px 20px; z-index: 9999; display: none; animation: slideUp 0.5s ease; } @keyframes slideUp { from { transform: translateY(100%); } to { transform: translateY(0); } } #cookie-banner.show { display: block; } .cookie-banner-content { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; gap: 30px; flex-wrap: wrap; } .cookie-banner-text { flex: 1; min-width: 300px; } .cookie-banner-text h3 { color: #910101; font-size: 1.2rem; margin-bottom: 10px; } .cookie-banner-text p { color: #333; line-height: 1.6; margin: 0; } .cookie-banner-text a { color: #910101; text-decoration: underline; } .cookie-banner-buttons { display: flex; gap: 15px; flex-wrap: wrap; } .cookie-btn { padding: 12px 25px; border: none; border-radius: 8px; font-size: 1rem; font-weight: 500; cursor: pointer; transition: all 0.3s; white-space: nowrap; } .cookie-btn-accept { background: #910101; color: white; } .cookie-btn-accept:hover { background: #6b0101; transform: translateY(-2px); } .cookie-btn-refuse { background: #f0f0f0; color: #333; } .cookie-btn-refuse:hover { background: #e0e0e0; } .cookie-btn-customize { background: transparent; color: #910101; border: 2px solid #910101; } .cookie-btn-customize:hover { background: #910101; color: white; } /* Modal de personnalisation */ #cookie-modal { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.7); z-index: 10000; display: none; align-items: center; justify-content: center; padding: 20px; } #cookie-modal.show { display: flex; } .cookie-modal-content { background: white; border-radius: 15px; max-width: 700px; width: 100%; max-height: 90vh; overflow-y: auto; padding: 40px; position: relative; } .cookie-modal-close { position: absolute; top: 15px; right: 15px; background: none; border: none; font-size: 2rem; color: #666; cursor: pointer; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 50%; transition: all 0.3s; } .cookie-modal-close:hover { background: #f0f0f0; color: #910101; } .cookie-modal-content h2 { color: #910101; margin-bottom: 20px; font-size: 1.8rem; } .cookie-category { border: 1px solid #e0e0e0; border-radius: 10px; padding: 20px; margin-bottom: 15px; } .cookie-category-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; } .cookie-category h3 { color: #333; font-size: 1.2rem; margin: 0; } .cookie-category p { color: #666; line-height: 1.6; margin: 0; } .cookie-toggle { position: relative; display: inline-block; width: 60px; height: 30px; } .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; border-radius: 30px; } .cookie-slider:before { position: absolute; content: ""; height: 22px; width: 22px; left: 4px; bottom: 4px; background-color: white; transition: 0.4s; border-radius: 50%; } input:checked + .cookie-slider { background-color: #910101; } input:checked + .cookie-slider:before { transform: translateX(30px); } input:disabled + .cookie-slider { cursor: not-allowed; opacity: 0.5; } .cookie-modal-buttons { display: flex; gap: 15px; margin-top: 30px; flex-wrap: wrap; } /* Responsive */ @media (max-width: 768px) { .cookie-banner-content { flex-direction: column; align-items: stretch; } .cookie-banner-buttons { flex-direction: column; } .cookie-btn { width: 100%; } .cookie-modal-content { padding: 30px 20px; } }