.emc-install-card {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 2147483000;
  width: min(380px, calc(100vw - 28px));
  display: none;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(6, 75, 47, .18);
  border-radius: 12px;
  background: #ffffff;
  color: #123b2b;
  box-shadow: 0 18px 46px rgba(12, 60, 38, .20);
}

.emc-install-card.is-visible {
  display: flex;
}

.emc-install-card__icon {
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  border-radius: 10px;
  object-fit: contain;
  background: #eff8f1;
  padding: 6px;
}

.emc-install-card__body {
  min-width: 0;
  flex: 1 1 auto;
}

.emc-install-card__title {
  display: block;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.25;
}

.emc-install-card__text {
  margin: 3px 0 0;
  font-size: 13px;
  line-height: 1.35;
  color: #52645b;
}

.emc-install-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.emc-install-btn,
.emc-install-dismiss {
  border-radius: 8px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.emc-install-btn {
  border: 1px solid #087a43;
  background: #087a43;
  color: #fff;
  padding: 9px 12px;
}

.emc-install-dismiss {
  border: 1px solid #d9e3dd;
  background: #fff;
  color: #365246;
  padding: 9px 10px;
}

.emc-install-mini {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(8, 122, 67, .22);
  border-radius: 9px;
  background: #ecf8f1;
  color: #064b2f;
  font-weight: 800;
  padding: 8px 11px;
  cursor: pointer;
}

.emc-install-ios {
  display: none;
  margin-top: 8px;
  font-size: 12px;
  color: #52645b;
}

.emc-install-card.is-ios .emc-install-ios {
  display: block;
}

@media (max-width: 767.98px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .emc-install-card {
    right: 10px;
    bottom: 10px;
    width: calc(100vw - 20px);
    padding: 12px;
  }

  .emc-install-card__icon {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  .emc-install-card__title {
    font-size: 14px;
  }

  .emc-install-card__text {
    font-size: 12px;
  }

  .emc-install-btn,
  .emc-install-dismiss {
    flex: 1 1 auto;
    min-height: 38px;
  }

  .content-wrapper,
  .main-footer,
  .main-header {
    min-width: 0;
  }

  .content-wrapper .container-fluid,
  .content-wrapper .card-body,
  .content-wrapper .table-responsive {
    max-width: 100%;
  }

  .content-wrapper table {
    width: 100%;
  }

  .main-header .navbar-nav {
    min-width: 0;
  }

  .main-header .navbar-nav .nav-link,
  .main-header .emc-install-mini {
    min-height: 42px;
  }
}
