.moderncpwa-dock {
  position: fixed;
  right: 12px;
  bottom: 14px;
  z-index: 99998;
  min-height: 44px;
  max-width: calc(100vw - 24px);
  border: 0;
  border-radius: 8px;
  padding: 0 16px;
  background: #2f7d32;
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.24);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.moderncpwa-sheet {
  position: fixed;
  inset: auto 0 0;
  z-index: 99999;
  padding: 12px;
  background: rgba(23, 26, 31, 0.28);
}

.moderncpwa-card {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 12px;
  width: min(100%, 520px);
  margin: 0 auto;
  padding: 14px;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.24);
  color: #232831;
}

.moderncpwa-logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border: 1px solid #e4e7e2;
  border-radius: 8px;
  background: #fff;
}

.moderncpwa-copy {
  padding-right: 26px;
}

.moderncpwa-copy strong,
.moderncpwa-copy span,
.moderncpwa-ios {
  display: block;
}

.moderncpwa-copy strong {
  margin-bottom: 4px;
  font-size: 16px;
  line-height: 1.25;
}

.moderncpwa-copy span,
.moderncpwa-ios {
  font-size: 13px;
  line-height: 1.35;
}

.moderncpwa-ios {
  margin: 8px 0 0;
  color: #44515f;
}

.moderncpwa-actions {
  grid-column: 1 / -1;
  display: flex;
}

.moderncpwa-primary,
.moderncpwa-close {
  border: 0;
  cursor: pointer;
}

.moderncpwa-primary {
  flex: 1;
  min-height: 42px;
  border-radius: 6px;
  padding: 0 14px;
  background: #2f7d32;
  color: #ffffff;
  font-weight: 600;
}

.moderncpwa-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: transparent;
  color: #263128;
  font-size: 18px;
  line-height: 24px;
}

@media (min-width: 821px) {
  .moderncpwa-dock,
  .moderncpwa-sheet {
    display: none;
  }
}
