/* Bright Cookie Consent Banner */

.bright-cookie-consent {
  position: fixed;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  background: var(--main-green, #395935);
  color: #f3f4f6;
  font-family: var(--wp--preset--font-family--inter, "Inter", sans-serif);
  font-size: 15px;
  line-height: 1.5;
  padding: 16px 24px;
  border-radius: 0;
  bottom: 0;
  left: 0;
  right: 0;
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
  gap: 12px 24px;
  z-index: 1000001;
  transition: opacity 0.2s ease-in-out;
}

.bright-cookie-consent.is-dismissed {
  opacity: 0;
  pointer-events: none;
}

.bright-cookie-consent p {
  margin: 0;
  flex: 1 1 0%;
  min-width: 200px;
}

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

.bright-cookie-consent p a:hover {
  opacity: 0.85;
}

.bright-cookie-consent__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.bright-cookie-consent__decline {
  background: none;
  border: 1px solid rgba(243, 244, 246, 0.4);
  color: #f3f4f6;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 20px;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
  border-radius: 0;
  white-space: nowrap;
}

.bright-cookie-consent__decline:hover {
  background: rgba(243, 244, 246, 0.1);
  border-color: rgba(243, 244, 246, 0.7);
}

.bright-cookie-consent__accept {
  background: #c9a84c;
  color: #1a1a1a;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 24px;
  border-radius: 0;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.15s;
}

.bright-cookie-consent__accept:hover {
  opacity: 0.9;
}

@media (max-width: 600px) {
  .bright-cookie-consent {
    flex-direction: column;
    align-items: stretch;
    padding: 14px 16px;
    gap: 10px;
    font-size: 13px;
  }

  .bright-cookie-consent p {
    min-width: 0;
  }

  .bright-cookie-consent__actions {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    gap: 12px;
    box-sizing: border-box;
  }

  .bright-cookie-consent__decline {
    flex: 1 1 0%;
    min-width: 0;
    min-height: 44px;
    text-align: center;
    padding: 12px 16px;
    font-size: 14px;
    white-space: nowrap;
  }

  .bright-cookie-consent__accept {
    flex: 1 1 0%;
    min-width: 0;
    min-height: 44px;
    text-align: center;
    padding: 12px 16px;
    font-size: 14px;
    white-space: nowrap;
    box-sizing: border-box;
  }
}

/* Push chatbot FAB above cookie banner */
.has-cookie-banner .chatbot--bottom-right,
.has-cookie-banner .chatbot--bottom-left {
  bottom: 76px;
  transition: bottom 0.3s ease;
}

@media (max-width: 600px) {
  .has-cookie-banner .chatbot--bottom-right,
  .has-cookie-banner .chatbot--bottom-left {
    bottom: 120px;
  }
}
