/* PWA Install Banner */
.pwa-install-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, #001632 0%, #0061a1 100%);
  color: white;
  padding: 16px 20px;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  transform: translateY(100%);
  transition: transform 0.3s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.pwa-install-banner.show {
  transform: translateY(0);
}

.pwa-install-content {
  display: flex;
  align-items: center;
  gap: 15px;
  flex: 1;
}

.pwa-install-icon {
  width: 48px;
  height: 48px;
  background: white;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pwa-install-icon img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.pwa-install-text h3 {
  margin: 0 0 4px 0;
  font-size: 16px;
  font-weight: 600;
  font-family: 'Open Sans', sans-serif;
  color: white;
}

.pwa-install-text p {
  margin: 0;
  font-size: 14px;
  opacity: 0.9;
  font-family: 'Open Sans', sans-serif;
}

.pwa-install-buttons {
  display: flex;
  gap: 10px;
  align-items: center;
}

.pwa-install-btn {
  padding: 8px 16px;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: 'Open Sans', sans-serif;
}

.pwa-install-btn.primary {
  background: white;
  color: #001632;
}

.pwa-install-btn.primary:hover {
  background: #f0f0f0;
  transform: translateY(-1px);
}

.pwa-install-btn.secondary {
  background: transparent;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.pwa-install-btn.secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

.pwa-install-close {
  background: none;
  border: none;
  color: white;
  font-size: 20px;
  cursor: pointer;
  padding: 6px 8px;
  border-radius: 4px;
  transition: background 0.2s ease;
  line-height: 1;
  background-color: white!important;
  color: #001632;
}

.pwa-install-close:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Safari Guide Styles */
.pwa-install-banner.safari-guide {
    background: linear-gradient(180deg, #004080 0%, #0066cc 100%);
    border-top: 3px solid #007AFF;
}

.safari-guide .pwa-install-text h3::before {
    margin-right: 8px;
}

/* Update Banner Styles */
.pwa-update-banner {
    position: fixed;
    top: 20px;
    right: 20px;
    background: linear-gradient(180deg, #001632 0%, #0061a1 100%);
    color: white;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    z-index: 1001;
    max-width: 300px;
    animation: slideInRight 0.3s ease-out;
}

.pwa-update-content p {
    margin: 0 0 10px 0;
    font-size: 14px;
    font-family: 'Open Sans', sans-serif;
}

.pwa-update-content button {
    margin: 0 5px;
    padding: 8px 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
}

.pwa-update-btn {
    background: white;
    color: #001632;
}

.pwa-update-btn:hover {
    background: #f0f0f0;
}

.pwa-update-later {
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.pwa-update-later:hover {
    background: rgba(255, 255, 255, 0.1);
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 768px) {
  .pwa-install-banner {
    flex-direction: column;
    gap: 15px;
    padding: 20px;
  }
  
  .pwa-install-content {
    width: 100%;
  }
  
  .pwa-install-buttons {
    width: 100%;
    justify-content: space-between;
  }
  
  .pwa-install-btn {
    flex: 1;
    padding: 10px 16px;
  }
}
