/* =====================================================
   APEX IP — cookie-consent.css
   Fixed bottom banner, hidden until JS activates it
   ===================================================== */

.apx-cookie-consent {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 999;
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
  background: #0A0A0A;
  border: 1px solid rgba(51, 51, 51, 0.40);
  border-radius: 16px;
  box-shadow: var(--apx-shadow-glass);

  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.apx-cookie-consent.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.apx-cookie-consent-text {
  color: #C7C7C7;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.5;
}

.apx-cookie-consent-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.apx-cookie-consent-actions .apx-btn-primary,
.apx-cookie-consent-actions .apx-btn-outline {
  font-size: 15px;
  padding: 10px 24px;
}

@media (max-width: 640px) {
  .apx-cookie-consent {
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 20px;
  }

  .apx-cookie-consent-actions {
    flex-direction: column;
  }

  .apx-cookie-consent-actions .apx-btn-primary,
  .apx-cookie-consent-actions .apx-btn-outline {
    width: 100%;
    justify-content: center;
  }
}
