#ev-cookie {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 99999;
  box-sizing: border-box;
  width: calc(100% - 48px);
  max-width: 460px;
  padding: 24px;
  border: 1px solid #EBF3F3;
  border-radius: 16px;
  background: #FFFFFF;
  box-shadow: 0 12px 40px rgba(10, 45, 60, 0.18);
  color: #0A2D3C;
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  line-height: 1.55;
  animation: ev-cookie-in 0.25s ease;
}

#ev-cookie[hidden] {
  display: none;
}

#ev-cookie .ev-cookie__title {
  margin: 0 0 8px;
  color: #0A2D3C;
  font-family: "Outfit", "Plus Jakarta Sans", sans-serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.25;
}

#ev-cookie .ev-cookie__text {
  margin: 0 0 16px;
  color: #40565F;
}

#ev-cookie .ev-cookie__actions {
  display: flex;
  gap: 12px;
  margin: 0 0 12px;
}

/* Both choices are styled the same on purpose: refusing must be as easy as accepting. */
#ev-cookie .ev-cookie__btn,
#ev-cookie .ev-cookie__btn:hover,
#ev-cookie .ev-cookie__btn:focus {
  flex: 1 1 0;
  min-height: 44px;
  margin: 0;
  padding: 10px 14px;
  border: 1px solid #0A2D3C;
  border-radius: 10px;
  background: #0A2D3C;
  color: #FFFFFF;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  text-transform: none;
  white-space: normal;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

#ev-cookie .ev-cookie__btn:hover {
  border-color: #1B6E7C;
  background: #1B6E7C;
}

#ev-cookie .ev-cookie__btn:focus-visible,
#ev-cookie .ev-cookie__links a:focus-visible {
  outline: 2px solid #2A8E9E;
  outline-offset: 2px;
}

#ev-cookie .ev-cookie__links {
  margin: 0;
  font-size: 13px;
}

#ev-cookie .ev-cookie__links a,
#ev-cookie .ev-cookie__links a:hover {
  color: #1B6E7C;
  text-decoration: underline;
}

#ev-cookie .ev-cookie__links a + a {
  margin-left: 16px;
}

@keyframes ev-cookie-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 520px) {
  #ev-cookie {
    right: 16px;
    bottom: 16px;
    width: calc(100% - 32px);
    padding: 16px;
  }

  #ev-cookie .ev-cookie__title {
    font-size: 17px;
  }

  #ev-cookie .ev-cookie__text {
    margin-bottom: 12px;
    font-size: 13px;
  }

  #ev-cookie .ev-cookie__actions {
    gap: 8px;
    margin-bottom: 8px;
  }

  #ev-cookie .ev-cookie__btn,
  #ev-cookie .ev-cookie__btn:hover,
  #ev-cookie .ev-cookie__btn:focus {
    padding: 10px 8px;
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #ev-cookie {
    animation: none;
  }
}

@media print {
  #ev-cookie {
    display: none;
  }
}
