/* Cookie consent banner (consent.js), matching cricketapi's ConsentComponent. */
.consent-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(26, 26, 26, 0.7);
  z-index: 1000;
}

.consent-box {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 20px;
  margin: 0 auto;
  max-width: 275px;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 0 18px rgba(0, 0, 0, 0.2);
  font-family: Outfit, Arial, sans-serif;
  animation: consent-slideup 0.6s cubic-bezier(.2, .8, .2, 1) both;
}

@keyframes consent-slideup {
  from { transform: translateY(calc(100% + 40px)); }
  to { transform: translateY(0); }
}

.consent-content h2 {
  margin: 0 0 6px;
  color: var(--ink, #121212);
  font-size: 20px;
  font-weight: 700;
  line-height: normal;
}

.consent-content p {
  margin: 0;
  color: #5f5f5f;
  font-size: 14px;
  line-height: 1.4;
}

.consent-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.consent-actions button {
  display: block;
  padding: 12px 16px;
  border: 1px solid #111111;
  border-radius: 5px;
  font: inherit;
  font-size: 16px;
  line-height: normal;
  cursor: pointer;
}

.consent-actions .consent-accept {
  background-color: #111111;
  color: #ffffff;
}

.consent-actions .consent-reject {
  background: transparent;
  color: #111111;
}

.consent-learn-more {
  margin-top: -6px;
  color: #111111;
  font-size: 14px;
  text-decoration: underline;
}

@media (min-width: 768px) {
  .consent-box {
    left: 20px;
    right: auto;
    max-width: 330px;
    gap: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .consent-box { animation: none; }
}
