/* Mobile App Download Banner Styles */
/* Reusable component for mobile app download banners */

.app-download-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1050;
  background: white;
  border-top: 1px solid var(--neutral-200);
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
}

.app-banner-content {
  display: flex;
  align-items: center;
  padding: 0.375rem 0.75rem;
  gap: 0.75rem;
}

.app-banner-icon {
  flex-shrink: 0;
}

.app-icon-img {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  border: 1px solid var(--neutral-200);
  object-fit: contain;
  background: white;
}

.app-banner-info {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.app-banner-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: black;
  line-height: 1.25;
}

.app-banner-subtitle {
  font-size: 0.75rem;
  color: rgba(0, 0, 0, 0.8);
  line-height: 1.25;
}

.app-banner-rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.125rem;
}

.app-banner-store {
  font-size: 0.75rem;
  color: rgba(0, 0, 0, 0.7);
  white-space: nowrap;
}

.app-banner-stars {
  display: flex;
  align-items: center;
}

.app-stars {
  display: flex;
  color: #fbbf24; /* yellow-400 */
}

.app-star {
  font-size: 0.75rem;
  line-height: 1;
}

.app-rating-text {
  font-size: 0.75rem;
  color: rgba(0, 0, 0, 0.7);
  margin-left: 0.25rem;
}

.app-banner-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.app-banner-button {
  background-color: var(--primary-600);
  color: black;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.375rem 1rem;
  border-radius: 0.25rem;
  border: 1px solid rgba(37, 99, 235, 0.5);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  transition: background-color 0.2s;
  text-decoration: none;
  white-space: nowrap;
  display: inline-block;
}

.app-banner-button:hover {
  background-color: rgba(37, 99, 235, 0.8);
  color: black;
  text-decoration: none;
}

.app-banner-close {
  color: rgba(0, 0, 0, 0.7);
  background: none;
  border: none;
  padding: 0.25rem;
  cursor: pointer;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.app-banner-close:hover {
  color: var(--text-primary);
}

.app-close-icon {
  width: 0.75rem;
  height: 0.75rem;
}

/* Hide banner on desktop */
@media (min-width: 768px) {
  .app-download-banner {
    display: none !important;
  }
}

