/* Cookie consent banner — ASAP Towing */

.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99999;
  background: var(--color-dark, #1A1A1A);
  color: var(--color-text-on-dark, #E5E7EB);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.25);
  padding: 1rem 1.25rem;
  transform: translateY(0);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-consent--hidden {
  transform: translateY(100%);
}

.cookie-consent__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cookie-consent__text {
  margin: 0;
  font-size: clamp(0.875rem, 0.8rem + 0.25vw, 1rem);
  line-height: 1.5;
  flex: 1 1 280px;
}

.cookie-consent__text a {
  color: var(--neon-green, #4ADE80);
  text-decoration: underline;
}

.cookie-consent__text a:hover {
  color: #86efac;
}

.cookie-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  flex-shrink: 0;
}

.cookie-consent__btn {
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md, 0.5rem);
  font-size: 0.9375rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  border: none;
}

.cookie-consent__btn--reject {
  background: transparent;
  color: var(--color-text-on-dark, #E5E7EB);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.cookie-consent__btn--reject:hover {
  background: rgba(255, 255, 255, 0.1);
}

.cookie-consent__btn--accept {
  background: var(--color-primary, #0B6B35);
  color: #fff;
}

.cookie-consent__btn--accept:hover {
  background: var(--color-primary-hover, #095A2C);
}

@media (max-width: 480px) {
  .cookie-consent__inner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  .cookie-consent__actions {
    justify-content: center;
  }
}
