/* ============================================================
   COOKIE CONSENT BANNER — EloGiro
   ============================================================ */

#cookie-consent {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  background: #15130F;
  border-top: 1px solid rgba(255, 107, 0, 0.35);
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.35);
  padding: 1.25rem 1.5rem;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  transform: translateY(120%);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

#cookie-consent.show {
  transform: translateY(0);
}

.cookie-consent-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cookie-consent-text {
  flex: 1 1 380px;
  color: rgba(247, 244, 238, 0.85);
  font-size: 0.9rem;
  line-height: 1.5;
}

.cookie-consent-text strong {
  color: #F7F4EE;
}

.cookie-consent-text a {
  color: #FF8C2A;
  text-decoration: underline;
  text-underline-offset: 2px;
}

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

.cookie-consent-actions button {
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.65rem 1.3rem;
  border-radius: 8px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  white-space: nowrap;
}

#cookie-accept {
  background: #FF6B00;
  color: #15130F;
}

#cookie-accept:hover {
  background: #FF8C2A;
}

#cookie-reject {
  background: transparent;
  color: rgba(247, 244, 238, 0.85);
  border-color: rgba(247, 244, 238, 0.25);
}

#cookie-reject:hover {
  border-color: rgba(247, 244, 238, 0.5);
  color: #F7F4EE;
}

@media (max-width: 640px) {
  #cookie-consent {
    padding: 1.1rem 1rem;
  }
  .cookie-consent-inner {
    flex-direction: column;
    align-items: stretch;
    text-align: left;
  }
  .cookie-consent-actions {
    width: 100%;
  }
  .cookie-consent-actions button {
    flex: 1 1 auto;
  }
}

/* Small "manage cookies" link reused in footers */
.cookie-manage-link {
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
