/* ===================================
   Header Quick Stats Styling
   =================================== */

/* Compact single-line stats */
.navbar-quick-stats {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0 15px;
  flex: 1;
  justify-content: center;
}

.navbar-quick-stats .stat-item {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.navbar-quick-stats .stat-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: #4B49AC;
  line-height: 1;
}

.navbar-quick-stats .stat-label {
  font-size: 0.75rem;
  color: #6c757d;
  font-weight: 500;
  line-height: 1;
}

.navbar-quick-stats .stat-divider {
  width: 1px;
  height: 30px;
  background: #e0e0e0;
}

/* Responsive Design */
@media (max-width: 991px) {
  .navbar-quick-stats {
    display: none !important;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .navbar-quick-stats {
    gap: 15px;
  }
  
  .navbar-quick-stats .stat-item {
    padding: 0 10px;
  }
  
  .navbar-quick-stats .stat-value {
    font-size: 1.2rem;
  }
  
  .navbar-quick-stats .stat-label {
    font-size: 0.65rem;
  }
}

/* Animation when stats appear */
.navbar-quick-stats.show {
  animation: fadeInFromLeft 0.5s ease forwards;
}

@keyframes fadeInFromLeft {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Make profile menu look better in the corner */
.navbar-nav-right .nav-profile {
  margin-left: 15px;
}

.navbar-nav-right .nav-profile .nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 15px;
  border-radius: 25px;
  transition: background-color 0.3s ease;
}

.navbar-nav-right .nav-profile .nav-link:hover {
  background-color: rgba(75, 73, 172, 0.1);
}

.navbar-nav-right .nav-profile img {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  border: 2px solid #4B49AC;
}

.navbar-nav-right .nav-profile-name {
  font-weight: 600;
  color: #2c2c54;
  font-size: 0.9rem;
}

/* Ensure proper spacing and single line */
.navbar-menu-wrapper {
  padding-left: 1rem;
  padding-right: 1rem;
  min-height: 70px;
  display: flex !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
}

/* Ensure navbar stays on single line */
.navbar {
  min-height: 70px !important;
  height: 70px !important;
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
}

.navbar-brand-wrapper {
  min-height: 70px !important;
  height: 70px !important;
  flex-shrink: 0 !important;
  width: auto !important;
}

/* Force both wrappers to stay on same line */
.navbar > .navbar-brand-wrapper,
.navbar > .navbar-menu-wrapper {
  display: inline-flex !important;
  flex-shrink: 0 !important;
}

/* Prevent navbar from wrapping */
.container-scroller .navbar.col-lg-12 {
  flex-wrap: nowrap !important;
}

/* Make sure menu wrapper takes remaining space but doesn't wrap */
.navbar-menu-wrapper {
  flex: 1 !important;
  max-width: none !important;
}

/* ===================================
   Company Name/Logo Styling
   =================================== */

/* Brand logo with text */
.navbar-brand.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  padding: 5px 10px;
  transition: all 0.3s ease;
}

.navbar-brand.brand-logo:hover {
  opacity: 0.8;
}

/* Logo image */
.brand-logo-image {
  height: 40px;
  width: auto;
}

/* Full company name text */
.brand-logo-text {
  font-size: 1.1rem;
  font-weight: 700;
  color: #4B49AC;
  white-space: nowrap;
  letter-spacing: 0.5px;
}

/* Mini logo (CTC) */
.navbar-brand.brand-logo-mini {
  display: none;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 5px 10px;
}

.brand-logo-mini-text {
  font-size: 1.3rem;
  font-weight: 800;
  color: #4B49AC;
  letter-spacing: 1px;
}

/* When sidebar is minimized, show mini logo */
.sidebar-icon-only .navbar-brand.brand-logo {
  display: none;
}

.sidebar-icon-only .navbar-brand.brand-logo-mini {
  display: flex;
}

/* Responsive - show mini on smaller screens */
@media (max-width: 991px) {
  .navbar-brand.brand-logo {
    display: none;
  }
  
  .navbar-brand.brand-logo-mini {
    display: flex;
  }
  
  .brand-logo-mini-text {
    font-size: 1.2rem;
  }
}

/* Hide image on very small screens, show text only */
@media (max-width: 767px) {
  .brand-logo-image {
    height: 30px;
  }
  
  .brand-logo-text {
    font-size: 0.9rem;
  }
}

