/* Balancers cookie consent banner — GDPR + Consent Mode v2 */

#cookie-consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 16px 32px;
  background: #0d0d0d;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-family: "DM Sans", sans-serif;
  box-sizing: border-box;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

#cookie-consent-banner.cookie-consent--visible {
  opacity: 1;
  visibility: visible;
}

#cookie-consent-banner.cookie-consent--hiding {
  opacity: 0;
  visibility: visible;
}

.cookie-consent-inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  flex: 1;
  min-width: 0;
}

.cookie-consent-text {
  flex: 1;
  min-width: 0;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 400;
}

.cookie-consent-text a {
  color: #cc3318;
  font-weight: 600;
  text-decoration: none;
}

.cookie-consent-text a:hover {
  text-decoration: underline;
}

.cookie-consent-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-consent-btn {
  font-family: "DM Sans", sans-serif;
  font-size: 13px;
  border-radius: 50px;
  padding: 10px 20px;
  cursor: pointer;
  border: none;
  white-space: nowrap;
  transition: opacity 0.2s ease, transform 0.15s ease;
}

.cookie-consent-btn:hover {
  opacity: 0.92;
}

.cookie-consent-btn:active {
  transform: scale(0.98);
}

.cookie-consent-decline {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
}

.cookie-consent-accept {
  background: linear-gradient(135deg, #cc3318, #f05228);
  color: #fff;
  font-weight: 700;
}

@media (max-width: 768px) {
  #cookie-consent-banner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    padding: 16px 20px;
  }

  .cookie-consent-inner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .cookie-consent-actions {
    width: 100%;
    justify-content: stretch;
  }

  .cookie-consent-btn {
    flex: 1;
    white-space: normal;
  }
}
