.cookie-banner { position: fixed; inset-inline: 0; bottom: 0; background: #003d86; color: #ffffff; padding: 16px 24px; z-index: 9999; display: none; }
.cookie-banner--visible { display: block; }
.cookie-banner__content { max-width: 1100px; margin: 0 auto; }

.cookie-banner p { margin: 0 0 12px; line-height: 1.5; }

.cookie-banner__buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.cookie-btn { border-radius: 999px; padding: 8px 16px; border: 1px solid transparent; font-size: 0.9rem; cursor: pointer; }
.cookie-btn--primary { background: #ffffff; color: #003d86; }
.cookie-btn--secondary { background: transparent; color: #ffffff; border-color: rgba(255, 255, 255, 0.6); }
.cookie-btn--ghost { background: transparent; color: #ffffff; }
.cookie-floating-btn { position: fixed; bottom: 16px; left: 16px; width: 48px; height: 48px; border-radius: 50%; background: #d61414; color: #fff; border: none; font-size: 22px; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 12px rgba(0,0,0,0.2); transition: transform 0.2s, box-shadow 0.2s; }
.cookie-floating-btn:hover { transform: scale(1.1); box-shadow: 0 6px 18px rgba(0,0,0,0.3); }
.cookie-consent-given .cookie-floating-btn { display: flex; }

.cookie-modal { position: fixed; inset: 0; z-index: 10000; display: none; }
.cookie-modal--visible { display: block; }
.cookie-modal__overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.45); }
.cookie-modal__dialog { position: relative; max-width: 640px; margin: 40px auto; background: #ffffff; font-size: 13px; color: #222222; border-radius: 12px; padding: 24px 24px 20px; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2); }
.cookie-modal p { margin-top: 0; margin-bottom: 16px; line-height: 1.5; }
.cookie-modal__buttons { margin-top: 16px; display: flex; justify-content: flex-end; gap: 8px; }

.cookie-category { border-top: 1px solid #e2e2e2; padding: 12px 0; }
.cookie-category__header { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.cookie-category__header h3 { margin: 0; font-size: 1rem; }
.cookie-category__status { font-size: 0.8rem; color: #555; }

.cookie-toggle { position: relative; display: inline-flex; align-items: center; width: 42px; height: 22px; }
.cookie-toggle input { opacity: 0; width: 0; height: 0; }
.cookie-toggle__slider { position: absolute; inset: 0; background: #ccc; border-radius: 999px; transition: 0.2s; }
.cookie-toggle__slider::before { content: ""; position: absolute; height: 16px; width: 16px; left: 3px; top: 3px; background: #ffffff; border-radius: 50%; transition: 0.2s; }
.cookie-toggle input:checked + .cookie-toggle__slider { background: #003d86; }
.cookie-toggle input:checked + .cookie-toggle__slider::before { transform: translateX(18px); }
