/* Completed Event CTA — styles */
.vc-completed-cta {
  display: none;
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(112px + env(safe-area-inset-bottom));
  z-index: 1100;
  background: #ffffff;
  color: #333333;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,.15);
  padding: 18px 16px 16px 16px;
  align-items: center;
  gap: 12px;
  font: 500 15px/1.5 system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;

  opacity: 0;
  transform: translateY(14px);
  will-change: opacity, transform;
}

.vc-completed-cta.is-visible {
  display: flex;
  opacity: 1;
  transform: translateY(0);
  transition: opacity .28s ease, transform .28s ease;
}

@media (max-width: 600px) {
  .vc-completed-cta {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 18px 12px 12px 12px;
  }
  .vc-completed-cta__btn {
    width: 100%;
    text-align: center;
    white-space: nowrap;
    font-size: 17px;
  }
}

.vc-completed-cta__text {
  margin: 0;
  flex: 1 1 auto;
}

.vc-completed-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 16px;
  background: #4E8098;
  color: #fff !important;
  -webkit-text-fill-color: #fff;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(78,128,152,.28);
  transition: transform .08s ease, box-shadow .2s ease;
}
.vc-completed-cta__btn:hover { transform: translateY(-1px); }
.vc-completed-cta__btn:active { transform: translateY(0); }

.vc-completed-cta__close {
  position: absolute;
  top: 8px;
  right: 8px;
  appearance: none;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  padding: 4px;
  color: #888;
}
.vc-completed-cta__close:hover { color: #555; }

@media (min-width: 601px) {
  .vc-completed-cta { padding-right: 64px; }
}

@media (prefers-color-scheme: dark) {
  .vc-completed-cta {
    background: #161819F2;
    color: #EEE;
    border-color: rgba(255,255,255,.06);
    box-shadow: 0 10px 30px rgba(0,0,0,.45);
  }
  .vc-completed-cta__close { color: #AAA; }
}

@media (prefers-reduced-motion: reduce) {
  .vc-completed-cta,
  .vc-completed-cta.is-visible {
    transition: none !important;
    transform: none !important;
  }
}
