/* Copyright (c) Janyasi's Legal Associates. All Rights Reserved. */

/* ==========================================================================
   Buttons — shared by public site and PMS
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 28px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1.2;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
}

.btn[hidden] {
  display: none !important;
}

.btn i {
  font-size: 13px;
  line-height: 1;
  flex-shrink: 0;
}

.btn-gold {
  background: var(--gold);
  color: var(--black);
}

.btn-gold:hover {
  background: var(--gold-light);
}

.btn-outline {
  background: transparent;
  color: var(--text-dark);
  border: 1px solid var(--gold);
}

.btn-outline:hover {
  background: var(--gold);
  color: var(--black);
}

.btn-outline-dark {
  background: transparent;
  color: var(--black);
  border: 1px solid var(--black);
}

.btn-outline-dark:hover {
  background: var(--black);
  color: var(--white);
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

.btn-compact {
  min-height: 0;
  padding: 10px 18px;
  font-size: 12px;
  gap: 8px;
  letter-spacing: 0.8px;
}

/* Standard CTA groups keep the same button height and share available width
   when displayed side by side. This keeps primary/secondary actions visually
   balanced even when their labels have different lengths. */
.page-content-actions,
.hero-actions,
.faq-cta-actions {
  align-items: stretch;
}

@media (min-width: 701px) {
  .page-content-actions:has(> .btn + .btn) > .btn,
  .hero-actions:has(> .btn + .btn) > .btn,
  .faq-cta-actions:has(> .btn + .btn) > .btn {
    flex: 1 1 0;
    min-width: 0;
    white-space: normal;
    text-align: center;
  }
}

@media (max-width: 700px) {
  .page-content-actions > .btn,
  .hero-actions > .btn,
  .faq-cta-actions > .btn {
    width: 100%;
  }
}
