/* ViziKid consent banner. Colours chosen to pass WCAG AA:
   #1a1a1c on #22c55e = 7.63:1 ; #ffffff on #1a1a1c = 16.9:1 */
.vk-consent {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 9999;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  max-width: 940px;
  margin: 0 auto;
  padding: 16px 20px;
  border-radius: 14px;
  background: #1a1a1c;
  color: #ffffff;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.28);
  font-size: 14px;
  line-height: 1.55;
}

.vk-consent__text {
  flex: 1 1 380px;
  margin: 0;
  color: #ffffff;
}

.vk-consent__link {
  color: #4ade80; /* 8.8:1 on #1a1a1c */
  text-decoration: underline;
  white-space: nowrap;
}

.vk-consent__actions {
  display: flex;
  gap: 10px;
  flex: 0 0 auto;
}

.vk-consent__btn {
  cursor: pointer;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  transition: opacity 0.2s ease;
}

.vk-consent__btn:hover { opacity: 0.88; }

.vk-consent__btn:focus-visible {
  outline: 3px solid #4ade80;
  outline-offset: 2px;
}

.vk-consent__btn--primary {
  background: #22c55e;
  color: #1a1a1c;
}

.vk-consent__btn--ghost {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.45);
}

@media (max-width: 560px) {
  .vk-consent { flex-direction: column; align-items: stretch; }
  .vk-consent__actions { justify-content: flex-end; }
}
