/* We Vibe Property Financial Manager Styles */

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.wevibe-logo {
  background: linear-gradient(135deg, #3B82F6, #1D4ED8);
}

.wevibe-card {
  background: white;
  border-radius: 0.5rem;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.wevibe-card:hover {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.3s ease;
}

.wevibe-button-primary {
  background: linear-gradient(135deg, #3B82F6, #2563EB);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.wevibe-button-primary:hover {
  background: linear-gradient(135deg, #2563EB, #1D4ED8);
  transform: translateY(-1px);
}

.stat-card {
  background: white;
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
  border-left: 4px solid #3B82F6;
}

.revenue-positive {
  color: #059669;
}

.expense-negative {
  color: #DC2626;
}

.channel-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  background: #EBF8FF;
  color: #1E40AF;
  border-radius: 1rem;
  font-size: 0.875rem;
  font-weight: 500;
}

/* Loading spinner */
.spinner {
  border: 2px solid #f3f3f3;
  border-top: 2px solid #3B82F6;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Hide scrollbar for mobile navigation */
.scrollbar-hide {
  -ms-overflow-style: none;  /* Internet Explorer 10+ */
  scrollbar-width: none;  /* Firefox */
}

.scrollbar-hide::-webkit-scrollbar {
  display: none;  /* Safari and Chrome */
}

/* Enhanced mobile navigation scrolling */
nav .overflow-x-auto {
  -webkit-overflow-scrolling: touch; /* iOS momentum scrolling */
  scroll-behavior: smooth;
}

nav .overflow-x-auto > div {
  width: max-content;
  min-width: 100%;
}

/* Ensure navigation tabs are properly sized on mobile */
@media (max-width: 768px) {
  nav .overflow-x-auto > div {
    padding: 0 1rem;
  }
  
  nav a {
    min-width: fit-content;
    flex: 0 0 auto;
  }
}