/* Our own chat button — see chat-launcher.js for why it exists and when it is
   allowed to appear. Its own file rather than an edit to the fingerprinted
   website-*.css: those names are content hashes from the old Rails pipeline, and
   changing a file's body while its name stays the same is how the hero once went
   white on white here. A new name has no cached old body to fight. */
.cosi-chat-launcher {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 900;
  width: 56px;
  height: 56px;
  display: block;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 50%;
  background: #7cb342;
  color: #ffffff;
  box-shadow: 0 10px 28px rgba(51, 51, 51, 0.28);
  cursor: pointer;
  -webkit-transition: background 180ms ease, -webkit-transform 160ms ease;
  transition: background 180ms ease, transform 160ms ease;
}
.cosi-chat-launcher:hover { background: #6ca135; -webkit-transform: scale(1.05); transform: scale(1.05); }
.cosi-chat-launcher:active { -webkit-transform: scale(0.97); transform: scale(0.97); }
.cosi-chat-launcher:focus { outline: 2px solid #333333; outline-offset: 3px; }
.cosi-chat-launcher svg {
  width: 26px;
  height: 26px;
  display: block;
  margin: 15px auto;
}
.cosi-chat-launcher svg[hidden] { display: none; }
.cosi-chat-badge {
  position: absolute;
  top: -3px;
  right: -3px;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: #ffffff;
  color: #333333;
  font: 700 12px/22px Arial, Helvetica, sans-serif;
  text-align: center;
  box-shadow: 0 0 0 2px #7cb342;
}
.cosi-chat-badge[hidden] { display: none; }
/* On a phone the widget fills the screen, so the button would float over it. */
@media (max-width: 768px) {
  .cosi-chat-launcher.is-open { display: none; }
}
