/* SiteHitz — cookie consent banner */

#cookie-consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  background: #0b1f3a;
  color: #ffffff;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 -8px 24px rgba(11, 31, 58, 0.25);
  padding: 20px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

#cookie-consent-banner.is-visible {
  transform: translateY(0);
  opacity: 1;
}

#cookie-consent-banner[hidden] {
  display: none !important;
}

.cc-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cc-text {
  flex: 1 1 420px;
  font-size: 0.92rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.86);
  margin: 0;
}

.cc-text a {
  color: #14b8a6;
  text-decoration: underline;
}

.cc-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

.cc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.7em 1.4em;
  font-size: 0.88rem;
  font-weight: 600;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  font-family: inherit;
  line-height: 1;
}

.cc-btn:hover {
  transform: translateY(-1px);
}

.cc-btn-accept {
  background: #f97316;
  color: #ffffff;
}

.cc-btn-accept:hover {
  background: #ea580c;
}

.cc-btn-decline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
  color: #ffffff;
}

.cc-btn-decline:hover {
  background: rgba(255, 255, 255, 0.08);
}

@media (max-width: 640px) {
  #cookie-consent-banner {
    padding: 16px;
  }
  .cc-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }
  .cc-actions {
    justify-content: flex-end;
  }
}
