/* header.css - Enhanced Header and Navigation Styles with Better Contrast */

/* Header - Reduced padding to accommodate larger logo */
#smartfence-embed-root .app-header { 
  background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  border-bottom: 2px solid var(--primary-color);
  padding: 0.75rem 1.5rem; /* Reduced from 1rem to 0.75rem top/bottom */
  flex-shrink: 0;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

#smartfence-embed-root .header-content { 
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px; /* Match estimator nav-container */
  margin: 0 auto;
}

#smartfence-embed-root .logo-container { 
  display: flex;
  align-items: center;
  width: 100%;
}

#smartfence-embed-root .chat-controls { 
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  justify-content: space-between;
}

#smartfence-embed-root .logo { 
  height: 50px;
  width: auto;
  flex-shrink: 0;
}

#smartfence-embed-root .logo-text { 
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
  flex-grow: 1;
  margin-left: 0.5rem;
}

#smartfence-embed-root .nav-brand { 
  display: flex;
  align-items: center;
  gap: 0.75rem; /* Updated to match estimator */
}

/* Company logo styling - Larger logo with reduced header padding */
#smartfence-embed-root .company-logo { 
  height: 38px; /* Increased from 32px */
  max-width: 220px; /* Increased from 200px */
  object-fit: contain;
  flex-shrink: 0;
}

/* Fallback for companies without logos - Larger sizes */
#smartfence-embed-root .logo-icon2 { 
  height: 38px; /* Increased from 32px */
  max-width: 220px; /* Increased from 200px */
  flex-shrink: 0;
}

#smartfence-embed-root .logo-text2 { 
  font-size: 1.625rem; /* Increased from 1.5rem */
  font-weight: 700;
  color: var(--primary-color);
  white-space: nowrap;
  line-height: 1;
}

#smartfence-embed-root .logo-subtitle2 { 
  font-size: 1rem;
  color: #000000;
  font-weight: 500;
  line-height: 1;
}

/* Responsive adjustments - Keep original text sizes */
@media (max-width: 768px) {
  #smartfence-embed-root .app-header { 
    padding: 1rem; /* Simplified padding */
  }
  
  #smartfence-embed-root .nav-brand { 
    gap: 0.5rem; /* Reduced gap on mobile */
  }

  #smartfence-embed-root .logo-icon2 { 
    height: 36px; /* Increased image size but keep text same */
  }

  #smartfence-embed-root .logo-text2 { 
    font-size: 1.25rem; /* BACK TO ORIGINAL */
  }


}

@media (max-width: 480px) {
  #smartfence-embed-root .nav-brand { 
    gap: 0.375rem;
  }

  #smartfence-embed-root .logo-text2 { 
    font-size: 1.125rem; /* BACK TO ORIGINAL */
  }


}