/* PWA Install Banner Styles */
.pwa-install-banner {
  position: fixed;
  bottom: -100%;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, #1a73e8 0%, #1557b0 100%);
  color: white;
  padding: 15px 20px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
  z-index: 9999;
  transition: bottom 0.3s ease-in-out;
}

.pwa-install-banner.show {
  bottom: 0;
}

.pwa-banner-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  gap: 15px;
}

.pwa-banner-text {
  flex: 1;
}

.pwa-banner-text strong {
  display: block;
  font-size: 16px;
  margin-bottom: 4px;
  font-weight: 600;
}

.pwa-banner-text p {
  margin: 0;
  font-size: 13px;
  opacity: 0.95;
}

.pwa-banner-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.pwa-btn-install {
  background: white;
  color: #1a73e8;
  border: none;
  padding: 10px 24px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.pwa-btn-install:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.pwa-btn-install:active {
  transform: translateY(0);
}

.pwa-btn-dismiss {
  background: transparent;
  border: none;
  color: white;
  font-size: 28px;
  cursor: pointer;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.3s ease;
  line-height: 1;
}

.pwa-btn-dismiss:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Responsive design */
@media (max-width: 768px) {
  .pwa-install-banner {
    padding: 12px 15px;
  }

  .pwa-banner-content {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .pwa-banner-actions {
    width: 100%;
    justify-content: center;
  }

  .pwa-btn-install {
    flex: 1;
    max-width: 200px;
  }
}

/* Standalone mode specific styles */
body.standalone-mode {
  /* Add padding for status bar on iOS */
  padding-top: env(safe-area-inset-top);
  padding-bottom: env(safe-area-inset-bottom);
}

/* iOS specific adjustments */
@supports (-webkit-touch-callout: none) {
  .pwa-install-banner {
    padding-bottom: calc(15px + env(safe-area-inset-bottom));
  }
}
