/* IMPACT Advisory — Cookie consent banner */

#ia-cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  background: #1a1a1a;
  color: #f2f2f2;
  padding: 20px 24px;
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.25);
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  font-family: inherit;
}

#ia-cookie-banner.ia-cookie-visible {
  transform: translateY(0);
  opacity: 1;
}

.ia-cookie-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.ia-cookie-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  flex: 1 1 420px;
}

.ia-cookie-text a {
  color: #ffffff;
  text-decoration: underline;
}

.ia-cookie-actions {
  display: flex;
  gap: 10px;
  flex: 0 0 auto;
}

.ia-cookie-btn {
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 2px;
  transition: opacity 0.15s ease;
}

.ia-cookie-btn:hover {
  opacity: 0.85;
}

.ia-cookie-reject {
  background: transparent;
  color: #f2f2f2;
  border: 1px solid #666;
}

.ia-cookie-accept {
  background: #ffffff;
  color: #1a1a1a;
}

@media (max-width: 640px) {
  .ia-cookie-inner {
    flex-direction: column;
    align-items: stretch;
  }
  .ia-cookie-actions {
    justify-content: stretch;
  }
  .ia-cookie-btn {
    flex: 1;
  }
}