/* JMS Academy — public PWA install modal */
.jms-pwa-modal {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(20, 35, 28, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.jms-pwa-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.jms-pwa-modal__panel {
  width: min(100%, 380px);
  background: #fff;
  border-radius: 16px;
  padding: 1.75rem 1.5rem 1.35rem;
  text-align: center;
  box-shadow: 0 24px 60px rgba(7, 105, 54, 0.22);
  transform: translateY(12px) scale(0.98);
  transition: transform 0.22s ease;
}

.jms-pwa-modal.is-open .jms-pwa-modal__panel {
  transform: translateY(0) scale(1);
}

.jms-pwa-modal__logo {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  object-fit: cover;
  margin: 0 auto 1rem;
  display: block;
  box-shadow: 0 8px 20px rgba(13, 139, 78, 0.2);
}

.jms-pwa-modal__title {
  margin: 0 0 0.4rem;
  font-family: Poppins, Lato, sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #14231c;
  line-height: 1.3;
}

.jms-pwa-modal__text {
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #5f7268;
}

.jms-pwa-modal__text strong {
  color: #14231c;
  font-weight: 600;
}

.jms-pwa-modal__actions {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.jms-pwa-modal__btn {
  appearance: none;
  border: none;
  cursor: pointer;
  border-radius: 10px;
  padding: 0.75rem 1rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.jms-pwa-modal__btn:active {
  transform: scale(0.98);
}

.jms-pwa-modal__btn--install {
  background: #0d8b4e;
  color: #fff;
}

.jms-pwa-modal__btn--install:hover {
  background: #076936;
}

.jms-pwa-modal__btn--cancel {
  background: transparent;
  color: #5f7268;
}

.jms-pwa-modal__btn--cancel:hover {
  background: #f4f7f4;
  color: #14231c;
}

.jms-pwa-modal__steps {
  text-align: left;
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  background: #f4f7f4;
  border-radius: 10px;
  font-size: 0.9rem;
  line-height: 1.55;
  color: #14231c;
}

.jms-pwa-modal__steps ol {
  margin: 0;
  padding-left: 1.2rem;
}

.jms-pwa-modal__steps li + li {
  margin-top: 0.35rem;
}
