.kok-cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10050;
  padding: 0.75rem 1rem;
  background: #fff;
  border-top: 1px solid #e5e9ec;
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.12);
  transform: translateY(100%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.35s ease, opacity 0.35s ease, visibility 0.35s;
}

.kok-cookie-banner.is-visible {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.kok-cookie-banner__inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.25rem;
}

.kok-cookie-banner__text {
  flex: 1 1 280px;
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: #444;
}

.kok-cookie-banner__text a {
  color: #45b8ac;
  font-weight: 600;
  text-decoration: underline;
}

.kok-cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  flex-shrink: 0;
}

.kok-cookie-btn {
  border-radius: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.kok-cookie-btn--primary {
  background: #45b8ac;
  color: #fff;
  border-color: #45b8ac;
}

.kok-cookie-btn--primary:hover {
  background: #3a9b8f;
  border-color: #3a9b8f;
  color: #fff;
}

.kok-cookie-btn--secondary {
  background: #fff;
  color: #333;
  border-color: #ced4da;
}

.kok-cookie-btn--secondary:hover {
  background: #f8f9fa;
}

.kok-cookie-btn--ghost {
  background: transparent;
  color: #45b8ac;
  border-color: transparent;
  text-decoration: underline;
  padding-left: 0.25rem;
  padding-right: 0.25rem;
}

.kok-cookie-modal .modal-title {
  font-size: 1.125rem;
  font-weight: 600;
}

.kok-cookie-category {
  border: 1px solid #edf0f2;
  border-radius: 10px;
  padding: 1rem 1.1rem;
  margin-bottom: 0.75rem;
}

.kok-cookie-category__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.kok-cookie-category__title {
  font-weight: 600;
  font-size: 0.9375rem;
  margin: 0 0 0.35rem;
  color: #222;
}

.kok-cookie-category__desc {
  margin: 0;
  font-size: 0.8125rem;
  color: #6c757d;
  line-height: 1.45;
}

.kok-cookie-toggle {
  flex-shrink: 0;
  position: relative;
  width: 44px;
  height: 24px;
}

.kok-cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.kok-cookie-toggle__slider {
  position: absolute;
  inset: 0;
  background: #ced4da;
  border-radius: 24px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.kok-cookie-toggle__slider::before {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  left: 3px;
  bottom: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.2s ease;
}

.kok-cookie-toggle input:checked + .kok-cookie-toggle__slider {
  background: #45b8ac;
}

.kok-cookie-toggle input:checked + .kok-cookie-toggle__slider::before {
  transform: translateX(20px);
}

.kok-cookie-toggle input:disabled + .kok-cookie-toggle__slider {
  opacity: 0.65;
  cursor: not-allowed;
}

.kok-cookie-category--locked .kok-cookie-category__badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  color: #6c757d;
  background: #f1f3f5;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  margin-top: 0.35rem;
}

@media (max-width: 576px) {
  .kok-cookie-banner__inner {
    flex-direction: column;
    align-items: stretch;
  }

  .kok-cookie-banner__actions {
    width: 100%;
  }

  .kok-cookie-banner__actions .kok-cookie-btn {
    flex: 1 1 auto;
    text-align: center;
  }
}
