/* BVM Cookie Notice Styles */

.bvm-cookie-notice {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;

  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);

  transform: translateY(100%);
  opacity: 0;
  transition: all 0.3s ease-in-out;
  pointer-events: none;

  padding: 0.5rem 1rem;
}

@media (min-width: 768px) {
  .bvm-cookie-notice {
    padding: 0.5rem 0.5rem;
  }
}

.bvm-cookie-notice.bvm-cookie-notice--active {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}

.bvm-cookie-notice__close {
  position: absolute;
  top: 0.5rem;
  right: 1rem;
  background: transparent;
  border: none;
  color: white;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 10;
}

.bvm-cookie-notice__close:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: scale(1.1);
}

.bvm-cookie-notice__close:focus {
  outline: 2px solid rgba(255, 255, 255, 0.5);
  outline-offset: 2px;
}

.bvm-cookie-notice__close svg {
  width: 1rem;
  height: 1rem;
}


.bvm-cookie-notice__content {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-right: 3rem;
}

@media (min-width: 768px) {
  .bvm-cookie-notice__content {
    flex-direction: row;
    align-items: center;
    gap: 2rem;
  }
}


.bvm-cookie-notice__text {
  color: white;
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.5;
  flex: 1;
}

@media (min-width: 768px) {
  .bvm-cookie-notice__text {
    font-size: 0.875rem;
  }
}

.bvm-cookie-notice__buttons {
  display: flex;
  flex-direction: row;
  gap: 0.75rem;
}

@media (min-width: 480px) {
  .bvm-cookie-notice__buttons {
    flex-direction: row;
    gap: 1rem;
  }
}

@media (min-width: 768px) {
  .bvm-cookie-notice__buttons {
    flex-shrink: 0;
  }
}

.bvm-cookie-notice__button {
  /* Base CTA button styles converted from Tailwind */
  font-size: 12px; /* text-bvm-v5-font-14 */
  font-family: inherit; /* season font family */
  font-weight: 650; /* text-bvm-v5-font-weight-650 */
  letter-spacing: 2px; /* text-bvm-v5-font-spacing-2 */
  width: fit-content; /* w-fit */
  height: 40px; /* h-10 */
  display: inline-flex; /* inline-flex */
  align-items: center; /* items-center */
  justify-content: center; /* justify-center */
  padding: 12px 20px; /* px-5 py-3 */
  transition: colors 0.2s ease; /* transition-colors */
  border: none;
  border-radius: 0;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}

@media (min-width: 768px) {
  .bvm-cookie-notice__button {
    padding: 12px 28px; /* md:px-7 */
  }
}

/* OK Button - matches .cta-button_1 */
.bvm-cookie-notice__button--primary {
  background-color: #36435B; /* bg-brand-bvm_v5-deep_blue */
  color: #ffffff; /* text-white */
}

.bvm-cookie-notice__button--primary:hover {
  background-color: #4379DC; /* hover:bg-brand-bvm_v5-blue_accent */
  color: #ffffff;
  text-decoration: none;
}

.bvm-cookie-notice__button--primary:focus {
  outline: 1px solid rgba(67, 121, 220, 0.5);
  outline-offset: 2px;
}

/* Privacy Policy Button - matches .cta-button_2 */
.bvm-cookie-notice__button--secondary {
  background-color: #ffffff; /* bg-white */
  color: #36435B; /* text-brand-bvm_v5-deep_blue */
}

.bvm-cookie-notice__button--secondary:hover {
  background-color: #4379DC; /* hover:bg-brand-bvm_v5-blue_accent */
  color: #ffffff; /* hover:text-white */
  text-decoration: none;
}

.bvm-cookie-notice__button--secondary:focus {
  outline: 1px solid rgba(67, 121, 220, 0.5);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .bvm-cookie-notice {
    transition-duration: 0.1s;
  }

  .bvm-cookie-notice__close,
  .bvm-cookie-notice__button {
    transition-duration: 0.1s;
  }

  .bvm-cookie-notice__close:hover,
  .bvm-cookie-notice__button:hover {
    transform: none;
  }
}

@media print {
  .bvm-cookie-notice {
    display: none !important;
  }
}
