/* ============================================================
   ODU ACTIVE — CURRENCY TOGGLE STYLES
   Floating pill toggle — USD ↔ KES
   Built by Nesture
   ============================================================ */

.currency-toggle {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(8, 8, 8, 0.85);
  border: 1px solid rgba(232, 68, 10, 0.35);
  border-radius: 999px;
  padding: 0.25rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(232, 68, 10, 0.1);
  transition: box-shadow 0.2s ease;
  user-select: none;
}

.currency-toggle:hover {
  box-shadow: 0 4px 32px rgba(232, 68, 10, 0.2), 0 0 0 1px rgba(232, 68, 10, 0.25);
}

.currency-toggle__btn {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: rgba(154, 160, 168, 0.6);
  cursor: pointer;
  transition: all 0.22s ease;
  line-height: 1;
  white-space: nowrap;
}

.currency-toggle__btn.active {
  background: #E8440A;
  color: #ffffff;
  box-shadow: 0 2px 12px rgba(232, 68, 10, 0.4);
}

.currency-toggle__btn:not(.active):hover {
  color: #f5f5f5;
  background: rgba(255, 255, 255, 0.06);
}

/* Label on the left */
.currency-toggle__label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(154, 160, 168, 0.5);
  padding: 0 0.6rem 0 0.75rem;
}

/* On pages where toggle lives inside a section (programs hero) */
.currency-toggle--inline {
  position: static;
  bottom: auto;
  right: auto;
  margin: 0;
  display: inline-flex;
}

/* Programs page — push toggle above the cancellation policy pill
   .float-policy is ~2.5rem tall + 2rem bottom = ~4.5rem clearance needed */
body.page-programs .currency-toggle {
  bottom: 5.5rem;
}

/* Mobile */
@media (max-width: 576px) {
  .currency-toggle {
    bottom: 1.25rem;
    right: 1rem;
  }

  body.page-programs .currency-toggle {
    bottom: 5rem;
  }

  .currency-toggle__label {
    display: none;
  }
}
