/* PWA CTA Banner */
.pwa-cta-banner {
  position: static;
  width: 100%;
  height: 60px;
  z-index: 999;
  background: linear-gradient(90deg, rgb(0, 155, 43) 0%, rgb(21, 146, 1) 100%);
  padding: 0.5rem 1.25rem;
  text-align: center;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
  box-sizing: border-box;
  color: #fff !important;
}

.pwa-cta-banner .pwa-close-btn {
  margin-right: 0.15rem;
  font-size: 1.5rem;
  color: #fff;
}

.pwa-cta-banner-icon {
  width: 2rem;
  height: 2rem;
  margin-right: 1rem;
  display: flex;
}

.pwa-cta-banner-icon-container {
  display: flex;
  align-items: center;
}

.pwa-cta-banner .pwa-app-info-cta {
  width: 2rem;
  height: 2rem;
  margin-right: 1rem;
  display: flex;
}

.pwa-cta-banner .pwa-cta {
  font-size: 1rem;
  line-height: 1.2;
  text-align: left;
}

.pwa-cta-banner .pwa-cta:first-child {
  font-weight: 900;
}

.pwa-cta-banner .pwa-install-btn {
  color: white;
  text-decoration: none;
  font-weight: 900;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  transition: all 0.3s ease;
  padding: 0.1rem 0.5rem;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: inline-block;
  height: 50px;
}

.pwa-cta-banner .pwa-install-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

@media (min-width: 768px) {
  .pwa-cta-banner {
    display: none;
  }
}

@media (max-width: 768px) {
  .pwa-cta-banner {
    padding: 0.75rem 1rem;
    height: 70px;
  }

  .pwa-cta-banner .pwa-install-btn {
    font-size: 11px;
    padding: 0.1rem 0.5rem;
  }

  body.banner-fixed {
    padding-top: 70px;
  }
}

/* PWA Install Guide Footer */
.install-pwa-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  margin: 0 auto;
  background: #edeef2;
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.2);
  padding: 1.2rem 1.5rem;
  z-index: 1000;
}

.pwa-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.pwa-close-btn {
  background: none;
  border: none;
  font-size: 24px;
  color: #666;
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pwa-close-btn:hover {
  color: #333;
}

.pwa-title {
  font-size: 20px;
  font-weight: 700;
  color: #333;
  margin: 0;
  text-align: center;
  flex: 1;
}

.pwa-app-info {
  display: flex;
  align-items: center;
  margin-bottom: 1.2rem;
  padding: 1rem;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #f0f0f0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.pwa-app-icon {
  width: 60px;
  height: 60px;
  margin-right: 16px;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pwa-app-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pwa-app-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.pwa-app-name {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin: 0 0 4px 0;
  line-height: 1.3;
}

.pwa-app-domain {
  font-size: 15px;
  color: #666;
  margin: 0;
  line-height: 1.3;
}

.pwa-instructions {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.pwa-step {
  display: flex;
  align-items: center;
  font-size: 1.25rem;
  line-height: 1.5;
  gap: 12px;
  padding: 8px 0;
}

.pwa-step-number {
  font-weight: 700;
  color: #333;
  min-width: 24px;
  flex-shrink: 0;
  font-size: 1.25rem;
  line-height: 1.5;
}

.pwa-step-text {
  color: #444;
  flex: 1;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-weight: 500;
  line-height: 1.5;
}

.pwa-share-icon {
  font-size: 16px;
  margin: 0 2px;
}

.pwa-step img {
  display: inline-block;
  vertical-align: middle;
  margin: 0 4px;
}

.pwa-step img[alt='App Icon'] {
  width: 20px !important;
  height: auto !important;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.pwa-add-button {
  background: #f0f7ff;
  padding: 4px 8px;
  border-radius: 6px;
  font-weight: 600;
  color: #1a73e8;
  border: 1px solid #e3f2fd;
  font-size: 15px;
}

.pwa-add-icon,
.pwa-final-icon {
  font-size: 16px;
  margin: 0 2px;
}

@media (min-width: 768px) {
  .install-pwa-footer {
    display: none;
  }
}

@media (max-width: 480px) {
  .pwa-title {
    font-size: 18px;
  }

  .pwa-app-info {
    padding: 14px;
  }

  .pwa-app-icon {
    width: 54px;
    height: 54px;
    margin-right: 14px;
  }

  .pwa-app-name {
    font-size: 16px;
  }

  .pwa-app-domain {
    font-size: 14px;
  }

  .pwa-step {
    font-size: 1rem;
    gap: 10px;
  }

  .pwa-step-number {
    font-size: 15px;
    min-width: 22px;
  }

  .pwa-add-button {
    font-size: 14px;
    padding: 3px 6px;
  }

  .pwa-step img[alt='App Icon'] {
    width: 18px !important;
    height: auto !important;
  }
}

.hidden-element {
  display: none !important;
}