/**
 * CRABHIVE Cookie Consent Banner
 * Dark theme — amber/dark palette matching the CRABHIVE brand.
 * Served as a static asset from /css/consent.css
 */

#crabhive-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9990;
  background: #1a1208;
  border-top: 1px solid #f59e0b44;
  color: #e5c97a;
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.5);
}

#crabhive-consent-banner.crabhive-consent--hidden {
  display: none;
}

.crabhive-consent__text {
  flex: 1 1 260px;
  color: #c4a35a;
  font-size: 13px;
}

.crabhive-consent__text a {
  color: #f59e0b;
  text-decoration: underline;
}

.crabhive-consent__text a:hover {
  color: #fbbf24;
}

.crabhive-consent__actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.crabhive-consent__btn {
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 18px;
  transition: background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

.crabhive-consent__btn--accept {
  background: #f59e0b;
  color: #111;
}

.crabhive-consent__btn--accept:hover {
  background: #fbbf24;
}

.crabhive-consent__btn--decline {
  background: transparent;
  color: #c4a35a;
  border: 1px solid #f59e0b44;
}

.crabhive-consent__btn--decline:hover {
  background: #f59e0b1a;
  color: #e5c97a;
}

@media (max-width: 480px) {
  #crabhive-consent-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
  }

  .crabhive-consent__actions {
    width: 100%;
  }

  .crabhive-consent__btn {
    flex: 1;
    text-align: center;
  }
}
