/* Togalma GA4 cookie consent banner */
.tg-ga-consent {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2147483000;
  padding: 12px;
  box-sizing: border-box;
  pointer-events: none;
}

.tg-ga-consent__inner {
  pointer-events: auto;
  max-width: 720px;
  margin: 0 auto;
  padding: 16px 18px;
  background: #ffffff;
  color: #1a1a1a;
  border: 1px solid rgba(217, 8, 11, 0.25);
  border-top: 3px solid #d9080b;
  box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.12);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.tg-ga-consent__title {
  margin: 0 0 6px;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  color: #d9080b;
}

.tg-ga-consent__text {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.45;
  color: #333;
}

.tg-ga-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.tg-ga-consent__btn {
  appearance: none;
  border: 1px solid #ccc;
  background: #f7f7f7;
  color: #222;
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  line-height: 1.2;
}

.tg-ga-consent__btn:hover,
.tg-ga-consent__btn:focus-visible {
  outline: 2px solid rgba(217, 8, 11, 0.35);
  outline-offset: 1px;
}

.tg-ga-consent__btn--primary {
  background: #d9080b;
  border-color: #d9080b;
  color: #fff;
}

.tg-ga-consent__btn--link {
  background: transparent;
  border-color: transparent;
  text-decoration: underline;
  font-weight: 500;
  padding-left: 6px;
  padding-right: 6px;
}

.tg-ga-consent__customize {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #eee;
}

@media (max-width: 480px) {
  .tg-ga-consent {
    padding: 8px;
  }

  .tg-ga-consent__inner {
    padding: 14px;
  }

  .tg-ga-consent__btn {
    flex: 1 1 auto;
    min-width: calc(50% - 8px);
    text-align: center;
  }

  .tg-ga-consent__btn--link {
    flex: 1 1 100%;
  }
}
