/*
 * Floating inquiry CTA styling. Enqueued by the plugin (inquiry/enqueue.php)
 * site-wide wherever the CTA shows — NOT part of the Breakdance popup, so it must
 * load independently of the popup opening. The form styling lives in
 * breakdance-popup/inquiry-popup.css (pasted into the popup template).
 */
.cpg-inquiry-cta-wrapper {
  position: fixed;
  left: 0;
  top: 33%;
  transform: translateY(-50%);
  z-index: 1049;
}

.cpg-inquiry-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  margin: 0;
  padding: 12px 14px;
  border: none;
  border-radius: 0 10px 10px 0;
  background: var(--color-primary, #1a1f24);
  color: #fff;
  font-family: inherit;
  line-height: 1.2;
  text-align: left;
  cursor: pointer;
  max-width: 120px;
  box-shadow: 2px 2px 12px rgba(0, 0, 0, 0.25);
  transition: filter 0.15s ease;
}

.cpg-inquiry-cta:hover,
.cpg-inquiry-cta:focus-visible {
  filter: brightness(1.12);
}

.cpg-inquiry-cta:focus-visible {
  outline: 2px solid var(--color-accent, #e63c5e);
  outline-offset: 2px;
}

.cpg-inquiry-cta-close {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: none;
  background: #555;
  color: #fff;
  font-size: 11px;
  line-height: 18px;
  text-align: center;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}

.cpg-inquiry-cta-close:hover {
  background: #333;
}

.cpg-inquiry-cta__top {
  color: #fff;
  font-size: 0.75rem;
  font-weight: 500;
}

.cpg-inquiry-cta__cta {
  color: var(--color-accent, #e63c5e);
  font-size: 0.8125rem;
  font-weight: 700;
}

@media (max-width: 600px) {
  .cpg-inquiry-cta-wrapper {
    top: unset;
    bottom: 0;
  }
  .cpg-inquiry-cta {
    padding: 10px 12px;
    border-radius: 0 8px 8px 0;
    max-width: 185px;
  }

  .cpg-inquiry-cta__top {
    font-size: 0.6875rem;
  }

  .cpg-inquiry-cta__cta {
    font-size: 0.75rem;
  }
}
