#cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: #ffffff; box-shadow: 0 -4px 24px rgba(0,0,0,0.15);
  z-index: 99999; padding: 20px; display: none;
  font-family: inherit; border-top: 4px solid #3B5BA8;
  animation: slideUpCookie 0.4s ease-out;
}
@keyframes slideUpCookie { from { transform: translateY(100%); } to { transform: translateY(0); } }
#cookie-banner .cookie-container { max-width: 1200px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
#cookie-banner .cookie-text { flex: 1 1 400px; color: #333; font-size: 14px; line-height: 1.5; }
#cookie-banner .cookie-text a { color: #3B5BA8; text-decoration: underline; }
#cookie-banner .cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
#cookie-banner button { border: none; padding: 12px 22px; border-radius: 6px; font-size: 14px; font-weight: 600; cursor: pointer; transition: all 0.2s ease; font-family: inherit; }
#cookie-banner .btn-accept { background: #3B5BA8; color: #fff; }
#cookie-banner .btn-accept:hover { background: #2d4680; }
#cookie-banner .btn-refuse { background: #f0f0f0; color: #333; }
#cookie-banner .btn-refuse:hover { background: #e0e0e0; }
#cookie-banner .btn-customize { background: transparent; color: #3B5BA8; text-decoration: underline; padding: 12px 8px; }
#cookie-modal { position: fixed; inset: 0; background: rgba(0,0,0,0.55); z-index: 100000; display: none; align-items: center; justify-content: center; padding: 20px; }
#cookie-modal.active { display: flex; }
#cookie-modal .cookie-modal-box { background: #fff; border-radius: 10px; max-width: 560px; width: 100%; padding: 28px; max-height: 90vh; overflow-y: auto; }
#cookie-modal h3 { color: #3B5BA8; margin: 0 0 16px; font-size: 20px; }
.cookie-category { border-top: 1px solid #e5e5e5; padding: 16px 0; }
.cookie-category:first-of-type { border-top: none; }
.cookie-category-header { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.cookie-category h4 { margin: 0; font-size: 15px; color: #222; }
.cookie-category p { margin: 8px 0 0; font-size: 13px; color: #666; line-height: 1.45; }
.cookie-switch { position: relative; display: inline-block; width: 46px; height: 26px; flex-shrink: 0; }
.cookie-switch input { opacity: 0; width: 0; height: 0; }
.cookie-slider { position: absolute; inset: 0; background: #ccc; border-radius: 26px; transition: 0.25s; cursor: pointer; }
.cookie-slider::before { content: ""; position: absolute; width: 20px; height: 20px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: 0.25s; }
.cookie-switch input:checked + .cookie-slider { background: #3B5BA8; }
.cookie-switch input:checked + .cookie-slider::before { transform: translateX(20px); }
.cookie-switch input:disabled + .cookie-slider { opacity: 0.5; cursor: not-allowed; }
.cookie-modal-actions { display: flex; gap: 10px; margin-top: 20px; justify-content: flex-end; }
@media (max-width: 600px) { #cookie-banner .cookie-actions { width: 100%; } #cookie-banner .cookie-actions button { flex: 1; } }
