/* Krive PWA Component Styles — Banner Only */

.krive-pwa-banner {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 99999;
  max-width: 420px;
  width: calc(100vw - 48px);
  background: rgba(13, 17, 23, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  padding: 18px 20px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7), 0 0 24px rgba(100, 140, 255, 0.12);
  color: #f0f6fc;
  font-family: Inter, system-ui, -apple-system, sans-serif;
  display: flex;
  flex-direction: column;
  gap: 12px;
  animation: krivePwaSlideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  box-sizing: border-box;
}

@keyframes krivePwaSlideUp {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.krive-pwa-header {
  display: flex;
  align-items: center;
  gap: 14px;
}

.krive-pwa-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

.krive-pwa-titles {
  flex: 1;
  min-width: 0;
}

.krive-pwa-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.krive-pwa-sub {
  margin: 2px 0 0 0;
  font-size: 0.82rem;
  color: #8b949e;
  line-height: 1.35;
}

.krive-pwa-close {
  background: transparent;
  border: none;
  color: #8b949e;
  font-size: 1.3rem;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  line-height: 1;
  transition: color 0.15s ease, background 0.15s ease;
}

.krive-pwa-close:hover {
  color: #f0f6fc;
  background: rgba(255, 255, 255, 0.08);
}

.krive-pwa-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 4px;
}

.krive-pwa-btn-primary {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 9px 18px;
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.krive-pwa-btn-primary:hover {
  background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.4);
}

.krive-pwa-btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: #c9d1d9;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 9px 14px;
  font-size: 0.88rem;
  font-weight: 500;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.krive-pwa-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

@media (max-width: 480px) {
  .krive-pwa-banner {
    bottom: 16px;
    right: 16px;
    left: 16px;
    width: auto;
    padding: 16px;
  }
}
