/* Design System - Navbar */

/* Main navbar */
.ds-navbar {
  display: flex;
  height: 4.625rem;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  align-self: stretch;
  background-color: #ffffff;
  padding: 0 5rem;
  border-bottom: 1px solid #E5E7EB;
}

.ds-navbar-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  align-self: stretch;
  padding: 0 2rem;
}

.ds-navbar-brand {
  display: flex;
  align-items: center;
  flex: 1 0 0;
}

.ds-navbar-logo {
  width: 3.25rem;
  height: 2.25rem;
}

.ds-navbar-title {
  color: #1A274C;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.375rem;
  letter-spacing: -0.011em;
  margin-left: 0.5rem;
}

.ds-navbar-menu {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.ds-navbar-link {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.375rem;
  letter-spacing: -0.011em;
  color: #6B7280;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.ds-navbar-link:hover {
  background-color: #F9FAFB;
}

.ds-navbar-link-active {
  color: #384E8F;
}

.ds-navbar-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 1rem;
  flex: 1 0 0;
}

.ds-navbar-icon-btn {
  display: flex;
  width: 2.5rem;
  justify-content: center;
  align-items: center;
  padding: 0.5rem;
  border-radius: 0.375rem;
  background-color: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

.ds-navbar-icon-btn:hover {
  background-color: #F9FAFB;
}

.ds-navbar-divider {
  width: 1px;
  height: 1.5rem;
  border-radius: 9999px;
  background-color: #E5E7EB;
}

.ds-navbar-user {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #F9FAFB;
  padding: 0.25rem 1rem 0.25rem 0.25rem;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s;
}

.ds-navbar-user:hover {
  background-color: #F3F4F6;
}

.ds-navbar-avatar {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background-color: #6938EF;
}

/* Responsive styles */
@media (max-width: 768px) {
  .ds-navbar {
    height: 3.75rem;
    padding: 0 2.5rem;
  }
  
  .ds-navbar-container {
    padding: 0 1rem;
  }
  
  .ds-navbar-menu {
    display: none;
  }
}

@media (max-width: 640px) {
  .ds-navbar {
    height: 3.75rem;
    padding: 0 1.25rem;
  }
  
  .ds-navbar-container {
    gap: 1rem;
    padding: 0 0.5rem;
  }
  
  .ds-navbar-title {
    font-size: 0.875rem;
  }
  
  .ds-navbar-actions {
    gap: 0.5rem;
  }
  
  .ds-navbar-user {
    padding: 0.25rem 0.5rem 0.25rem 0.25rem;
  }
}
