/* App Circle Buy Me a Coffee cup + QR modal.
   Match the approved preview at /workspace/bmc-footer/preview/index.html.
   z-index is 1095 so the modal stacks above live chat (1085) and the companion QR modal (1090). Look and motion are unchanged. */

@font-face {
  font-family: "Cormorant";
  src: url("../fonts/cormorant_medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Outfit";
  src: url("../fonts/outfit_light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Outfit";
  src: url("../fonts/outfit_medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

.footer-app .footer-legal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.bmc-cup[hidden] { display: none !important; }
.bmc-cup {
  appearance: none;
  -webkit-appearance: none;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(244, 239, 230, 0.18);
  border-radius: 50%;
  background: #120F1C;
  display: grid;
  place-items: center;
  cursor: pointer;
  padding: 0;
  flex: 0 0 48px;
  margin: 0;
  font: inherit;
  color: inherit;
  box-shadow: none;
}
.bmc-cup:focus-visible {
  outline: 2px solid rgba(244, 239, 230, 0.7);
  outline-offset: 3px;
}
.bmc-cup svg {
  width: 32px;
  height: 32px;
  display: block;
  overflow: visible;
}
.bmc-steam {
  fill: none;
  stroke: rgb(200 194 210);
  stroke-width: 1.87;
  stroke-linecap: round;
  animation: bmc-rise 4.8s linear infinite;
}
.bmc-steam.s2 { animation-delay: -2.4s; }
@keyframes bmc-rise {
  0%   { opacity: 0; transform: translateY(0); }
  50%  { opacity: 0.45; transform: translateY(-2px); }
  100% { opacity: 0; transform: translateY(-4px); }
}
@media (prefers-reduced-motion: reduce) {
  .bmc-steam { animation: none; opacity: 0.28; }
}
.bmc-cup-body,
.bmc-cup-handle,
.bmc-cup-saucer {
  fill: none;
  stroke: rgba(244, 239, 230, 0.78);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bmc-modal[hidden] { display: none !important; }
.bmc-modal {
  position: fixed;
  inset: 0;
  z-index: 1095;
  display: grid;
  place-items: center;
  padding: 24px;
}
.bmc-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 6, 12, 0.62);
}
.bmc-dialog {
  position: relative;
  width: min(420px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  background: #120F1C;
  color: #F4EFE6;
  border: 1px solid rgba(244, 239, 230, 0.14);
  border-radius: 28px;
  padding: 26px 28px;
  text-align: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}
.bmc-dialog h2 {
  font-family: "Cormorant", "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  font-size: 32px;
  line-height: 1.15;
  letter-spacing: -0.4px;
  margin: 0 0 16px;
  color: #F4EFE6;
}
.bmc-qr {
  display: inline-block;
  background: #fff;
  border-radius: 18px;
  padding: 10px;
  margin: 0 0 16px;
}
.bmc-qr img {
  display: block;
  width: 200px;
  height: 200px;
}
.bmc-link {
  font-family: "Outfit", Inter, sans-serif;
  font-weight: 300;
  font-size: 15px;
  color: #C8C2D2;
  margin: 0 0 16px;
}
.bmc-note {
  font-family: "Outfit", Inter, sans-serif;
  font-weight: 300;
  font-size: 17px;
  line-height: 1.4;
  color: rgba(244, 239, 230, 0.88);
  margin: 0 0 16px;
}
.bmc-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.bmc-pill {
  appearance: none;
  -webkit-appearance: none;
  font-family: "Outfit", Inter, sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: #F4EFE6;
  text-decoration: none;
  border-radius: 999px;
  min-height: 44px;
  padding: 10px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(244, 239, 230, 0.35);
  box-shadow: none;
}
.bmc-pill.primary {
  background: rgba(0, 0, 0, 0.5);
  border-color: rgba(244, 239, 230, 0.7);
}
.bmc-pill:focus-visible {
  outline: 2px solid #F4EFE6;
  outline-offset: 2px;
}

/* Compact cup in the sticky navbar, left of the brand. Same dark chip and motion as the footer cup; smaller so it fits the bar. */
.navbar-app .bmc-cup-nav {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  margin: 0 0.5rem 0 0;
}
.navbar-app .bmc-cup-nav svg {
  width: 26px;
  height: 26px;
}
@media (max-width: 991.98px) {
  .navbar-app-auth .bmc-cup-nav {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }
  .navbar-app-auth .bmc-cup-nav svg {
    width: 24px;
    height: 24px;
  }
}
