/* TheaCRM v2.8.583 – Mobile Foundation */
:root {
  --thea-mobile-safe-bottom: env(safe-area-inset-bottom, 0px);
  --thea-mobile-foundation-green: var(--primary-color, #1f7a3a);
  --thea-mobile-foundation-shadow: 0 12px 30px rgba(18, 48, 27, .22);
}

html.thea-pwa-standalone,
html.thea-pwa-standalone body {
  min-height: 100%;
}

html.thea-pwa-standalone body {
  overscroll-behavior-y: none;
}

.thea-mobile-foundation-status,
.thea-mobile-foundation-action {
  position: fixed;
  left: 50%;
  z-index: 1095;
  max-width: min(92vw, 420px);
  transform: translateX(-50%);
  border-radius: 999px;
  box-shadow: var(--thea-mobile-foundation-shadow);
  font-size: .875rem;
  line-height: 1.25;
}

.thea-mobile-foundation-status {
  bottom: calc(82px + var(--thea-mobile-safe-bottom));
  display: none;
  align-items: center;
  gap: .55rem;
  padding: .7rem 1rem;
  color: #fff;
  background: #7a321f;
}

html[data-thea-online="0"] .thea-mobile-foundation-status {
  display: inline-flex;
}

html[data-thea-online="0"] .thea-mobile-foundation-action {
  display: none !important;
}

.thea-mobile-foundation-status__dot {
  width: .62rem;
  height: .62rem;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #ffd6c9;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, .16);
}

.thea-mobile-foundation-action {
  right: auto;
  bottom: calc(82px + var(--thea-mobile-safe-bottom));
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  padding: .6rem .65rem .6rem 1rem;
  border: 1px solid rgba(31, 122, 58, .22);
  color: #173d24;
  background: #fff;
}

.thea-mobile-foundation-action[hidden] {
  display: none !important;
}

.thea-mobile-foundation-action__text {
  min-width: 0;
}

.thea-mobile-foundation-action__text strong,
.thea-mobile-foundation-action__text span {
  display: block;
}

.thea-mobile-foundation-action__text span {
  margin-top: .1rem;
  color: #667169;
  font-size: .76rem;
}

.thea-mobile-foundation-action__button {
  min-height: 38px;
  border: 0;
  border-radius: 999px;
  padding: .45rem .85rem;
  color: #fff;
  background: var(--thea-mobile-foundation-green);
  font: inherit;
  font-weight: 700;
  white-space: nowrap;
}


.thea-mobile-foundation-action__close {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  color: #667169;
  background: transparent;
  font: inherit;
  font-size: 1.35rem;
  line-height: 1;
}

.thea-mobile-foundation-action__close:hover,
.thea-mobile-foundation-action__close:focus-visible {
  color: #173d24;
  background: #edf4ee;
}

.thea-mobile-foundation-action__close[hidden] {
  display: none !important;
}

.thea-mobile-foundation-action__button:focus-visible {
  outline: 3px solid rgba(31, 122, 58, .3);
  outline-offset: 2px;
}

@media (min-width: 992px) {
  .thea-mobile-foundation-status,
  .thea-mobile-foundation-action {
    bottom: calc(24px + var(--thea-mobile-safe-bottom));
  }
}

@media (prefers-reduced-motion: reduce) {
  .thea-mobile-foundation-status,
  .thea-mobile-foundation-action {
    scroll-behavior: auto;
  }
}
