.breadcrumb {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  background: white;
  border-radius: 0.75rem;
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  border: 1px solid #E5E7EB;
  width: 100%;
}

// Mobile header (hidden on desktop)
.breadcrumb__mobile-header {
  display: none;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 10px 10px 0 10px;

  @media (max-width: 576px) {
    display: flex;
  }

  @media (max-width: 400px) {
    .breadcrumb__mobile-spacer {
      display: none !important;
    }
    .breadcrumb__mobile-title{
      text-align: left;
    }
  }
}

.breadcrumb__mobile-spacer {
  display: block;
  width: 25%;
}

.breadcrumb__mobile-title {
  width: 50%;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  color: #3b3b3b;
}

.breadcrumb__actions {
  display: none;
  width: 25%;
  justify-content: flex-end;

  @media (max-width: 576px) {
    display: flex;
  }
}

.breadcrumb__action-button {
  padding: 0.5rem;
  border-radius: 0.75rem;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;

  &:hover {
    background-color: #F3F4F6;
  }

  &--notification {
    position: relative;
  }
}

.breadcrumb__action-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: #6B7280;
}

.breadcrumb__notification-badge {
  position: absolute;
  top: 0.25rem;
  right: 0.5rem;
  width: 0.5rem;
  height: 0.5rem;
  background-color: #FF6B00;
  border-radius: 50%;
}

// Divider line
.breadcrumb__divider {
  display: none;
  width: 100%;
  border-bottom: 2px solid #d6d6d6;

  @media (max-width: 576px) {
    display: block;
  }
}

// Main content wrapper
.breadcrumb__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 10px;

  @media (max-width: 576px) {
    padding: 0 10px 10px 10px;
  }
}

// Navigation container
.breadcrumb__navigation {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.breadcrumb__nav-segment {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

// Individual breadcrumb item
.breadcrumb__item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #6B7280;
  transition: all 0.2s;

  svg {
    width: 1rem;
    height: 1rem;
    display: flex;
  }

  &--active {
    color: #FF6B00;

    .breadcrumb__item-label {
      font-weight: 600;
    }
  }
}

.breadcrumb__item-label {
  display: none;

  @media (min-width: 576px) {
    display: block;
  }
}

// Chevron separator
.breadcrumb__separator {
  width: 1rem;
  height: 1rem;
  color: #D1D5DB;
}

// Responsive adjustments
@media (max-width: 992px) {
  .breadcrumb {
    overflow-x: auto;
  }
}