/**
 * Log Price Guide — cookie consent banner
 * Brand: Inter / slate #102A43 / teal #0E7C7B / orange #E76F35
 * Equal-weight Accept and Reject — no dark patterns.
 */

.lpg-cookie-consent {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  box-sizing: border-box;
  padding: 1rem;
  padding-bottom: max(1rem, env(safe-area-inset-bottom));
  background: #102A43;
  color: #F0F4F8;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 0.9375rem;
  line-height: 1.5;
  box-shadow: 0 -4px 24px rgba(16, 42, 67, 0.35);
}

.lpg-cookie-consent[hidden] {
  display: none !important;
}

.lpg-cookie-consent *,
.lpg-cookie-consent *::before,
.lpg-cookie-consent *::after {
  box-sizing: border-box;
}

.lpg-cookie-consent__inner {
  max-width: 68rem;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.25rem;
}

.lpg-cookie-consent__copy {
  flex: 1 1 16rem;
  min-width: 0;
}

.lpg-cookie-consent__title {
  margin: 0 0 0.25rem;
  font-size: 1rem;
  font-weight: 600;
  color: #FFFFFF;
}

.lpg-cookie-consent__text {
  margin: 0;
  color: #D9E2EC;
}

.lpg-cookie-consent__link {
  color: #5CE1E0;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.lpg-cookie-consent__link:hover,
.lpg-cookie-consent__link:focus-visible {
  color: #FFFFFF;
}

.lpg-cookie-consent__link:focus-visible {
  outline: 2px solid #E76F35;
  outline-offset: 2px;
  border-radius: 2px;
}

.lpg-cookie-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  flex: 0 0 auto;
}

/* Equal visual weight — both same size; Reject is fully functional */
.lpg-cookie-consent__btn {
  appearance: none;
  margin: 0;
  min-height: 2.75rem;
  min-width: 9.5rem;
  padding: 0.625rem 1.125rem;
  border-radius: 0.5rem;
  border: 2px solid transparent;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.lpg-cookie-consent__btn:focus-visible {
  outline: 2px solid #E76F35;
  outline-offset: 2px;
}

.lpg-cookie-consent__btn--reject {
  background: transparent;
  color: #F0F4F8;
  border-color: #829AB1;
}

.lpg-cookie-consent__btn--reject:hover,
.lpg-cookie-consent__btn--reject:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  border-color: #F0F4F8;
  color: #FFFFFF;
}

.lpg-cookie-consent__btn--accept {
  background: #0E7C7B;
  color: #FFFFFF;
  border-color: #0E7C7B;
}

.lpg-cookie-consent__btn--accept:hover,
.lpg-cookie-consent__btn--accept:focus-visible {
  background: #0A5F5E;
  border-color: #0A5F5E;
  color: #FFFFFF;
}

@media (max-width: 36rem) {
  .lpg-cookie-consent__actions {
    width: 100%;
  }

  .lpg-cookie-consent__btn {
    flex: 1 1 calc(50% - 0.3125rem);
    min-width: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lpg-cookie-consent__btn {
    transition: none;
  }
}
