/* InfinityIT cookie consent bar - small, fixed to the bottom, non-blocking. */

.cookie-bar {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 60;
  border-top: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 96%, transparent);
  backdrop-filter: blur(10px);
  box-shadow: 0 -12px 30px rgba(12, 56, 59, .12);
}

.cookie-bar[hidden] {
  display: none;
}

.cookie-bar-row {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: .9rem 0;
}

.cookie-bar-row p {
  flex: 1;
  min-width: 0;
  margin: 0;
  font-size: .85rem;
  line-height: 1.5;
}

.cookie-bar-row a {
  color: var(--teal);
  font-weight: 700;
}

.cookie-bar-actions {
  display: flex;
  flex-shrink: 0;
  gap: .6rem;
}

.cookie-bar-actions .button {
  padding: .6rem .95rem;
  font-size: .85rem;
}

@media (max-width: 700px) {
  .cookie-bar-row {
    flex-direction: column;
    align-items: stretch;
    gap: .8rem;
    padding: 1rem 0;
  }

  .cookie-bar-actions {
    justify-content: stretch;
  }

  .cookie-bar-actions .button {
    flex: 1;
    justify-content: center;
  }
}
